[INFO] cloning repository https://github.com/huskyto/small-c-compiler-rail-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huskyto/small-c-compiler-rail-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuskyto%2Fsmall-c-compiler-rail-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuskyto%2Fsmall-c-compiler-rail-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f272f49a16d45226c0f94104171b4f05752ceedd
[INFO] checking huskyto/small-c-compiler-rail-rust against master#e1613686e0efc80a1a18b1263625450a8de3fb04 for pr-154492-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuskyto%2Fsmall-c-compiler-rail-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/huskyto/small-c-compiler-rail-rust
[INFO] finished tweaking git repo https://github.com/huskyto/small-c-compiler-rail-rust
[INFO] tweaked toml for git repo https://github.com/huskyto/small-c-compiler-rail-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/huskyto/small-c-compiler-rail-rust on toolchain e1613686e0efc80a1a18b1263625450a8de3fb04
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/huskyto/small-c-compiler-rail-rust 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" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9f42dc1ea96591143df2c260588475ca1edc78f738cb13938a3206ca1f978f05
[INFO] running `Command { std: "docker" "start" "-a" "9f42dc1ea96591143df2c260588475ca1edc78f738cb13938a3206ca1f978f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f42dc1ea96591143df2c260588475ca1edc78f738cb13938a3206ca1f978f05", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f42dc1ea96591143df2c260588475ca1edc78f738cb13938a3206ca1f978f05", kill_on_drop: false }`
[INFO] [stdout] 9f42dc1ea96591143df2c260588475ca1edc78f738cb13938a3206ca1f978f05
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e1613686e0efc80a1a18b1263625450a8de3fb04" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9388893f76cd558686d6aec2801a190c4ec3adb0f2ca0f97b92ee798c43b278
[INFO] running `Command { std: "docker" "start" "-a" "d9388893f76cd558686d6aec2801a190c4ec3adb0f2ca0f97b92ee798c43b278", kill_on_drop: false }`
[INFO] [stderr]     Checking small-c-compiler-rail-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut state = State::Outside;
[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: `state`
[INFO] [stdout]   --> src/model/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut state = State::Outside;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InClass` and `InFunction` are never constructed
[INFO] [stdout]   --> src/model/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | enum State {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 66 |     Outside,
[INFO] [stdout] 67 |     InClass,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 68 |     InFunction
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `functions` and `env_vars` are never read
[INFO] [stdout]  --> src/model/types.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Environment {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 6 |     pub functions: Vec<Function>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 7 |     pub imports: Vec<String>,   // placeholder
[INFO] [stdout] 8 |     pub env_vars: HashMap<String, String>
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parameters`, `statements`, and `returns` are never read
[INFO] [stdout]   --> src/model/types.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 13 |     parameters: Vec<Variable>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     statements: Vec<Statement>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     returns: Variable
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Property` is never constructed
[INFO] [stdout]   --> src/model/types.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Property {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `var_type` is never read
[INFO] [stdout]   --> src/model/types.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Variable {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 25 |     var_type: VarType
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Variable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lexeme` is never read
[INFO] [stdout]   --> src/model/types.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct VarType {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 35 |     lexeme: String
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VarType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VarTypes` is never used
[INFO] [stdout]   --> src/keywords.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const VarTypes: [&str; 6] = [ Keywords::CHAR, Keywords::SHORT, Keywords::INT,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated constants are never used
[INFO] [stdout]   --> src/keywords.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Keywords {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 14 |     pub const INCLUDE: &'static str = "include";
[INFO] [stdout] 15 |     pub const CHAR: &'static str = "char";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 16 |     pub const SHORT: &'static str = "short";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 17 |     pub const INT: &'static str = "int";
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 18 |     pub const LONG: &'static str = "long";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 19 |     pub const FLOAT: &'static str = "float";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 20 |     pub const DOUBLE: &'static str = "double";
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 21 |     pub const CONST: &'static str = "const";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 22 |     pub const CONTINUE: &'static str = "continue";
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 23 |     pub const IF: &'static str = "if";
[INFO] [stdout]    |               ^^
[INFO] [stdout] 24 |     pub const ELSE: &'static str = "else";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 25 |     pub const FOR: &'static str = "for";
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 26 |     pub const GOTO: &'static str = "goto";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 27 |     pub const RETURN: &'static str = "return";
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 28 |     pub const VOID: &'static str = "void";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VarTypes` should have an upper case name
[INFO] [stdout]   --> src/keywords.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const VarTypes: [&str; 6] = [ Keywords::CHAR, Keywords::SHORT, Keywords::INT,
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `VAR_TYPES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/model/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut state = State::Outside;
[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: `state`
[INFO] [stdout]   --> src/model/mod.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let mut state = State::Outside;
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `InClass` and `InFunction` are never constructed
[INFO] [stdout]   --> src/model/mod.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | enum State {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 66 |     Outside,
[INFO] [stdout] 67 |     InClass,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 68 |     InFunction
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `functions` and `env_vars` are never read
[INFO] [stdout]  --> src/model/types.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Environment {
[INFO] [stdout]   |            ----------- fields in this struct
[INFO] [stdout] 6 |     pub functions: Vec<Function>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 7 |     pub imports: Vec<String>,   // placeholder
[INFO] [stdout] 8 |     pub env_vars: HashMap<String, String>
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Environment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parameters`, `statements`, and `returns` are never read
[INFO] [stdout]   --> src/model/types.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 13 |     parameters: Vec<Variable>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     statements: Vec<Statement>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 15 |     returns: Variable
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Property` is never constructed
[INFO] [stdout]   --> src/model/types.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct Property {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `var_type` is never read
[INFO] [stdout]   --> src/model/types.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Variable {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 25 |     var_type: VarType
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Variable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `lexeme` is never read
[INFO] [stdout]   --> src/model/types.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct VarType {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 35 |     lexeme: String
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `VarType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VarTypes` is never used
[INFO] [stdout]   --> src/keywords.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const VarTypes: [&str; 6] = [ Keywords::CHAR, Keywords::SHORT, Keywords::INT,
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated constants are never used
[INFO] [stdout]   --> src/keywords.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Keywords {
[INFO] [stdout]    | ------------- associated constants in this implementation
[INFO] [stdout] 14 |     pub const INCLUDE: &'static str = "include";
[INFO] [stdout] 15 |     pub const CHAR: &'static str = "char";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 16 |     pub const SHORT: &'static str = "short";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 17 |     pub const INT: &'static str = "int";
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 18 |     pub const LONG: &'static str = "long";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 19 |     pub const FLOAT: &'static str = "float";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 20 |     pub const DOUBLE: &'static str = "double";
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 21 |     pub const CONST: &'static str = "const";
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout] 22 |     pub const CONTINUE: &'static str = "continue";
[INFO] [stdout]    |               ^^^^^^^^
[INFO] [stdout] 23 |     pub const IF: &'static str = "if";
[INFO] [stdout]    |               ^^
[INFO] [stdout] 24 |     pub const ELSE: &'static str = "else";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 25 |     pub const FOR: &'static str = "for";
[INFO] [stdout]    |               ^^^
[INFO] [stdout] 26 |     pub const GOTO: &'static str = "goto";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 27 |     pub const RETURN: &'static str = "return";
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 28 |     pub const VOID: &'static str = "void";
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `VarTypes` should have an upper case name
[INFO] [stdout]   --> src/keywords.rs:10:7
[INFO] [stdout]    |
[INFO] [stdout] 10 | const VarTypes: [&str; 6] = [ Keywords::CHAR, Keywords::SHORT, Keywords::INT,
[INFO] [stdout]    |       ^^^^^^^^ help: convert the identifier to upper case: `VAR_TYPES`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] running `Command { std: "docker" "inspect" "d9388893f76cd558686d6aec2801a190c4ec3adb0f2ca0f97b92ee798c43b278", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9388893f76cd558686d6aec2801a190c4ec3adb0f2ca0f97b92ee798c43b278", kill_on_drop: false }`
[INFO] [stdout] d9388893f76cd558686d6aec2801a190c4ec3adb0f2ca0f97b92ee798c43b278
