[INFO] cloning repository https://github.com/ccdavis/simple_interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ccdavis/simple_interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccdavis%2Fsimple_interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccdavis%2Fsimple_interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 905dd9eba4fdf32cf1a42943e52afcc36bc4bb70 [INFO] checking ccdavis/simple_interpreter against master#f8f6997469237299c1d60814c7b9828602a1f8e4 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccdavis%2Fsimple_interpreter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ccdavis/simple_interpreter [INFO] finished tweaking git repo https://github.com/ccdavis/simple_interpreter [INFO] tweaked toml for git repo https://github.com/ccdavis/simple_interpreter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ccdavis/simple_interpreter on toolchain f8f6997469237299c1d60814c7b9828602a1f8e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ccdavis/simple_interpreter 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" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25cb449227426e341f0818975448db89e46e8226eaee57dc86be4cb893354aab [INFO] running `Command { std: "docker" "start" "-a" "25cb449227426e341f0818975448db89e46e8226eaee57dc86be4cb893354aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25cb449227426e341f0818975448db89e46e8226eaee57dc86be4cb893354aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25cb449227426e341f0818975448db89e46e8226eaee57dc86be4cb893354aab", kill_on_drop: false }` [INFO] [stdout] 25cb449227426e341f0818975448db89e46e8226eaee57dc86be4cb893354aab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f8f6997469237299c1d60814c7b9828602a1f8e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1164c4e148fe40e583412047cc12cb3b6e43da4c6af025d462eaeb0640f4e3b9 [INFO] running `Command { std: "docker" "start" "-a" "1164c4e148fe40e583412047cc12cb3b6e43da4c6af025d462eaeb0640f4e3b9", kill_on_drop: false }` [INFO] [stderr] Checking rust-interpreter-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::debug` [INFO] [stdout] --> src/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::debug; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::debug` [INFO] [stdout] --> src/expression.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::debug; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_ref` [INFO] [stdout] --> src/compiler.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | let (expr_ref, _) = self.logical_expression()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/interpreter.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | Expr::StmtList(start, finish) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/interpreter.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn run(pool: &ExpressionPool, root: ExprRef) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn debug(level: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expression_list` is never used [INFO] [stdout] --> src/compiler.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl LanguageParser { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn expression_list(&mut self) -> CompileResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_to_source` is never read [INFO] [stdout] --> src/expression.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ExpressionPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | index_to_source: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionPool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expr_ref` [INFO] [stdout] --> src/compiler.rs:267:18 [INFO] [stdout] | [INFO] [stdout] 267 | let (expr_ref, _) = self.logical_expression()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expr_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmt_list` [INFO] [stdout] --> src/compiler.rs:680:13 [INFO] [stdout] | [INFO] [stdout] 680 | let stmt_list = Expr::StmtList(ExprRef(2), ExprRef(2)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stmt_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/interpreter.rs:259:28 [INFO] [stdout] | [INFO] [stdout] 259 | Expr::StmtList(start, finish) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/interpreter.rs:154:35 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn run(pool: &ExpressionPool, root: ExprRef) -> Value { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `level` [INFO] [stdout] --> src/main.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn debug(level: usize) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_level` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expression_list` is never used [INFO] [stdout] --> src/compiler.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl LanguageParser { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 263 | fn expression_list(&mut self) -> CompileResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_invalid_program` is never used [INFO] [stdout] --> src/compiler.rs:616:8 [INFO] [stdout] | [INFO] [stdout] 616 | fn test_invalid_program() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_to_source` is never read [INFO] [stdout] --> src/expression.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ExpressionPool { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | index_to_source: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpressionPool` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "1164c4e148fe40e583412047cc12cb3b6e43da4c6af025d462eaeb0640f4e3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1164c4e148fe40e583412047cc12cb3b6e43da4c6af025d462eaeb0640f4e3b9", kill_on_drop: false }` [INFO] [stdout] 1164c4e148fe40e583412047cc12cb3b6e43da4c6af025d462eaeb0640f4e3b9