[INFO] fetching crate tokio-graceful-shutdown-without-anyhow 0.6.0... [INFO] testing tokio-graceful-shutdown-without-anyhow-0.6.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tokio-graceful-shutdown-without-anyhow 0.6.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate tokio-graceful-shutdown-without-anyhow 0.6.0 [INFO] finished tweaking crates.io crate tokio-graceful-shutdown-without-anyhow 0.6.0 [INFO] tweaked toml for crates.io crate tokio-graceful-shutdown-without-anyhow 0.6.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-graceful-shutdown-without-anyhow 0.6.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-graceful-shutdown-without-anyhow 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b50e98d64ae443c5a651854365a426b48685ff436adffe8872df91ed576ff341 [INFO] running `Command { std: "docker" "start" "-a" "b50e98d64ae443c5a651854365a426b48685ff436adffe8872df91ed576ff341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b50e98d64ae443c5a651854365a426b48685ff436adffe8872df91ed576ff341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b50e98d64ae443c5a651854365a426b48685ff436adffe8872df91ed576ff341", kill_on_drop: false }` [INFO] [stdout] b50e98d64ae443c5a651854365a426b48685ff436adffe8872df91ed576ff341 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd4bc026c3b956290d7f03c946fb3de5f479b6ee00e6eb9e9a98cc9ac4e88d76 [INFO] running `Command { std: "docker" "start" "-a" "fd4bc026c3b956290d7f03c946fb3de5f479b6ee00e6eb9e9a98cc9ac4e88d76", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-graceful-shutdown-without-anyhow v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 27.13s [INFO] running `Command { std: "docker" "inspect" "fd4bc026c3b956290d7f03c946fb3de5f479b6ee00e6eb9e9a98cc9ac4e88d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4bc026c3b956290d7f03c946fb3de5f479b6ee00e6eb9e9a98cc9ac4e88d76", kill_on_drop: false }` [INFO] [stdout] fd4bc026c3b956290d7f03c946fb3de5f479b6ee00e6eb9e9a98cc9ac4e88d76 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 426ad008676df67aefac9b9f88dd6a1ca42d231cdcd1914aaed4bf21716cb393 [INFO] running `Command { std: "docker" "start" "-a" "426ad008676df67aefac9b9f88dd6a1ca42d231cdcd1914aaed4bf21716cb393", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling tokio-graceful-shutdown-without-anyhow v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "426ad008676df67aefac9b9f88dd6a1ca42d231cdcd1914aaed4bf21716cb393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426ad008676df67aefac9b9f88dd6a1ca42d231cdcd1914aaed4bf21716cb393", kill_on_drop: false }` [INFO] [stdout] 426ad008676df67aefac9b9f88dd6a1ca42d231cdcd1914aaed4bf21716cb393 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9082af439465d168fa6b2ecac6a8295f3714b597ad955b438d68f3795a5368f4 [INFO] running `Command { std: "docker" "start" "-a" "9082af439465d168fa6b2ecac6a8295f3714b597ad955b438d68f3795a5368f4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tokio_graceful_shutdown-6d3cbc909f97b2c3) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test shutdown_token::tests::double_shutdown_causes_no_error ... ok [INFO] [stdout] test subsystem::identifier::tests::does_not_equal_with_others ... ok [INFO] [stdout] test subsystem::partial_shutdown_errors::tests::prints_correct_error_messages ... ok [INFO] [stdout] test subsystem::identifier::tests::equals_with_itself ... ok [INFO] [stdout] test shutdown_token::tests::triggers_correctly_on_partial ... ok [INFO] [stdout] test shutdown_token::tests::triggers_correctly ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-43142b3a9ebf183f) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test nested_subsystem_receives_shutdown ... ok [INFO] [stdout] test partial_shutdown_error_gets_propagated_correctly ... ok [INFO] [stdout] test partial_shutdown_panic_gets_propagated_correctly ... ok [INFO] [stdout] test nested_subsystem_error_propagates ... ok [INFO] [stdout] test panic_gets_handled_correctly ... ok [INFO] [stdout] test cloned_handles_can_spawn_nested_subsystems ... ok [INFO] [stdout] test destroying_toplevel_cancels_subsystems ... ok [INFO] [stdout] test destroying_toplevel_cancels_nested_toplevel_subsystems ... ok [INFO] [stdout] test partial_shutdown_during_program_shutdown_causes_error ... ok [INFO] [stdout] test normal_shutdown ... ok [INFO] [stdout] test shutdown_through_signal ... ok [INFO] [stdout] test shutdown_timeout_causes_error ... ok [INFO] [stdout] test partial_shutdown_on_wrong_parent_causes_error ... ok [INFO] [stdout] test subsystem_receives_shutdown ... ok [INFO] [stdout] test partial_shutdown_request_stops_nested_subsystems ... ok [INFO] [stdout] test subsystem_finishes_with_error ... ok [INFO] [stdout] test subsystem_can_request_shutdown ... ok [INFO] [stdout] test double_panic_does_not_stop_graceful_shutdown ... ok [INFO] [stdout] test subsystem_finishes_with_success ... ok [INFO] [stdout] test spawning_task_during_shutdown_causes_task_to_be_cancelled ... ok [INFO] [stdout] test shutdown_timeout_causes_cancellation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] [stderr] Doc-tests tokio_graceful_shutdown [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/subsystem/handle.rs - subsystem::handle::SubsystemHandle::perform_partial_shutdown (line 188) ... ok [INFO] [stdout] test src/subsystem/handle.rs - subsystem::handle::SubsystemHandle::request_shutdown (line 155) ... ok [INFO] [stdout] test src/subsystem/handle.rs - subsystem::handle::SubsystemHandle::on_shutdown_requested (line 115) ... ok [INFO] [stdout] test src/subsystem/handle.rs - subsystem::handle::SubsystemHandle::start (line 38) ... ok [INFO] [stdout] test src/toplevel.rs - toplevel::Toplevel (line 20) ... ok [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9082af439465d168fa6b2ecac6a8295f3714b597ad955b438d68f3795a5368f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9082af439465d168fa6b2ecac6a8295f3714b597ad955b438d68f3795a5368f4", kill_on_drop: false }` [INFO] [stdout] 9082af439465d168fa6b2ecac6a8295f3714b597ad955b438d68f3795a5368f4