[INFO] fetching crate elegant-departure 0.3.2... [INFO] testing elegant-departure-0.3.2 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate elegant-departure 0.3.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate elegant-departure 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate elegant-departure 0.3.2 [INFO] tweaked toml for crates.io crate elegant-departure 0.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate elegant-departure 0.3.2 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate elegant-departure 0.3.2 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a9729c16bb4f173b9e58d70f1713188b33ce9a8c567c7d0925ff393f1d76ecb [INFO] running `Command { std: "docker" "start" "-a" "6a9729c16bb4f173b9e58d70f1713188b33ce9a8c567c7d0925ff393f1d76ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a9729c16bb4f173b9e58d70f1713188b33ce9a8c567c7d0925ff393f1d76ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a9729c16bb4f173b9e58d70f1713188b33ce9a8c567c7d0925ff393f1d76ecb", kill_on_drop: false }` [INFO] [stdout] 6a9729c16bb4f173b9e58d70f1713188b33ce9a8c567c7d0925ff393f1d76ecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7fba111eaf512f8220c7d60381e3f9128b839f4ede120ca3edeb5ec00a4cb14 [INFO] running `Command { std: "docker" "start" "-a" "c7fba111eaf512f8220c7d60381e3f9128b839f4ede120ca3edeb5ec00a4cb14", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling elegant-departure v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "c7fba111eaf512f8220c7d60381e3f9128b839f4ede120ca3edeb5ec00a4cb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7fba111eaf512f8220c7d60381e3f9128b839f4ede120ca3edeb5ec00a4cb14", kill_on_drop: false }` [INFO] [stdout] c7fba111eaf512f8220c7d60381e3f9128b839f4ede120ca3edeb5ec00a4cb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5605021b4bc08d1be92a6c70bd22b5af55cf5c0e59676b955a87f7b971193bf9 [INFO] running `Command { std: "docker" "start" "-a" "5605021b4bc08d1be92a6c70bd22b5af55cf5c0e59676b955a87f7b971193bf9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling async-fs v2.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.9.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling smol v2.0.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling elegant-departure v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 35.00s [INFO] running `Command { std: "docker" "inspect" "5605021b4bc08d1be92a6c70bd22b5af55cf5c0e59676b955a87f7b971193bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5605021b4bc08d1be92a6c70bd22b5af55cf5c0e59676b955a87f7b971193bf9", kill_on_drop: false }` [INFO] [stdout] 5605021b4bc08d1be92a6c70bd22b5af55cf5c0e59676b955a87f7b971193bf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4b538918bbc35ef8099af97a255931d1cbecd85aedf3e08741552d7359702e4e [INFO] running `Command { std: "docker" "start" "-a" "4b538918bbc35ef8099af97a255931d1cbecd85aedf3e08741552d7359702e4e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/elegant_departure-8db8c7064a46a5f8) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::shutdown_api ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests elegant_departure [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 127) - compile ... ok [INFO] [stdout] test src/registry.rs - registry::ShutdownGuard (line 70) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 176) - compile ... ok [INFO] [stdout] test src/lib.rs - shutdown (line 291) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 76) - compile ... ok [INFO] [stdout] test src/lib.rs - get_shutdown_guard (line 236) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 52) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio` in `elegant_departure` [INFO] [stdout] --> src/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 11 | elegant_departure::tokio::depart().on_termination().await; [INFO] [stdout] | ^^^^^ could not find `tokio` in `elegant_departure` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 195 | #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))] [INFO] [stdout] 196 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `tokio` in `elegant_departure` [INFO] [stdout] --> src/lib.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 14 | .with_graceful_shutdown(elegant_departure::tokio::depart().on_termination()) [INFO] [stdout] | ^^^^^ could not find `tokio` in `elegant_departure` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(feature = "tokio")] [INFO] [stdout] | ----------------- the item is gated behind the `tokio` feature [INFO] [stdout] 195 | #[cfg_attr(docsrs, doc(cfg(feature = "tokio")))] [INFO] [stdout] 196 | pub mod tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4b538918bbc35ef8099af97a255931d1cbecd85aedf3e08741552d7359702e4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b538918bbc35ef8099af97a255931d1cbecd85aedf3e08741552d7359702e4e", kill_on_drop: false }` [INFO] [stdout] 4b538918bbc35ef8099af97a255931d1cbecd85aedf3e08741552d7359702e4e