[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] checking eddybk/rust_vm against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddybk%2Frust_vm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eddybk/rust_vm on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca608a104f8c5cf83ee01e0b6e12ad3093589e6bf58b87a89e1ce03d559feca0 [INFO] running `Command { std: "docker" "start" "-a" "ca608a104f8c5cf83ee01e0b6e12ad3093589e6bf58b87a89e1ce03d559feca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca608a104f8c5cf83ee01e0b6e12ad3093589e6bf58b87a89e1ce03d559feca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca608a104f8c5cf83ee01e0b6e12ad3093589e6bf58b87a89e1ce03d559feca0", kill_on_drop: false }` [INFO] [stdout] ca608a104f8c5cf83ee01e0b6e12ad3093589e6bf58b87a89e1ce03d559feca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5abaaf8383d089830b94a4f90eacd708b5db8be38a68eeccb513d2d6babb360f [INFO] running `Command { std: "docker" "start" "-a" "5abaaf8383d089830b94a4f90eacd708b5db8be38a68eeccb513d2d6babb360f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking 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 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] [stdout] warning: 11 warnings emitted [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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "5abaaf8383d089830b94a4f90eacd708b5db8be38a68eeccb513d2d6babb360f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abaaf8383d089830b94a4f90eacd708b5db8be38a68eeccb513d2d6babb360f", kill_on_drop: false }` [INFO] [stdout] 5abaaf8383d089830b94a4f90eacd708b5db8be38a68eeccb513d2d6babb360f