[INFO] cloning repository https://github.com/KFTamang/rv-emu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KFTamang/rv-emu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2651b27fdbb4949b632550a643a33e3ff6e57bee [INFO] checking KFTamang/rv-emu/2651b27fdbb4949b632550a643a33e3ff6e57bee against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKFTamang%2Frv-emu" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/KFTamang/rv-emu [INFO] finished tweaking git repo https://github.com/KFTamang/rv-emu [INFO] tweaked toml for git repo https://github.com/KFTamang/rv-emu written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KFTamang/rv-emu on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.51) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_filter v0.1.4 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded gdbstub v0.7.8 [INFO] [stderr] Downloaded gdbstub_arch v0.3.2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d165f5873e405d2fc764e7e1d74b2700f771180dd888273557e81ca90613d92 [INFO] running `Command { std: "docker" "start" "-a" "2d165f5873e405d2fc764e7e1d74b2700f771180dd888273557e81ca90613d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d165f5873e405d2fc764e7e1d74b2700f771180dd888273557e81ca90613d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d165f5873e405d2fc764e7e1d74b2700f771180dd888273557e81ca90613d92", kill_on_drop: false }` [INFO] [stdout] 2d165f5873e405d2fc764e7e1d74b2700f771180dd888273557e81ca90613d92 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 403b7be98d27e24922765044b027dccf39551dee6881f8645b6b0421847849e0 [INFO] running `Command { std: "docker" "start" "-a" "403b7be98d27e24922765044b027dccf39551dee6881f8645b6b0421847849e0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking gdbstub v0.7.8 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking gdbstub_arch v0.3.2 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking rv-emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bus.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut virtio = self.virtio [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bus.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut virtio = self.virtio [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelayedInterrupt` is never constructed [INFO] [stdout] --> src/interrupt.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct DelayedInterrupt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_ENABLES` is never used [INFO] [stdout] --> src/plic.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const INTERRUPT_ENABLES: u64 = 0x002000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIORITY_THRESHOLDS` is never used [INFO] [stdout] --> src/plic.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const PRIORITY_THRESHOLDS: u64 = 0x200000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interrupt_notifier` and `input_thread` are never read [INFO] [stdout] --> src/uart.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Uart { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | start_addr: u64, [INFO] [stdout] 16 | interrupt_notifier: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | // The input_thread is an optional thread that can be used to read input from the user. [INFO] [stdout] 18 | input_thread: std::thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_snapshot` is never used [INFO] [stdout] --> src/virtio.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Virtio { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn from_snapshot(snapshot: VirtioSnapshot, notificator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn base_ops(&mut self) -> BaseOps { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn base_ops(&mut self) -> BaseOps<'_, Self::Arch, Self::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn support_breakpoints(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn support_breakpoints(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | fn support_resume(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn support_resume(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn support_sw_breakpoint(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | fn support_sw_breakpoint(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DelayedInterrupt` is never constructed [INFO] [stdout] --> src/interrupt.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub struct DelayedInterrupt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERRUPT_ENABLES` is never used [INFO] [stdout] --> src/plic.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const INTERRUPT_ENABLES: u64 = 0x002000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PRIORITY_THRESHOLDS` is never used [INFO] [stdout] --> src/plic.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const PRIORITY_THRESHOLDS: u64 = 0x200000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `interrupt_notifier` and `input_thread` are never read [INFO] [stdout] --> src/uart.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Uart { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | start_addr: u64, [INFO] [stdout] 16 | interrupt_notifier: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | // The input_thread is an optional thread that can be used to read input from the user. [INFO] [stdout] 18 | input_thread: std::thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_snapshot` is never used [INFO] [stdout] --> src/virtio.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Virtio { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn from_snapshot(snapshot: VirtioSnapshot, notificator: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | fn base_ops(&mut self) -> BaseOps { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn base_ops(&mut self) -> BaseOps<'_, Self::Arch, Self::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn support_breakpoints(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn support_breakpoints(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | fn support_resume(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | fn support_resume(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/debugger.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | fn support_sw_breakpoint(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 151 | fn support_sw_breakpoint(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.66s [INFO] running `Command { std: "docker" "inspect" "403b7be98d27e24922765044b027dccf39551dee6881f8645b6b0421847849e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403b7be98d27e24922765044b027dccf39551dee6881f8645b6b0421847849e0", kill_on_drop: false }` [INFO] [stdout] 403b7be98d27e24922765044b027dccf39551dee6881f8645b6b0421847849e0