[INFO] cloning repository https://github.com/queercat/compile-fuck [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/queercat/compile-fuck" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqueercat%2Fcompile-fuck", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqueercat%2Fcompile-fuck'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b450c9b0f377fccd78ba4c2ac5f14a61bd78260 [INFO] checking queercat/compile-fuck against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqueercat%2Fcompile-fuck" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/queercat/compile-fuck on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/queercat/compile-fuck [INFO] finished tweaking git repo https://github.com/queercat/compile-fuck [INFO] tweaked toml for git repo https://github.com/queercat/compile-fuck written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/queercat/compile-fuck 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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1237dd67f94402fba4d238fc71aa0606d5763e47f51c5f67d02099b5f55fadf2 [INFO] running `Command { std: "docker" "start" "-a" "1237dd67f94402fba4d238fc71aa0606d5763e47f51c5f67d02099b5f55fadf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1237dd67f94402fba4d238fc71aa0606d5763e47f51c5f67d02099b5f55fadf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1237dd67f94402fba4d238fc71aa0606d5763e47f51c5f67d02099b5f55fadf2", kill_on_drop: false }` [INFO] [stdout] 1237dd67f94402fba4d238fc71aa0606d5763e47f51c5f67d02099b5f55fadf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51f68542aae6bf29f24b6315e45621950fbc1350892a4a10597836a7fa1322cb [INFO] running `Command { std: "docker" "start" "-a" "51f68542aae6bf29f24b6315e45621950fbc1350892a4a10597836a7fa1322cb", kill_on_drop: false }` [INFO] [stderr] Checking compile-fuck v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opcodes` [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn new(opcodes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opcodes` [INFO] [stdout] --> src/lib.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn new(opcodes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opcodes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | _ => panic!("Unrecognized opcode {:?}", self.opcodes[self.ip]), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 290 | Opcode::IP => self.dp += 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 291 | Opcode::DP => self.dp -= 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 292 | Opcode::ID => self.memory[self.dp] += 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 293 | Opcode::DD => self.memory[self.dp] -= 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | _ => panic!("Unrecognized opcode {:?}", self.opcodes[self.ip]), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | _ => panic!("Unrecognized opcode {:?}", self.opcodes[self.ip]), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 290 | Opcode::IP => self.dp += 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 291 | Opcode::DP => self.dp -= 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 292 | Opcode::ID => self.memory[self.dp] += 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 293 | Opcode::DD => self.memory[self.dp] -= 1, [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 307 | _ => panic!("Unrecognized opcode {:?}", self.opcodes[self.ip]), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl VM { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 278 | pub fn new(opcodes: &Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Serialize` is never used [INFO] [stdout] --> src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | trait Serialize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ip`, `opcodes`, `dp`, and `memory` are never read [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 235 | struct VM { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 236 | ip: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 237 | opcodes: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 238 | dp: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 239 | memory: [i32; 30_000], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/lib.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl VM { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 278 | pub fn new(opcodes: &Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn execute(&mut self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "51f68542aae6bf29f24b6315e45621950fbc1350892a4a10597836a7fa1322cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51f68542aae6bf29f24b6315e45621950fbc1350892a4a10597836a7fa1322cb", kill_on_drop: false }` [INFO] [stdout] 51f68542aae6bf29f24b6315e45621950fbc1350892a4a10597836a7fa1322cb