[INFO] fetching crate task-collection 0.0.4... [INFO] testing task-collection-0.0.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate task-collection 0.0.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate task-collection 0.0.4 [INFO] finished tweaking crates.io crate task-collection 0.0.4 [INFO] tweaked toml for crates.io crate task-collection 0.0.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate task-collection 0.0.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 127 packages to latest compatible versions [INFO] [stderr] Adding smol v1.3.0 (available: v2.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a81f00872d541bf5eeccc7f68d0eab0630323136bad51d8c2ccbb95fe8bb6ba7 [INFO] running `Command { std: "docker" "start" "-a" "a81f00872d541bf5eeccc7f68d0eab0630323136bad51d8c2ccbb95fe8bb6ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a81f00872d541bf5eeccc7f68d0eab0630323136bad51d8c2ccbb95fe8bb6ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81f00872d541bf5eeccc7f68d0eab0630323136bad51d8c2ccbb95fe8bb6ba7", kill_on_drop: false }` [INFO] [stdout] a81f00872d541bf5eeccc7f68d0eab0630323136bad51d8c2ccbb95fe8bb6ba7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 605f0d36f0ab4eb71cf6be9b0e2990f8464723cb960184fbabf2b87fd41648ac [INFO] running `Command { std: "docker" "start" "-a" "605f0d36f0ab4eb71cf6be9b0e2990f8464723cb960184fbabf2b87fd41648ac", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling task-collection v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | .compare_and_swap(current_tasks, new_tasks, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.98s [INFO] running `Command { std: "docker" "inspect" "605f0d36f0ab4eb71cf6be9b0e2990f8464723cb960184fbabf2b87fd41648ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "605f0d36f0ab4eb71cf6be9b0e2990f8464723cb960184fbabf2b87fd41648ac", kill_on_drop: false }` [INFO] [stdout] 605f0d36f0ab4eb71cf6be9b0e2990f8464723cb960184fbabf2b87fd41648ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 824b41b7420ff87faec14d8436bce60e239fb5110d1fb72175f325513d2a7ad2 [INFO] running `Command { std: "docker" "start" "-a" "824b41b7420ff87faec14d8436bce60e239fb5110d1fb72175f325513d2a7ad2", kill_on_drop: false }` [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | .compare_and_swap(current_tasks, new_tasks, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling async-net v1.8.0 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling smol v1.3.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling task-collection v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TaskCollection` and `Tracker` [INFO] [stdout] --> src/lib.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | use crate::{TaskCollection, Tracker}; [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 import: `core::panic` [INFO] [stdout] --> src/lib.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smol::future::FutureExt` [INFO] [stdout] --> src/lib.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | use smol::future::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/lib.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | .compare_and_swap(current_tasks, new_tasks, SeqCst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.60s [INFO] running `Command { std: "docker" "inspect" "824b41b7420ff87faec14d8436bce60e239fb5110d1fb72175f325513d2a7ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824b41b7420ff87faec14d8436bce60e239fb5110d1fb72175f325513d2a7ad2", kill_on_drop: false }` [INFO] [stdout] 824b41b7420ff87faec14d8436bce60e239fb5110d1fb72175f325513d2a7ad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0b8b0ee5f8b912792f71f64f736d95db54090aa260bae2630acaca5997a64ca [INFO] running `Command { std: "docker" "start" "-a" "c0b8b0ee5f8b912792f71f64f736d95db54090aa260bae2630acaca5997a64ca", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:112:22 [INFO] [stderr] | [INFO] [stderr] 112 | .compare_and_swap(current_tasks, new_tasks, SeqCst); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `task-collection` (lib) generated 1 warning [INFO] [stderr] warning: unused imports: `TaskCollection` and `Tracker` [INFO] [stderr] --> src/lib.rs:241:17 [INFO] [stderr] | [INFO] [stderr] 241 | use crate::{TaskCollection, Tracker}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::panic` [INFO] [stderr] --> src/lib.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | use core::panic; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `smol::future::FutureExt` [INFO] [stderr] --> src/lib.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | use smol::future::FutureExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/lib.rs:244:9 [INFO] [stderr] | [INFO] [stderr] 244 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `task-collection` (lib test) generated 5 warnings (1 duplicate) (run `cargo fix --lib -p task-collection --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/task_collection-02fab7a66baa4abc) [INFO] [stdout] [INFO] [stderr] Doc-tests task_collection [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `&Runtime: Spawner` is not satisfied [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | let collection = TaskCollection::new(&runtime); [INFO] [stdout] | ------------------- ^^^^^^^^ the trait `Spawner` is not implemented for `&Runtime` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TaskCollection::::new` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | S: Spawner, [INFO] [stdout] | ^^^^^^^ required by this bound in `TaskCollection::::new` [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn new(spawner: S) -> TaskCollection> { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `spawn` exists for struct `TaskCollection<&Runtime, Arc>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | collection.spawn(async move { [INFO] [stdout] | -----------^^^^^ method cannot be called on `TaskCollection<&Runtime, Arc>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&Runtime: Spawner` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c0b8b0ee5f8b912792f71f64f736d95db54090aa260bae2630acaca5997a64ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b8b0ee5f8b912792f71f64f736d95db54090aa260bae2630acaca5997a64ca", kill_on_drop: false }` [INFO] [stdout] c0b8b0ee5f8b912792f71f64f736d95db54090aa260bae2630acaca5997a64ca