[INFO] fetching crate ico_memory 0.1.23... [INFO] testing ico_memory-0.1.23 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate ico_memory 0.1.23 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ico_memory 0.1.23 [INFO] finished tweaking crates.io crate ico_memory 0.1.23 [INFO] tweaked toml for crates.io crate ico_memory 0.1.23 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ico_memory 0.1.23 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cdcfffaf72b988af2e9b0314f3488b4ea9f7942fb1861a309418c47a2dc75af3 [INFO] running `Command { std: "docker" "start" "-a" "cdcfffaf72b988af2e9b0314f3488b4ea9f7942fb1861a309418c47a2dc75af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cdcfffaf72b988af2e9b0314f3488b4ea9f7942fb1861a309418c47a2dc75af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdcfffaf72b988af2e9b0314f3488b4ea9f7942fb1861a309418c47a2dc75af3", kill_on_drop: false }` [INFO] [stdout] cdcfffaf72b988af2e9b0314f3488b4ea9f7942fb1861a309418c47a2dc75af3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5951a71158353117c06ac7454c8f58ce5b5ae4d80e3e9d4474338d211d6e676f [INFO] running `Command { std: "docker" "start" "-a" "5951a71158353117c06ac7454c8f58ce5b5ae4d80e3e9d4474338d211d6e676f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling ico_memory v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mem/memory_pool.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | slice: &*mut AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | capacity: usize, [INFO] [stdout] 122 | ) -> MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | ) -> MemoryPool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "5951a71158353117c06ac7454c8f58ce5b5ae4d80e3e9d4474338d211d6e676f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5951a71158353117c06ac7454c8f58ce5b5ae4d80e3e9d4474338d211d6e676f", kill_on_drop: false }` [INFO] [stdout] 5951a71158353117c06ac7454c8f58ce5b5ae4d80e3e9d4474338d211d6e676f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23a4a7946e46d715f7d4268894017d982c1174d57236d023b26b164bdc9b1f5b [INFO] running `Command { std: "docker" "start" "-a" "23a4a7946e46d715f7d4268894017d982c1174d57236d023b26b164bdc9b1f5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling ico_memory v0.1.23 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/index_lock.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/sync/rw_lock.rs:158:37 [INFO] [stdout] | [INFO] [stdout] 158 | core::sync::atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mem/memory_pool.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | slice: &*mut AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | capacity: usize, [INFO] [stdout] 122 | ) -> MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | ) -> MemoryPool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/indexed_data_store/test.rs:17:45 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { IndexedDataStore::from_raw(&_BUFFER_PTR, 1024) }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { IndexedDataStore::from_raw(&raw const _BUFFER_PTR, 1024) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | &BUFFER_64_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 42 | &raw const BUFFER_64_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | &BUFFER_128_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 44 | &raw const BUFFER_128_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | &BUFFER_256_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 46 | &raw const BUFFER_256_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | &BUFFER_512_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | &raw const BUFFER_512_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | &BUFFER_1024_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 50 | &raw const BUFFER_1024_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/memory_manager/test.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | &BUFFER_2048_PTR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 52 | &raw const BUFFER_2048_PTR, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mem/memory_pool.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | slice: &*mut AtomicUsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | capacity: usize, [INFO] [stdout] 122 | ) -> MemoryPool { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | ) -> MemoryPool<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/queue/test.rs:12:61 [INFO] [stdout] | [INFO] [stdout] 12 | static QUEUE: QueueUsize = unsafe { QueueUsize::from_static(&QUEUE_PTR, 4096) }; [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 12 | static QUEUE: QueueUsize = unsafe { QueueUsize::from_static(&raw const QUEUE_PTR, 4096) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/resource_manager/test.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { ResourceManager::from_static(&raw const QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/mem/resource_manager/test.rs:23:59 [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &raw const RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn lock(&self) -> SpinlockGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/index_lock.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn lock(&self) -> IndexSpinlockGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn read(&self) -> RWSpinReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 54 | pub fn write(&self) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn try_read(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | pub fn try_write(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sync/rw_lock.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 3.74s [INFO] running `Command { std: "docker" "inspect" "23a4a7946e46d715f7d4268894017d982c1174d57236d023b26b164bdc9b1f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a4a7946e46d715f7d4268894017d982c1174d57236d023b26b164bdc9b1f5b", kill_on_drop: false }` [INFO] [stdout] 23a4a7946e46d715f7d4268894017d982c1174d57236d023b26b164bdc9b1f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8bfd2e62167aa4cacbc91569efff35aed4fb3159a9374b4e758ba729028873a [INFO] running `Command { std: "docker" "start" "-a" "b8bfd2e62167aa4cacbc91569efff35aed4fb3159a9374b4e758ba729028873a", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/sync/index_lock.rs:66:33 [INFO] [stderr] | [INFO] [stderr] 66 | core::sync::atomic::spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/sync/index_lock.rs:188:33 [INFO] [stderr] | [INFO] [stderr] 188 | core::sync::atomic::spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/sync/rw_lock.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | core::sync::atomic::spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/sync/rw_lock.rs:76:37 [INFO] [stderr] | [INFO] [stderr] 76 | core::sync::atomic::spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stderr] --> src/sync/rw_lock.rs:158:37 [INFO] [stderr] | [INFO] [stderr] 158 | core::sync::atomic::spin_loop_hint(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mem/memory_pool.rs:120:16 [INFO] [stderr] | [INFO] [stderr] 120 | slice: &*mut AtomicUsize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 121 | capacity: usize, [INFO] [stderr] 122 | ) -> MemoryPool { [INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 122 | ) -> MemoryPool<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/index_lock.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn lock(&self) -> SpinlockGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 37 | pub fn lock(&self) -> SpinlockGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/index_lock.rs:159:17 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn lock(&self) -> IndexSpinlockGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn lock(&self) -> IndexSpinlockGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/rw_lock.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn read(&self) -> RWSpinReadGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 28 | pub fn read(&self) -> RWSpinReadGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/rw_lock.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn write(&self) -> RWSpinWriteGuard { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 54 | pub fn write(&self) -> RWSpinWriteGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/rw_lock.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn try_read(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn try_read(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/rw_lock.rs:118:22 [INFO] [stderr] | [INFO] [stderr] 118 | pub fn try_write(&self) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 118 | pub fn try_write(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sync/rw_lock.rs:135:20 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 135 | pub fn upgrade(&self, read: RWSpinReadGuard) -> RWSpinWriteGuard<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ico_memory` (lib) generated 13 warnings (run `cargo fix --lib -p ico_memory` to apply 8 suggestions) [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/indexed_data_store/test.rs:17:45 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { IndexedDataStore::from_raw(&_BUFFER_PTR, 1024) }; [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { IndexedDataStore::from_raw(&raw const _BUFFER_PTR, 1024) }; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | &BUFFER_64_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 42 | &raw const BUFFER_64_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | &BUFFER_128_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] running 28 tests [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 44 | &raw const BUFFER_128_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | &BUFFER_256_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 46 | &raw const BUFFER_256_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:48:13 [INFO] [stderr] | [INFO] [stderr] 48 | &BUFFER_512_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 48 | &raw const BUFFER_512_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | &BUFFER_1024_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 50 | &raw const BUFFER_1024_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/memory_manager/test.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | &BUFFER_2048_PTR, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 52 | &raw const BUFFER_2048_PTR, [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/queue/test.rs:12:61 [INFO] [stderr] | [INFO] [stderr] 12 | static QUEUE: QueueUsize = unsafe { QueueUsize::from_static(&QUEUE_PTR, 4096) }; [INFO] [stderr] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 12 | static QUEUE: QueueUsize = unsafe { QueueUsize::from_static(&raw const QUEUE_PTR, 4096) }; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/resource_manager/test.rs:23:47 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stderr] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { ResourceManager::from_static(&raw const QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/mem/resource_manager/test.rs:23:59 [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw const` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 23 | unsafe { ResourceManager::from_static(&QUEUE_PTR, &raw const RAW_DATA_BUFFER_PTR, 1024) }; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: `ico_memory` (lib test) generated 23 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ico_memory-b41aa999a502618d) [INFO] [stdout] test collections::binary_heap::test::test::insert_index ... ok [INFO] [stdout] test collections::binary_heap::test::test::insert ... ok [INFO] [stdout] test mem::indexed_data_store::test::test::lifetime ... ok [INFO] [stdout] test mem::indexed_data_store::test::test::size ... ok [INFO] [stdout] test collections::binary_heap::test::test::replace ... ok [INFO] [stdout] test collections::binary_heap::test::test::remove ... ok [INFO] [stdout] test collections::binary_heap::test::test::complex_insert_remove ... ok [INFO] [stdout] test mem::indexed_data_store::test::test::insert_remove ... ok [INFO] [stdout] test mem::mmap::test::test::alloc ... ok [INFO] [stdout] test mem::queue::test::mpmc_local ... ok [INFO] [stdout] test mem::indexed_data_store::test::test::safety ... ok [INFO] [stdout] test mem::queue::test::mpmc_enqueue2_dequeue_wrap ... ok [INFO] [stdout] test mem::queue::test::mpmc_dequeue ... ok [INFO] [stdout] test mem::queue::test::mpmc_enqueue_dequeue ... ok [INFO] [stdout] test mem::queue::test::mpmc_threads ... ok [INFO] [stdout] test mem::memory_pool::test::test::alloc ... ok [INFO] [stdout] test sync::index_lock::test::test::indexspinlock_writers ... ok [INFO] [stdout] test mem::memory_pool::test::test::alloc_free ... ok [INFO] [stdout] test mem::memory_manager::test::test::custom_alloc ... ok [INFO] [stdout] test mem::memory_manager::test::test::custom_realloc ... ok [INFO] [stdout] test mem::resource_manager::test::test::init ... ok [INFO] [stdout] test mem::resource_manager::test::test::retain_clone_release ... ok [INFO] [stdout] test mem::resource_manager::test::test::mt_resources ... ok [INFO] [stdout] test mem::queue::test::mpmc_threads2 ... ok [INFO] [stdout] test mem::queue::test::mpmc ... ok [INFO] [stdout] test mem::memory_manager::test::test::custom_realloc_copy ... ok [INFO] [stdout] test mem::memory_manager::test::test::default_realloc ... ok [INFO] [stdout] test mem::memory_manager::test::test::default_alloc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] Doc-tests ico_memory [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" "b8bfd2e62167aa4cacbc91569efff35aed4fb3159a9374b4e758ba729028873a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8bfd2e62167aa4cacbc91569efff35aed4fb3159a9374b4e758ba729028873a", kill_on_drop: false }` [INFO] [stdout] b8bfd2e62167aa4cacbc91569efff35aed4fb3159a9374b4e758ba729028873a