[INFO] cloning repository https://github.com/noah7545/OxidizeVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noah7545/OxidizeVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoah7545%2FOxidizeVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoah7545%2FOxidizeVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d69d83c20e5fd74ba950e8179a4855f8b0f32f4 [INFO] checking noah7545/OxidizeVM against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoah7545%2FOxidizeVM" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noah7545/OxidizeVM on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noah7545/OxidizeVM [INFO] finished tweaking git repo https://github.com/noah7545/OxidizeVM [INFO] tweaked toml for git repo https://github.com/noah7545/OxidizeVM written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/noah7545/OxidizeVM 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d609c3f5dd3c51798e1b1a2e49e8082393727c612c83ba8e7fea97d99b138e4 [INFO] running `Command { std: "docker" "start" "-a" "8d609c3f5dd3c51798e1b1a2e49e8082393727c612c83ba8e7fea97d99b138e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d609c3f5dd3c51798e1b1a2e49e8082393727c612c83ba8e7fea97d99b138e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d609c3f5dd3c51798e1b1a2e49e8082393727c612c83ba8e7fea97d99b138e4", kill_on_drop: false }` [INFO] [stdout] 8d609c3f5dd3c51798e1b1a2e49e8082393727c612c83ba8e7fea97d99b138e4 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60f17a81bb07945c8caff8cf97597bdffc307ca4195108a362007832a7f1ce04 [INFO] running `Command { std: "docker" "start" "-a" "60f17a81bb07945c8caff8cf97597bdffc307ca4195108a362007832a7f1ce04", kill_on_drop: false }` [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/stackobj.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | StackObj::Num(arg2) => (arg1 == arg2), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - StackObj::Num(arg2) => (arg1 == arg2), [INFO] [stdout] 97 + StackObj::Num(arg2) => arg1 == arg2, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/stackobj.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | StackObj::Num(arg2) => (arg1 == arg2), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - StackObj::Num(arg2) => (arg1 == arg2), [INFO] [stdout] 97 + StackObj::Num(arg2) => arg1 == arg2, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | _ => panic!("Error: unknown opcode.") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/machine.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 71 | Opcode::Halt => self.halted = true, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | Opcode::Push(arg1) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Opcode::Pop => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 81 | Opcode::Dup => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 193 | _ => panic!("Error: unknown opcode.") [INFO] [stdout] | ^ ...and 17 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_program` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let max_program = [ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `while_loop` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let while_loop= [ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_while_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/machine.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | _ => panic!("Error: unknown opcode.") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/machine.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 71 | Opcode::Halt => self.halted = true, [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 74 | Opcode::Push(arg1) => { [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Opcode::Pop => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 81 | Opcode::Dup => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 193 | _ => panic!("Error: unknown opcode.") [INFO] [stdout] | ^ ...and 17 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_function` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let test_function = [ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opcodes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Iseq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Isge, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ref` is never constructed [INFO] [stdout] --> src/stackobj.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StackObj { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 9 | Num(f32), [INFO] [stdout] 10 | Ref(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackObj` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_program` [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let max_program = [ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `while_loop` [INFO] [stdout] --> src/main.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let while_loop= [ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_while_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_function` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let test_function = [ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opcodes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Opcode { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Pop, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 22 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | Not, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 38 | Iseq, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | Isge, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Ref` is never constructed [INFO] [stdout] --> src/stackobj.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum StackObj { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 9 | Num(f32), [INFO] [stdout] 10 | Ref(u32), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackObj` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "60f17a81bb07945c8caff8cf97597bdffc307ca4195108a362007832a7f1ce04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60f17a81bb07945c8caff8cf97597bdffc307ca4195108a362007832a7f1ce04", kill_on_drop: false }` [INFO] [stdout] 60f17a81bb07945c8caff8cf97597bdffc307ca4195108a362007832a7f1ce04