[INFO] cloning repository https://github.com/olearczuk/rust-concurrency [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/olearczuk/rust-concurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folearczuk%2Frust-concurrency", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folearczuk%2Frust-concurrency'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1600b8a4d0a2ff3124d1ddd02da4a2df032a99fc [INFO] checking olearczuk/rust-concurrency against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Folearczuk%2Frust-concurrency" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/olearczuk/rust-concurrency on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/olearczuk/rust-concurrency [INFO] finished tweaking git repo https://github.com/olearczuk/rust-concurrency [INFO] tweaked toml for git repo https://github.com/olearczuk/rust-concurrency written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/olearczuk/rust-concurrency 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded atomic-wait v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fee6591f0edc8b6039708d85d39203e623d1fdc3dc8cfc0921f271ee98e5fff [INFO] running `Command { std: "docker" "start" "-a" "0fee6591f0edc8b6039708d85d39203e623d1fdc3dc8cfc0921f271ee98e5fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fee6591f0edc8b6039708d85d39203e623d1fdc3dc8cfc0921f271ee98e5fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fee6591f0edc8b6039708d85d39203e623d1fdc3dc8cfc0921f271ee98e5fff", kill_on_drop: false }` [INFO] [stdout] 0fee6591f0edc8b6039708d85d39203e623d1fdc3dc8cfc0921f271ee98e5fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8498ef93cacdd9fcf3fdf24fa622bd9a1c6aa57cf1ed674aa8041f668b17cf84 [INFO] running `Command { std: "docker" "start" "-a" "8498ef93cacdd9fcf3fdf24fa622bd9a1c6aa57cf1ed674aa8041f668b17cf84", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking atomic-wait v1.1.0 [INFO] [stderr] Checking rust-concurrency v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AtomicU8` [INFO] [stdout] --> src/primitives/mutex.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicU32, AtomicU8, Ordering::*}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicU8` [INFO] [stdout] --> src/primitives/mutex.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | sync::atomic::{AtomicU32, AtomicU8, Ordering::*}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WEAK_COUNT_LOCKED_VAL` is never used [INFO] [stdout] --> src/primitives/arc.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const WEAK_COUNT_LOCKED_VAL: usize = usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_mut`, and `downgrade` are never used [INFO] [stdout] --> src/primitives/arc.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Arc { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn get_mut(&self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn downgrade(&self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/primitives/arc.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl Weak { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 142 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Condvar` is never constructed [INFO] [stdout] --> src/primitives/condvar.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Condvar { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `notify_one`, `notify_all`, and `wait` are never used [INFO] [stdout] --> src/primitives/condvar.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl Condvar { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 11 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn notify_one(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn notify_all(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn wait<'a, T>(&self, guard: MutexGuard<'a, T>) -> MutexGuard<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/primitives/mutex.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl Mutex { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 20 | pub const fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn lock(&self) -> MutexGuard { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lock_contended` is never used [INFO] [stdout] --> src/primitives/mutex.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn lock_contended(state: &AtomicU32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/primitives/oneshot_channel.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sender<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/primitives/oneshot_channel.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Receiver<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `split` are never used [INFO] [stdout] --> src/primitives/oneshot_channel.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 30 | impl OneshotChannel { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 31 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn split(&mut self) -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/primitives/oneshot_channel.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Sender<'_, T> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 55 | pub fn send(self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive` is never used [INFO] [stdout] --> src/primitives/oneshot_channel.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Receiver<'_, T> { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 63 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `read`, and `write` are never used [INFO] [stdout] --> src/primitives/rwlock.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 20 | impl RwLock { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 21 | pub const fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn read(&self) -> ReadGuard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn write(&self) -> WriteGuard { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/primitives/spin_lock.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 24 | pub const fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `notify_all` is never used [INFO] [stdout] --> src/primitives/condvar.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Condvar { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn notify_all(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] running `Command { std: "docker" "inspect" "8498ef93cacdd9fcf3fdf24fa622bd9a1c6aa57cf1ed674aa8041f668b17cf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8498ef93cacdd9fcf3fdf24fa622bd9a1c6aa57cf1ed674aa8041f668b17cf84", kill_on_drop: false }` [INFO] [stdout] 8498ef93cacdd9fcf3fdf24fa622bd9a1c6aa57cf1ed674aa8041f668b17cf84