[INFO] fetching crate majordome-cache 1.0.5... [INFO] testing majordome-cache-1.0.5 against 1.90.0 for beta-1.91-3 [INFO] extracting crate majordome-cache 1.0.5 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate majordome-cache 1.0.5 [INFO] finished tweaking crates.io crate majordome-cache 1.0.5 [INFO] tweaked toml for crates.io crate majordome-cache 1.0.5 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate majordome-cache 1.0.5 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate majordome-cache 1.0.5 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.81 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded event-listener-strategy v0.4.0 [INFO] [stderr] Downloaded event-listener v4.0.3 [INFO] [stderr] Downloaded serde_derive v1.0.200 [INFO] [stderr] Downloaded async-lock v3.3.0 [INFO] [stderr] Downloaded moka v0.12.7 [INFO] [stderr] Downloaded raw-cpuid v11.0.2 [INFO] [stderr] Downloaded serde v1.0.200 [INFO] [stderr] Downloaded majordome v1.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cf163107317c14ee6c28b8b3fcea77f84285beebfb6729c8ddcbe316d81b5a7 [INFO] running `Command { std: "docker" "start" "-a" "6cf163107317c14ee6c28b8b3fcea77f84285beebfb6729c8ddcbe316d81b5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cf163107317c14ee6c28b8b3fcea77f84285beebfb6729c8ddcbe316d81b5a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cf163107317c14ee6c28b8b3fcea77f84285beebfb6729c8ddcbe316d81b5a7", kill_on_drop: false }` [INFO] [stdout] 6cf163107317c14ee6c28b8b3fcea77f84285beebfb6729c8ddcbe316d81b5a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6f390219c4f2a47e755984f777bd9ecbe0e5a02dc3a86b50bf05e492a48b8f2 [INFO] running `Command { std: "docker" "start" "-a" "e6f390219c4f2a47e755984f777bd9ecbe0e5a02dc3a86b50bf05e492a48b8f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling moka v0.12.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling triomphe v0.1.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling raw-cpuid v11.0.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling majordome v1.0.12 [INFO] [stderr] Compiling majordome-cache v1.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/appmod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.35s [INFO] running `Command { std: "docker" "inspect" "e6f390219c4f2a47e755984f777bd9ecbe0e5a02dc3a86b50bf05e492a48b8f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f390219c4f2a47e755984f777bd9ecbe0e5a02dc3a86b50bf05e492a48b8f2", kill_on_drop: false }` [INFO] [stdout] e6f390219c4f2a47e755984f777bd9ecbe0e5a02dc3a86b50bf05e492a48b8f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca882945a7655de76d6317d95fc47fdf72230d722e7d0e292afffe980eeb2e8 [INFO] running `Command { std: "docker" "start" "-a" "2ca882945a7655de76d6317d95fc47fdf72230d722e7d0e292afffe980eeb2e8", kill_on_drop: false }` [INFO] [stderr] Compiling majordome-cache v1.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/appmod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/appmod.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "2ca882945a7655de76d6317d95fc47fdf72230d722e7d0e292afffe980eeb2e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca882945a7655de76d6317d95fc47fdf72230d722e7d0e292afffe980eeb2e8", kill_on_drop: false }` [INFO] [stdout] 2ca882945a7655de76d6317d95fc47fdf72230d722e7d0e292afffe980eeb2e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 864837a78bc1ca2c02d2ad9f4c7a5157f881a5205bc7fc8fe54d9d0975ca0bc5 [INFO] running `Command { std: "docker" "start" "-a" "864837a78bc1ca2c02d2ad9f4c7a5157f881a5205bc7fc8fe54d9d0975ca0bc5", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/appmod.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter { [INFO] [stderr] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn key(&self, key: T) -> MajordomeCacheGetter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `majordome-cache` (lib) generated 1 warning [INFO] [stderr] warning: `majordome-cache` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/majordome_cache-bdafb5bde3f9e9dc) [INFO] [stderr] Doc-tests majordome_cache [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 1 test [INFO] [stdout] test src/appmod.rs - appmod::MajordomeCache::key (line 74) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/appmod.rs - appmod::MajordomeCache::key (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/appmod.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 4 | tokio::time::sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/appmod.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 4 | tokio::time::sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `app` in this scope [INFO] [stdout] --> src/appmod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 8 | let cache = app.get::()?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MajordomeCache` in this scope [INFO] [stdout] --> src/appmod.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 8 | let cache = app.get::()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use majordome_cache::MajordomeCache; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/appmod.rs:81:67 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_appmod_rs_74_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | cache.key(("key1", 1, 5)).ttl(60).try_get_with(your_async_getter).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/appmod.rs - appmod::MajordomeCache::key (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "864837a78bc1ca2c02d2ad9f4c7a5157f881a5205bc7fc8fe54d9d0975ca0bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864837a78bc1ca2c02d2ad9f4c7a5157f881a5205bc7fc8fe54d9d0975ca0bc5", kill_on_drop: false }` [INFO] [stdout] 864837a78bc1ca2c02d2ad9f4c7a5157f881a5205bc7fc8fe54d9d0975ca0bc5