[INFO] cloning repository https://github.com/Aelix-cyk/try_rare [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aelix-cyk/try_rare" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelix-cyk%2Ftry_rare", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelix-cyk%2Ftry_rare'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 629a73e52e0aeb5ee709e97e08aa29a66424ba79 [INFO] checking Aelix-cyk/try_rare against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAelix-cyk%2Ftry_rare" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Aelix-cyk/try_rare [INFO] finished tweaking git repo https://github.com/Aelix-cyk/try_rare [INFO] tweaked toml for git repo https://github.com/Aelix-cyk/try_rare written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aelix-cyk/try_rare on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Aelix-cyk/try_rare 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dca085e1eb64aff1b454ade3f6c9e21ebb1e400ba4f8ceaa4e1fbdd04906b5eb [INFO] running `Command { std: "docker" "start" "-a" "dca085e1eb64aff1b454ade3f6c9e21ebb1e400ba4f8ceaa4e1fbdd04906b5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dca085e1eb64aff1b454ade3f6c9e21ebb1e400ba4f8ceaa4e1fbdd04906b5eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dca085e1eb64aff1b454ade3f6c9e21ebb1e400ba4f8ceaa4e1fbdd04906b5eb", kill_on_drop: false }` [INFO] [stdout] dca085e1eb64aff1b454ade3f6c9e21ebb1e400ba4f8ceaa4e1fbdd04906b5eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54b4a9a0887c5bca53c913911b4dc463dd8199c1d08546baf242406b944e92a8 [INFO] running `Command { std: "docker" "start" "-a" "54b4a9a0887c5bca53c913911b4dc463dd8199c1d08546baf242406b944e92a8", kill_on_drop: false }` [INFO] [stderr] Checking rare v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | 8 => load_nbytes!(8), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | 16 => load_nbytes!(16), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | 32 => load_nbytes!(32), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | 64 => load_nbytes!(64), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rare` (bin "rare" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `Bus` is never constructed [INFO] [stdout] --> src/bus.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Bus { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, and `store` are never used [INFO] [stdout] --> src/bus.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Bus { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(mem: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn load(&self, addr: usize, size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn store(&mut self, addr: usize, size: usize, data: u64) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Dram` is never constructed [INFO] [stdout] --> src/dram.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Dram { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, and `store` are never used [INFO] [stdout] --> src/dram.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Dram { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(mem: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn load(&self, addr: usize, size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn store(&mut self, addr: usize, size: usize, data: u64) -> Result<(), Exception> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Exception` is never used [INFO] [stdout] --> src/exception.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Exception { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAM_BASE` is never used [INFO] [stdout] --> src/parameter.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const DRAM_BASE: usize = 0x8000_0000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAM_SIZE` is never used [INFO] [stdout] --> src/parameter.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const DRAM_SIZE: usize = 128 * (1 << 20); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAM_END` is never used [INFO] [stdout] --> src/parameter.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DRAM_END: usize = DRAM_BASE + DRAM_SIZE - 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | 8 => load_nbytes!(8), [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | 16 => load_nbytes!(16), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | 32 => load_nbytes!(32), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result<[u8; 8], Infallible> [INFO] [stdout] --> src/dram.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|bytes| u64::from_le_bytes(bytes.try_into().unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | 64 => load_nbytes!(64), [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `load_nbytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rare` (bin "rare") due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54b4a9a0887c5bca53c913911b4dc463dd8199c1d08546baf242406b944e92a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b4a9a0887c5bca53c913911b4dc463dd8199c1d08546baf242406b944e92a8", kill_on_drop: false }` [INFO] [stdout] 54b4a9a0887c5bca53c913911b4dc463dd8199c1d08546baf242406b944e92a8