[INFO] cloning repository https://github.com/Kn-Ht/bingbang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kn-Ht/bingbang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKn-Ht%2Fbingbang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKn-Ht%2Fbingbang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c2f4072771e83a1c3fa51836440b76c59b64980 [INFO] checking Kn-Ht/bingbang against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKn-Ht%2Fbingbang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kn-Ht/bingbang on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kn-Ht/bingbang [INFO] finished tweaking git repo https://github.com/Kn-Ht/bingbang [INFO] tweaked toml for git repo https://github.com/Kn-Ht/bingbang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kn-Ht/bingbang 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Kn-Ht/bingbang against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKn-Ht%2Fbingbang" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kn-Ht/bingbang on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kn-Ht/bingbang [INFO] finished tweaking git repo https://github.com/Kn-Ht/bingbang [INFO] tweaked toml for git repo https://github.com/Kn-Ht/bingbang written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kn-Ht/bingbang 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95e0e2f1447a0c6b17154592f535438ce478298941d9174e8359f6865d9a1bbb [INFO] running `Command { std: "docker" "start" "-a" "95e0e2f1447a0c6b17154592f535438ce478298941d9174e8359f6865d9a1bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95e0e2f1447a0c6b17154592f535438ce478298941d9174e8359f6865d9a1bbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e0e2f1447a0c6b17154592f535438ce478298941d9174e8359f6865d9a1bbb", kill_on_drop: false }` [INFO] [stdout] 95e0e2f1447a0c6b17154592f535438ce478298941d9174e8359f6865d9a1bbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59c079fc20296e5b928aea7019a8216d9e6e90fcc717d61ed52f50b25ef5f414 [INFO] running `Command { std: "docker" "start" "-a" "59c079fc20296e5b928aea7019a8216d9e6e90fcc717d61ed52f50b25ef5f414", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.56 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking bingbang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `compile::compile` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use compile::compile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compile::compile` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use compile::compile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 8 | [INFO] [stdout] 9 | / if std::path::Path::new("out.rs").is_file() { [INFO] [stdout] 10 | | std::fs::remove_file("out.rs").unwrap(); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpret.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | Instr::Loop(body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/compile.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 8 | [INFO] [stdout] 9 | / if std::path::Path::new("out.rs").is_file() { [INFO] [stdout] 10 | | std::fs::remove_file("out.rs").unwrap(); [INFO] [stdout] 11 | | } [INFO] [stdout] | |_____^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/interpret.rs:359:25 [INFO] [stdout] | [INFO] [stdout] 359 | Instr::Loop(body) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/compile.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn compile(instructions: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOP_IN` is never used [INFO] [stdout] --> src/instruction.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LOOP_IN: char = '('; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOP_OUT` is never used [INFO] [stdout] --> src/instruction.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LOOP_OUT: char = ')'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Loop` is never constructed [INFO] [stdout] --> src/instruction.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Instr { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Loop(Body), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compile.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn compile(instructions: &mut Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> src/compile.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn compile(instructions: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOP_IN` is never used [INFO] [stdout] --> src/instruction.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const LOOP_IN: char = '('; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOOP_OUT` is never used [INFO] [stdout] --> src/instruction.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const LOOP_OUT: char = ')'; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Loop` is never constructed [INFO] [stdout] --> src/instruction.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Instr { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Loop(Body), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compile.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(out_file, "{}", format!("; --- push {n} to stack\nPUSH {}", *n as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/compile.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | writeln!(out_file, "{}", format!("; --- push {n} to stack\nPUSH {}", *n as i32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "59c079fc20296e5b928aea7019a8216d9e6e90fcc717d61ed52f50b25ef5f414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c079fc20296e5b928aea7019a8216d9e6e90fcc717d61ed52f50b25ef5f414", kill_on_drop: false }` [INFO] [stdout] 59c079fc20296e5b928aea7019a8216d9e6e90fcc717d61ed52f50b25ef5f414