[INFO] cloning repository https://github.com/jclulow/junk-fillmem [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jclulow/junk-fillmem" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Fjunk-fillmem", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Fjunk-fillmem'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 417a8aa03788013621d877ca59f718a2c2c1a874 [INFO] checking jclulow/junk-fillmem against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Fjunk-fillmem" "/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/jclulow/junk-fillmem 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/jclulow/junk-fillmem [INFO] finished tweaking git repo https://github.com/jclulow/junk-fillmem [INFO] tweaked toml for git repo https://github.com/jclulow/junk-fillmem written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jclulow/junk-fillmem 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87933b5cf18d507f9b5b73684f813d54600c138ed2b19d4ae642e8c75d2ddb55 [INFO] running `Command { std: "docker" "start" "-a" "87933b5cf18d507f9b5b73684f813d54600c138ed2b19d4ae642e8c75d2ddb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87933b5cf18d507f9b5b73684f813d54600c138ed2b19d4ae642e8c75d2ddb55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87933b5cf18d507f9b5b73684f813d54600c138ed2b19d4ae642e8c75d2ddb55", kill_on_drop: false }` [INFO] [stdout] 87933b5cf18d507f9b5b73684f813d54600c138ed2b19d4ae642e8c75d2ddb55 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 618b87bcea4f1d194c76e963f1bb325aa5b46f53a15638593fc40f6b36dcbe73 [INFO] running `Command { std: "docker" "start" "-a" "618b87bcea4f1d194c76e963f1bb325aa5b46f53a15638593fc40f6b36dcbe73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking fillmem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/kstat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/term.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | sync::{atomic::AtomicBool, mpsc, Arc, Condvar, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/kstat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/term.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | sync::{atomic::AtomicBool, mpsc, Arc, Condvar, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/term.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | i = self.inner.1.wait_timeout_ms(i, 250).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/term.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | i = self.inner.1.wait_timeout_ms(i, 250).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/kvm.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/kvm.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvm.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut buf = [0u8; size_of::()]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvm.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut buf = [0u8; size_of::()]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeo` [INFO] [stdout] --> src/term.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let timeo = Duration::from_millis(500); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timeo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeo` [INFO] [stdout] --> src/term.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let timeo = Duration::from_millis(500); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timeo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx = tx0.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx = tx0.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interrupt` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | busy: bool, [INFO] [stdout] 35 | interrupt: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interrupt` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | busy: bool, [INFO] [stdout] 35 | interrupt: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `nlist` is never constructed [INFO] [stdout] --> src/kvm.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct nlist { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `nlist` is never constructed [INFO] [stdout] --> src/kvm.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct nlist { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kvm.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Kvm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn locate(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn read_buf(&self, addr: usize, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn write_buf(&self, addr: usize, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_usize(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_u16(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kvm.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Kvm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn locate(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn read_buf(&self, addr: usize, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn write_buf(&self, addr: usize, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_usize(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_u16(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_open` is never used [INFO] [stdout] --> src/kvm.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn kvm_open( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_open` is never used [INFO] [stdout] --> src/kvm.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn kvm_open( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_nlist` is never used [INFO] [stdout] --> src/kvm.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn kvm_nlist(kd: *mut KvmT, nlist: *mut nlist) -> c_int; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_nlist` is never used [INFO] [stdout] --> src/kvm.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn kvm_nlist(kd: *mut KvmT, nlist: *mut nlist) -> c_int; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kread` is never used [INFO] [stdout] --> src/kvm.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn kvm_kread( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kread` is never used [INFO] [stdout] --> src/kvm.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn kvm_kread( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kwrite` is never used [INFO] [stdout] --> src/kvm.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn kvm_kwrite( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatDataIo` is never constructed [INFO] [stdout] --> src/kstat.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct KstatDataIo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataIo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kwrite` is never used [INFO] [stdout] --> src/kvm.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn kvm_kwrite( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KstatDataValue` is never used [INFO] [stdout] --> src/kstat.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum KstatDataValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatDataIo` is never constructed [INFO] [stdout] --> src/kstat.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct KstatDataIo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataIo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KstatDataValue` is never used [INFO] [stdout] --> src/kstat.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum KstatDataValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatData` is never constructed [INFO] [stdout] --> src/kstat.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct KstatData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpu_mhz` is never used [INFO] [stdout] --> src/kstat.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn cpu_mhz() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boot_time` is never used [INFO] [stdout] --> src/kstat.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn boot_time() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nproc` is never used [INFO] [stdout] --> src/kstat.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn nproc() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pages` is never constructed [INFO] [stdout] --> src/kstat.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Pages { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pages` is never used [INFO] [stdout] --> src/kstat.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn pages() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULE_CPU_INFO` is never used [INFO] [stdout] --> src/kstat.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MODULE_CPU_INFO: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatData` is never constructed [INFO] [stdout] --> src/kstat.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct KstatData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_CLOCK_MHZ` is never used [INFO] [stdout] --> src/kstat.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const STAT_CLOCK_MHZ: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpu_mhz` is never used [INFO] [stdout] --> src/kstat.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn cpu_mhz() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_SYSTEM_MISC` is never used [INFO] [stdout] --> src/kstat.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const NAME_SYSTEM_MISC: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_BOOT_TIME` is never used [INFO] [stdout] --> src/kstat.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const STAT_BOOT_TIME: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boot_time` is never used [INFO] [stdout] --> src/kstat.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn boot_time() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_NPROC` is never used [INFO] [stdout] --> src/kstat.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STAT_NPROC: &CStr = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_PHYSMEM` is never used [INFO] [stdout] --> src/kstat.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const STAT_PHYSMEM: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_TYPE_IO` is never used [INFO] [stdout] --> src/kstat.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const KSTAT_TYPE_IO: c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nproc` is never used [INFO] [stdout] --> src/kstat.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn nproc() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_CHAR` is never used [INFO] [stdout] --> src/kstat.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const KSTAT_DATA_CHAR: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT32` is never used [INFO] [stdout] --> src/kstat.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const KSTAT_DATA_INT32: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pages` is never constructed [INFO] [stdout] --> src/kstat.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Pages { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT32` is never used [INFO] [stdout] --> src/kstat.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const KSTAT_DATA_UINT32: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pages` is never used [INFO] [stdout] --> src/kstat.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn pages() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT64` is never used [INFO] [stdout] --> src/kstat.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const KSTAT_DATA_INT64: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULE_CPU_INFO` is never used [INFO] [stdout] --> src/kstat.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MODULE_CPU_INFO: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT64` is never used [INFO] [stdout] --> src/kstat.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const KSTAT_DATA_UINT64: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_CLOCK_MHZ` is never used [INFO] [stdout] --> src/kstat.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const STAT_CLOCK_MHZ: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_SYSTEM_MISC` is never used [INFO] [stdout] --> src/kstat.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const NAME_SYSTEM_MISC: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class`, `instance`, and `type_` are never used [INFO] [stdout] --> src/kstat.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Kstat { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_BOOT_TIME` is never used [INFO] [stdout] --> src/kstat.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const STAT_BOOT_TIME: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatIo` is never constructed [INFO] [stdout] --> src/kstat.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct KstatIo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_NPROC` is never used [INFO] [stdout] --> src/kstat.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STAT_NPROC: &CStr = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_PHYSMEM` is never used [INFO] [stdout] --> src/kstat.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const STAT_PHYSMEM: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/kstat.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl KstatNamed { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 189 | fn name(&self) -> &CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_TYPE_IO` is never used [INFO] [stdout] --> src/kstat.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const KSTAT_TYPE_IO: c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_CHAR` is never used [INFO] [stdout] --> src/kstat.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const KSTAT_DATA_CHAR: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT32` is never used [INFO] [stdout] --> src/kstat.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const KSTAT_DATA_INT32: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT32` is never used [INFO] [stdout] --> src/kstat.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const KSTAT_DATA_UINT32: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT64` is never used [INFO] [stdout] --> src/kstat.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const KSTAT_DATA_INT64: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT64` is never used [INFO] [stdout] --> src/kstat.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const KSTAT_DATA_UINT64: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/kstat.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 231 | impl KstatWrapper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn walk(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn read(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn ndata(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn io(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn data_get(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn data_long(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn data_ulong(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn data_u32(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class`, `instance`, and `type_` are never used [INFO] [stdout] --> src/kstat.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Kstat { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleaned_up` is never read [INFO] [stdout] --> src/term.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Term { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | orig_termios: Termios, [INFO] [stdout] 16 | cleaned_up: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatIo` is never constructed [INFO] [stdout] --> src/kstat.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct KstatIo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/term.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/kstat.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl KstatNamed { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 189 | fn name(&self) -> &CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigterm_delivered` is never read [INFO] [stdout] --> src/term.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | sigterm_delivered: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/term.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct WinSize { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/kstat.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 231 | impl KstatWrapper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn walk(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn read(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn ndata(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn io(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn data_get(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn data_long(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn data_ulong(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn data_u32(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleaned_up` is never read [INFO] [stdout] --> src/term.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Term { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | orig_termios: Termios, [INFO] [stdout] 16 | cleaned_up: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/term.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigterm_delivered` is never read [INFO] [stdout] --> src/term.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | sigterm_delivered: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/term.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct WinSize { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "618b87bcea4f1d194c76e963f1bb325aa5b46f53a15638593fc40f6b36dcbe73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618b87bcea4f1d194c76e963f1bb325aa5b46f53a15638593fc40f6b36dcbe73", kill_on_drop: false }` [INFO] [stdout] 618b87bcea4f1d194c76e963f1bb325aa5b46f53a15638593fc40f6b36dcbe73 [INFO] checking jclulow/junk-fillmem against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjclulow%2Fjunk-fillmem" "/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/jclulow/junk-fillmem on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jclulow/junk-fillmem [INFO] finished tweaking git repo https://github.com/jclulow/junk-fillmem [INFO] tweaked toml for git repo https://github.com/jclulow/junk-fillmem written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jclulow/junk-fillmem 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcbc78003c3439684e1514791c5e45a11b787abfc4d32cb2b10a66c1492113b3 [INFO] running `Command { std: "docker" "start" "-a" "fcbc78003c3439684e1514791c5e45a11b787abfc4d32cb2b10a66c1492113b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcbc78003c3439684e1514791c5e45a11b787abfc4d32cb2b10a66c1492113b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcbc78003c3439684e1514791c5e45a11b787abfc4d32cb2b10a66c1492113b3", kill_on_drop: false }` [INFO] [stdout] fcbc78003c3439684e1514791c5e45a11b787abfc4d32cb2b10a66c1492113b3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eb3c07edf250a9cd89bcada32f8e32879e5fc0900794b2f7ee23e2197fd90ca [INFO] running `Command { std: "docker" "start" "-a" "4eb3c07edf250a9cd89bcada32f8e32879e5fc0900794b2f7ee23e2197fd90ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking fillmem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/kstat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/term.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | sync::{atomic::AtomicBool, mpsc, Arc, Condvar, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/kstat.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/term.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | sync::{atomic::AtomicBool, mpsc, Arc, Condvar, Mutex}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/term.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | i = self.inner.1.wait_timeout_ms(i, 250).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::Condvar::wait_timeout_ms`: replaced by `std::sync::Condvar::wait_timeout` [INFO] [stdout] --> src/term.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | i = self.inner.1.wait_timeout_ms(i, 250).unwrap().0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/kvm.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/kvm.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvm.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut buf = [0u8; size_of::()]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/kvm.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let mut buf = [0u8; size_of::()]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeo` [INFO] [stdout] --> src/term.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let timeo = Duration::from_millis(500); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timeo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeo` [INFO] [stdout] --> src/term.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | let timeo = Duration::from_millis(500); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_timeo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx = tx0.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let tx = tx0.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interrupt` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | busy: bool, [INFO] [stdout] 35 | interrupt: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interrupt` is never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 34 | busy: bool, [INFO] [stdout] 35 | interrupt: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `nlist` is never constructed [INFO] [stdout] --> src/kvm.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct nlist { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `nlist` is never constructed [INFO] [stdout] --> src/kvm.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct nlist { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kvm.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Kvm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn locate(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn read_buf(&self, addr: usize, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn write_buf(&self, addr: usize, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_usize(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_u16(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/kvm.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Kvm { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 57 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn locate(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn read_buf(&self, addr: usize, buf: &mut [u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn write_buf(&self, addr: usize, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn read_usize(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_usize(&self, addr: usize, value: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn read_u16(&self, addr: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_open` is never used [INFO] [stdout] --> src/kvm.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn kvm_open( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_open` is never used [INFO] [stdout] --> src/kvm.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn kvm_open( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_nlist` is never used [INFO] [stdout] --> src/kvm.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn kvm_nlist(kd: *mut KvmT, nlist: *mut nlist) -> c_int; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_nlist` is never used [INFO] [stdout] --> src/kvm.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn kvm_nlist(kd: *mut KvmT, nlist: *mut nlist) -> c_int; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kread` is never used [INFO] [stdout] --> src/kvm.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn kvm_kread( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kread` is never used [INFO] [stdout] --> src/kvm.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn kvm_kread( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kwrite` is never used [INFO] [stdout] --> src/kvm.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn kvm_kwrite( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kvm_kwrite` is never used [INFO] [stdout] --> src/kvm.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn kvm_kwrite( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatDataIo` is never constructed [INFO] [stdout] --> src/kstat.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct KstatDataIo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataIo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatDataIo` is never constructed [INFO] [stdout] --> src/kstat.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct KstatDataIo { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataIo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KstatDataValue` is never used [INFO] [stdout] --> src/kstat.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum KstatDataValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KstatDataValue` is never used [INFO] [stdout] --> src/kstat.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum KstatDataValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatDataValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatData` is never constructed [INFO] [stdout] --> src/kstat.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct KstatData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatData` is never constructed [INFO] [stdout] --> src/kstat.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct KstatData { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KstatData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpu_mhz` is never used [INFO] [stdout] --> src/kstat.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn cpu_mhz() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boot_time` is never used [INFO] [stdout] --> src/kstat.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn boot_time() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nproc` is never used [INFO] [stdout] --> src/kstat.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn nproc() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pages` is never constructed [INFO] [stdout] --> src/kstat.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Pages { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pages` is never used [INFO] [stdout] --> src/kstat.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn pages() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULE_CPU_INFO` is never used [INFO] [stdout] --> src/kstat.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MODULE_CPU_INFO: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_CLOCK_MHZ` is never used [INFO] [stdout] --> src/kstat.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const STAT_CLOCK_MHZ: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cpu_mhz` is never used [INFO] [stdout] --> src/kstat.rs:493:8 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn cpu_mhz() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `boot_time` is never used [INFO] [stdout] --> src/kstat.rs:510:8 [INFO] [stdout] | [INFO] [stdout] 510 | pub fn boot_time() -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nproc` is never used [INFO] [stdout] --> src/kstat.rs:527:8 [INFO] [stdout] | [INFO] [stdout] 527 | pub fn nproc() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pages` is never constructed [INFO] [stdout] --> src/kstat.rs:544:12 [INFO] [stdout] | [INFO] [stdout] 544 | pub struct Pages { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pages` is never used [INFO] [stdout] --> src/kstat.rs:549:8 [INFO] [stdout] | [INFO] [stdout] 549 | pub fn pages() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULE_CPU_INFO` is never used [INFO] [stdout] --> src/kstat.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MODULE_CPU_INFO: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_CLOCK_MHZ` is never used [INFO] [stdout] --> src/kstat.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const STAT_CLOCK_MHZ: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_SYSTEM_MISC` is never used [INFO] [stdout] --> src/kstat.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const NAME_SYSTEM_MISC: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_BOOT_TIME` is never used [INFO] [stdout] --> src/kstat.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const STAT_BOOT_TIME: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_NPROC` is never used [INFO] [stdout] --> src/kstat.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STAT_NPROC: &CStr = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_PHYSMEM` is never used [INFO] [stdout] --> src/kstat.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const STAT_PHYSMEM: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_TYPE_IO` is never used [INFO] [stdout] --> src/kstat.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const KSTAT_TYPE_IO: c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_CHAR` is never used [INFO] [stdout] --> src/kstat.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const KSTAT_DATA_CHAR: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT32` is never used [INFO] [stdout] --> src/kstat.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const KSTAT_DATA_INT32: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT32` is never used [INFO] [stdout] --> src/kstat.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const KSTAT_DATA_UINT32: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT64` is never used [INFO] [stdout] --> src/kstat.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const KSTAT_DATA_INT64: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT64` is never used [INFO] [stdout] --> src/kstat.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const KSTAT_DATA_UINT64: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class`, `instance`, and `type_` are never used [INFO] [stdout] --> src/kstat.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Kstat { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatIo` is never constructed [INFO] [stdout] --> src/kstat.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct KstatIo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NAME_SYSTEM_MISC` is never used [INFO] [stdout] --> src/kstat.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const NAME_SYSTEM_MISC: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_BOOT_TIME` is never used [INFO] [stdout] --> src/kstat.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | pub const STAT_BOOT_TIME: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/kstat.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl KstatNamed { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 189 | fn name(&self) -> &CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_NPROC` is never used [INFO] [stdout] --> src/kstat.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | pub const STAT_NPROC: &CStr = [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STAT_PHYSMEM` is never used [INFO] [stdout] --> src/kstat.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const STAT_PHYSMEM: &CStr = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_TYPE_IO` is never used [INFO] [stdout] --> src/kstat.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const KSTAT_TYPE_IO: c_uchar = 3; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_CHAR` is never used [INFO] [stdout] --> src/kstat.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | const KSTAT_DATA_CHAR: u8 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/kstat.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 231 | impl KstatWrapper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn walk(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn read(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn ndata(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn io(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn data_get(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn data_long(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn data_ulong(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn data_u32(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT32` is never used [INFO] [stdout] --> src/kstat.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 101 | const KSTAT_DATA_INT32: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleaned_up` is never read [INFO] [stdout] --> src/term.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Term { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | orig_termios: Termios, [INFO] [stdout] 16 | cleaned_up: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT32` is never used [INFO] [stdout] --> src/kstat.rs:102:11 [INFO] [stdout] | [INFO] [stdout] 102 | const KSTAT_DATA_UINT32: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_INT64` is never used [INFO] [stdout] --> src/kstat.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | const KSTAT_DATA_INT64: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/term.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KSTAT_DATA_UINT64` is never used [INFO] [stdout] --> src/kstat.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | const KSTAT_DATA_UINT64: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigterm_delivered` is never read [INFO] [stdout] --> src/term.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | sigterm_delivered: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/term.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct WinSize { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `class`, `instance`, and `type_` are never used [INFO] [stdout] --> src/kstat.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl Kstat { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 133 | fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `KstatIo` is never constructed [INFO] [stdout] --> src/kstat.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct KstatIo { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/kstat.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 188 | impl KstatNamed { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 189 | fn name(&self) -> &CStr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/term.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 87 | let sigterm = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let (input, output): (Box, Box) = [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let inner = Arc::clone(&inner0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | Ok(Term { [INFO] [stdout] | ____________^ [INFO] [stdout] 174 | | orig_termios, [INFO] [stdout] 175 | | cleaned_up: false, [INFO] [stdout] 176 | | output: Mutex::new(output), [INFO] [stdout] 177 | | sigterm, [INFO] [stdout] 178 | | inner: inner0, [INFO] [stdout] 179 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/kstat.rs:272:16 [INFO] [stdout] | [INFO] [stdout] 231 | impl KstatWrapper { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn walk(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | pub fn class(&self) -> &CStr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn instance(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | pub fn type_(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 333 | pub fn read(&self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn ndata(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn io(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 397 | pub fn data_get(&self, n: usize) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 462 | pub fn data_long(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 468 | pub fn data_ulong(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | pub fn data_u32(&self, statistic: &CStr) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleaned_up` is never read [INFO] [stdout] --> src/term.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Term { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 15 | orig_termios: Termios, [INFO] [stdout] 16 | cleaned_up: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/term.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sigterm_delivered` is never read [INFO] [stdout] --> src/term.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct Inner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | sigterm_delivered: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `height` and `width` are never read [INFO] [stdout] --> src/term.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct WinSize { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 65 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/term.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 87 | let sigterm = Arc::new(AtomicBool::new(false)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | let (input, output): (Box, Box) = [INFO] [stdout] | ----- ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let mut inner0 = Arc::new(( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let inner = Arc::clone(&inner0); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | Ok(Term { [INFO] [stdout] | ____________^ [INFO] [stdout] 174 | | orig_termios, [INFO] [stdout] 175 | | cleaned_up: false, [INFO] [stdout] 176 | | output: Mutex::new(output), [INFO] [stdout] 177 | | sigterm, [INFO] [stdout] 178 | | inner: inner0, [INFO] [stdout] 179 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fillmem` (bin "fillmem" test) due to 2 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fillmem` (bin "fillmem") due to 2 previous errors; 43 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4eb3c07edf250a9cd89bcada32f8e32879e5fc0900794b2f7ee23e2197fd90ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb3c07edf250a9cd89bcada32f8e32879e5fc0900794b2f7ee23e2197fd90ca", kill_on_drop: false }` [INFO] [stdout] 4eb3c07edf250a9cd89bcada32f8e32879e5fc0900794b2f7ee23e2197fd90ca