[INFO] cloning repository https://github.com/Aiden01/vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aiden01/vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiden01%2Fvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiden01%2Fvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e395ce50e9c58ad680b217bf526259193cb9519a [INFO] checking Aiden01/vm/e395ce50e9c58ad680b217bf526259193cb9519a against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiden01%2Fvm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aiden01/vm on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aiden01/vm [INFO] finished tweaking git repo https://github.com/Aiden01/vm [INFO] tweaked toml for git repo https://github.com/Aiden01/vm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aiden01/vm 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36ee5ccc609ddd8d534caa7ef6d7aee61d05c39a92c750d102d0c31908f0cd59 [INFO] running `Command { std: "docker" "start" "-a" "36ee5ccc609ddd8d534caa7ef6d7aee61d05c39a92c750d102d0c31908f0cd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36ee5ccc609ddd8d534caa7ef6d7aee61d05c39a92c750d102d0c31908f0cd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36ee5ccc609ddd8d534caa7ef6d7aee61d05c39a92c750d102d0c31908f0cd59", kill_on_drop: false }` [INFO] [stdout] 36ee5ccc609ddd8d534caa7ef6d7aee61d05c39a92c750d102d0c31908f0cd59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd544246503ffc01ab98bf9c2aa41b0572a904a69cc5aff4f08eb2f0e3b7f21a [INFO] running `Command { std: "docker" "start" "-a" "dd544246503ffc01ab98bf9c2aa41b0572a904a69cc5aff4f08eb2f0e3b7f21a", kill_on_drop: false }` [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Jump`, `JumpIfFalse`, `Store`, `Load`, and `BuildList` are never constructed [INFO] [stdout] --> src/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Instr<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | Jump(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | JumpIfFalse(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | Store(&'a str), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Load(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | BuildList(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sub`, `Mult`, and `Div` are never constructed [INFO] [stdout] --> src/instruction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Binary { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | Add, [INFO] [stdout] 18 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binary` 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: field `ret_addr` is never read [INFO] [stdout] --> src/stack.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Frame<'a, T> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub ret_addr: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` 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: methods `push2` and `ret` are never used [INFO] [stdout] --> src/stack.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, T: Clone> Stack<'a, T> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn push2(&mut self, data: (T, T)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ret(&mut self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Bool` are never constructed [INFO] [stdout] --> src/value.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: field `0` is never read [INFO] [stdout] --> src/vm.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | NotInScope(&'a str), [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | NotInScope(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | MismatchedType(&'a str), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | MismatchedType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ret` is never used [INFO] [stdout] --> src/vm.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Vm<'a> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn ret(&mut self) -> VmResult<'a, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Jump`, `JumpIfFalse`, `Store`, `Load`, and `BuildList` are never constructed [INFO] [stdout] --> src/instruction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Instr<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 5 | Jump(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | JumpIfFalse(usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | Store(&'a str), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | Load(&'a str), [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | BuildList(usize), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Sub`, `Mult`, and `Div` are never constructed [INFO] [stdout] --> src/instruction.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Binary { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 17 | Add, [INFO] [stdout] 18 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Binary` 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: field `ret_addr` is never read [INFO] [stdout] --> src/stack.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Frame<'a, T> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 7 | pub ret_addr: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Frame` 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: methods `push2` and `ret` are never used [INFO] [stdout] --> src/stack.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a, T: Clone> Stack<'a, T> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn push2(&mut self, data: (T, T)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn ret(&mut self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `String` and `Bool` are never constructed [INFO] [stdout] --> src/value.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Value<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | String(&'a str), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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: field `0` is never read [INFO] [stdout] --> src/vm.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | NotInScope(&'a str), [INFO] [stdout] | ---------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | NotInScope(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | MismatchedType(&'a str), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `VmError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | MismatchedType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ret` is never used [INFO] [stdout] --> src/vm.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl<'a> Vm<'a> { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | fn ret(&mut self) -> VmResult<'a, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "dd544246503ffc01ab98bf9c2aa41b0572a904a69cc5aff4f08eb2f0e3b7f21a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd544246503ffc01ab98bf9c2aa41b0572a904a69cc5aff4f08eb2f0e3b7f21a", kill_on_drop: false }` [INFO] [stdout] dd544246503ffc01ab98bf9c2aa41b0572a904a69cc5aff4f08eb2f0e3b7f21a