[INFO] fetching crate retry-strategy 0.2.0...
[INFO] testing retry-strategy-0.2.0 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate retry-strategy 0.2.0 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate retry-strategy 0.2.0
[INFO] finished tweaking crates.io crate retry-strategy 0.2.0
[INFO] tweaked toml for crates.io crate retry-strategy 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate retry-strategy 0.2.0 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] running `"cargo" "+1.101.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 26 packages to highest compatible versions
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced
[INFO] running `"docker" "start" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "inspect" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling unicode-ident v1.0.27
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling pin-project-lite v0.2.18
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling syn v3.0.10
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling mio v1.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling pin-project-internal v1.2.0
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling tokio v1.54.1
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling pin-project v1.2.0
[INFO] [stderr]    Compiling futures-executor v0.3.34
[INFO] [stderr]    Compiling futures v0.3.34
[INFO] [stderr]    Compiling retry-strategy v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> src/strategy/mod.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::u64::MAX as U64_MAX;
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:56:35
[INFO] [stdout]    |
[INFO] [stdout] 56 |         self.current = if next > (U64_MAX as f64) {
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             U64_MAX
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |             self.next = U64_MAX;
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 12.69s
[INFO] running `"docker" "inspect" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling pin-project-lite v0.2.18
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]    Compiling libc v0.2.191
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling pin-project v1.2.0
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling mio v1.2.5
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling tokio v1.54.1
[INFO] [stderr]    Compiling futures-executor v0.3.34
[INFO] [stderr]    Compiling futures v0.3.34
[INFO] [stderr]    Compiling retry-strategy v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> src/strategy/mod.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::u64::MAX as U64_MAX;
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:56:35
[INFO] [stdout]    |
[INFO] [stdout] 56 |         self.current = if next > (U64_MAX as f64) {
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             U64_MAX
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |             self.next = U64_MAX;
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `random`
[INFO] [stdout]  --> src/strategy/mod.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[cfg(feature = "random")]
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]  --> src/strategy/mod.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::u64::MAX as U64_MAX;
[INFO] [stdout]   |               ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:56:35
[INFO] [stdout]    |
[INFO] [stdout] 56 |         self.current = if next > (U64_MAX as f64) {
[INFO] [stdout]    |                                   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]   --> src/strategy/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             U64_MAX
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |             self.next = U64_MAX;
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:166:19
[INFO] [stdout]     |
[INFO] [stdout] 166 |     use std::u64::MAX as U64_MAX;
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:190:49
[INFO] [stdout]     |
[INFO] [stdout] 190 |         let mut iter = Exponential::from_millis(U64_MAX);
[INFO] [stdout]     |                                                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:191:60
[INFO] [stdout]     |
[INFO] [stdout] 191 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stdout]     |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:192:60
[INFO] [stdout]     |
[INFO] [stdout] 192 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stdout]     |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:208:47
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let mut iter = Fibonacci::from_millis(U64_MAX);
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:209:60
[INFO] [stdout]     |
[INFO] [stdout] 209 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stdout]     |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stdout]    --> src/strategy/mod.rs:210:60
[INFO] [stdout]     |
[INFO] [stdout] 210 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stdout]     |                                                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 17.97s
[INFO] running `"docker" "inspect" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unexpected `cfg` condition value: `random`
[INFO] [stderr]  --> src/strategy/mod.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | #[cfg(feature = "random")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `random`
[INFO] [stderr]  --> src/strategy/mod.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[cfg(feature = "random")]
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = help: consider adding `random` as a feature in `Cargo.toml`
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]  --> src/strategy/mod.rs:4:15
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::u64::MAX as U64_MAX;
[INFO] [stderr]   |               ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/strategy/mod.rs:56:35
[INFO] [stderr]    |
[INFO] [stderr] 56 |         self.current = if next > (U64_MAX as f64) {
[INFO] [stderr]    |                                   ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]   --> src/strategy/mod.rs:57:13
[INFO] [stderr]    |
[INFO] [stderr] 57 |             U64_MAX
[INFO] [stderr]    |             ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:107:25
[INFO] [stderr]     |
[INFO] [stderr] 107 |             self.next = U64_MAX;
[INFO] [stderr]     |                         ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:166:19
[INFO] [stderr]     |
[INFO] [stderr] 166 |     use std::u64::MAX as U64_MAX;
[INFO] [stderr]     |                   ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:190:49
[INFO] [stderr]     |
[INFO] [stderr] 190 |         let mut iter = Exponential::from_millis(U64_MAX);
[INFO] [stderr]     |                                                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:191:60
[INFO] [stderr]     |
[INFO] [stderr] 191 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stderr]     |                                                            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:192:60
[INFO] [stderr]     |
[INFO] [stderr] 192 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stderr]     |                                                            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:208:47
[INFO] [stderr]     |
[INFO] [stderr] 208 |         let mut iter = Fibonacci::from_millis(U64_MAX);
[INFO] [stderr]     |                                               ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:209:60
[INFO] [stderr]     |
[INFO] [stderr] 209 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stderr]     |                                                            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::u64::MAX`: replaced by the `MAX` associated constant on this type
[INFO] [stderr]    --> src/strategy/mod.rs:210:60
[INFO] [stderr]     |
[INFO] [stderr] 210 |         assert_eq!(iter.next(), Some(Duration::from_millis(U64_MAX)));
[INFO] [stderr]     |                                                            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `retry-strategy` (lib) generated 6 warnings
[INFO] [stderr] warning: `retry-strategy` (lib test) generated 13 warnings (6 duplicates)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/retry-strategy/34eef36cb6becb4a/out/retry_strategy-34eef36cb6becb4a)
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test strategy::tests::fibonacci_saturated ... ok
[INFO] [stdout] test strategy::tests::exponential_overflow ... ok
[INFO] [stdout] test strategy::tests::fibonacci ... ok
[INFO] [stdout] test strategy::tests::exponential_with_factor ... ok
[INFO] [stdout] test strategy::tests::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.56s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests retry_strategy
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - retry (line 63) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - retry (line 63) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]   --> src/lib.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         sleep(Duration::from_millis(250)).await;
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 63 + use std::thread::sleep;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope
[INFO] [stdout]   --> src/lib.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |         sleep(Duration::from_millis(250)).await;
[INFO] [stdout]    |               ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 63 + use std::time::Duration;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:70:3
[INFO] [stdout]    |
[INFO] [stdout] 63 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_63_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 70 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `ms` on ambiguous numeric type `{integer}`
[INFO] [stdout]   --> src/lib.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100.ms(), 200.ms(), 300.ms()],
[INFO] [stdout]    |              ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100_i32.ms(), 200.ms(), 300.ms()],
[INFO] [stdout]    |             ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `ms` on ambiguous numeric type `{integer}`
[INFO] [stdout]   --> src/lib.rs:65:24
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100.ms(), 200.ms(), 300.ms()],
[INFO] [stdout]    |                        ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100.ms(), 200_i32.ms(), 300.ms()],
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0689]: can't call method `ms` on ambiguous numeric type `{integer}`
[INFO] [stdout]   --> src/lib.rs:65:34
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100.ms(), 200.ms(), 300.ms()],
[INFO] [stdout]    |                                  ^^
[INFO] [stdout]    |
[INFO] [stdout] help: you must specify a concrete type for this numeric value, like `i32`
[INFO] [stdout]    |
[INFO] [stdout] 65 |     vec![100.ms(), 200.ms(), 300_i32.ms()],
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `retry` in this scope
[INFO] [stdout]   --> src/lib.rs:64:11
[INFO] [stdout]    |
[INFO] [stdout] 64 | let res = retry(
[INFO] [stdout]    |           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0689, 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 63)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] running `"docker" "rm" "-f" "cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced"`
[INFO] [stdout] cbe6249eb985fc0c1aa32b9c323dd85c9549d1ea58961128c4612b5f5a026ced
