[INFO] fetching crate da14582-pac 0.2.0... [INFO] testing da14582-pac-0.2.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate da14582-pac 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate da14582-pac 0.2.0 [INFO] finished tweaking crates.io crate da14582-pac 0.2.0 [INFO] tweaked toml for crates.io crate da14582-pac 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate da14582-pac 0.2.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate da14582-pac 0.2.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb590b3fe59050cc9fbab9b65f46bb5b4806bad35874cda265525b8a8456a094 [INFO] running `Command { std: "docker" "start" "-a" "cb590b3fe59050cc9fbab9b65f46bb5b4806bad35874cda265525b8a8456a094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb590b3fe59050cc9fbab9b65f46bb5b4806bad35874cda265525b8a8456a094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb590b3fe59050cc9fbab9b65f46bb5b4806bad35874cda265525b8a8456a094", kill_on_drop: false }` [INFO] [stdout] cb590b3fe59050cc9fbab9b65f46bb5b4806bad35874cda265525b8a8456a094 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa20ac3437b47a5a68a0023ff7b5f8bfdcb8672f5739a6f67060085c5c43b4ed [INFO] running `Command { std: "docker" "start" "-a" "aa20ac3437b47a5a68a0023ff7b5f8bfdcb8672f5739a6f67060085c5c43b4ed", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling da14582-pac v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitfield v0.13.2 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling nb v0.1.3 [INFO] [stderr] Compiling embedded-hal v0.2.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::read_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | let val = self.ptr().read_volatile(); [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] --> src/common.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | pub unsafe fn read(&self) -> RegValueT { [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::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | self.ptr().write_volatile(reg_value.data); [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] --> src/common.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn write(&self, reg_value: RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | self.ptr().write_volatile(value); [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] --> src/common.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | pub unsafe fn write_raw(&self, value: T::DataType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | self.write(res); [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] --> src/common.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub unsafe fn init(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | let val = self.read(); [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] --> src/common.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub unsafe fn modify(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | self.write(res); [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:796:10 [INFO] [stdout] | [INFO] [stdout] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/common.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 795 | pub const unsafe fn get_unchecked(&self, index: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:802:10 [INFO] [stdout] | [INFO] [stdout] 802 | &*(ptr as *const Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/common.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | pub(crate) const unsafe fn from_ptr(ptr: *mut u8) -> &'static Self { [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 2.56s [INFO] running `Command { std: "docker" "inspect" "aa20ac3437b47a5a68a0023ff7b5f8bfdcb8672f5739a6f67060085c5c43b4ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa20ac3437b47a5a68a0023ff7b5f8bfdcb8672f5739a6f67060085c5c43b4ed", kill_on_drop: false }` [INFO] [stdout] aa20ac3437b47a5a68a0023ff7b5f8bfdcb8672f5739a6f67060085c5c43b4ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adc80385190923239351b50b86c7a94ce245d440e2c3c9b13c3f99a7c3011d11 [INFO] running `Command { std: "docker" "start" "-a" "adc80385190923239351b50b86c7a94ce245d440e2c3c9b13c3f99a7c3011d11", kill_on_drop: false }` [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::read_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:309:19 [INFO] [stdout] | [INFO] [stdout] 309 | let val = self.ptr().read_volatile(); [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] --> src/common.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | pub unsafe fn read(&self) -> RegValueT { [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::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | self.ptr().write_volatile(reg_value.data); [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] --> src/common.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | pub unsafe fn write(&self, reg_value: RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | self.ptr().write_volatile(value); [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] --> src/common.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 386 | pub unsafe fn write_raw(&self, value: T::DataType) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:433:9 [INFO] [stdout] | [INFO] [stdout] 433 | self.write(res); [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] --> src/common.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub unsafe fn init(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | let val = self.read(); [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] --> src/common.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub unsafe fn modify(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:464:9 [INFO] [stdout] | [INFO] [stdout] 464 | self.write(res); [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:796:10 [INFO] [stdout] | [INFO] [stdout] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/common.rs:795:5 [INFO] [stdout] | [INFO] [stdout] 795 | pub const unsafe fn get_unchecked(&self, index: usize) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:796:12 [INFO] [stdout] | [INFO] [stdout] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [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] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/common.rs:802:10 [INFO] [stdout] | [INFO] [stdout] 802 | &*(ptr as *const Self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/common.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | pub(crate) const unsafe fn from_ptr(ptr: *mut u8) -> &'static Self { [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.08s [INFO] running `Command { std: "docker" "inspect" "adc80385190923239351b50b86c7a94ce245d440e2c3c9b13c3f99a7c3011d11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adc80385190923239351b50b86c7a94ce245d440e2c3c9b13c3f99a7c3011d11", kill_on_drop: false }` [INFO] [stdout] adc80385190923239351b50b86c7a94ce245d440e2c3c9b13c3f99a7c3011d11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 421275c785e7159e5987e68bf4773ac9ccefd6da16719be89f0a4e3b3e5cee71 [INFO] running `Command { std: "docker" "start" "-a" "421275c785e7159e5987e68bf4773ac9ccefd6da16719be89f0a4e3b3e5cee71", kill_on_drop: false }` [INFO] [stderr] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::read_volatile` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:309:19 [INFO] [stderr] | [INFO] [stderr] 309 | let val = self.ptr().read_volatile(); [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] --> src/common.rs:292:5 [INFO] [stderr] | [INFO] [stderr] 292 | pub unsafe fn read(&self) -> RegValueT { [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::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:361:9 [INFO] [stderr] | [INFO] [stderr] 361 | self.ptr().write_volatile(reg_value.data); [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] --> src/common.rs:346:5 [INFO] [stderr] | [INFO] [stderr] 346 | pub unsafe fn write(&self, reg_value: RegValueT) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::write_volatile` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:401:9 [INFO] [stderr] | [INFO] [stderr] 401 | self.ptr().write_volatile(value); [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] --> src/common.rs:386:5 [INFO] [stderr] | [INFO] [stderr] 386 | pub unsafe fn write_raw(&self, value: T::DataType) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:433:9 [INFO] [stderr] | [INFO] [stderr] 433 | self.write(res); [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] --> src/common.rs:430:5 [INFO] [stderr] | [INFO] [stderr] 430 | pub unsafe fn init(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `common::Reg::::read` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:462:19 [INFO] [stderr] | [INFO] [stderr] 462 | let val = self.read(); [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] --> src/common.rs:461:5 [INFO] [stderr] | [INFO] [stderr] 461 | pub unsafe fn modify(&self, f: impl FnOnce(RegValueT) -> RegValueT) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `common::Reg::::write` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:464:9 [INFO] [stderr] | [INFO] [stderr] 464 | self.write(res); [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] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:796:10 [INFO] [stderr] | [INFO] [stderr] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/common.rs:795:5 [INFO] [stderr] | [INFO] [stderr] 795 | pub const unsafe fn get_unchecked(&self, index: usize) -> &T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `core::ptr::mut_ptr::::add` is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:796:12 [INFO] [stderr] | [INFO] [stderr] 796 | &*(self.as_ptr().add(index * DIM_INCREMENT) as *const _) [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] [INFO] [stderr] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stderr] --> src/common.rs:802:10 [INFO] [stderr] | [INFO] [stderr] 802 | &*(ptr as *const Self) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stderr] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stderr] --> src/common.rs:801:5 [INFO] [stderr] | [INFO] [stderr] 801 | pub(crate) const unsafe fn from_ptr(ptr: *mut u8) -> &'static Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `da14582-pac` (lib) generated 9 warnings (run `cargo fix --lib -p da14582-pac` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Doc-tests da14582_pac [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/common.rs - common::NoBitfieldReg::get (line 223) ... ignored [INFO] [stdout] test src/common.rs - common::NoBitfieldReg::set (line 236) ... ignored [INFO] [stdout] test src/common.rs - common::Reg::init (line 422) ... ignored [INFO] [stdout] test src/common.rs - common::Reg::modify (line 454) ... ignored [INFO] [stdout] test src/common.rs - common::Reg::read (line 285) ... ignored [INFO] [stdout] test src/common.rs - common::Reg::write (line 330) ... ignored [INFO] [stdout] test src/common.rs - common::Reg::write_raw (line 380) ... ignored [INFO] [stdout] test src/common.rs - common::RegValueT::get_raw (line 188) ... ignored [INFO] [stdout] test src/common.rs - common::RegValueT::new (line 170) ... ignored [INFO] [stdout] test src/common.rs - common::RegValueT::set_raw (line 204) ... ignored [INFO] [stdout] test src/common.rs - common::RegisterField::set (line 605) ... ignored [INFO] [stdout] test src/common.rs - common::RegisterFieldBool::set (line 683) ... ignored [INFO] [stdout] test src/common.rs - common::RegisterValue::get_raw (line 144) ... ignored [INFO] [stdout] test src/common.rs - common::RegisterValue::new (line 131) ... ignored [INFO] [stdout] test src/common.rs - common::RegisterValue::set_raw (line 158) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 15 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.49s; merged doctests compilation took 0.49s [INFO] running `Command { std: "docker" "inspect" "421275c785e7159e5987e68bf4773ac9ccefd6da16719be89f0a4e3b3e5cee71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "421275c785e7159e5987e68bf4773ac9ccefd6da16719be89f0a4e3b3e5cee71", kill_on_drop: false }` [INFO] [stdout] 421275c785e7159e5987e68bf4773ac9ccefd6da16719be89f0a4e3b3e5cee71