[INFO] fetching crate agnostic-lite 0.6.0... [INFO] testing agnostic-lite-0.6.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate agnostic-lite 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate agnostic-lite 0.6.0 [INFO] finished tweaking crates.io crate agnostic-lite 0.6.0 [INFO] tweaked toml for crates.io crate agnostic-lite 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate agnostic-lite 0.6.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate agnostic-lite 0.6.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19cb1ddca14bf9ededf169c7cc32ea6d91447ecb79c80ab213fbe8aaaa4af72f [INFO] running `Command { std: "docker" "start" "-a" "19cb1ddca14bf9ededf169c7cc32ea6d91447ecb79c80ab213fbe8aaaa4af72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19cb1ddca14bf9ededf169c7cc32ea6d91447ecb79c80ab213fbe8aaaa4af72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19cb1ddca14bf9ededf169c7cc32ea6d91447ecb79c80ab213fbe8aaaa4af72f", kill_on_drop: false }` [INFO] [stdout] 19cb1ddca14bf9ededf169c7cc32ea6d91447ecb79c80ab213fbe8aaaa4af72f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee381fc5764e5808c697ce6c0a3f4837a389c828baf0bfbfd0d9f94d8cebfa2 [INFO] running `Command { std: "docker" "start" "-a" "5ee381fc5764e5808c697ce6c0a3f4837a389c828baf0bfbfd0d9f94d8cebfa2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling agnostic-lite v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "5ee381fc5764e5808c697ce6c0a3f4837a389c828baf0bfbfd0d9f94d8cebfa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee381fc5764e5808c697ce6c0a3f4837a389c828baf0bfbfd0d9f94d8cebfa2", kill_on_drop: false }` [INFO] [stdout] 5ee381fc5764e5808c697ce6c0a3f4837a389c828baf0bfbfd0d9f94d8cebfa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79e491f9cef74a426f2a4fd781b5727afc4910efa9d0271cea401fa2fef57a42 [INFO] running `Command { std: "docker" "start" "-a" "79e491f9cef74a426f2a4fd781b5727afc4910efa9d0271cea401fa2fef57a42", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling agnostic-lite v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stdout] error[E0432]: unresolved import `super::AfterHandle` [INFO] [stdout] --> src/lib.rs:433:15 [INFO] [stdout] | [INFO] [stdout] 433 | use super::{AfterHandle, RuntimeLite}; [INFO] [stdout] | ^^^^^^^^^^^ no `AfterHandle` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/spawner.rs:297:11 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "time")] [INFO] [stdout] | ---------------- the item is gated behind the `time` feature [INFO] [stdout] 296 | #[cfg_attr(docsrs, doc(cfg(feature = "time")))] [INFO] [stdout] 297 | pub trait AfterHandle: [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:439:21 [INFO] [stdout] | [INFO] [stdout] 436 | pub async fn spawn_after_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 439 | let handle = R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 436 | pub async fn spawn_after_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 443 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:446:5 [INFO] [stdout] | [INFO] [stdout] 446 | handle.await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 453 | pub async fn spawn_after_cancel_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 456 | let handle = R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:460:8 [INFO] [stdout] | [INFO] [stdout] 453 | pub async fn spawn_after_cancel_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 460 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | let o = handle.cancel().await; [INFO] [stdout] | ^ [INFO] [stdout] 464 | assert!(o.is_none()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `o` an explicit type [INFO] [stdout] | [INFO] [stdout] 463 | let o: /* Type */ = handle.cancel().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 471 | pub async fn spawn_after_drop_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 474 | drop(R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub async fn spawn_after_drop_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 478 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:481:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub async fn spawn_after_drop_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 481 | R::sleep(Duration::from_millis(600)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 488 | pub async fn spawn_after_abort_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 491 | let handle = R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:495:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub async fn spawn_after_abort_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 495 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:499:8 [INFO] [stdout] | [INFO] [stdout] 488 | pub async fn spawn_after_abort_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 499 | R::sleep(Duration::from_millis(600)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:509:21 [INFO] [stdout] | [INFO] [stdout] 506 | pub async fn spawn_after_reset_to_pass_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 509 | let handle = R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:513:8 [INFO] [stdout] | [INFO] [stdout] 506 | pub async fn spawn_after_reset_to_pass_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 513 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:517:8 [INFO] [stdout] | [INFO] [stdout] 506 | pub async fn spawn_after_reset_to_pass_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 517 | R::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `spawn_after` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 524 | pub async fn spawn_after_reset_to_future_unittest() { [INFO] [stdout] | - function or associated item `spawn_after` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 527 | let handle = R::spawn_after(Duration::from_secs(1), async move { [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:531:8 [INFO] [stdout] | [INFO] [stdout] 524 | pub async fn spawn_after_reset_to_future_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 531 | R::sleep(Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `sleep` found for type parameter `R` in the current scope [INFO] [stdout] --> src/lib.rs:535:8 [INFO] [stdout] | [INFO] [stdout] 524 | pub async fn spawn_after_reset_to_future_unittest() { [INFO] [stdout] | - function or associated item `sleep` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 535 | R::sleep(Duration::from_millis(750 + 10)).await; // we already delayed 500ms, so remaining is 750ms [INFO] [stdout] | ^^^^^ function or associated item not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `agnostic-lite` (lib test) due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "79e491f9cef74a426f2a4fd781b5727afc4910efa9d0271cea401fa2fef57a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79e491f9cef74a426f2a4fd781b5727afc4910efa9d0271cea401fa2fef57a42", kill_on_drop: false }` [INFO] [stdout] 79e491f9cef74a426f2a4fd781b5727afc4910efa9d0271cea401fa2fef57a42