[INFO] fetching crate tokio_tasks_shutdown 0.4.2...
[INFO] testing tokio_tasks_shutdown-0.4.2 against 1.98.0-beta.1 for beta-1.98-1
[INFO] extracting crate tokio_tasks_shutdown 0.4.2 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate tokio_tasks_shutdown 0.4.2
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate tokio_tasks_shutdown 0.4.2
[INFO] tweaked toml for crates.io crate tokio_tasks_shutdown 0.4.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio_tasks_shutdown 0.4.2 on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tokio_tasks_shutdown 0.4.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" "+1.98.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1
[INFO] running `Command { std: "docker" "start" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio_tasks_shutdown v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.44s
[INFO] running `Command { std: "docker" "inspect" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling simple_logger v4.3.3
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.68
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.68
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio_tasks_shutdown v0.4.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 16.32s
[INFO] running `Command { std: "docker" "inspect" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_tasks_shutdown-65de42a4a7e0978e)
[INFO] [stderr]      Running tests/bad_guy.rs (/opt/rustwide/target/debug/deps/bad_guy-891099db6afc69c3)
[INFO] [stdout] 
[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 2 tests
[INFO] [stdout] test error_causes_stop ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--test bad_guy`
[INFO] [stdout] test no_tasks ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- error_causes_stop stdout ----
[INFO] [stdout] 2026-07-11T12:24:32.113Z DEBUG [tokio_tasks_shutdown] Spawning task erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.113Z DEBUG [tokio_tasks_shutdown] Spawning task not_erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.113Z TRACE [tokio_tasks_shutdown] Registering task 4: erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.113Z TRACE [tokio_tasks_shutdown] Registering task 5: not_erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.124Z DEBUG [tokio_tasks_shutdown] Got result for task erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.124Z ERROR [tokio_tasks_shutdown] Task erroring_task errored: User error: aaa, starting shutdown...
[INFO] [stdout] 2026-07-11T12:24:32.124Z DEBUG [tokio_tasks_shutdown] Starting graceful shutdown
[INFO] [stdout] 2026-07-11T12:24:32.141Z DEBUG [tokio_tasks_shutdown] Got result for task not_erroring_task
[INFO] [stdout] 2026-07-11T12:24:32.141Z TRACE [tokio_tasks_shutdown] Task channel closed - exiting management task
[INFO] [stdout] [tests/bad_guy.rs:64:2] elapsed = 28.360347ms
[INFO] [stdout] 
[INFO] [stdout] thread 'error_causes_stop' (1212) panicked at tests/bad_guy.rs:65:5:
[INFO] [stdout] assertion failed: elapsed > Duration::from_millis(19) && elapsed < Duration::from_millis(25)
[INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     error_causes_stop
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1", kill_on_drop: false }`
[INFO] [stdout] c3ddce50ea6c8b9ff3ebecbb908c3fe46fb266f6d5030a1861f7ae2839de47c1
