[INFO] cloning repository https://github.com/TomasPalsson/Language-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TomasPalsson/Language-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasPalsson%2FLanguage-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasPalsson%2FLanguage-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5433d55f3222acaca611990020adee715edcc39 [INFO] testing TomasPalsson/Language-Compiler against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTomasPalsson%2FLanguage-Compiler" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TomasPalsson/Language-Compiler [INFO] finished tweaking git repo https://github.com/TomasPalsson/Language-Compiler [INFO] tweaked toml for git repo https://github.com/TomasPalsson/Language-Compiler written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TomasPalsson/Language-Compiler on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TomasPalsson/Language-Compiler 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded unicode-width v0.2.0 [INFO] [stderr] Downloaded libc v0.2.171 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3dd0e0ff97bf4525fb67f955958515994ec4fd800325ba37ec264d6c447d210 [INFO] running `Command { std: "docker" "start" "-a" "b3dd0e0ff97bf4525fb67f955958515994ec4fd800325ba37ec264d6c447d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3dd0e0ff97bf4525fb67f955958515994ec4fd800325ba37ec264d6c447d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3dd0e0ff97bf4525fb67f955958515994ec4fd800325ba37ec264d6c447d210", kill_on_drop: false }` [INFO] [stdout] b3dd0e0ff97bf4525fb67f955958515994ec4fd800325ba37ec264d6c447d210 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb01bed15525b43c9092142e0515a69442f5ed813b1ebf1c57b4059492998b3e [INFO] running `Command { std: "docker" "start" "-a" "bb01bed15525b43c9092142e0515a69442f5ed813b1ebf1c57b4059492998b3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/compiler.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(Statement::Function { name, params, body }) = iter.peek() { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/compiler.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Main` is never constructed [INFO] [stdout] --> src/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Main{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FunctionCall` is never constructed [INFO] [stdout] --> src/ast.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | FunctionCall{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: method `compile_params` is never used [INFO] [stdout] --> src/compiler.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "bb01bed15525b43c9092142e0515a69442f5ed813b1ebf1c57b4059492998b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb01bed15525b43c9092142e0515a69442f5ed813b1ebf1c57b4059492998b3e", kill_on_drop: false }` [INFO] [stdout] bb01bed15525b43c9092142e0515a69442f5ed813b1ebf1c57b4059492998b3e [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcd39e767266a9c39d6f266e42b4489beada2e1c3231cb218b467f73aacb1249 [INFO] running `Command { std: "docker" "start" "-a" "dcd39e767266a9c39d6f266e42b4489beada2e1c3231cb218b467f73aacb1249", kill_on_drop: false }` [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/compiler.rs:98:49 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(Statement::Function { name, params, body }) = iter.peek() { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/compiler.rs:278:34 [INFO] [stdout] | [INFO] [stdout] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Main` is never constructed [INFO] [stdout] --> src/ast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Statement { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | Main{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FunctionCall` is never constructed [INFO] [stdout] --> src/ast.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Expression { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | FunctionCall{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` 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: method `compile_params` is never used [INFO] [stdout] --> src/compiler.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Compiler { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "dcd39e767266a9c39d6f266e42b4489beada2e1c3231cb218b467f73aacb1249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcd39e767266a9c39d6f266e42b4489beada2e1c3231cb218b467f73aacb1249", kill_on_drop: false }` [INFO] [stdout] dcd39e767266a9c39d6f266e42b4489beada2e1c3231cb218b467f73aacb1249 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ebf311c79d9405199fa1cc555c2c154d3fa36cec30ddb3cf204bcd1773dd5b2 [INFO] running `Command { std: "docker" "start" "-a" "2ebf311c79d9405199fa1cc555c2c154d3fa36cec30ddb3cf204bcd1773dd5b2", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/compiler.rs:98:49 [INFO] [stderr] | [INFO] [stderr] 98 | if let Some(Statement::Function { name, params, body }) = iter.peek() { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `params: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/compiler.rs:278:34 [INFO] [stderr] | [INFO] [stderr] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: variant `Main` is never constructed [INFO] [stderr] --> src/ast.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Statement { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 9 | Main{ [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `FunctionCall` is never constructed [INFO] [stderr] --> src/ast.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 35 | pub enum Expression { [INFO] [stderr] | ---------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 45 | FunctionCall{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `compile_params` is never used [INFO] [stderr] --> src/compiler.rs:278:8 [INFO] [stderr] | [INFO] [stderr] 18 | impl Compiler { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 278 | fn compile_params(&mut self, params: &[crate::ast::Expression]) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `compiler` (bin "compiler" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/compiler-f95f70a119ce09ab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2ebf311c79d9405199fa1cc555c2c154d3fa36cec30ddb3cf204bcd1773dd5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ebf311c79d9405199fa1cc555c2c154d3fa36cec30ddb3cf204bcd1773dd5b2", kill_on_drop: false }` [INFO] [stdout] 2ebf311c79d9405199fa1cc555c2c154d3fa36cec30ddb3cf204bcd1773dd5b2