[INFO] cloning repository https://github.com/JackMatusiewicz/rust_atomics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackMatusiewicz/rust_atomics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2Frust_atomics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2Frust_atomics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b118cc9b81d4c757c13fee007e38a2fd5e07b525 [INFO] checking JackMatusiewicz/rust_atomics/b118cc9b81d4c757c13fee007e38a2fd5e07b525 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackMatusiewicz%2Frust_atomics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JackMatusiewicz/rust_atomics on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JackMatusiewicz/rust_atomics [INFO] finished tweaking git repo https://github.com/JackMatusiewicz/rust_atomics [INFO] tweaked toml for git repo https://github.com/JackMatusiewicz/rust_atomics written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JackMatusiewicz/rust_atomics 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0d2342fa589f917d6155bf90b254b3582319b5e68b42118dfcfa4f27fa7c08d [INFO] running `Command { std: "docker" "start" "-a" "a0d2342fa589f917d6155bf90b254b3582319b5e68b42118dfcfa4f27fa7c08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0d2342fa589f917d6155bf90b254b3582319b5e68b42118dfcfa4f27fa7c08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d2342fa589f917d6155bf90b254b3582319b5e68b42118dfcfa4f27fa7c08d", kill_on_drop: false }` [INFO] [stdout] a0d2342fa589f917d6155bf90b254b3582319b5e68b42118dfcfa4f27fa7c08d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38be346132af8b28b3d0d640cccb670113d2699870d223de4b9ad7201dfe867 [INFO] running `Command { std: "docker" "start" "-a" "f38be346132af8b28b3d0d640cccb670113d2699870d223de4b9ad7201dfe867", kill_on_drop: false }` [INFO] [stderr] Checking rust_atomics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/spin_lock.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 45 | pub fn new(v: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn lock(&self) -> SpinLockGuard { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `dequeue` are never used [INFO] [stdout] --> src/channels/channel.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn enqueue(&self, data: T) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn dequeue(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutexChannel` is never constructed [INFO] [stdout] --> src/channels/mutex_channel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MutexChannel { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, and `dequeue` are never used [INFO] [stdout] --> src/channels/mutex_channel.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MutexChannel { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn enqueue(&self, message: T) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn dequeue(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/channels/one_shot.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OneShotChannel { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | in_use: AtomicBool [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, `is_ready`, and `dequeue` are never used [INFO] [stdout] --> src/channels/one_shot.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl OneShotChannel { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 13 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn enqueue(&self, message: T) -> () { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn dequeue(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/one_shot_typed.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/one_shot_typed.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/one_shot_typed.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_channel` and `new` are never used [INFO] [stdout] --> src/channels/one_shot_typed.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl Channel { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 23 | fn new_channel() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn new() -> (Sender, Receiver) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/one_shot_typed.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 48 | pub fn send(self, message: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `receive` are never used [INFO] [stdout] --> src/channels/one_shot_typed.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Receiver { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 55 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/one_shot_borrow.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/one_shot_borrow.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Sender<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/one_shot_borrow.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Receiver<'a, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_channel` and `new` are never used [INFO] [stdout] --> src/channels/one_shot_borrow.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Channel { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 22 | fn new_channel() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new(channel: &mut Channel) -> (Sender, Receiver) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/one_shot_borrow.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Sender<'_, T> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 46 | pub fn send(self, message: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `receive` are never used [INFO] [stdout] --> src/channels/one_shot_borrow.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl Receiver<'_, T> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 53 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/one_shot_blocking.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/one_shot_blocking.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/one_shot_blocking.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_channel` and `new` are never used [INFO] [stdout] --> src/channels/one_shot_blocking.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Channel { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 28 | fn new_channel() -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn new() -> (Sender, Receiver) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/one_shot_blocking.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 54 | pub fn send(self, message: T) -> () { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `receive` is never used [INFO] [stdout] --> src/channels/one_shot_blocking.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Receiver { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 62 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "f38be346132af8b28b3d0d640cccb670113d2699870d223de4b9ad7201dfe867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38be346132af8b28b3d0d640cccb670113d2699870d223de4b9ad7201dfe867", kill_on_drop: false }` [INFO] [stdout] f38be346132af8b28b3d0d640cccb670113d2699870d223de4b9ad7201dfe867