[INFO] fetching crate libdvb 0.3.0... [INFO] checking libdvb-0.3.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate libdvb 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate libdvb 0.3.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libdvb 0.3.0 [INFO] finished tweaking crates.io crate libdvb 0.3.0 [INFO] tweaked toml for crates.io crate libdvb 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate libdvb 0.3.0 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed2f07566a69668af055489ef20f7e8d7f93867c0ebc2d8ef4b3dc7f02fd4858 [INFO] running `Command { std: "docker" "start" "-a" "ed2f07566a69668af055489ef20f7e8d7f93867c0ebc2d8ef4b3dc7f02fd4858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed2f07566a69668af055489ef20f7e8d7f93867c0ebc2d8ef4b3dc7f02fd4858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed2f07566a69668af055489ef20f7e8d7f93867c0ebc2d8ef4b3dc7f02fd4858", kill_on_drop: false }` [INFO] [stdout] ed2f07566a69668af055489ef20f7e8d7f93867c0ebc2d8ef4b3dc7f02fd4858 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a39dab1e60d5db0cc70afca6161006061deb524da2c9dc67841f545fe927de [INFO] running `Command { std: "docker" "start" "-a" "15a39dab1e60d5db0cc70afca6161006061deb524da2c9dc67841f545fe927de", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking nix v0.19.1 [INFO] [stderr] Checking libdvb v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_id` [INFO] [stdout] --> src/ca/apdu.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ca/apdu.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fe/status.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut stats = unsafe { &mut self.props[IDX_SIGNAL_STRENGTH].u.st }; [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: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_id` [INFO] [stdout] --> src/ca/apdu.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn init(ca: &mut CaDevice, resource_id: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn open(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn close(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fe/status.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut stats = unsafe { &mut self.props[IDX_SNR].u.st }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/ca/apdu.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn handle(ca: &mut CaDevice, session_id: u16, msg: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/ca/apdu.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fe/status.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut stats = unsafe { &mut self.props[IDX_BER].u.st }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/ca/apdu.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn manage(ca: &mut CaDevice, session_id: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fe/status.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let mut stats = unsafe { &mut self.props[IDX_UNC].u.st }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:637:46 [INFO] [stdout] | [INFO] [stdout] 637 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:641:46 [INFO] [stdout] | [INFO] [stdout] 641 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:645:46 [INFO] [stdout] | [INFO] [stdout] 645 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:649:46 [INFO] [stdout] | [INFO] [stdout] 649 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:653:46 [INFO] [stdout] | [INFO] [stdout] 653 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:657:46 [INFO] [stdout] | [INFO] [stdout] 657 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:661:46 [INFO] [stdout] | [INFO] [stdout] 661 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:665:46 [INFO] [stdout] | [INFO] [stdout] 665 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:669:46 [INFO] [stdout] | [INFO] [stdout] 669 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:673:46 [INFO] [stdout] | [INFO] [stdout] 673 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fe/status.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let mut stats = unsafe { &mut self.props[IDX_SIGNAL_STRENGTH].u.st }; [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/fe/status.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut stats = unsafe { &mut self.props[IDX_SNR].u.st }; [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/fe/status.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | let mut stats = unsafe { &mut self.props[IDX_BER].u.st }; [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/fe/status.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | let mut stats = unsafe { &mut self.props[IDX_UNC].u.st }; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/mod.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | let u_buffer = unsafe { &cmdseq[1].u.buffer }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:637:46 [INFO] [stdout] | [INFO] [stdout] 637 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:641:46 [INFO] [stdout] | [INFO] [stdout] 641 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:645:46 [INFO] [stdout] | [INFO] [stdout] 645 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:649:46 [INFO] [stdout] | [INFO] [stdout] 649 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:653:46 [INFO] [stdout] | [INFO] [stdout] 653 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:657:46 [INFO] [stdout] | [INFO] [stdout] 657 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:661:46 [INFO] [stdout] | [INFO] [stdout] 661 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:665:46 [INFO] [stdout] | [INFO] [stdout] 665 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:669:46 [INFO] [stdout] | [INFO] [stdout] 669 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/sys.rs:673:46 [INFO] [stdout] | [INFO] [stdout] 673 | s.field(FIELD_DATA, unsafe { &self.u.data }); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/fe/mod.rs:153:33 [INFO] [stdout] | [INFO] [stdout] 153 | let u_buffer = unsafe { &cmdseq[1].u.buffer }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libdvb` (lib) due to 12 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libdvb` (lib test) due to 12 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "15a39dab1e60d5db0cc70afca6161006061deb524da2c9dc67841f545fe927de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a39dab1e60d5db0cc70afca6161006061deb524da2c9dc67841f545fe927de", kill_on_drop: false }` [INFO] [stdout] 15a39dab1e60d5db0cc70afca6161006061deb524da2c9dc67841f545fe927de [INFO] checking libdvb-0.3.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate libdvb 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate libdvb 0.3.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libdvb 0.3.0 [INFO] finished tweaking crates.io crate libdvb 0.3.0 [INFO] tweaked toml for crates.io crate libdvb 0.3.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate libdvb 0.3.0 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a4048e2462fd98845f47a90c6c43825461724c9dda4f210c6af62192e3093e5 [INFO] running `Command { std: "docker" "start" "-a" "9a4048e2462fd98845f47a90c6c43825461724c9dda4f210c6af62192e3093e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a4048e2462fd98845f47a90c6c43825461724c9dda4f210c6af62192e3093e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a4048e2462fd98845f47a90c6c43825461724c9dda4f210c6af62192e3093e5", kill_on_drop: false }` [INFO] [stdout] 9a4048e2462fd98845f47a90c6c43825461724c9dda4f210c6af62192e3093e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bb3b8c7172e1ac1190563d8e7c2e5fed34766d530ad62feba4e8c64d6923fe6 [INFO] running `Command { std: "docker" "start" "-a" "0bb3b8c7172e1ac1190563d8e7c2e5fed34766d530ad62feba4e8c64d6923fe6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "0bb3b8c7172e1ac1190563d8e7c2e5fed34766d530ad62feba4e8c64d6923fe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb3b8c7172e1ac1190563d8e7c2e5fed34766d530ad62feba4e8c64d6923fe6", kill_on_drop: false }` [INFO] [stdout] 0bb3b8c7172e1ac1190563d8e7c2e5fed34766d530ad62feba4e8c64d6923fe6