[INFO] fetching crate intel-spi 0.1.3... [INFO] checking intel-spi-0.1.3 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate intel-spi 0.1.3 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate intel-spi 0.1.3 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/rust-toolchain [INFO] started tweaking crates.io crate intel-spi 0.1.3 [INFO] finished tweaking crates.io crate intel-spi 0.1.3 [INFO] tweaked toml for crates.io crate intel-spi 0.1.3 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate intel-spi 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b2d92a41a9b3641f37f620686d63b172d55103fc743ef4733e2bbabf1c831a1 [INFO] running `Command { std: "docker" "start" "-a" "5b2d92a41a9b3641f37f620686d63b172d55103fc743ef4733e2bbabf1c831a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b2d92a41a9b3641f37f620686d63b172d55103fc743ef4733e2bbabf1c831a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b2d92a41a9b3641f37f620686d63b172d55103fc743ef4733e2bbabf1c831a1", kill_on_drop: false }` [INFO] [stdout] 5b2d92a41a9b3641f37f620686d63b172d55103fc743ef4733e2bbabf1c831a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a716f2c8620accaf1a6b1a8889288fed4d1f7e3b8bc05db7f1096d4955b185b [INFO] running `Command { std: "docker" "start" "-a" "1a716f2c8620accaf1a6b1a8889288fed4d1f7e3b8bc05db7f1096d4955b185b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking coreboot-fs v0.1.0 [INFO] [stderr] Checking intel-spi v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmio.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmio.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | value: unsafe { uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmio.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use core::mem::uninitialized; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `core::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/mmio.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | value: unsafe { uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mmio.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { volatile_load(&self.value) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mmio.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { volatile_store(&mut self.value, value) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ReadOnly` [INFO] [stdout] --> src/io.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ReadOnly { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/io.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub /* const */ fn new(inner: I) -> ReadOnly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/io.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn read(&self) -> I::Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `readf` [INFO] [stdout] --> src/io.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn readf(&self, flags: I::Value) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WriteOnly` [INFO] [stdout] --> src/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct WriteOnly { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/io.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | pub /* const */ fn new(inner: I) -> WriteOnly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/io.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn write(&mut self, value: I::Value) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `writef` [INFO] [stdout] --> src/io.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn writef(&mut self, flags: I::Value, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn cycle(&self) -> HsfStsCtlCycle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/lib.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn count(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mmio.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe { volatile_load(&self.value) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unaligned_references)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: reference to packed field is unaligned [INFO] [stdout] --> src/mmio.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | unsafe { volatile_store(&mut self.value, value) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #82523 [INFO] [stdout] = note: fields of packed structs are not properly aligned, and creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ReadOnly` [INFO] [stdout] --> src/io.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ReadOnly { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/io.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub /* const */ fn new(inner: I) -> ReadOnly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/io.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn read(&self) -> I::Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `readf` [INFO] [stdout] --> src/io.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn readf(&self, flags: I::Value) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `WriteOnly` [INFO] [stdout] --> src/io.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct WriteOnly { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/io.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | pub /* const */ fn new(inner: I) -> WriteOnly { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/io.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn write(&mut self, value: I::Value) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `writef` [INFO] [stdout] --> src/io.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn writef(&mut self, flags: I::Value, value: bool) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cycle` [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn cycle(&self) -> HsfStsCtlCycle { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `count` [INFO] [stdout] --> src/lib.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn count(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:421:33 [INFO] [stdout] | [INFO] [stdout] 421 | let spi: &SpiSkl = &*(0 as *const SpiSkl); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "1a716f2c8620accaf1a6b1a8889288fed4d1f7e3b8bc05db7f1096d4955b185b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a716f2c8620accaf1a6b1a8889288fed4d1f7e3b8bc05db7f1096d4955b185b", kill_on_drop: false }` [INFO] [stdout] 1a716f2c8620accaf1a6b1a8889288fed4d1f7e3b8bc05db7f1096d4955b185b