[INFO] cloning repository https://github.com/PoorlyDefinedBehaviour/retry-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PoorlyDefinedBehaviour/retry-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fretry-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fretry-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 533f2cc34320866c3e97bf94b010087c67829f1c [INFO] testing PoorlyDefinedBehaviour/retry-rs against try#015dbcea68b7642e2acc268b5c8f3e9086fc02ff for pr-102570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fretry-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PoorlyDefinedBehaviour/retry-rs on toolchain 015dbcea68b7642e2acc268b5c8f3e9086fc02ff [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PoorlyDefinedBehaviour/retry-rs [INFO] finished tweaking git repo https://github.com/PoorlyDefinedBehaviour/retry-rs [INFO] tweaked toml for git repo https://github.com/PoorlyDefinedBehaviour/retry-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/PoorlyDefinedBehaviour/retry-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d06bc7259d2abbda13843e5339b0807dbeff3b39ef204f06744d4bd98d36bf2 [INFO] running `Command { std: "docker" "start" "-a" "3d06bc7259d2abbda13843e5339b0807dbeff3b39ef204f06744d4bd98d36bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d06bc7259d2abbda13843e5339b0807dbeff3b39ef204f06744d4bd98d36bf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d06bc7259d2abbda13843e5339b0807dbeff3b39ef204f06744d4bd98d36bf2", kill_on_drop: false }` [INFO] [stdout] 3d06bc7259d2abbda13843e5339b0807dbeff3b39ef204f06744d4bd98d36bf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b603d87ecf1db70c762a01dac6edb8416c15705ee5f47d2c27658b8fdb25bbff [INFO] running `Command { std: "docker" "start" "-a" "b603d87ecf1db70c762a01dac6edb8416c15705ee5f47d2c27658b8fdb25bbff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling retry v0.1.0 (/opt/rustwide/workdir/retry) [INFO] [stderr] Compiling circuit_breaker v0.1.0 (/opt/rustwide/workdir/circuit_breaker) [INFO] [stderr] Compiling resilience v0.1.0 (/opt/rustwide/workdir/resilience) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.39s [INFO] running `Command { std: "docker" "inspect" "b603d87ecf1db70c762a01dac6edb8416c15705ee5f47d2c27658b8fdb25bbff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b603d87ecf1db70c762a01dac6edb8416c15705ee5f47d2c27658b8fdb25bbff", kill_on_drop: false }` [INFO] [stdout] b603d87ecf1db70c762a01dac6edb8416c15705ee5f47d2c27658b8fdb25bbff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fe55e6e5d78e831bf74d3d6e5008c2107f9479b551908d619f81fbcbb9963b6 [INFO] running `Command { std: "docker" "start" "-a" "3fe55e6e5d78e831bf74d3d6e5008c2107f9479b551908d619f81fbcbb9963b6", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling mockall_derive v0.11.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v1.2.1 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling resilience v0.1.0 (/opt/rustwide/workdir/resilience) [INFO] [stderr] Compiling proptest v1.0.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling mockall v0.11.1 [INFO] [stderr] Compiling retry v0.1.0 (/opt/rustwide/workdir/retry) [INFO] [stderr] Compiling circuit_breaker v0.1.0 (/opt/rustwide/workdir/circuit_breaker) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 44.33s [INFO] running `Command { std: "docker" "inspect" "3fe55e6e5d78e831bf74d3d6e5008c2107f9479b551908d619f81fbcbb9963b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe55e6e5d78e831bf74d3d6e5008c2107f9479b551908d619f81fbcbb9963b6", kill_on_drop: false }` [INFO] [stdout] 3fe55e6e5d78e831bf74d3d6e5008c2107f9479b551908d619f81fbcbb9963b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e844d2cf40749e0798f5ed3b755508a5b12abd2a74705e3897a5bcdb3273beeb [INFO] running `Command { std: "docker" "start" "-a" "e844d2cf40749e0798f5ed3b755508a5b12abd2a74705e3897a5bcdb3273beeb", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/circuit_breaker-de629e536cdca873) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test strategy::sequential::tests::on_error_increases_error_count ... ok [INFO] [stdout] test strategy::sequential::tests::closes_when_error_count_is_0 ... ok [INFO] [stdout] test tests::cb_can_be_opened_manually ... ok [INFO] [stdout] test tests::cb_can_be_half_opened_manually ... ok [INFO] [stdout] test tests::cb_starts_closed ... ok [INFO] [stdout] test strategy::sequential::tests::opens_when_max_error_count_is_reached ... ok [INFO] [stdout] test tests::cb_can_be_closed_manually ... ok [INFO] [stdout] test tests::retries_must_be_greater_than_0 - should panic ... ok [INFO] [stdout] test tests::add_backoff_between_retries ... ok [INFO] [stdout] test tests::can_avoid_retrying_if_error_is_unrecoverable ... ok [INFO] [stdout] test tests::can_retry_before_considering_a_call_as_failed ... ok [INFO] [stdout] test strategy::sequential::tests::goes_to_half_open_after_the_backoff_duration has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "e844d2cf40749e0798f5ed3b755508a5b12abd2a74705e3897a5bcdb3273beeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e844d2cf40749e0798f5ed3b755508a5b12abd2a74705e3897a5bcdb3273beeb", kill_on_drop: false }` [INFO] [stdout] e844d2cf40749e0798f5ed3b755508a5b12abd2a74705e3897a5bcdb3273beeb