Skip to content

Merge pull request #401 from BestAwperEver/s2-is-alive #755

Merge pull request #401 from BestAwperEver/s2-is-alive

Merge pull request #401 from BestAwperEver/s2-is-alive #755

Triggered via push August 16, 2023 08:50
Status Failure
Total duration 2m 45s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Matrix: ci
Fit to window
Zoom out
Zoom in

Annotations

235 errors and 1 warning
[golangci-lint] pkg/demoinfocs/s2_commands.go#L42: pkg/demoinfocs/s2_commands.go#L42
42-56 lines are duplicate of `pkg/demoinfocs/s2_commands.go:147-161` (dupl)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L147: pkg/demoinfocs/s2_commands.go#L147
147-161 lines are duplicate of `pkg/demoinfocs/s2_commands.go:42-56` (dupl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L436: pkg/demoinfocs/sendtables2/entity.go#L436
Function 'OnPacketEntities' has too many statements (46 > 40) (funlen)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L148: pkg/demoinfocs/sendtables2/parser.go#L148
Function 'ParsePacket' is too long (76 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L148: pkg/demoinfocs/sendtables2/quantizedfloat.go#L148
Function 'newQuantizedFloatDecoder' is too long (99 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/datatables.go#L366: pkg/demoinfocs/datatables.go#L366
Function 'bindNewPlayerPawnS2' is too long (70 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/parsing.go#L323: pkg/demoinfocs/parsing.go#L323
Function 'parseFrameS2' is too long (67 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/stringtables.go#L207: pkg/demoinfocs/stringtables.go#L207
Function 'processStringTableS1' is too long (75 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/stringtables.go#L297: pkg/demoinfocs/stringtables.go#L297
Function 'parseStringTable' is too long (113 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/parser.go#L423: pkg/demoinfocs/parser.go#L423
string `PBDEMS2` has 3 occurrences, make it a constant (goconst)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L233: pkg/demoinfocs/sendtables2/field_decoder.go#L233
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
[golangci-lint] pkg/demoinfocs/common/equipment.go#L346: pkg/demoinfocs/common/equipment.go#L346
switchTrue: replace 'switch true {}' with 'switch {}' (gocritic)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L562: pkg/demoinfocs/sendtables2/entity.go#L562
pkg/demoinfocs/sendtables2/entity.go:562: Line contains TODO/BUG/FIXME: "FIXME: maybe we should panic(\"didn't con..." (godox)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L44: pkg/demoinfocs/sendtables2/field_decoder.go#L44
pkg/demoinfocs/sendtables2/field_decoder.go:45: Line contains TODO/BUG/FIXME: "FIXME: dotabuff/manta doesn't have these..." (godox)
[golangci-lint] pkg/demoinfocs/common/player.go#L465: pkg/demoinfocs/common/player.go#L465
pkg/demoinfocs/common/player.go:465: Line contains TODO/BUG/FIXME: "TODO Find out where we can find the velo..." (godox)
[golangci-lint] pkg/demoinfocs/common/player.go#L572: pkg/demoinfocs/common/player.go#L572
pkg/demoinfocs/common/player.go:572: Line contains TODO/BUG/FIXME: "TODO change this func return type to uin..." (godox)
[golangci-lint] pkg/demoinfocs/common/player_test.go#L327: pkg/demoinfocs/common/player_test.go#L327
pkg/demoinfocs/common/player_test.go:328: Line contains TODO/BUG/FIXME: "TODO: fix for CS2" (godox)
[golangci-lint] pkg/demoinfocs/net_messages.go#L100: pkg/demoinfocs/net_messages.go#L100
pkg/demoinfocs/net_messages.go:100: Line contains TODO/BUG/FIXME: "FIXME: combine with above" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L347: pkg/demoinfocs/parsing.go#L347
pkg/demoinfocs/parsing.go:347: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L359: pkg/demoinfocs/parsing.go#L359
pkg/demoinfocs/parsing.go:359: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L393: pkg/demoinfocs/parsing.go#L393
pkg/demoinfocs/parsing.go:393: Line contains TODO/BUG/FIXME: "FIXME: refactor to interface instead of ..." (godox)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L314: pkg/demoinfocs/s2_commands.go#L314
pkg/demoinfocs/s2_commands.go:314: Line contains TODO/BUG/FIXME: "TODO: taken from dotabuff/manta. do we r..." (godox)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L348: pkg/demoinfocs/s2_commands.go#L348
pkg/demoinfocs/s2_commands.go:348: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/stringtables.go#L147: pkg/demoinfocs/stringtables.go#L147
pkg/demoinfocs/stringtables.go:147: Line contains TODO/BUG/FIXME: "FIXME: We never got a proper CreateStrin..." (godox)
[golangci-lint] pkg/demoinfocs/stringtables.go#L598: pkg/demoinfocs/stringtables.go#L598
pkg/demoinfocs/stringtables.go:598: Line contains TODO/BUG/FIXME: "TODO: what to do with userInfo.GetSteami..." (godox)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L471: pkg/demoinfocs/sendtables2/entity.go#L471
`if cmd&0x01 == 0` has complex nested blocks (complexity: 14) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L168: pkg/demoinfocs/sendtables2/parser.go#L168
`if !ok` has complex nested blocks (complexity: 9) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L152: pkg/demoinfocs/sendtables2/quantizedfloat.go#L152
`if *bitCount == 0 || *bitCount >= 32` has complex nested blocks (complexity: 5) (nestif)
[golangci-lint] pkg/demoinfocs/stringtables.go#L346: pkg/demoinfocs/stringtables.go#L346
`if hasKey` has complex nested blocks (complexity: 10) (nestif)
[golangci-lint] pkg/demoinfocs/stringtables.go#L380: pkg/demoinfocs/stringtables.go#L380
`if hasValue` has complex nested blocks (complexity: 10) (nestif)
[golangci-lint] pkg/demoinfocs/datatables.go#L544: pkg/demoinfocs/datatables.go#L544
`if s2` has complex nested blocks (complexity: 7) (nestif)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L320: pkg/demoinfocs/s2_commands.go#L320
`if m.t < int32(msgs2.SVC_Messages_svc_ServerInfo)` has complex nested blocks (complexity: 7) (nestif)
[golangci-lint] pkg/demoinfocs/datatables.go#L505: pkg/demoinfocs/datatables.go#L505
`if entityID != constants.EntityHandleIndexMaskSource2` has complex nested blocks (complexity: 5) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables/st_parser.go#L84: pkg/demoinfocs/sendtables/st_parser.go#L84
unused-parameter: parameter 'h' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L64: pkg/demoinfocs/sendtables2/serializer.go#L64
var-naming: func serializerId should be serializerID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L65: pkg/demoinfocs/sendtables2/parser.go#L65
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L11: pkg/demoinfocs/sendtables2/class.go#L11
var-naming: struct field classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L31: pkg/demoinfocs/sendtables2/huffman.go#L31
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L11: pkg/demoinfocs/sendtables2/quantizedfloat.go#L11
var-naming: don't use underscores in Go names; const qff_rounddown should be qffRounddown (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L266: pkg/demoinfocs/sendtables2/reader.go#L266
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L520: pkg/demoinfocs/sendtables2/entity.go#L520
unreachable-code: unreachable code after this statement (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L12: pkg/demoinfocs/sendtables2/quantizedfloat.go#L12
var-naming: don't use underscores in Go names; const qff_roundup should be qffRoundup (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L36: pkg/demoinfocs/sendtables2/huffman.go#L36
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L164: pkg/demoinfocs/sendtables2/entity.go#L164
unused-parameter: parameter 'reader' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L261: pkg/demoinfocs/sendtables2/reader.go#L261
redefines-builtin-id: redefinition of the built-in function len (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L13: pkg/demoinfocs/sendtables2/quantizedfloat.go#L13
var-naming: don't use underscores in Go names; const qff_encode_zero should be qffEncodeZero (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L41: pkg/demoinfocs/sendtables2/huffman.go#L41
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L14: pkg/demoinfocs/sendtables2/quantizedfloat.go#L14
var-naming: don't use underscores in Go names; const qff_encode_integers should be qffEncodeIntegers (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L156: pkg/demoinfocs/sendtables2/quantizedfloat.go#L156
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L211: pkg/demoinfocs/sendtables2/quantizedfloat.go#L211
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L56: pkg/demoinfocs/sendtables2/parser.go#L56
var-naming: struct field classIdSize should be classIDSize (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L58: pkg/demoinfocs/sendtables2/parser.go#L58
var-naming: struct field classesById should be classesByID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L122: pkg/demoinfocs/sendtables2/parser.go#L122
var-naming: var classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L89: pkg/demoinfocs/sendtables2/huffman.go#L89
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L359: pkg/demoinfocs/sendtables2/entity.go#L359
var-naming: method GetClassId should be GetClassID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L443: pkg/demoinfocs/sendtables2/entity.go#L443
var-naming: var classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L561: pkg/demoinfocs/sendtables2/entity.go#L561
empty-block: this block is empty, you can remove it (revive)
[golangci-lint] pkg/demoinfocs/events/events_test.go#L62: pkg/demoinfocs/events/events_test.go#L62
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/common/common_test.go#L184: pkg/demoinfocs/common/common_test.go#L184
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/fake/participants.go#L58: pkg/demoinfocs/fake/participants.go#L58
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/stringtables.go#L415: pkg/demoinfocs/stringtables.go#L415
unused-parameter: parameter 'br' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L78: pkg/demoinfocs/sendtables2/class.go#L78
func `(*class).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L22: pkg/demoinfocs/sendtables2/serializer.go#L22
func `(*serializer).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L82: pkg/demoinfocs/sendtables2/class.go#L82
func `(*class).getDecoderForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L41: pkg/demoinfocs/sendtables2/field.go#L41
func `(*field).modelString` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L134: pkg/demoinfocs/sendtables2/field.go#L134
func `(*field).getFieldForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L34: pkg/demoinfocs/sendtables2/serializer.go#L34
func `(*serializer).getFieldForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L187: pkg/demoinfocs/sendtables2/field.go#L187
func `(*field).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L94: pkg/demoinfocs/sendtables2/reader.go#L94
func `(*reader).readLeUint32` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L145: pkg/demoinfocs/sendtables2/reader.go#L145
func `(*reader).readVarInt64` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L205: pkg/demoinfocs/sendtables2/reader.go#L205
func `(*reader).readStringN` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L303: pkg/demoinfocs/sendtables2/reader.go#L303
func `(*reader).readBitsAsBytes` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L189: pkg/demoinfocs/sendtables2/entity.go#L189
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L282: pkg/demoinfocs/sendtables2/entity.go#L282
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L290: pkg/demoinfocs/sendtables2/entity.go#L290
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L297: pkg/demoinfocs/sendtables2/entity.go#L297
only cuddled expressions if assigning variable or using from line above (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L298: pkg/demoinfocs/sendtables2/entity.go#L298
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L300: pkg/demoinfocs/sendtables2/entity.go#L300
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L326: pkg/demoinfocs/sendtables2/entity.go#L326
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L390: pkg/demoinfocs/sendtables2/entity.go#L390
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L119: pkg/demoinfocs/sendtables2/field.go#L119
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L273: pkg/demoinfocs/sendtables2/field.go#L273
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L292: pkg/demoinfocs/sendtables2/field.go#L292
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L304: pkg/demoinfocs/sendtables2/field.go#L304
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L379: pkg/demoinfocs/sendtables2/field_decoder.go#L379
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L382: pkg/demoinfocs/sendtables2/field_decoder.go#L382
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L385: pkg/demoinfocs/sendtables2/field_decoder.go#L385
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_path.go#L327: pkg/demoinfocs/sendtables2/field_path.go#L327
only cuddled expressions if assigning variable or using from line above (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_state.go#L16: pkg/demoinfocs/sendtables2/field_state.go#L16
only one cuddle assignment allowed before for statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_state.go#L35: pkg/demoinfocs/sendtables2/field_state.go#L35
only one cuddle assignment allowed before for statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L110: pkg/demoinfocs/sendtables2/reader.go#L110
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L106: pkg/demoinfocs/sendtables2/reader.go#L106
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L131: pkg/demoinfocs/sendtables2/reader.go#L131
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L178: pkg/demoinfocs/sendtables2/reader.go#L178
block should not end with a whitespace (or comment) (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L217: pkg/demoinfocs/sendtables2/reader.go#L217
append only allowed to cuddle with appended value (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L212: pkg/demoinfocs/sendtables2/reader.go#L212
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/datatables.go#L805: pkg/demoinfocs/datatables.go#L805
declarations should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/stringtables.go#L332: pkg/demoinfocs/stringtables.go#L332
declarations should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/common/equipment.go#L470: pkg/demoinfocs/common/equipment.go#L470
ST1022: comment on exported var EquipmentIndexMapping should be of the form "EquipmentIndexMapping ..." (stylecheck)
[golangci-lint] pkg/demoinfocs/datatables.go#L589: pkg/demoinfocs/datatables.go#L589
directive `//nolint:wsl` is unused for linter "wsl" (nolintlint)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L42: pkg/demoinfocs/s2_commands.go#L42
42-56 lines are duplicate of `pkg/demoinfocs/s2_commands.go:147-161` (dupl)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L147: pkg/demoinfocs/s2_commands.go#L147
147-161 lines are duplicate of `pkg/demoinfocs/s2_commands.go:42-56` (dupl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L436: pkg/demoinfocs/sendtables2/entity.go#L436
Function 'OnPacketEntities' has too many statements (46 > 40) (funlen)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L148: pkg/demoinfocs/sendtables2/parser.go#L148
Function 'ParsePacket' is too long (76 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L148: pkg/demoinfocs/sendtables2/quantizedfloat.go#L148
Function 'newQuantizedFloatDecoder' is too long (99 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/datatables.go#L366: pkg/demoinfocs/datatables.go#L366
Function 'bindNewPlayerPawnS2' is too long (70 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/parsing.go#L323: pkg/demoinfocs/parsing.go#L323
Function 'parseFrameS2' is too long (67 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/stringtables.go#L207: pkg/demoinfocs/stringtables.go#L207
Function 'processStringTableS1' is too long (75 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/stringtables.go#L297: pkg/demoinfocs/stringtables.go#L297
Function 'parseStringTable' is too long (113 > 60) (funlen)
[golangci-lint] pkg/demoinfocs/parser.go#L423: pkg/demoinfocs/parser.go#L423
string `PBDEMS2` has 3 occurrences, make it a constant (goconst)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L233: pkg/demoinfocs/sendtables2/field_decoder.go#L233
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
[golangci-lint] pkg/demoinfocs/common/equipment.go#L346: pkg/demoinfocs/common/equipment.go#L346
switchTrue: replace 'switch true {}' with 'switch {}' (gocritic)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L562: pkg/demoinfocs/sendtables2/entity.go#L562
pkg/demoinfocs/sendtables2/entity.go:562: Line contains TODO/BUG/FIXME: "FIXME: maybe we should panic(\"didn't con..." (godox)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L44: pkg/demoinfocs/sendtables2/field_decoder.go#L44
pkg/demoinfocs/sendtables2/field_decoder.go:45: Line contains TODO/BUG/FIXME: "FIXME: dotabuff/manta doesn't have these..." (godox)
[golangci-lint] pkg/demoinfocs/common/player.go#L465: pkg/demoinfocs/common/player.go#L465
pkg/demoinfocs/common/player.go:465: Line contains TODO/BUG/FIXME: "TODO Find out where we can find the velo..." (godox)
[golangci-lint] pkg/demoinfocs/common/player.go#L572: pkg/demoinfocs/common/player.go#L572
pkg/demoinfocs/common/player.go:572: Line contains TODO/BUG/FIXME: "TODO change this func return type to uin..." (godox)
[golangci-lint] pkg/demoinfocs/common/player_test.go#L327: pkg/demoinfocs/common/player_test.go#L327
pkg/demoinfocs/common/player_test.go:328: Line contains TODO/BUG/FIXME: "TODO: fix for CS2" (godox)
[golangci-lint] pkg/demoinfocs/net_messages.go#L100: pkg/demoinfocs/net_messages.go#L100
pkg/demoinfocs/net_messages.go:100: Line contains TODO/BUG/FIXME: "FIXME: combine with above" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L347: pkg/demoinfocs/parsing.go#L347
pkg/demoinfocs/parsing.go:347: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L359: pkg/demoinfocs/parsing.go#L359
pkg/demoinfocs/parsing.go:359: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/parsing.go#L393: pkg/demoinfocs/parsing.go#L393
pkg/demoinfocs/parsing.go:393: Line contains TODO/BUG/FIXME: "FIXME: refactor to interface instead of ..." (godox)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L314: pkg/demoinfocs/s2_commands.go#L314
pkg/demoinfocs/s2_commands.go:314: Line contains TODO/BUG/FIXME: "TODO: taken from dotabuff/manta. do we r..." (godox)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L348: pkg/demoinfocs/s2_commands.go#L348
pkg/demoinfocs/s2_commands.go:348: Line contains TODO/BUG/FIXME: "FIXME: avoid panic" (godox)
[golangci-lint] pkg/demoinfocs/stringtables.go#L147: pkg/demoinfocs/stringtables.go#L147
pkg/demoinfocs/stringtables.go:147: Line contains TODO/BUG/FIXME: "FIXME: We never got a proper CreateStrin..." (godox)
[golangci-lint] pkg/demoinfocs/stringtables.go#L598: pkg/demoinfocs/stringtables.go#L598
pkg/demoinfocs/stringtables.go:598: Line contains TODO/BUG/FIXME: "TODO: what to do with userInfo.GetSteami..." (godox)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L471: pkg/demoinfocs/sendtables2/entity.go#L471
`if cmd&0x01 == 0` has complex nested blocks (complexity: 14) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L168: pkg/demoinfocs/sendtables2/parser.go#L168
`if !ok` has complex nested blocks (complexity: 9) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L152: pkg/demoinfocs/sendtables2/quantizedfloat.go#L152
`if *bitCount == 0 || *bitCount >= 32` has complex nested blocks (complexity: 5) (nestif)
[golangci-lint] pkg/demoinfocs/stringtables.go#L346: pkg/demoinfocs/stringtables.go#L346
`if hasKey` has complex nested blocks (complexity: 10) (nestif)
[golangci-lint] pkg/demoinfocs/stringtables.go#L380: pkg/demoinfocs/stringtables.go#L380
`if hasValue` has complex nested blocks (complexity: 10) (nestif)
[golangci-lint] pkg/demoinfocs/datatables.go#L544: pkg/demoinfocs/datatables.go#L544
`if s2` has complex nested blocks (complexity: 7) (nestif)
[golangci-lint] pkg/demoinfocs/s2_commands.go#L320: pkg/demoinfocs/s2_commands.go#L320
`if m.t < int32(msgs2.SVC_Messages_svc_ServerInfo)` has complex nested blocks (complexity: 7) (nestif)
[golangci-lint] pkg/demoinfocs/datatables.go#L505: pkg/demoinfocs/datatables.go#L505
`if entityID != constants.EntityHandleIndexMaskSource2` has complex nested blocks (complexity: 5) (nestif)
[golangci-lint] pkg/demoinfocs/sendtables/st_parser.go#L84: pkg/demoinfocs/sendtables/st_parser.go#L84
unused-parameter: parameter 'h' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L520: pkg/demoinfocs/sendtables2/entity.go#L520
unreachable-code: unreachable code after this statement (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L11: pkg/demoinfocs/sendtables2/class.go#L11
var-naming: struct field classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L211: pkg/demoinfocs/sendtables2/quantizedfloat.go#L211
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L11: pkg/demoinfocs/sendtables2/quantizedfloat.go#L11
var-naming: don't use underscores in Go names; const qff_rounddown should be qffRounddown (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L12: pkg/demoinfocs/sendtables2/quantizedfloat.go#L12
var-naming: don't use underscores in Go names; const qff_roundup should be qffRoundup (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L64: pkg/demoinfocs/sendtables2/serializer.go#L64
var-naming: func serializerId should be serializerID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L31: pkg/demoinfocs/sendtables2/huffman.go#L31
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L56: pkg/demoinfocs/sendtables2/parser.go#L56
var-naming: struct field classIdSize should be classIDSize (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L359: pkg/demoinfocs/sendtables2/entity.go#L359
var-naming: method GetClassId should be GetClassID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L261: pkg/demoinfocs/sendtables2/reader.go#L261
redefines-builtin-id: redefinition of the built-in function len (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L13: pkg/demoinfocs/sendtables2/quantizedfloat.go#L13
var-naming: don't use underscores in Go names; const qff_encode_zero should be qffEncodeZero (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L58: pkg/demoinfocs/sendtables2/parser.go#L58
var-naming: struct field classesById should be classesByID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L36: pkg/demoinfocs/sendtables2/huffman.go#L36
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L266: pkg/demoinfocs/sendtables2/reader.go#L266
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L443: pkg/demoinfocs/sendtables2/entity.go#L443
var-naming: var classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L122: pkg/demoinfocs/sendtables2/parser.go#L122
var-naming: var classId should be classID (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L14: pkg/demoinfocs/sendtables2/quantizedfloat.go#L14
var-naming: don't use underscores in Go names; const qff_encode_integers should be qffEncodeIntegers (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L41: pkg/demoinfocs/sendtables2/huffman.go#L41
receiver-naming: receiver name should be a reflection of its identity; don't use generic names such as "this" or "self" (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/parser.go#L65: pkg/demoinfocs/sendtables2/parser.go#L65
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L561: pkg/demoinfocs/sendtables2/entity.go#L561
empty-block: this block is empty, you can remove it (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/quantizedfloat.go#L156: pkg/demoinfocs/sendtables2/quantizedfloat.go#L156
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L164: pkg/demoinfocs/sendtables2/entity.go#L164
unused-parameter: parameter 'reader' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/huffman.go#L89: pkg/demoinfocs/sendtables2/huffman.go#L89
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
[golangci-lint] pkg/demoinfocs/events/events_test.go#L62: pkg/demoinfocs/events/events_test.go#L62
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/common/common_test.go#L184: pkg/demoinfocs/common/common_test.go#L184
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/fake/participants.go#L58: pkg/demoinfocs/fake/participants.go#L58
unused-parameter: parameter 'handle' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/stringtables.go#L415: pkg/demoinfocs/stringtables.go#L415
unused-parameter: parameter 'br' seems to be unused, consider removing or renaming it as _ (revive)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L78: pkg/demoinfocs/sendtables2/class.go#L78
func `(*class).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L22: pkg/demoinfocs/sendtables2/serializer.go#L22
func `(*serializer).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/class.go#L82: pkg/demoinfocs/sendtables2/class.go#L82
func `(*class).getDecoderForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L41: pkg/demoinfocs/sendtables2/field.go#L41
func `(*field).modelString` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L134: pkg/demoinfocs/sendtables2/field.go#L134
func `(*field).getFieldForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/serializer.go#L34: pkg/demoinfocs/sendtables2/serializer.go#L34
func `(*serializer).getFieldForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L187: pkg/demoinfocs/sendtables2/field.go#L187
func `(*field).getTypeForFieldPath` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L94: pkg/demoinfocs/sendtables2/reader.go#L94
func `(*reader).readLeUint32` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L145: pkg/demoinfocs/sendtables2/reader.go#L145
func `(*reader).readVarInt64` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L205: pkg/demoinfocs/sendtables2/reader.go#L205
func `(*reader).readStringN` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L303: pkg/demoinfocs/sendtables2/reader.go#L303
func `(*reader).readBitsAsBytes` is unused (unused)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L189: pkg/demoinfocs/sendtables2/entity.go#L189
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L282: pkg/demoinfocs/sendtables2/entity.go#L282
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L290: pkg/demoinfocs/sendtables2/entity.go#L290
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L297: pkg/demoinfocs/sendtables2/entity.go#L297
only cuddled expressions if assigning variable or using from line above (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L298: pkg/demoinfocs/sendtables2/entity.go#L298
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L300: pkg/demoinfocs/sendtables2/entity.go#L300
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L326: pkg/demoinfocs/sendtables2/entity.go#L326
return statements should not be cuddled if block has more than two lines (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/entity.go#L390: pkg/demoinfocs/sendtables2/entity.go#L390
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L119: pkg/demoinfocs/sendtables2/field.go#L119
assignments should only be cuddled with other assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L273: pkg/demoinfocs/sendtables2/field.go#L273
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L292: pkg/demoinfocs/sendtables2/field.go#L292
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field.go#L304: pkg/demoinfocs/sendtables2/field.go#L304
ranges should only be cuddled with assignments used in the iteration (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L379: pkg/demoinfocs/sendtables2/field_decoder.go#L379
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L382: pkg/demoinfocs/sendtables2/field_decoder.go#L382
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_decoder.go#L385: pkg/demoinfocs/sendtables2/field_decoder.go#L385
if statements should only be cuddled with assignments (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_path.go#L327: pkg/demoinfocs/sendtables2/field_path.go#L327
only cuddled expressions if assigning variable or using from line above (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_state.go#L16: pkg/demoinfocs/sendtables2/field_state.go#L16
only one cuddle assignment allowed before for statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/field_state.go#L35: pkg/demoinfocs/sendtables2/field_state.go#L35
only one cuddle assignment allowed before for statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L110: pkg/demoinfocs/sendtables2/reader.go#L110
only one cuddle assignment allowed before if statement (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L106: pkg/demoinfocs/sendtables2/reader.go#L106
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L131: pkg/demoinfocs/sendtables2/reader.go#L131
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L178: pkg/demoinfocs/sendtables2/reader.go#L178
block should not end with a whitespace (or comment) (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L217: pkg/demoinfocs/sendtables2/reader.go#L217
append only allowed to cuddle with appended value (wsl)
[golangci-lint] pkg/demoinfocs/sendtables2/reader.go#L212: pkg/demoinfocs/sendtables2/reader.go#L212
for statement without condition should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/datatables.go#L805: pkg/demoinfocs/datatables.go#L805
declarations should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/stringtables.go#L332: pkg/demoinfocs/stringtables.go#L332
declarations should never be cuddled (wsl)
[golangci-lint] pkg/demoinfocs/common/equipment.go#L470: pkg/demoinfocs/common/equipment.go#L470
ST1022: comment on exported var EquipmentIndexMapping should be of the form "EquipmentIndexMapping ..." (stylecheck)
[golangci-lint] pkg/demoinfocs/datatables.go#L589: pkg/demoinfocs/datatables.go#L589
directive `//nolint:wsl` is unused for linter "wsl" (nolintlint)
ci (1.18.x)
Process completed with exit code 1.
ci (1.18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/