[INFO] cloning repository https://github.com/eddybk/rust_vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eddybk/rust_vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddybk%2Frust_vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddybk%2Frust_vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b9973ed2a322e902530e318949a7d1b5af104f7 [INFO] building eddybk/rust_vm against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddybk%2Frust_vm" "/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/eddybk/rust_vm on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eddybk/rust_vm [INFO] finished tweaking git repo https://github.com/eddybk/rust_vm [INFO] tweaked toml for git repo https://github.com/eddybk/rust_vm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eddybk/rust_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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88212d49a61310c0b54fe2f2a9a5c1eeb5af8a2ba9a21cb7f62aa3be8fcc9390 [INFO] running `Command { std: "docker" "start" "-a" "88212d49a61310c0b54fe2f2a9a5c1eeb5af8a2ba9a21cb7f62aa3be8fcc9390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88212d49a61310c0b54fe2f2a9a5c1eeb5af8a2ba9a21cb7f62aa3be8fcc9390", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88212d49a61310c0b54fe2f2a9a5c1eeb5af8a2ba9a21cb7f62aa3be8fcc9390", kill_on_drop: false }` [INFO] [stdout] 88212d49a61310c0b54fe2f2a9a5c1eeb5af8a2ba9a21cb7f62aa3be8fcc9390 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311fb28798a4510a63a26736b400c0e334964379278b875ef52ff222fe57f371 [INFO] running `Command { std: "docker" "start" "-a" "311fb28798a4510a63a26736b400c0e334964379278b875ef52ff222fe57f371", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling lvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Head`, `Tail`, and `string::StringView` [INFO] [stdout] --> src/main.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{vm::VM, list::{AsList, Tail, Head}, string::StringView, io::cout}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let list = vec![1,2,3,4,5,6].as_list(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | StackOverflow(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | StackOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | StackUnderflow(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 471 | StackUnderflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:472:15 [INFO] [stdout] | [INFO] [stdout] 472 | DivByZero(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 472 | DivByZero(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | IllegalMemAccess(String) [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 473 | IllegalMemAccess(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/./utils/list.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Head { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 26 | type Type; [INFO] [stdout] 27 | fn head(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tail` is never used [INFO] [stdout] --> src/./utils/list.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Tail { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 30 | type Type; [INFO] [stdout] 31 | fn tail(&self) -> Option> where Self::Type: Clone; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `at`, `last`, and `as_vec` are never used [INFO] [stdout] --> src/./utils/list.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl List where T: Clone { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn at(&self, i: usize) -> T { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn last(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn as_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, and `size` are never used [INFO] [stdout] --> src/./utils/string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StringView { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> StringView { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from(data: String) -> StringView { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_list` is never used [INFO] [stdout] --> src/./utils/list.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AsList { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 13 | type T; [INFO] [stdout] 14 | fn as_list(&self) -> List where Self::T: Clone; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.51s [INFO] running `Command { std: "docker" "inspect" "311fb28798a4510a63a26736b400c0e334964379278b875ef52ff222fe57f371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311fb28798a4510a63a26736b400c0e334964379278b875ef52ff222fe57f371", kill_on_drop: false }` [INFO] [stdout] 311fb28798a4510a63a26736b400c0e334964379278b875ef52ff222fe57f371 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2327adfe8486f9ade0b7ad3ddb9e97a2efe930d0b90a6de78c139f0e01c1ec56 [INFO] running `Command { std: "docker" "start" "-a" "2327adfe8486f9ade0b7ad3ddb9e97a2efe930d0b90a6de78c139f0e01c1ec56", kill_on_drop: false }` [INFO] [stderr] Compiling lvm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Head`, `Tail`, and `string::StringView` [INFO] [stdout] --> src/main.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{vm::VM, list::{AsList, Tail, Head}, string::StringView, io::cout}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let list = vec![1,2,3,4,5,6].as_list(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | StackOverflow(String), [INFO] [stdout] | ------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 470 | StackOverflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:471:20 [INFO] [stdout] | [INFO] [stdout] 471 | StackUnderflow(String), [INFO] [stdout] | -------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 471 | StackUnderflow(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:472:15 [INFO] [stdout] | [INFO] [stdout] 472 | DivByZero(String), [INFO] [stdout] | --------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 472 | DivByZero(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/vm.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | IllegalMemAccess(String) [INFO] [stdout] | ---------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `InstError` 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] 473 | IllegalMemAccess(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `head` is never used [INFO] [stdout] --> src/./utils/list.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Head { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 26 | type Type; [INFO] [stdout] 27 | fn head(&self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tail` is never used [INFO] [stdout] --> src/./utils/list.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub trait Tail { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 30 | type Type; [INFO] [stdout] 31 | fn tail(&self) -> Option> where Self::Type: Clone; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `at`, `last`, and `as_vec` are never used [INFO] [stdout] --> src/./utils/list.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl List where T: Clone { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn at(&self, i: usize) -> T { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn last(&self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn as_vec(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from`, and `size` are never used [INFO] [stdout] --> src/./utils/string.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl StringView { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> StringView { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from(data: String) -> StringView { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_list` is never used [INFO] [stdout] --> src/./utils/list.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait AsList { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 13 | type T; [INFO] [stdout] 14 | fn as_list(&self) -> List where Self::T: Clone; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "2327adfe8486f9ade0b7ad3ddb9e97a2efe930d0b90a6de78c139f0e01c1ec56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2327adfe8486f9ade0b7ad3ddb9e97a2efe930d0b90a6de78c139f0e01c1ec56", kill_on_drop: false }` [INFO] [stdout] 2327adfe8486f9ade0b7ad3ddb9e97a2efe930d0b90a6de78c139f0e01c1ec56