[INFO] cloning repository https://github.com/mikeleppane/rust-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/mikeleppane/rust-atomics-and-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 491bce7c76ee7f029f4fde79bbef39e819a411f3 [INFO] checking mikeleppane/rust-atomics-and-locks against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeleppane/rust-atomics-and-locks on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks [INFO] finished tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks [INFO] tweaked toml for git repo https://github.com/mikeleppane/rust-atomics-and-locks written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikeleppane/rust-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3271f1f09ace6cabc85e4164e39ccf1334b0dd75b5c3415c20c664647fe593f [INFO] running `Command { std: "docker" "start" "-a" "c3271f1f09ace6cabc85e4164e39ccf1334b0dd75b5c3415c20c664647fe593f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3271f1f09ace6cabc85e4164e39ccf1334b0dd75b5c3415c20c664647fe593f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3271f1f09ace6cabc85e4164e39ccf1334b0dd75b5c3415c20c664647fe593f", kill_on_drop: false }` [INFO] [stdout] c3271f1f09ace6cabc85e4164e39ccf1334b0dd75b5c3415c20c664647fe593f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae2fe956a14ce80689e899a7072a9424ba49308fae93b048700866e7f2856aa1 [INFO] running `Command { std: "docker" "start" "-a" "ae2fe956a14ce80689e899a7072a9424ba49308fae93b048700866e7f2856aa1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atomics-and-locks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/channels/channel.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/channels/channel.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/channels/channel.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/memory_ordering/memory.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::current` [INFO] [stdout] --> src/memory_ordering/memory.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use std::thread::current; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `get_mut` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Arc { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `get_mut`, and `downgrade` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | impl Arc { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 138 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn downgrade(arc: &Self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 172 | impl Weak { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 318 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 319 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `upgrade` and `get_mut` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 344 | impl Weak { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/channels/channel.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/channels/channel.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | 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/channels/channel.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 48 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 49 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/channel.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/channel.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> src/channels/channel.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/channel.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 162 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 163 | /// This never panics. :) [INFO] [stdout] 164 | 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/channel.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 170 | impl Receiver { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 171 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/channel.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Sender<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/channel.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | 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/channels/channel.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 231 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 232 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn split(&mut self) -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/channel.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 244 | impl Sender<'_, T> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 245 | 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/channel.rs:252:16 [INFO] [stdout] | [INFO] [stdout] 251 | impl Receiver<'_, T> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 252 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used [INFO] [stdout] --> src/spinning/spin_lock.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 40 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 41 | pub const fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub unsafe fn unlock(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_mut` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_mut` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 137 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 318 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 319 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `upgrade` and `get_mut` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 344 | impl Weak { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/channels/channel.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unlock` is never used [INFO] [stdout] --> src/spinning/spin_lock.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 40 | impl SpinLock { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub unsafe fn unlock(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "ae2fe956a14ce80689e899a7072a9424ba49308fae93b048700866e7f2856aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae2fe956a14ce80689e899a7072a9424ba49308fae93b048700866e7f2856aa1", kill_on_drop: false }` [INFO] [stdout] ae2fe956a14ce80689e899a7072a9424ba49308fae93b048700866e7f2856aa1 [INFO] checking mikeleppane/rust-atomics-and-locks against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikeleppane%2Frust-atomics-and-locks" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikeleppane/rust-atomics-and-locks on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks [INFO] finished tweaking git repo https://github.com/mikeleppane/rust-atomics-and-locks [INFO] tweaked toml for git repo https://github.com/mikeleppane/rust-atomics-and-locks written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mikeleppane/rust-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f66b1e0f1c921876216d0b998b6c72730cb98846b7ff457b00c3847023b48fa [INFO] running `Command { std: "docker" "start" "-a" "9f66b1e0f1c921876216d0b998b6c72730cb98846b7ff457b00c3847023b48fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f66b1e0f1c921876216d0b998b6c72730cb98846b7ff457b00c3847023b48fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f66b1e0f1c921876216d0b998b6c72730cb98846b7ff457b00c3847023b48fa", kill_on_drop: false }` [INFO] [stdout] 9f66b1e0f1c921876216d0b998b6c72730cb98846b7ff457b00c3847023b48fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6e52aff907f2fe453aeaf7b8a486de20feb3e26cffdf9e99e0618d56eae76d [INFO] running `Command { std: "docker" "start" "-a" "0b6e52aff907f2fe453aeaf7b8a486de20feb3e26cffdf9e99e0618d56eae76d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atomics-and-locks v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/channels/channel.rs (3 fixes) [INFO] [stderr] Fixed src/memory_ordering/memory.rs (2 fixes) [INFO] [stdout] warning: associated functions `new` and `get_mut` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 20 | impl Arc { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 21 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `get_mut`, and `downgrade` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 137 | impl Arc { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 138 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn downgrade(arc: &Self) -> Weak { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 172 | impl Weak { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/arc/reference_counting.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 318 | impl Arc { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 319 | pub fn new(data: T) -> Arc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `upgrade` and `get_mut` are never used [INFO] [stdout] --> src/arc/reference_counting.rs:349:16 [INFO] [stdout] | [INFO] [stdout] 344 | impl Weak { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn get_mut(arc: &mut Self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/channels/channel.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_use` is never read [INFO] [stdout] --> src/channels/channel.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Channel { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | 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/channels/channel.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 48 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 49 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/channel.rs:138:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct Sender { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/channel.rs:142:16 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channels/channel.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `channel` is never used [INFO] [stdout] --> src/channels/channel.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/channel.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 162 | impl Sender { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 163 | /// This never panics. :) [INFO] [stdout] 164 | 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/channel.rs:171:16 [INFO] [stdout] | [INFO] [stdout] 170 | impl Receiver { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 171 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channels/channel.rs:223:16 [INFO] [stdout] | [INFO] [stdout] 223 | pub struct Sender<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Receiver` is never constructed [INFO] [stdout] --> src/channels/channel.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | 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/channels/channel.rs:232:22 [INFO] [stdout] | [INFO] [stdout] 231 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 232 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn split(&mut self) -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channels/channel.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 244 | impl Sender<'_, T> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 245 | 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/channel.rs:252:16 [INFO] [stdout] | [INFO] [stdout] 251 | impl Receiver<'_, T> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 252 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | pub fn receive(self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used [INFO] [stdout] --> src/spinning/spin_lock.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 40 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 41 | pub const fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn lock(&self) -> Guard { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub unsafe fn unlock(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | let t = thread::current(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | thread::scope(|s| { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | thread::park(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let t = thread::current(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | thread::scope(|s| { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | thread::park(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 34 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | thread::scope(|s| { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 131 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let t = thread::current(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 131 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | thread::park(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 131 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | thread::scope(|s| { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 210 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let t = thread::current(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 210 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/channels/channel.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | thread::park(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 210 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/memory_ordering/memory.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | thread::scope(|s| { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 35 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current` in this scope [INFO] [stdout] --> src/memory_ordering/memory.rs:72:33 [INFO] [stdout] | [INFO] [stdout] 72 | let thread_id = current().id(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 + use std::thread::current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current` in this scope [INFO] [stdout] --> src/memory_ordering/memory.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let thread_id = current().id(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 + use std::thread::current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current` in this scope [INFO] [stdout] --> src/memory_ordering/memory.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | let thread_id = current().id(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 35 + use std::thread::current; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `atomics-and-locks` (bin "atomics-and-locks" test) due to 17 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "0b6e52aff907f2fe453aeaf7b8a486de20feb3e26cffdf9e99e0618d56eae76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6e52aff907f2fe453aeaf7b8a486de20feb3e26cffdf9e99e0618d56eae76d", kill_on_drop: false }` [INFO] [stdout] 0b6e52aff907f2fe453aeaf7b8a486de20feb3e26cffdf9e99e0618d56eae76d