[INFO] cloning repository https://github.com/dmexe/failsafe-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmexe/failsafe-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmexe%2Ffailsafe-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmexe%2Ffailsafe-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4117d7c9aa69934e1a419caf7e08a5bb2981ca33 [INFO] testing dmexe/failsafe-rs against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmexe%2Ffailsafe-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmexe/failsafe-rs on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmexe/failsafe-rs [INFO] finished tweaking git repo https://github.com/dmexe/failsafe-rs [INFO] tweaked toml for git repo https://github.com/dmexe/failsafe-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/dmexe/failsafe-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abbde5f40be43966b1bcc38aa0031d631f637fb2fc50185b274410458b3ec236 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "abbde5f40be43966b1bcc38aa0031d631f637fb2fc50185b274410458b3ec236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abbde5f40be43966b1bcc38aa0031d631f637fb2fc50185b274410458b3ec236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abbde5f40be43966b1bcc38aa0031d631f637fb2fc50185b274410458b3ec236", kill_on_drop: false }` [INFO] [stdout] abbde5f40be43966b1bcc38aa0031d631f637fb2fc50185b274410458b3ec236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d1bc3218a1762d5d5331258350b72e11058705bb2433308897568e7d9a8a7c2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2d1bc3218a1762d5d5331258350b72e11058705bb2433308897568e7d9a8a7c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling smallvec v1.5.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling failsafe v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.21s [INFO] running `Command { std: "docker" "inspect" "2d1bc3218a1762d5d5331258350b72e11058705bb2433308897568e7d9a8a7c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d1bc3218a1762d5d5331258350b72e11058705bb2433308897568e7d9a8a7c2", kill_on_drop: false }` [INFO] [stdout] 2d1bc3218a1762d5d5331258350b72e11058705bb2433308897568e7d9a8a7c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c32990d974ab7708006dd23072b1482c081444b6d35cf1539093f04b3738f43a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c32990d974ab7708006dd23072b1482c081444b6d35cf1539093f04b3738f43a", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling failsafe v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "c32990d974ab7708006dd23072b1482c081444b6d35cf1539093f04b3738f43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c32990d974ab7708006dd23072b1482c081444b6d35cf1539093f04b3738f43a", kill_on_drop: false }` [INFO] [stdout] c32990d974ab7708006dd23072b1482c081444b6d35cf1539093f04b3738f43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7e3fc5c734728f772065770935857ab828151bdce4d614ecc6cc5ca843526585 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7e3fc5c734728f772065770935857ab828151bdce4d614ecc6cc5ca843526585", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/failsafe-bbc7381069e5e1b8 [INFO] [stdout] running 30 tests [INFO] [stdout] test backoff::tests::exponential_growth ... ok [INFO] [stdout] test failure_policy::tests::consecutive_failures::reset_to_zero_on_revived ... ok [INFO] [stdout] test ema::tests::updates_are_time_invariant ... ok [INFO] [stdout] test failure_policy::tests::consecutive_failures::reset_to_zero_on_success ... ok [INFO] [stdout] test failure_policy::tests::consecutive_failures::fail_on_nth_attempt ... ok [INFO] [stdout] test backoff::tests::constant_growth ... ok [INFO] [stdout] test failure_policy::tests::or_else::compose_policies ... ok [INFO] [stdout] test failure_policy::tests::success_rate_over_time_window::fail_when_success_rate_not_met ... ok [INFO] [stdout] test failure_policy::tests::success_rate_over_time_window::revived_resets_failures ... ok [INFO] [stdout] test failure_predicate::tests::use_func_as_failure_predicate ... ok [INFO] [stdout] test circuit_breaker::tests::call_ok ... ok [INFO] [stdout] test ema::tests::compute ... ok [INFO] [stdout] test backoff::tests::full_jittered_growth ... ok [INFO] [stdout] test backoff::tests::equal_jittered_growth ... ok [INFO] [stdout] test windowed_adder::tests::sliding_over_small_window ... ok [INFO] [stdout] test circuit_breaker::tests::call_err ... ok [INFO] [stdout] test windowed_adder::tests::negative_sums ... ok [INFO] [stdout] test windowed_adder::tests::sliding_over_large_window ... ok [INFO] [stdout] test failure_policy::tests::consecutive_failures::iterates_over_backoff ... ok [INFO] [stdout] test ema::tests::reset ... ok [INFO] [stdout] test failure_policy::tests::success_rate_over_time_window::fractional_success_rate ... ok [INFO] [stdout] test failure_policy::tests::success_rate_over_time_window::respects_rps_threshold ... ok [INFO] [stdout] test futures::tests::call_err ... ok [INFO] [stdout] test circuit_breaker::tests::call_with ... ok [INFO] [stdout] test futures::tests::call_with ... ok [INFO] [stdout] test windowed_adder::tests::sum_when_time_stands_still ... ok [INFO] [stdout] test windowed_adder::tests::sliding_window_when_slices_are_skipped ... ok [INFO] [stdout] test state_machine::tests::state_machine ... ok [INFO] [stdout] test ema::tests::non_monotonic_timestamp ... ok [INFO] [stderr] Doc-tests failsafe [INFO] [stdout] test futures::tests::call_ok ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/futures/mod.rs - futures (line 7) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7e3fc5c734728f772065770935857ab828151bdce4d614ecc6cc5ca843526585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e3fc5c734728f772065770935857ab828151bdce4d614ecc6cc5ca843526585", kill_on_drop: false }` [INFO] [stdout] 7e3fc5c734728f772065770935857ab828151bdce4d614ecc6cc5ca843526585