[INFO] fetching crate rust-debugging-locks 0.8.9... [INFO] testing rust-debugging-locks-0.8.9 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate rust-debugging-locks 0.8.9 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rust-debugging-locks 0.8.9 [INFO] finished tweaking crates.io crate rust-debugging-locks 0.8.9 [INFO] tweaked toml for crates.io crate rust-debugging-locks 0.8.9 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-debugging-locks 0.8.9 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-debugging-locks 0.8.9 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" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39e8b98e505cb770d804549f925244c2758940ec5911b24d7cfd4cab3d1476be [INFO] running `Command { std: "docker" "start" "-a" "39e8b98e505cb770d804549f925244c2758940ec5911b24d7cfd4cab3d1476be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39e8b98e505cb770d804549f925244c2758940ec5911b24d7cfd4cab3d1476be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e8b98e505cb770d804549f925244c2758940ec5911b24d7cfd4cab3d1476be", kill_on_drop: false }` [INFO] [stdout] 39e8b98e505cb770d804549f925244c2758940ec5911b24d7cfd4cab3d1476be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920d3acbe2c1e2af340eac66fae18a34ad49250b3f5647a50af6e7fb9963fd56 [INFO] running `Command { std: "docker" "start" "-a" "920d3acbe2c1e2af340eac66fae18a34ad49250b3f5647a50af6e7fb9963fd56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.51 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling quote v1.0.23 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling gimli v0.27.2 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling base58 v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.6.2 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling addr2line v0.19.0 [INFO] [stderr] Compiling rust-debugging-locks v0.8.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/debugging_locks.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, LockResult, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockError, TryLockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/debugging_locks.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ptr, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/debugging_locks.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stdout] --> src/debugging_locks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/debugging_locks.rs:10:63 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::stacktrace_util::{backtrack_frame, BacktrackError, Frame, Stracktrace, ThreadInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/stacktrace_util.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [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: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_frames` is never used [INFO] [stdout] --> src/stacktrace_util.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn debug_frames(frames: &Result, BacktrackError>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:136:75 [INFO] [stdout] | [INFO] [stdout] 136 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 136 - stacktrace_created.clone(), [INFO] [stdout] 136 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:183:75 [INFO] [stdout] | [INFO] [stdout] 183 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 183 - stacktrace_created.clone(), [INFO] [stdout] 183 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.92s [INFO] running `Command { std: "docker" "inspect" "920d3acbe2c1e2af340eac66fae18a34ad49250b3f5647a50af6e7fb9963fd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920d3acbe2c1e2af340eac66fae18a34ad49250b3f5647a50af6e7fb9963fd56", kill_on_drop: false }` [INFO] [stdout] 920d3acbe2c1e2af340eac66fae18a34ad49250b3f5647a50af6e7fb9963fd56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f581f946ca0004e59169ce1252a90342019b7cf83470f898904aaa12472aa5b1 [INFO] running `Command { std: "docker" "start" "-a" "f581f946ca0004e59169ce1252a90342019b7cf83470f898904aaa12472aa5b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling crossbeam-epoch v0.9.14 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling plotters-backend v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling os_str_bytes v6.5.0 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling ciborium-io v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling plotters-svg v0.3.3 [INFO] [stderr] Compiling ciborium-ll v0.2.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling object v0.30.3 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-channel v0.5.7 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling plotters v0.3.4 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Compiling ciborium v0.2.0 [INFO] [stderr] Compiling rust-debugging-locks v0.8.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/debugging_locks.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, LockResult, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockError, TryLockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/debugging_locks.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ptr, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/debugging_locks.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stdout] --> src/debugging_locks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/debugging_locks.rs:10:63 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::stacktrace_util::{backtrack_frame, BacktrackError, Frame, Stracktrace, ThreadInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/stacktrace_util.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [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: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_frames` is never used [INFO] [stdout] --> src/stacktrace_util.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn debug_frames(frames: &Result, BacktrackError>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:136:75 [INFO] [stdout] | [INFO] [stdout] 136 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 136 - stacktrace_created.clone(), [INFO] [stdout] 136 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:183:75 [INFO] [stdout] | [INFO] [stdout] 183 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 183 - stacktrace_created.clone(), [INFO] [stdout] 183 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/debugging_locks.rs:2:41 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, LockResult, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockError, TryLockResult}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr` [INFO] [stdout] --> src/debugging_locks.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{ptr, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell` and `RefCell` [INFO] [stdout] --> src/debugging_locks.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stdout] --> src/debugging_locks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::AtomicPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Frame` [INFO] [stdout] --> src/debugging_locks.rs:10:63 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::stacktrace_util::{backtrack_frame, BacktrackError, Frame, Stracktrace, ThreadInfo}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/stacktrace_util.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [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: variable does not need to be mutable [INFO] [stdout] --> src/debugging_locks.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> src/debugging_locks.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | ... cnt: u64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_frames` is never used [INFO] [stdout] --> src/stacktrace_util.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | fn debug_frames(frames: &Result, BacktrackError>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:136:75 [INFO] [stdout] | [INFO] [stdout] 136 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 136 - stacktrace_created.clone(), [INFO] [stdout] 136 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/debugging_locks.rs:183:75 [INFO] [stdout] | [INFO] [stdout] 183 | ... stacktrace_created.clone(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 183 - stacktrace_created.clone(), [INFO] [stdout] 183 + stacktrace_created, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.92s [INFO] running `Command { std: "docker" "inspect" "f581f946ca0004e59169ce1252a90342019b7cf83470f898904aaa12472aa5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f581f946ca0004e59169ce1252a90342019b7cf83470f898904aaa12472aa5b1", kill_on_drop: false }` [INFO] [stdout] f581f946ca0004e59169ce1252a90342019b7cf83470f898904aaa12472aa5b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8e8363583d631dca7a4eab950a027b4931a362c0365ad6137b4c18623c82042 [INFO] running `Command { std: "docker" "start" "-a" "e8e8363583d631dca7a4eab950a027b4931a362c0365ad6137b4c18623c82042", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `MutexGuard` [INFO] [stderr] --> src/debugging_locks.rs:2:41 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::{Arc, LockResult, Mutex, MutexGuard, RwLock, RwLockReadGuard, RwLockWriteGuard, TryLockError, TryLockResult}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ptr` [INFO] [stderr] --> src/debugging_locks.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use std::{ptr, thread}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Cell` and `RefCell` [INFO] [stderr] --> src/debugging_locks.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::cell::{Cell, RefCell}; [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::atomic::AtomicPtr` [INFO] [stderr] --> src/debugging_locks.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::sync::atomic::AtomicPtr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Frame` [INFO] [stderr] --> src/debugging_locks.rs:10:63 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::stacktrace_util::{backtrack_frame, BacktrackError, Frame, Stracktrace, ThreadInfo}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Hash` [INFO] [stderr] --> src/stacktrace_util.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use std::hash::{Hash, Hasher}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/debugging_locks.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/debugging_locks.rs:153:9 [INFO] [stderr] | [INFO] [stderr] 153 | let mut last_returned = &rwlock_wrapped.last_returned_lock_from; [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cnt` [INFO] [stderr] --> src/debugging_locks.rs:200:32 [INFO] [stderr] | [INFO] [stderr] 200 | ... cnt: u64, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cnt` [INFO] [stderr] --> src/debugging_locks.rs:232:32 [INFO] [stderr] | [INFO] [stderr] 232 | ... cnt: u64, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stderr] [INFO] [stderr] warning: function `debug_frames` is never used [INFO] [stderr] --> src/stacktrace_util.rs:154:4 [INFO] [stderr] | [INFO] [stderr] 154 | fn debug_frames(frames: &Result, BacktrackError>) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/debugging_locks.rs:136:75 [INFO] [stderr] | [INFO] [stderr] 136 | ... stacktrace_created.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 136 - stacktrace_created.clone(), [INFO] [stderr] 136 + stacktrace_created, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/debugging_locks.rs:183:75 [INFO] [stderr] | [INFO] [stderr] 183 | ... stacktrace_created.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 183 - stacktrace_created.clone(), [INFO] [stderr] 183 + stacktrace_created, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust-debugging-locks` (lib) generated 13 warnings (run `cargo fix --lib -p rust-debugging-locks` to apply 12 suggestions) [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/debugging_locks.rs:136:75 [INFO] [stderr] | [INFO] [stderr] 136 | ... stacktrace_created.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 136 - stacktrace_created.clone(), [INFO] [stderr] 136 + stacktrace_created, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/debugging_locks.rs:183:75 [INFO] [stderr] | [INFO] [stderr] 183 | ... stacktrace_created.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `std::option::Option` does not implement `Clone`, so calling `clone` on `&std::option::Option` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 183 - stacktrace_created.clone(), [INFO] [stderr] 183 + stacktrace_created, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rust-debugging-locks` (lib test) generated 13 warnings (11 duplicates) (run `cargo fix --lib -p rust-debugging-locks --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_debugging_locks-cb42f6a0cf08f4d8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test stacktrace_util::tests::stacktrace_from_method ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_debugging_locks [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/stacktrace_util.rs - stacktrace_util::backtrack_frame (line 58) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e8e8363583d631dca7a4eab950a027b4931a362c0365ad6137b4c18623c82042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e8363583d631dca7a4eab950a027b4931a362c0365ad6137b4c18623c82042", kill_on_drop: false }` [INFO] [stdout] e8e8363583d631dca7a4eab950a027b4931a362c0365ad6137b4c18623c82042