[INFO] fetching crate uacpi-bindings 0.1.2... [INFO] testing uacpi-bindings-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate uacpi-bindings 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate uacpi-bindings 0.1.2 [INFO] finished tweaking crates.io crate uacpi-bindings 0.1.2 [INFO] tweaked toml for crates.io crate uacpi-bindings 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate uacpi-bindings 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate uacpi-bindings 0.1.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c6912c647412081def2eabdd39a69c03b1a6c2b41bcc5b8ac4fc7605960d3d8 [INFO] running `Command { std: "docker" "start" "-a" "8c6912c647412081def2eabdd39a69c03b1a6c2b41bcc5b8ac4fc7605960d3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c6912c647412081def2eabdd39a69c03b1a6c2b41bcc5b8ac4fc7605960d3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c6912c647412081def2eabdd39a69c03b1a6c2b41bcc5b8ac4fc7605960d3d8", kill_on_drop: false }` [INFO] [stdout] 8c6912c647412081def2eabdd39a69c03b1a6c2b41bcc5b8ac4fc7605960d3d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 770eae0ebba1b0bd74e90ce25e0963b870405b3bf8f90e6dd18075147b9582db [INFO] running `Command { std: "docker" "start" "-a" "770eae0ebba1b0bd74e90ce25e0963b870405b3bf8f90e6dd18075147b9582db", kill_on_drop: false }` [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling uacpi-bindings v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stdout] --> build.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | if cfg!(feature = "reduced-hardware") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stdout] --> build.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "reduced-hardware")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:510 [INFO] [stdout] | [INFO] [stdout] 3 | ...en : usize) -> & [T] { :: core :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:453 [INFO] [stdout] | [INFO] [stdout] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: core :: slice :: from_raw_parts ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:652 [INFO] [stdout] | [INFO] [stdout] 3 | ...ze) -> & mut [T] { :: core :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: core :: fmt :: Debug for ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:583 [INFO] [stdout] | [INFO] [stdout] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: core :: slice :: from_raw_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1216 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1177 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: core :: marker :: PhantomData) } # [inline] pub unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1311 [INFO] [stdout] | [INFO] [stdout] 3 | ...fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } impl < T > :: core :: default :: Default for __BindgenU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1264 [INFO] [stdout] | [INFO] [stdout] 3 | ...re :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.37s [INFO] running `Command { std: "docker" "inspect" "770eae0ebba1b0bd74e90ce25e0963b870405b3bf8f90e6dd18075147b9582db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "770eae0ebba1b0bd74e90ce25e0963b870405b3bf8f90e6dd18075147b9582db", kill_on_drop: false }` [INFO] [stdout] 770eae0ebba1b0bd74e90ce25e0963b870405b3bf8f90e6dd18075147b9582db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50930190530bb51cb49cc775c856584acfced1fbb3da95ebf65b9b6bb01bace9 [INFO] running `Command { std: "docker" "start" "-a" "50930190530bb51cb49cc775c856584acfced1fbb3da95ebf65b9b6bb01bace9", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stdout] --> build.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | if cfg!(feature = "reduced-hardware") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stdout] --> build.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | #[cfg(feature = "reduced-hardware")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:510 [INFO] [stdout] | [INFO] [stdout] 3 | ...en : usize) -> & [T] { :: core :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:453 [INFO] [stdout] | [INFO] [stdout] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: core :: slice :: from_raw_parts ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:652 [INFO] [stdout] | [INFO] [stdout] 3 | ...ze) -> & mut [T] { :: core :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: core :: fmt :: Debug for ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:583 [INFO] [stdout] | [INFO] [stdout] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: core :: slice :: from_raw_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1216 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1177 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: core :: marker :: PhantomData) } # [inline] pub unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uacpi-bindings v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1311 [INFO] [stdout] | [INFO] [stdout] 3 | ...fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } impl < T > :: core :: default :: Default for __BindgenU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1264 [INFO] [stdout] | [INFO] [stdout] 3 | ...re :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:510 [INFO] [stdout] | [INFO] [stdout] 3 | ...en : usize) -> & [T] { :: core :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:453 [INFO] [stdout] | [INFO] [stdout] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: core :: slice :: from_raw_parts ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:652 [INFO] [stdout] | [INFO] [stdout] 3 | ...ze) -> & mut [T] { :: core :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: core :: fmt :: Debug for ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:583 [INFO] [stdout] | [INFO] [stdout] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: core :: slice :: from_raw_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1216 [INFO] [stdout] | [INFO] [stdout] 3 | ... unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T {... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1177 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: core :: marker :: PhantomData) } # [inline] pub unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inli... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1311 [INFO] [stdout] | [INFO] [stdout] 3 | ...fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } impl < T > :: core :: default :: Default for __BindgenU... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1264 [INFO] [stdout] | [INFO] [stdout] 3 | ...re :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } i... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "50930190530bb51cb49cc775c856584acfced1fbb3da95ebf65b9b6bb01bace9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50930190530bb51cb49cc775c856584acfced1fbb3da95ebf65b9b6bb01bace9", kill_on_drop: false }` [INFO] [stdout] 50930190530bb51cb49cc775c856584acfced1fbb3da95ebf65b9b6bb01bace9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] df864431574bafc06614a73402216a4671490775e6c2deaeaa3b30eb6774344d [INFO] running `Command { std: "docker" "start" "-a" "df864431574bafc06614a73402216a4671490775e6c2deaeaa3b30eb6774344d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stderr] --> build.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | if cfg!(feature = "reduced-hardware") { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `reduced-hardware` [INFO] [stderr] --> build.rs:79:19 [INFO] [stderr] | [INFO] [stderr] 79 | #[cfg(feature = "reduced-hardware")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `reduced-hardware` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `uacpi-bindings` (build script) generated 2 warnings [INFO] [stderr] warning[E0133]: call to unsafe function `core::slice::from_raw_parts` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:510 [INFO] [stderr] | [INFO] [stderr] 3 | ...en : usize) -> & [T] { :: core :: slice :: from_raw_parts (self . as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:453 [INFO] [stderr] | [INFO] [stderr] 3 | ...lf as * mut _ as * mut T } # [inline] pub unsafe fn as_slice (& self , len : usize) -> & [T] { :: core :: slice :: from_raw_parts ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `core::slice::from_raw_parts_mut` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:652 [INFO] [stderr] | [INFO] [stderr] 3 | ...ze) -> & mut [T] { :: core :: slice :: from_raw_parts_mut (self . as_mut_ptr () , len) } } impl < T > :: core :: fmt :: Debug for ... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:583 [INFO] [stderr] | [INFO] [stderr] 3 | .... as_ptr () , len) } # [inline] pub unsafe fn as_mut_slice (& mut self , len : usize) -> & mut [T] { :: core :: slice :: from_raw_... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1216 [INFO] [stderr] | [INFO] [stderr] 3 | ... unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T {... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1177 [INFO] [stderr] | [INFO] [stderr] 3 | ...:: core :: marker :: PhantomData) } # [inline] pub unsafe fn as_ref (& self) -> & T { :: core :: mem :: transmute (self) } # [inli... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `core::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1311 [INFO] [stderr] | [INFO] [stderr] 3 | ...fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } impl < T > :: core :: default :: Default for __BindgenU... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> /opt/rustwide/target/debug/build/uacpi-bindings-b052f570fd65da9a/out/bindings.rs:3:1264 [INFO] [stderr] | [INFO] [stderr] 3 | ...re :: mem :: transmute (self) } # [inline] pub unsafe fn as_mut (& mut self) -> & mut T { :: core :: mem :: transmute (self) } } i... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `uacpi-bindings` (lib) generated 4 warnings (run `cargo fix --lib -p uacpi-bindings` to apply 4 suggestions) [INFO] [stderr] warning: `uacpi-bindings` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/uacpi_bindings-d9bc80493aea5c24) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests uacpi_bindings [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df864431574bafc06614a73402216a4671490775e6c2deaeaa3b30eb6774344d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df864431574bafc06614a73402216a4671490775e6c2deaeaa3b30eb6774344d", kill_on_drop: false }` [INFO] [stdout] df864431574bafc06614a73402216a4671490775e6c2deaeaa3b30eb6774344d