[INFO] cloning repository https://github.com/redwhitemike/atomics_and_locks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redwhitemike/atomics_and_locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredwhitemike%2Fatomics_and_locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredwhitemike%2Fatomics_and_locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07b0ad04e7bddf6008edb3eda26ea45b1e743f77 [INFO] checking redwhitemike/atomics_and_locks against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredwhitemike%2Fatomics_and_locks" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redwhitemike/atomics_and_locks on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redwhitemike/atomics_and_locks [INFO] finished tweaking git repo https://github.com/redwhitemike/atomics_and_locks [INFO] tweaked toml for git repo https://github.com/redwhitemike/atomics_and_locks written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/redwhitemike/atomics_and_locks 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563a40da8c3d104100d290350467df3c62ac032431839d2e10d082d32df3b4b7 [INFO] running `Command { std: "docker" "start" "-a" "563a40da8c3d104100d290350467df3c62ac032431839d2e10d082d32df3b4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563a40da8c3d104100d290350467df3c62ac032431839d2e10d082d32df3b4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563a40da8c3d104100d290350467df3c62ac032431839d2e10d082d32df3b4b7", kill_on_drop: false }` [INFO] [stdout] 563a40da8c3d104100d290350467df3c62ac032431839d2e10d082d32df3b4b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71ae7f44841d59064364e1e38bc8f73e2c91053100de7820699ca41768edd0a8 [INFO] running `Command { std: "docker" "start" "-a" "71ae7f44841d59064364e1e38bc8f73e2c91053100de7820699ca41768edd0a8", kill_on_drop: false }` [INFO] [stderr] Checking atomics_and_locks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spin_lock` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn spin_lock() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_shot_channel` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_shot_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_safe_channel` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn type_safe_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/mutex_channel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/mutex_channel.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/one_shot_channel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | message: UnsafeCell>, [INFO] [stdout] 8 | in_use: AtomicBool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used [INFO] [stdout] --> src/one_shot_channel.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/spin_lock.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | pub const fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> src/type_safe_channel.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/type_safe_channel.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 27 | pub fn send(self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `receive` are never used [INFO] [stdout] --> src/type_safe_channel.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Receiver { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 38 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spin_lock` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn spin_lock() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `on_shot_channel` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_shot_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_safe_channel` is never used [INFO] [stdout] --> src/main.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn type_safe_channel() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/mutex_channel.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/mutex_channel.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/one_shot_channel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | message: UnsafeCell>, [INFO] [stdout] 8 | in_use: AtomicBool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used [INFO] [stdout] --> src/one_shot_channel.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 15 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `lock` are never used [INFO] [stdout] --> src/spin_lock.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | pub const fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> src/type_safe_channel.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/type_safe_channel.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 27 | pub fn send(self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/type_safe_channel.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `receive` are never used [INFO] [stdout] --> src/type_safe_channel.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Receiver { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 38 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "71ae7f44841d59064364e1e38bc8f73e2c91053100de7820699ca41768edd0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71ae7f44841d59064364e1e38bc8f73e2c91053100de7820699ca41768edd0a8", kill_on_drop: false }` [INFO] [stdout] 71ae7f44841d59064364e1e38bc8f73e2c91053100de7820699ca41768edd0a8