[INFO] cloning repository https://github.com/StepsTeam/enforcer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StepsTeam/enforcer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStepsTeam%2Fenforcer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStepsTeam%2Fenforcer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 536d8b2764b91b95d09b4d1be8f5e19f52380709 [INFO] checking StepsTeam/enforcer against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStepsTeam%2Fenforcer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 62% (1086/1734) Updating files: 63% (1093/1734) Updating files: 64% (1110/1734) Updating files: 65% (1128/1734) Updating files: 66% (1145/1734) Updating files: 67% (1162/1734) Updating files: 68% (1180/1734) Updating files: 69% (1197/1734) Updating files: 70% (1214/1734) Updating files: 71% (1232/1734) Updating files: 71% (1234/1734) Updating files: 72% (1249/1734) Updating files: 73% (1266/1734) Updating files: 74% (1284/1734) Updating files: 75% (1301/1734) Updating files: 75% (1311/1734) Updating files: 76% (1318/1734) Updating files: 77% (1336/1734) Updating files: 78% (1353/1734) Updating files: 79% (1370/1734) Updating files: 80% (1388/1734) Updating files: 81% (1405/1734) Updating files: 82% (1422/1734) Updating files: 83% (1440/1734) Updating files: 84% (1457/1734) Updating files: 85% (1474/1734) Updating files: 86% (1492/1734) Updating files: 87% (1509/1734) Updating files: 88% (1526/1734) Updating files: 89% (1544/1734) Updating files: 90% (1561/1734) Updating files: 91% (1578/1734) Updating files: 92% (1596/1734) Updating files: 93% (1613/1734) Updating files: 94% (1630/1734) Updating files: 95% (1648/1734) Updating files: 96% (1665/1734) Updating files: 97% (1682/1734) Updating files: 98% (1700/1734) Updating files: 99% (1717/1734) Updating files: 100% (1734/1734) Updating files: 100% (1734/1734), done. [INFO] started tweaking git repo https://github.com/StepsTeam/enforcer [INFO] finished tweaking git repo https://github.com/StepsTeam/enforcer [INFO] tweaked toml for git repo https://github.com/StepsTeam/enforcer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StepsTeam/enforcer on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StepsTeam/enforcer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.19.0 [INFO] [stderr] Downloaded xattr v1.5.1 [INFO] [stderr] Downloaded rstest_macros v0.19.0 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeb1b957ff9789e87e9c8a84beb53321d5aa0c1642bebb6fe92c1cd83fa9aa31 [INFO] running `Command { std: "docker" "start" "-a" "aeb1b957ff9789e87e9c8a84beb53321d5aa0c1642bebb6fe92c1cd83fa9aa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeb1b957ff9789e87e9c8a84beb53321d5aa0c1642bebb6fe92c1cd83fa9aa31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeb1b957ff9789e87e9c8a84beb53321d5aa0c1642bebb6fe92c1cd83fa9aa31", kill_on_drop: false }` [INFO] [stdout] aeb1b957ff9789e87e9c8a84beb53321d5aa0c1642bebb6fe92c1cd83fa9aa31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f72f48fb724325886364ef3205aac52ee693e29fd5f5c83906c507bb1a6c8c6 [INFO] running `Command { std: "docker" "start" "-a" "6f72f48fb724325886364ef3205aac52ee693e29fd5f5c83906c507bb1a6c8c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Checking rstest v0.19.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling enforcer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: enforcer@0.1.0: Build process completed successfully. [INFO] [stdout] warning: unused import: `tree_sitter::Node` [INFO] [stdout] --> src/traintrack/check_train_function_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tree_sitter::Node` [INFO] [stdout] --> src/traintrack/check_train_function_output.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tree_sitter::Node; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debug/watch.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn watch(mut train: Train) -> Train { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debug/watch.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn watch(mut train: Train) -> Train { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_code` [INFO] [stdout] --> src/traintrack/check_train_function_output.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let source_code = match crate::tree_sitter::load_source_code::SOURCE_CODE.get() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_code` [INFO] [stdout] --> src/traintrack/check_train_function_output.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let source_code = match crate::tree_sitter::load_source_code::SOURCE_CODE.get() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_train_sarif` is never used [INFO] [stdout] --> src/sarif/append_train_sarif.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_train_sarif(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_train_warnings` is never used [INFO] [stdout] --> src/sarif/reset_train_warnings.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn reset_train_warnings(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `track_sarif` is never used [INFO] [stdout] --> src/sarif/track_sarif.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn track_sarif(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PARSE_TREE` is never used [INFO] [stdout] --> src/tree_sitter/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static PARSE_TREE: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE_CODE` is never used [INFO] [stdout] --> src/tree_sitter/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub static SOURCE_CODE: Lazy> = Lazy::new(|| Mutex::new(String::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_languages_to_cargo` is never used [INFO] [stdout] --> src/tree_sitter/add_languages_to_cargo.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_languages_to_cargo(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerializableNodeInfo` is never constructed [INFO] [stdout] --> src/traintrack/check_function_nesting_limit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SerializableNodeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `level`, and `rule_name` are never read [INFO] [stdout] --> src/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Warn { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub rule_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_level` is never read [INFO] [stdout] --> src/state.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | pub tool_name: String, [INFO] [stdout] 29 | pub debug_level: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_files_dir` and `results` are never read [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Train { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub data_files_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub sarif_rules: JsonValue, [INFO] [stdout] 47 | pub results: JsonValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Train` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_train_sarif` is never used [INFO] [stdout] --> src/sarif/append_train_sarif.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn append_train_sarif(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_train_warnings` is never used [INFO] [stdout] --> src/sarif/reset_train_warnings.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn reset_train_warnings(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `track_sarif` is never used [INFO] [stdout] --> src/sarif/track_sarif.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn track_sarif(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PARSE_TREE` is never used [INFO] [stdout] --> src/tree_sitter/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static PARSE_TREE: Lazy>> = Lazy::new(|| Mutex::new(None)); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SOURCE_CODE` is never used [INFO] [stdout] --> src/tree_sitter/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub static SOURCE_CODE: Lazy> = Lazy::new(|| Mutex::new(String::new())); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_languages_to_cargo` is never used [INFO] [stdout] --> src/tree_sitter/add_languages_to_cargo.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add_languages_to_cargo(mut train: Train) -> Train { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SerializableNodeInfo` is never constructed [INFO] [stdout] --> src/traintrack/check_function_nesting_limit.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct SerializableNodeInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `level`, and `rule_name` are never read [INFO] [stdout] --> src/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Warn { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | pub rule_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug_level` is never read [INFO] [stdout] --> src/state.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Tool { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | pub tool_name: String, [INFO] [stdout] 29 | pub debug_level: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_files_dir` and `results` are never read [INFO] [stdout] --> src/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct Train { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub data_files_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub sarif_rules: JsonValue, [INFO] [stdout] 47 | pub results: JsonValue, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Train` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.49s [INFO] running `Command { std: "docker" "inspect" "6f72f48fb724325886364ef3205aac52ee693e29fd5f5c83906c507bb1a6c8c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f72f48fb724325886364ef3205aac52ee693e29fd5f5c83906c507bb1a6c8c6", kill_on_drop: false }` [INFO] [stdout] 6f72f48fb724325886364ef3205aac52ee693e29fd5f5c83906c507bb1a6c8c6