[INFO] fetching crate piper 0.1.3... [INFO] testing piper-0.1.3 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate piper 0.1.3 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate piper 0.1.3 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-3/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72e88eab906a9dc9104d7de7e5435d9af7215dc3f1eb9b801a0a39b22288c212 [INFO] running `Command { std: "docker" "start" "-a" "72e88eab906a9dc9104d7de7e5435d9af7215dc3f1eb9b801a0a39b22288c212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72e88eab906a9dc9104d7de7e5435d9af7215dc3f1eb9b801a0a39b22288c212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72e88eab906a9dc9104d7de7e5435d9af7215dc3f1eb9b801a0a39b22288c212", kill_on_drop: false }` [INFO] [stdout] 72e88eab906a9dc9104d7de7e5435d9af7215dc3f1eb9b801a0a39b22288c212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d5ed6c72a8a84d8257df41f8547d9463acd07f910c74f4e2989187685402492 [INFO] running `Command { std: "docker" "start" "-a" "1d5ed6c72a8a84d8257df41f8547d9463acd07f910c74f4e2989187685402492", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Compiling pin-project v0.4.16 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.58s [INFO] running `Command { std: "docker" "inspect" "1d5ed6c72a8a84d8257df41f8547d9463acd07f910c74f4e2989187685402492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d5ed6c72a8a84d8257df41f8547d9463acd07f910c74f4e2989187685402492", kill_on_drop: false }` [INFO] [stdout] 1d5ed6c72a8a84d8257df41f8547d9463acd07f910c74f4e2989187685402492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ea799f657650424b1ad05899fdcfb6b384d74db2b59f3eb650c8fb246274fef [INFO] running `Command { std: "docker" "start" "-a" "8ea799f657650424b1ad05899fdcfb6b384d74db2b59f3eb650c8fb246274fef", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.3.5 [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] [stderr] Compiling piper v0.1.3 (/opt/rustwide/workdir) [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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8ea799f657650424b1ad05899fdcfb6b384d74db2b59f3eb650c8fb246274fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ea799f657650424b1ad05899fdcfb6b384d74db2b59f3eb650c8fb246274fef", kill_on_drop: false }` [INFO] [stdout] 8ea799f657650424b1ad05899fdcfb6b384d74db2b59f3eb650c8fb246274fef