[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 try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiden01%2Fvm" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aiden01/vm on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-tc2/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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd85b3e11968dac3dae814d455c7c0df2ca31e261be93882ee2691fd835c03b [INFO] running `Command { std: "docker" "start" "-a" "2fd85b3e11968dac3dae814d455c7c0df2ca31e261be93882ee2691fd835c03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd85b3e11968dac3dae814d455c7c0df2ca31e261be93882ee2691fd835c03b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd85b3e11968dac3dae814d455c7c0df2ca31e261be93882ee2691fd835c03b", kill_on_drop: false }` [INFO] [stdout] 2fd85b3e11968dac3dae814d455c7c0df2ca31e261be93882ee2691fd835c03b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88e2704b8617c5054c7b45abc23a36029c62d59f6448b8a5c4d403612e4cc4f5 [INFO] running `Command { std: "docker" "start" "-a" "88e2704b8617c5054c7b45abc23a36029c62d59f6448b8a5c4d403612e4cc4f5", 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: 8 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "88e2704b8617c5054c7b45abc23a36029c62d59f6448b8a5c4d403612e4cc4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88e2704b8617c5054c7b45abc23a36029c62d59f6448b8a5c4d403612e4cc4f5", kill_on_drop: false }` [INFO] [stdout] 88e2704b8617c5054c7b45abc23a36029c62d59f6448b8a5c4d403612e4cc4f5