[INFO] fetching crate piper 0.1.3... [INFO] checking piper-0.1.3 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate piper 0.1.3 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate piper 0.1.3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate piper 0.1.3 [INFO] finished tweaking crates.io crate piper 0.1.3 [INFO] tweaked toml for crates.io crate piper 0.1.3 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate piper 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project v0.4.16 [INFO] [stderr] Downloaded pin-project-internal v0.4.16 [INFO] [stderr] Downloaded syn v1.0.22 [INFO] [stderr] Downloaded proc-macro2 v1.0.13 [INFO] [stderr] Downloaded quote v1.0.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6325daa0dc132fd05eb2bb6cb8029f276799c5cddb1fe3ea5c30b979493ba576 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6325daa0dc132fd05eb2bb6cb8029f276799c5cddb1fe3ea5c30b979493ba576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6325daa0dc132fd05eb2bb6cb8029f276799c5cddb1fe3ea5c30b979493ba576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6325daa0dc132fd05eb2bb6cb8029f276799c5cddb1fe3ea5c30b979493ba576", kill_on_drop: false }` [INFO] [stdout] 6325daa0dc132fd05eb2bb6cb8029f276799c5cddb1fe3ea5c30b979493ba576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfad71a8e736ae17ca30e66e5ff5351f7b2df658046161cadcf0a6851952cccd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dfad71a8e736ae17ca30e66e5ff5351f7b2df658046161cadcf0a6851952cccd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking piper v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/chan.rs:1081:11 [INFO] [stdout] | [INFO] [stdout] 1081 | a.compare_and_swap(0, 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/event.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | inner = self.inner.compare_and_swap(inner, new, Ordering::AcqRel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/event.rs:522:11 [INFO] [stdout] | [INFO] [stdout] 522 | a.compare_and_swap(0, 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lock.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | .compare_and_swap(false, true, Ordering::Acquire) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | if !self.locked.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/chan.rs:1081:11 [INFO] [stdout] | [INFO] [stdout] 1081 | a.compare_and_swap(0, 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/event.rs:153:32 [INFO] [stdout] | [INFO] [stdout] 153 | inner = self.inner.compare_and_swap(inner, new, Ordering::AcqRel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/event.rs:522:11 [INFO] [stdout] | [INFO] [stdout] 522 | a.compare_and_swap(0, 1, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lock.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 134 | .compare_and_swap(false, true, Ordering::Acquire) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/mutex.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | if !self.locked.compare_and_swap(false, true, Ordering::Acquire) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/event.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | head: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/event.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct Event { [INFO] [stdout] 67 | | /// A pointer to heap-allocated inner state. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// This pointer is initially null and gets lazily initialized on first use. Semantically, it [INFO] [stdout] ... | [INFO] [stdout] 72 | | inner: AtomicPtr, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/event.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / pub struct EventListener { [INFO] [stdout] 202 | | /// A reference to [`Event`]'s inner state. [INFO] [stdout] 203 | | inner: Arc, [INFO] [stdout] 204 | | [INFO] [stdout] 205 | | /// A pointer to this listener's entry in the linked list. [INFO] [stdout] 206 | | entry: Option>, [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/event.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 398 | head: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/event.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | / pub struct Event { [INFO] [stdout] 67 | | /// A pointer to heap-allocated inner state. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// This pointer is initially null and gets lazily initialized on first use. Semantically, it [INFO] [stdout] ... | [INFO] [stdout] 72 | | inner: AtomicPtr, [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type does not implement `Debug`; consider adding `#[derive(Debug)]` or a manual implementation [INFO] [stdout] --> src/event.rs:201:1 [INFO] [stdout] | [INFO] [stdout] 201 | / pub struct EventListener { [INFO] [stdout] 202 | | /// A reference to [`Event`]'s inner state. [INFO] [stdout] 203 | | inner: Arc, [INFO] [stdout] 204 | | [INFO] [stdout] 205 | | /// A pointer to this listener's entry in the linked list. [INFO] [stdout] 206 | | entry: Option>, [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> examples/foo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | smol::run(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `piper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> benches/foo.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let (tx, mut rx) = tokio::sync::mpsc::channel(1000); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> benches/foo.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | let (tx, mut rx) = async_std::sync::channel(1000); [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `smol` [INFO] [stdout] --> benches/foo.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | smol::block_on(async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `smol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dfad71a8e736ae17ca30e66e5ff5351f7b2df658046161cadcf0a6851952cccd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfad71a8e736ae17ca30e66e5ff5351f7b2df658046161cadcf0a6851952cccd", kill_on_drop: false }` [INFO] [stdout] dfad71a8e736ae17ca30e66e5ff5351f7b2df658046161cadcf0a6851952cccd