[INFO] fetching crate backoff-futures 0.3.2... [INFO] testing backoff-futures-0.3.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate backoff-futures 0.3.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate backoff-futures 0.3.2 [INFO] finished tweaking crates.io crate backoff-futures 0.3.2 [INFO] tweaked toml for crates.io crate backoff-futures 0.3.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate backoff-futures 0.3.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 129 packages to latest compatible versions [INFO] [stderr] Adding backoff v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding isahc v0.9.14 (available: v1.7.2) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a9570d2705faac2bf988cf1ce722b5285ed951d54ec3c1579fd528b8f3724d1 [INFO] running `Command { std: "docker" "start" "-a" "1a9570d2705faac2bf988cf1ce722b5285ed951d54ec3c1579fd528b8f3724d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a9570d2705faac2bf988cf1ce722b5285ed951d54ec3c1579fd528b8f3724d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a9570d2705faac2bf988cf1ce722b5285ed951d54ec3c1579fd528b8f3724d1", kill_on_drop: false }` [INFO] [stdout] 1a9570d2705faac2bf988cf1ce722b5285ed951d54ec3c1579fd528b8f3724d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bdede29a8d19dbaa7a38aa81519607174cd85fbe5ec9594f5c89be8d0585ea1 [INFO] running `Command { std: "docker" "start" "-a" "7bdede29a8d19dbaa7a38aa81519607174cd85fbe5ec9594f5c89be8d0585ea1", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling backoff v0.2.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling backoff-futures v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.93s [INFO] running `Command { std: "docker" "inspect" "7bdede29a8d19dbaa7a38aa81519607174cd85fbe5ec9594f5c89be8d0585ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bdede29a8d19dbaa7a38aa81519607174cd85fbe5ec9594f5c89be8d0585ea1", kill_on_drop: false }` [INFO] [stdout] 7bdede29a8d19dbaa7a38aa81519607174cd85fbe5ec9594f5c89be8d0585ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f4162076e20359863e29195cd139d672e6b4ca84f33fc3c2e6d25cb8bdf3291 [INFO] running `Command { std: "docker" "start" "-a" "5f4162076e20359863e29195cd139d672e6b4ca84f33fc3c2e6d25cb8bdf3291", kill_on_drop: false }` [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.84+curl-8.17.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling backoff-futures v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lib.rs:227:10 [INFO] [stdout] | [INFO] [stdout] 227 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stdout] --> src/lib.rs:168:49 [INFO] [stdout] | [INFO] [stdout] 168 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stdout] --> src/lib.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stdout] --> src/lib.rs:195:49 [INFO] [stdout] | [INFO] [stdout] 195 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stdout] --> src/lib.rs:207:49 [INFO] [stdout] | [INFO] [stdout] 207 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `BackoffExt::with_backoff_notify`: Use the built-in `backoff::future` async support [INFO] [stdout] --> src/lib.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | let result = runtime.block_on(do_work.with_backoff_notify(&mut backoff, |e, d| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:244:24 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(CALL_COUNTER, CALLS_TO_SUCCESS); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.77s [INFO] running `Command { std: "docker" "inspect" "5f4162076e20359863e29195cd139d672e6b4ca84f33fc3c2e6d25cb8bdf3291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f4162076e20359863e29195cd139d672e6b4ca84f33fc3c2e6d25cb8bdf3291", kill_on_drop: false }` [INFO] [stdout] 5f4162076e20359863e29195cd139d672e6b4ca84f33fc3c2e6d25cb8bdf3291 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92b45a4971362db347bc6fafa019c75d98bd61206020690624a9c40f541ef503 [INFO] running `Command { std: "docker" "start" "-a" "92b45a4971362db347bc6fafa019c75d98bd61206020690624a9c40f541ef503", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lib.rs:227:10 [INFO] [stderr] | [INFO] [stderr] 227 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stderr] --> src/lib.rs:168:49 [INFO] [stderr] | [INFO] [stderr] 168 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stderr] --> src/lib.rs:180:49 [INFO] [stderr] | [INFO] [stderr] 180 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stderr] --> src/lib.rs:195:49 [INFO] [stderr] | [INFO] [stderr] 195 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `BackoffExt::with_backoff`: Use the built-in `backoff::future` async support [INFO] [stderr] --> src/lib.rs:207:49 [INFO] [stderr] | [INFO] [stderr] 207 | futures::executor::block_on(do_work.with_backoff(&mut backoff)); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `BackoffExt::with_backoff_notify`: Use the built-in `backoff::future` async support [INFO] [stderr] --> src/lib.rs:238:47 [INFO] [stderr] | [INFO] [stderr] 238 | let result = runtime.block_on(do_work.with_backoff_notify(&mut backoff, |e, d| { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:244:24 [INFO] [stderr] | [INFO] [stderr] 244 | assert_eq!(CALL_COUNTER, CALLS_TO_SUCCESS); [INFO] [stderr] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `backoff-futures` (lib test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/backoff_futures-fffccf598b0e50f0) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_with_closure_when_future_succeeds ... ok [INFO] [stdout] test tests::test_with_closure_when_future_fails_with_permanent_error ... ok [INFO] [stdout] test tests::test_when_future_succeeds ... ok [INFO] [stdout] test tests::test_with_async_fn_when_future_succeeds ... ok [INFO] [stdout] test tests::test_with_async_fn_when_future_fails_for_some_time ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests backoff_futures [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.58s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "92b45a4971362db347bc6fafa019c75d98bd61206020690624a9c40f541ef503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92b45a4971362db347bc6fafa019c75d98bd61206020690624a9c40f541ef503", kill_on_drop: false }` [INFO] [stdout] 92b45a4971362db347bc6fafa019c75d98bd61206020690624a9c40f541ef503