Item demographics test and gun appearance rate rebalancing. #76352
Triggered via pull request
April 15, 2024 06:08
Status
Failure
Total duration
1h 21m 27s
Artifacts
–
clang-tidy.yml
on: pull_request
skip-duplicates
10s
Matrix: build
Annotations
17 errors
build (other):
tests/overmap_test.cpp#L259
unused variable 'count' [clang-diagnostic-unused-variable,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L304
Avoid auto in declaration of 'id'. [cata-almost-never-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L322
Avoid auto in declaration of 'id'. [cata-almost-never-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L322
'auto id' can be declared as 'const auto *id' [readability-qualified-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L344
Avoid auto in declaration of 'id'. [cata-almost-never-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L344
'auto id' can be declared as 'const auto *id' [readability-qualified-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L351
'auto &ammotype_id' can be declared as 'const auto &ammotype_id' [readability-qualified-auto,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L394
unused variable 'origin' [clang-diagnostic-unused-variable,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L524
loop variable is copied but only used as const reference; consider making it a const reference [performance-for-range-copy,-warnings-as-errors]
|
build (other):
tests/overmap_test.cpp#L529
Value stored to 'item_type' during its initialization is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
|
build (src):
src/overmap.cpp#L120
Variable 'oter_type_ice_lab_core' declared but not used. [cata-unused-statics,-warnings-as-errors]
|
build (src):
src/overmap.cpp#L121
Variable 'oter_type_ice_lab_stairs' declared but not used. [cata-unused-statics,-warnings-as-errors]
|
build (src):
src/overmap.cpp#L122
Variable 'oter_type_lab_core' declared but not used. [cata-unused-statics,-warnings-as-errors]
|
build (src):
src/overmap.cpp#L123
Variable 'oter_type_lab_stairs' declared but not used. [cata-unused-statics,-warnings-as-errors]
|
build (src):
src/test_data.h#L94
Function 'deserialize' appears to be a serialization function for class 'item_demographic_test_data' but does not mention field 'tests'. [cata-serialize,-warnings-as-errors]
|
build (src):
src/test_data.h#L95
Function 'deserialize' appears to be a serialization function for class 'item_demographic_test_data' but does not mention field 'ignored_items'. [cata-serialize,-warnings-as-errors]
|
build (src)
Process completed with exit code 123.
|