[INFO] cloning repository https://github.com/pcm-soft/pcms-core
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pcm-soft/pcms-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcm-soft%2Fpcms-core", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcm-soft%2Fpcms-core'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3aca2285bd27f8d560df956da10a84a388607d49
[INFO] checking pcm-soft/pcms-core against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpcm-soft%2Fpcms-core" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pcm-soft/pcms-core
[INFO] finished tweaking git repo https://github.com/pcm-soft/pcms-core
[INFO] tweaked toml for git repo https://github.com/pcm-soft/pcms-core written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pcm-soft/pcms-core on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pcm-soft/pcms-core 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4-tc1/source/pcms-core/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4-tc1/source/allocrs/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1
[INFO] running `Command { std: "docker" "start" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/pcms-core/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/allocrs/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking rayon-core v1.13.0
[INFO] [stderr]     Checking clap_builder v4.6.6
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking bit-vec v0.8.0
[INFO] [stderr]     Checking bit-set v0.8.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking regex-automata v0.4.18
[INFO] [stderr]     Checking serde_json v1.0.151
[INFO] [stderr]     Checking clap v4.6.6
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]     Checking rand v0.9.5
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking allocrs v0.2.0 (/opt/rustwide/workdir/allocrs)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> allocrs/src/shared.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             ((expected_generation as u64 + 1) << 1)
[INFO] [stdout]     |             ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -             ((expected_generation as u64 + 1) << 1)
[INFO] [stdout] 117 +             (expected_generation as u64 + 1) << 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking pcms-sdk v0.1.0 (/opt/rustwide/workdir/pcms-sdk)
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> allocrs/src/shared.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |             ((expected_generation as u64 + 1) << 1)
[INFO] [stdout]     |             ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -             ((expected_generation as u64 + 1) << 1)
[INFO] [stdout] 117 +             (expected_generation as u64 + 1) << 1
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking pcms-core v0.1.0 (/opt/rustwide/workdir/pcms-core)
[INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl`
[INFO] [stdout]   --> pcms-core/src/main.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | / fn panic(_info: &PanicInfo) -> ! {
[INFO] [stdout] 78 | |     loop {
[INFO] [stdout] 79 | |         core::hint::spin_loop();
[INFO] [stdout] 80 | |     }
[INFO] [stdout] 81 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the lang item is first defined in crate `std` (which `test` depends on)
[INFO] [stdout]    = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/3154cc1a3e6424e44f438a95007d043ed5ceaaf6/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6ee2a0f0126c8a50.rmeta
[INFO] [stdout]    = note: second definition in the local crate (`pcms_core`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0152`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pcms-core` (bin "pcms-core" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> pcms-core/src/main.rs:123:70
[INFO] [stdout]     |
[INFO] [stdout] 123 | unsafe fn efi_print_hex32(con_out: *mut EfiSimpleTextOutputProtocol, mut n: u32) {
[INFO] [stdout]     |                                                                      ----^
[INFO] [stdout]     |                                                                      |
[INFO] [stdout]     |                                                                      help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HARD_SLA_CYCLES_LIMIT` is never used
[INFO] [stdout]   --> pcms-core/src/executor.rs:55:11
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub const HARD_SLA_CYCLES_LIMIT: u64 = 9_000_000;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExecutorStatus` is never used
[INFO] [stdout]   --> pcms-core/src/executor.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum ExecutorStatus {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_sdk_status` is never used
[INFO] [stdout]   --> pcms-core/src/executor.rs:83:18
[INFO] [stdout]    |
[INFO] [stdout] 80 | impl ExecutorStatus {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub const fn as_sdk_status(self) -> PcmsStatus {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KernelPlugin` is never constructed
[INFO] [stdout]   --> pcms-core/src/executor.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | pub struct KernelPlugin {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `interface`, `context`, `init`, and `destroy` are never used
[INFO] [stdout]    --> pcms-core/src/executor.rs:116:19
[INFO] [stdout]     |
[INFO] [stdout] 104 | impl KernelPlugin {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 116 |     pub unsafe fn new(
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn interface(&self) -> &PcmsPluginInterface {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 143 |     pub fn context(&self) -> *mut PcmsExecutionContext {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 155 |     pub unsafe fn init(&self) -> PcmsStatus {
[INFO] [stdout]     |                   ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 172 |     pub unsafe fn destroy(&self) -> PcmsStatus {
[INFO] [stdout]     |                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ExecutionResult` is never constructed
[INFO] [stdout]    --> pcms-core/src/executor.rs:183:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | pub struct ExecutionResult {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `KernelExecutor` is never constructed
[INFO] [stdout]    --> pcms-core/src/executor.rs:198:12
[INFO] [stdout]     |
[INFO] [stdout] 198 | pub struct KernelExecutor {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_limit`, `hard_limit_cycles`, and `launch_in_kernel` are never used
[INFO] [stdout]    --> pcms-core/src/executor.rs:205:18
[INFO] [stdout]     |
[INFO] [stdout] 202 | impl KernelExecutor {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 205 |     pub const fn new() -> Self {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     pub const fn with_limit(hard_limit_cycles: u64) -> Self {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub const fn hard_limit_cycles(&self) -> u64 {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub unsafe fn launch_in_kernel(
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `deadline_expired` is never used
[INFO] [stdout]   --> pcms-core/src/timer.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn deadline_expired(start: u64, limit: u64) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> pcms-core/src/main.rs:212:31
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let packet = unsafe { BUS.as_ref().and_then(|bus| bus.pop().ok()) };
[INFO] [stdout]     |                               ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]     |
[INFO] [stdout]  74 - static mut BUS: Option<PcmsBus<DemoPacket, BUS_SIZE>> = None;
[INFO] [stdout]  74 + static BUS: Option<PcmsBus<DemoPacket, BUS_SIZE>> = None;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> pcms-core/src/bus.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 232 |         if difference < 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1", kill_on_drop: false }`
[INFO] [stdout] 8393e773fb3eb68332241b3e53817928b81a3baf7c47ecae68ca0270fc3b33a1
