[INFO] fetching crate keen-retry 0.5.3... [INFO] testing keen-retry-0.5.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate keen-retry 0.5.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate keen-retry 0.5.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate keen-retry 0.5.3 [INFO] tweaked toml for crates.io crate keen-retry 0.5.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate keen-retry 0.5.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate keen-retry 0.5.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtor v0.1.0 [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] [stderr] Downloaded ctor v0.5.0 [INFO] [stderr] Downloaded dtor-proc-macro v0.0.6 [INFO] [stderr] Downloaded plotters-svg v0.3.6 [INFO] [stderr] Downloaded plotters-backend v0.3.6 [INFO] [stderr] Downloaded oorandom v11.1.4 [INFO] [stderr] Downloaded serde v1.0.208 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded serde_derive v1.0.208 [INFO] [stderr] Downloaded cc v1.1.13 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] [stderr] Downloaded plotters v0.3.6 [INFO] [stderr] Downloaded tokio v1.39.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3347407bb24de9a095ff9b3d57e6a3dc906a7bf17f25ee0685d359ed6f57243a [INFO] running `Command { std: "docker" "start" "-a" "3347407bb24de9a095ff9b3d57e6a3dc906a7bf17f25ee0685d359ed6f57243a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3347407bb24de9a095ff9b3d57e6a3dc906a7bf17f25ee0685d359ed6f57243a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3347407bb24de9a095ff9b3d57e6a3dc906a7bf17f25ee0685d359ed6f57243a", kill_on_drop: false }` [INFO] [stdout] 3347407bb24de9a095ff9b3d57e6a3dc906a7bf17f25ee0685d359ed6f57243a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a32d57676ab55c5198417d8d6be5230f95709ef18d6d430a8555ef6e9088aa4 [INFO] running `Command { std: "docker" "start" "-a" "2a32d57676ab55c5198417d8d6be5230f95709ef18d6d430a8555ef6e9088aa4", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling keen-retry v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.21s [INFO] running `Command { std: "docker" "inspect" "2a32d57676ab55c5198417d8d6be5230f95709ef18d6d430a8555ef6e9088aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a32d57676ab55c5198417d8d6be5230f95709ef18d6d430a8555ef6e9088aa4", kill_on_drop: false }` [INFO] [stdout] 2a32d57676ab55c5198417d8d6be5230f95709ef18d6d430a8555ef6e9088aa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a61bbb22644d125d804c19d34255f5b2f960eb821a7dfe1bb888c01c17ee4022 [INFO] running `Command { std: "docker" "start" "-a" "a61bbb22644d125d804c19d34255f5b2f960eb821a7dfe1bb888c01c17ee4022", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling dtor v0.1.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling ctor v0.5.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling clap v4.5.16 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling keen-retry v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 51.04s [INFO] running `Command { std: "docker" "inspect" "a61bbb22644d125d804c19d34255f5b2f960eb821a7dfe1bb888c01c17ee4022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a61bbb22644d125d804c19d34255f5b2f960eb821a7dfe1bb888c01c17ee4022", kill_on_drop: false }` [INFO] [stdout] a61bbb22644d125d804c19d34255f5b2f960eb821a7dfe1bb888c01c17ee4022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e06d522e8cb7b650f9e235328e88defaa9693bced9ab06784d1f0df1a8ab0a7 [INFO] running `Command { std: "docker" "start" "-a" "8e06d522e8cb7b650f9e235328e88defaa9693bced9ab06784d1f0df1a8ab0a7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/keen_retry-4e1c6c6d54f9471d) [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/external_lib.rs (/opt/rustwide/target/debug/deps/external_lib-09a1c84fdcf83678) [INFO] [stdout] test keen_retry_executors::common::tests::test_exponential_jitter ... ok [INFO] [stderr] Running tests/use_cases.rs (/opt/rustwide/target/debug/deps/use_cases-09eae03c03abf685) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test bail_out_of_retrying ... ok [INFO] [stdout] test optable_api ... ok [INFO] [stdout] test into_result_mapping_errors ... ok [INFO] [stdout] test zero_cost_abstractions ... ok [INFO] [stdout] test simple_retries ... ok [INFO] [stderr] Doc-tests keen_retry [INFO] [stdout] test partial_completion_with_continuation_closure ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.22s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - (line 74) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 155) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | .exponential_jitter_backoff(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 162 - .exponential_jitter_backoff(...) [INFO] [stdout] 162 + .exponential_jitter_backoff(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 162 - .exponential_jitter_backoff(...) [INFO] [stdout] 162 + .exponential_jitter_backoff(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | .exponential_jitter_backoff(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 162 - .exponential_jitter_backoff(...) [INFO] [stdout] 162 + .exponential_jitter_backoff(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | .inspect_recovered(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 163 - .inspect_recovered(...) [INFO] [stdout] 163 + .inspect_recovered(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 163 - .inspect_recovered(...) [INFO] [stdout] 163 + .inspect_recovered(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 163 | .inspect_recovered(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 163 - .inspect_recovered(...) [INFO] [stdout] 163 + .inspect_recovered(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | .map_ok(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 164 - .map_ok(...) [INFO] [stdout] 164 + .map_ok(..) [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 164 - .map_ok(...) [INFO] [stdout] 164 + .map_ok(..=) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | .map_ok(...) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 164 - .map_ok(...) [INFO] [stdout] 164 + .map_ok(..) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `your_metrics_aggregation` in this scope [INFO] [stdout] --> src/lib.rs:165:31 [INFO] [stdout] | [INFO] [stdout] 165 | .into_result_mapping_errors(your_metrics_aggregation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:157:35 [INFO] [stdout] | [INFO] [stdout] 155 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_155_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] 156 | // One attempt produces a retry-aware value. [INFO] [stdout] 157 | let attempt = connect_to_server().await; // -> RetryResult<...> [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect_to_server` in this scope [INFO] [stdout] --> src/lib.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | let attempt = connect_to_server().await; // -> RetryResult<...> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `connect_to_server` in this scope [INFO] [stdout] --> src/lib.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | .retry_with_async(|_| connect_to_server()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 59) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn connect_to_server(&self) -> RetryProcedureResult { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RetryProcedureResult` in this scope [INFO] [stdout] --> src/lib.rs:61:42 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn connect_to_server(&self) -> RetryProcedureResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 59 + use keen_retry::RetryProcedureResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ConnectionErrors` in this scope [INFO] [stdout] --> src/lib.rs:61:63 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn connect_to_server(&self) -> RetryProcedureResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn connect_to_server(&self) -> RetryProcedureResult { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RetryResult` in this scope [INFO] [stdout] --> src/lib.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | true => RetryResult::Fatal { input: (), error }, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RetryResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 59 + use keen_retry::RetryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RetryResult` in this scope [INFO] [stdout] --> src/lib.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | false => RetryResult::Transient { input: (), error }, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RetryResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 59 + use keen_retry::RetryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RetryResult` in this scope [INFO] [stdout] --> src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | |_| RetryResult::Ok { reported_input: (), output: () }) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `RetryResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 59 + use keen_retry::RetryResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 74) stdout ---- [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> src/lib.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | let resolved = connect_to_server() [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | `let` cannot be used for global variables [INFO] [stdout] | help: consider using `static` or `const` instead of `let` [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 155) [INFO] [stdout] src/lib.rs - (line 59) [INFO] [stdout] src/lib.rs - (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8e06d522e8cb7b650f9e235328e88defaa9693bced9ab06784d1f0df1a8ab0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e06d522e8cb7b650f9e235328e88defaa9693bced9ab06784d1f0df1a8ab0a7", kill_on_drop: false }` [INFO] [stdout] 8e06d522e8cb7b650f9e235328e88defaa9693bced9ab06784d1f0df1a8ab0a7