[INFO] fetching crate da14582-pac 0.2.0... [INFO] testing da14582-pac-0.2.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate da14582-pac 0.2.0 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate da14582-pac 0.2.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8818dc44cad0852223b37e60c4ee71ecef1520caeab916152161d66fa15d1b7 [INFO] running `Command { std: "docker" "start" "-a" "b8818dc44cad0852223b37e60c4ee71ecef1520caeab916152161d66fa15d1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8818dc44cad0852223b37e60c4ee71ecef1520caeab916152161d66fa15d1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8818dc44cad0852223b37e60c4ee71ecef1520caeab916152161d66fa15d1b7", kill_on_drop: false }` [INFO] [stdout] b8818dc44cad0852223b37e60c4ee71ecef1520caeab916152161d66fa15d1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da3279e7a9fead6d73fbf149f20782e8512ccb4ee046ec291a56cda1672fcb18 [INFO] running `Command { std: "docker" "start" "-a" "da3279e7a9fead6d73fbf149f20782e8512ccb4ee046ec291a56cda1672fcb18", kill_on_drop: false }` [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling vcell v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [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] [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 1.61s [INFO] running `Command { std: "docker" "inspect" "da3279e7a9fead6d73fbf149f20782e8512ccb4ee046ec291a56cda1672fcb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3279e7a9fead6d73fbf149f20782e8512ccb4ee046ec291a56cda1672fcb18", kill_on_drop: false }` [INFO] [stdout] da3279e7a9fead6d73fbf149f20782e8512ccb4ee046ec291a56cda1672fcb18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28afbc22b8a9a00dfd1d5f81e781327c2badab439b71ebf8303d2330f7e99346 [INFO] running `Command { std: "docker" "start" "-a" "28afbc22b8a9a00dfd1d5f81e781327c2badab439b71ebf8303d2330f7e99346", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [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] running `Command { std: "docker" "inspect" "28afbc22b8a9a00dfd1d5f81e781327c2badab439b71ebf8303d2330f7e99346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28afbc22b8a9a00dfd1d5f81e781327c2badab439b71ebf8303d2330f7e99346", kill_on_drop: false }` [INFO] [stdout] 28afbc22b8a9a00dfd1d5f81e781327c2badab439b71ebf8303d2330f7e99346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f6f0a19e8336e2986ff51790820d4ac48ae17ccb0fb6f93dd96135d33df2b29 [INFO] running `Command { std: "docker" "start" "-a" "8f6f0a19e8336e2986ff51790820d4ac48ae17ccb0fb6f93dd96135d33df2b29", 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] running `Command { std: "docker" "inspect" "8f6f0a19e8336e2986ff51790820d4ac48ae17ccb0fb6f93dd96135d33df2b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6f0a19e8336e2986ff51790820d4ac48ae17ccb0fb6f93dd96135d33df2b29", kill_on_drop: false }` [INFO] [stdout] 8f6f0a19e8336e2986ff51790820d4ac48ae17ccb0fb6f93dd96135d33df2b29