[INFO] fetching crate retry-strategy 0.1.0...
[INFO] testing retry-strategy-0.1.0 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate retry-strategy 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate retry-strategy 0.1.0 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate retry-strategy 0.1.0
[INFO] finished tweaking crates.io crate retry-strategy 0.1.0
[INFO] tweaked toml for crates.io crate retry-strategy 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f3237fc59e3f5c9c66b09dd441dd889ec185efb788d4f41b617e57bfc87baee2
[INFO] running `Command { std: "docker" "start" "-a" "f3237fc59e3f5c9c66b09dd441dd889ec185efb788d4f41b617e57bfc87baee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f3237fc59e3f5c9c66b09dd441dd889ec185efb788d4f41b617e57bfc87baee2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3237fc59e3f5c9c66b09dd441dd889ec185efb788d4f41b617e57bfc87baee2", kill_on_drop: false }`
[INFO] [stdout] f3237fc59e3f5c9c66b09dd441dd889ec185efb788d4f41b617e57bfc87baee2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02a67584768e93b1d7abd837e011d7d9d078421201292c8500b36082e042a01b
[INFO] running `Command { std: "docker" "start" "-a" "02a67584768e93b1d7abd837e011d7d9d078421201292c8500b36082e042a01b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling retry-strategy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated functions `from_millis_with_base_factor` and `from_millis_with_factor` are never used
[INFO] [stdout]   --> src/strategy/mod.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Exponential {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_millis_with_base_factor(base: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn from_millis_with_factor(base: u64, factor: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_millis` is never used
[INFO] [stdout]    --> src/strategy/mod.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl Fixed {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 184 |     /// Create a new [`Fixed`] using the given duration in milliseconds.
[INFO] [stdout] 185 |     pub fn from_millis(millis: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.42s
[INFO] running `Command { std: "docker" "inspect" "02a67584768e93b1d7abd837e011d7d9d078421201292c8500b36082e042a01b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02a67584768e93b1d7abd837e011d7d9d078421201292c8500b36082e042a01b", kill_on_drop: false }`
[INFO] [stdout] 02a67584768e93b1d7abd837e011d7d9d078421201292c8500b36082e042a01b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 65c9e9c2edc8e0c0108ebce88bf8bb61ea4b6c5bf93f8a30e472eb020cdf44d9
[INFO] running `Command { std: "docker" "start" "-a" "65c9e9c2edc8e0c0108ebce88bf8bb61ea4b6c5bf93f8a30e472eb020cdf44d9", kill_on_drop: false }`
[INFO] [stdout] warning: associated functions `from_millis_with_base_factor` and `from_millis_with_factor` are never used
[INFO] [stdout]   --> src/strategy/mod.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Exponential {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_millis_with_base_factor(base: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn from_millis_with_factor(base: u64, factor: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling retry-strategy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `from_millis` is never used
[INFO] [stdout]    --> src/strategy/mod.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl Fixed {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 184 |     /// Create a new [`Fixed`] using the given duration in milliseconds.
[INFO] [stdout] 185 |     pub fn from_millis(millis: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_millis_with_base_factor` is never used
[INFO] [stdout]   --> src/strategy/mod.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl Exponential {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn from_millis_with_base_factor(base: u64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_millis` is never used
[INFO] [stdout]    --> src/strategy/mod.rs:185:12
[INFO] [stdout]     |
[INFO] [stdout] 183 | impl Fixed {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 184 |     /// Create a new [`Fixed`] using the given duration in milliseconds.
[INFO] [stdout] 185 |     pub fn from_millis(millis: u64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.74s
[INFO] running `Command { std: "docker" "inspect" "65c9e9c2edc8e0c0108ebce88bf8bb61ea4b6c5bf93f8a30e472eb020cdf44d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65c9e9c2edc8e0c0108ebce88bf8bb61ea4b6c5bf93f8a30e472eb020cdf44d9", kill_on_drop: false }`
[INFO] [stdout] 65c9e9c2edc8e0c0108ebce88bf8bb61ea4b6c5bf93f8a30e472eb020cdf44d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ee51a4e1818b09b162b188d683cff869eb44a378c7d3a5e2abfd252b4d4aa876
[INFO] running `Command { std: "docker" "start" "-a" "ee51a4e1818b09b162b188d683cff869eb44a378c7d3a5e2abfd252b4d4aa876", kill_on_drop: false }`
[INFO] [stderr] warning: associated functions `from_millis_with_base_factor` and `from_millis_with_factor` are never used
[INFO] [stderr]   --> src/strategy/mod.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl Exponential {
[INFO] [stderr]    | ---------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn from_millis_with_base_factor(base: u64) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn from_millis_with_factor(base: u64, factor: f64) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_millis` is never used
[INFO] [stderr]    --> src/strategy/mod.rs:185:12
[INFO] [stderr]     |
[INFO] [stderr] 183 | impl Fixed {
[INFO] [stderr]     | ---------- associated function in this implementation
[INFO] [stderr] 184 |     /// Create a new [`Fixed`] using the given duration in milliseconds.
[INFO] [stderr] 185 |     pub fn from_millis(millis: u64) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `from_millis_with_base_factor` is never used
[INFO] [stderr]   --> src/strategy/mod.rs:53:12
[INFO] [stderr]    |
[INFO] [stderr] 40 | impl Exponential {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 53 |     pub fn from_millis_with_base_factor(base: u64) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `retry-strategy` (lib) generated 2 warnings
[INFO] [stderr] warning: `retry-strategy` (lib test) generated 2 warnings (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/retry_strategy-2e0abd53be4e8ef2)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test strategy::exponential_with_factor ... ok
[INFO] [stdout] test strategy::exponential_overflow ... ok
[INFO] [stdout] test strategy::fibonacci ... ok
[INFO] [stdout] test strategy::fibonacci_saturated ... ok
[INFO] [stdout] test strategy::test_opportunity ... ok
[INFO] [stdout] test tests::test_retry ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests retry-strategy
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - retry (line 15) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - retry (line 15) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `retry` in this scope
[INFO] [stdout]  --> src/lib.rs:16:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | let res = retry(
[INFO] [stdout]   |           ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 2 + use retry_strategy::retry;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]  --> src/lib.rs:19:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         sleep(Duration::from_millis(250)).await;
[INFO] [stdout]   |         ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::thread::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::time::sleep;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]  --> src/lib.rs:19:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |         sleep(Duration::from_millis(250)).await;
[INFO] [stdout]   |               ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tokio::time::Duration;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:22:2
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_15_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | ).await;
[INFO] [stdout]   |  ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Opportunity` in this scope
[INFO] [stdout]  --> src/lib.rs:17:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     Opportunity(vec![100, 200, 300]),
[INFO] [stdout]   |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - retry (line 15)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ee51a4e1818b09b162b188d683cff869eb44a378c7d3a5e2abfd252b4d4aa876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee51a4e1818b09b162b188d683cff869eb44a378c7d3a5e2abfd252b4d4aa876", kill_on_drop: false }`
[INFO] [stdout] ee51a4e1818b09b162b188d683cff869eb44a378c7d3a5e2abfd252b4d4aa876
