[INFO] fetching crate libsync 0.3.0... [INFO] testing libsync-0.3.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate libsync 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate libsync 0.3.0 [INFO] finished tweaking crates.io crate libsync 0.3.0 [INFO] tweaked toml for crates.io crate libsync 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libsync 0.3.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libsync 0.3.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded delegate v0.13.5 [INFO] [stderr] Downloaded saa v5.5.0 [INFO] [stderr] Downloaded sdd v4.6.3 [INFO] [stderr] Downloaded accessorise v0.2.0 [INFO] [stderr] Downloaded inc_dec v0.1.0 [INFO] [stderr] Downloaded scc v3.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf48e18fc07468772cd0e4ea4d58443b61657edb2dc45013652b31473df76f52 [INFO] running `Command { std: "docker" "start" "-a" "bf48e18fc07468772cd0e4ea4d58443b61657edb2dc45013652b31473df76f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf48e18fc07468772cd0e4ea4d58443b61657edb2dc45013652b31473df76f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf48e18fc07468772cd0e4ea4d58443b61657edb2dc45013652b31473df76f52", kill_on_drop: false }` [INFO] [stdout] bf48e18fc07468772cd0e4ea4d58443b61657edb2dc45013652b31473df76f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93849d7d27876d867ff8d23f49680d604c8277d06cd3381b3f84e128f6bceb5f [INFO] running `Command { std: "docker" "start" "-a" "93849d7d27876d867ff8d23f49680d604c8277d06cd3381b3f84e128f6bceb5f", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling accessorise v0.2.0 [INFO] [stderr] Compiling inc_dec v0.1.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling delegate v0.13.5 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling libsync v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::PreferredMutexType` [INFO] [stdout] --> src/waker_permit_queue.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use super::PreferredMutexType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `PreferredMutexType` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(feature="use_std_sync")] [INFO] [stdout] | ---------------------- the item is gated behind the `use_std_sync` feature [INFO] [stdout] 121 | pub type PreferredMutexType = ::std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature="use_parking_lot_sync")] [INFO] [stdout] | ------------------------------ the item is gated behind the `use_parking_lot_sync` feature [INFO] [stdout] 127 | pub type PreferredMutexType = parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(feature="use_parking_lot_fair_sync")] [INFO] [stdout] | ----------------------------------- the item is gated behind the `use_parking_lot_fair_sync` feature [INFO] [stdout] 133 | pub type PreferredMutexType = parking_lot::FairMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::PreferredMutexType` [INFO] [stdout] --> src/limited_waker_permit_queue.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use super::PreferredMutexType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `PreferredMutexType` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(feature="use_std_sync")] [INFO] [stdout] | ---------------------- the item is gated behind the `use_std_sync` feature [INFO] [stdout] 121 | pub type PreferredMutexType = ::std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[cfg(feature="use_parking_lot_sync")] [INFO] [stdout] | ------------------------------ the item is gated behind the `use_parking_lot_sync` feature [INFO] [stdout] 127 | pub type PreferredMutexType = parking_lot::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(feature="use_parking_lot_fair_sync")] [INFO] [stdout] | ----------------------------------- the item is gated behind the `use_parking_lot_fair_sync` feature [INFO] [stdout] 133 | pub type PreferredMutexType = parking_lot::FairMutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:288:34 [INFO] [stdout] | [INFO] [stdout] 288 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:308:34 [INFO] [stdout] | [INFO] [stdout] 308 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | mg.is_none() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:437:38 [INFO] [stdout] | [INFO] [stdout] 437 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:543:38 [INFO] [stdout] | [INFO] [stdout] 543 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:617:34 [INFO] [stdout] | [INFO] [stdout] 617 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:661:34 [INFO] [stdout] | [INFO] [stdout] 661 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:755:29 [INFO] [stdout] | [INFO] [stdout] 755 | opt_internals = mg.take(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:890:29 [INFO] [stdout] | [INFO] [stdout] 890 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:997:29 [INFO] [stdout] | [INFO] [stdout] 997 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/waker_permit_queue.rs:1102:38 [INFO] [stdout] | [INFO] [stdout] 1102 | if let Some(wqi) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:289:34 [INFO] [stdout] | [INFO] [stdout] 289 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:309:34 [INFO] [stdout] | [INFO] [stdout] 309 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | mg.is_none() [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:344:30 [INFO] [stdout] | [INFO] [stdout] 344 | if let Some(val) = &*mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:366:30 [INFO] [stdout] | [INFO] [stdout] 366 | if let Some(val) = &*mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:484:38 [INFO] [stdout] | [INFO] [stdout] 484 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:616:38 [INFO] [stdout] | [INFO] [stdout] 616 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:714:38 [INFO] [stdout] | [INFO] [stdout] 714 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:814:38 [INFO] [stdout] | [INFO] [stdout] 814 | if let Some(val) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:945:29 [INFO] [stdout] | [INFO] [stdout] 945 | opt_internals = mg.take(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1089:29 [INFO] [stdout] | [INFO] [stdout] 1089 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1231:29 [INFO] [stdout] | [INFO] [stdout] 1231 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1345:38 [INFO] [stdout] | [INFO] [stdout] 1345 | if let Some(wqi) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1442:29 [INFO] [stdout] | [INFO] [stdout] 1442 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1577:29 [INFO] [stdout] | [INFO] [stdout] 1577 | match &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mg` in this scope [INFO] [stdout] --> src/limited_waker_permit_queue.rs:1710:38 [INFO] [stdout] | [INFO] [stdout] 1710 | if let Some(wqi) = &mut *mg [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/results.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, fmt::{Debug, Display, Formatter}}; [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 imports: `Arc`, `AtomicBool`, `AtomicUsize`, `Ordering`, and `Weak` [INFO] [stdout] --> src/shared_details.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug, sync::{atomic::{AtomicBool, AtomicUsize, Ordering}, Arc, Weak}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `AtomicUsize`, and `Ordering` [INFO] [stdout] --> src/bounded_shared_details.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/waker_permit_queue.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/waker_permit_queue.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Waker` [INFO] [stdout] --> src/waker_permit_queue.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::task::{Poll, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `paste::paste` [INFO] [stdout] --> src/waker_permit_queue.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use paste::paste; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `accessorise::impl_get_val` [INFO] [stdout] --> src/waker_permit_queue.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use accessorise::impl_get_val; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize` and `Ordering` [INFO] [stdout] --> src/limited_waker_permit_queue.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/limited_waker_permit_queue.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Waker` [INFO] [stdout] --> src/limited_waker_permit_queue.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use std::task::{Poll, Waker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libsync` (lib) due to 29 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "93849d7d27876d867ff8d23f49680d604c8277d06cd3381b3f84e128f6bceb5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93849d7d27876d867ff8d23f49680d604c8277d06cd3381b3f84e128f6bceb5f", kill_on_drop: false }` [INFO] [stdout] 93849d7d27876d867ff8d23f49680d604c8277d06cd3381b3f84e128f6bceb5f