[INFO] fetching crate kash 0.7.1... [INFO] testing kash-0.7.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kash 0.7.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate kash 0.7.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kash 0.7.1 [INFO] tweaked toml for crates.io crate kash 0.7.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kash 0.7.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kash 0.7.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcd7cdea271b0d1653564f4935f2228804f39aa560cbc26583528b342ae64d14 [INFO] running `Command { std: "docker" "start" "-a" "bcd7cdea271b0d1653564f4935f2228804f39aa560cbc26583528b342ae64d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcd7cdea271b0d1653564f4935f2228804f39aa560cbc26583528b342ae64d14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcd7cdea271b0d1653564f4935f2228804f39aa560cbc26583528b342ae64d14", kill_on_drop: false }` [INFO] [stdout] bcd7cdea271b0d1653564f4935f2228804f39aa560cbc26583528b342ae64d14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd5c43b62ecbda71aa7a2293b6cb52c8c6111bcc954318944e811acaad64ee96 [INFO] running `Command { std: "docker" "start" "-a" "fd5c43b62ecbda71aa7a2293b6cb52c8c6111bcc954318944e811acaad64ee96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling kash_macros v0.7.1 [INFO] [stderr] Compiling kash v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.41s [INFO] running `Command { std: "docker" "inspect" "fd5c43b62ecbda71aa7a2293b6cb52c8c6111bcc954318944e811acaad64ee96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd5c43b62ecbda71aa7a2293b6cb52c8c6111bcc954318944e811acaad64ee96", kill_on_drop: false }` [INFO] [stdout] fd5c43b62ecbda71aa7a2293b6cb52c8c6111bcc954318944e811acaad64ee96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ceb137d4b8da06fd353f1b50d20226a4843679b28b1410c14078b2b4e5b10b0 [INFO] running `Command { std: "docker" "start" "-a" "2ceb137d4b8da06fd353f1b50d20226a4843679b28b1410c14078b2b4e5b10b0", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling googletest_macro v0.14.2 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling googletest v0.14.2 [INFO] [stderr] Compiling kash v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.52s [INFO] running `Command { std: "docker" "inspect" "2ceb137d4b8da06fd353f1b50d20226a4843679b28b1410c14078b2b4e5b10b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ceb137d4b8da06fd353f1b50d20226a4843679b28b1410c14078b2b4e5b10b0", kill_on_drop: false }` [INFO] [stdout] 2ceb137d4b8da06fd353f1b50d20226a4843679b28b1410c14078b2b4e5b10b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] aeed765734844021a799d2259c1ac79dab0a31e318023181b5742c3aab9b5e48 [INFO] running `Command { std: "docker" "start" "-a" "aeed765734844021a799d2259c1ac79dab0a31e318023181b5742c3aab9b5e48", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kash-bf64cdbd3a5cf371) [INFO] [stdout] [INFO] [stderr] Running tests/disk.rs (/opt/rustwide/target/debug/deps/disk-6445d1d02c68cf7d) [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 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] [stderr] Running tests/kash.rs (/opt/rustwide/target/debug/deps/kash-50c0f585576ba253) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_mutable_args ... ok [INFO] [stdout] test test_mutable_args_str ... ok [INFO] [stdout] test cache_result_no_default ... ok [INFO] [stdout] test cache_result_key ... ok [INFO] [stdout] test test_string_cache ... ok [INFO] [stdout] test test_sized_cache ... ok [INFO] [stdout] test test_proc_kash_option ... ok [INFO] [stdout] test test_unbound_cache ... ok [INFO] [stdout] test test_racing_duplicate_keys_do_not_duplicate_sized_cache_ordering ... ok [INFO] [stdout] test test_sized_cache_key ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.02s [INFO] [stdout] [INFO] [stderr] Running tests/redis.rs (/opt/rustwide/target/debug/deps/redis-f09f18f6e6d9c722) [INFO] [stderr] Doc-tests kash [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 5 tests [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 69) stdout ---- [INFO] [stdout] error: you are using `redis` caching, but forgot to enable `redis_store` feature [INFO] [stdout] --> src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[kash(redis)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `kash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kash::RedisCacheError` [INFO] [stdout] --> src/lib.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 5 | use kash::{kash, RedisCacheError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `RedisCacheError` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:155:30 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(feature = "redis_store")] [INFO] [stdout] | ----------------------- the item is gated behind the `redis_store` feature [INFO] [stdout] 154 | #[cfg_attr(docsrs, doc(cfg(feature = "redis_store")))] [INFO] [stdout] 155 | pub use stores::{RedisCache, RedisCacheError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kash::AsyncRedisCache` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 6 | use kash::AsyncRedisCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `AsyncRedisCache` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(feature = "redis_tokio")] [INFO] [stdout] | ----------------------- the item is gated behind the `redis_tokio` feature [INFO] [stdout] 148 | #[cfg_attr(docsrs, doc(cfg(feature = "redis_tokio")))] [INFO] [stdout] 149 | pub use stores::AsyncRedisCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[error("error with redis cache `{0}`")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 97) stdout ---- [INFO] [stdout] error: you are using `disk` caching, but forgot to enable `disk_store` feature [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 24 | #[kash(disk)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `kash` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kash::DiskCacheError` [INFO] [stdout] --> src/lib.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 5 | use kash::{kash, DiskCacheError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `DiskCacheError` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:29 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "disk_store")] [INFO] [stdout] | ---------------------- the item is gated behind the `disk_store` feature [INFO] [stdout] 151 | #[cfg_attr(docsrs, doc(cfg(feature = "disk_store")))] [INFO] [stdout] 152 | pub use stores::{DiskCache, DiskCacheError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kash::DiskCache` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 6 | use kash::DiskCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `DiskCache` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:152:18 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "disk_store")] [INFO] [stdout] | ---------------------- the item is gated behind the `disk_store` feature [INFO] [stdout] 151 | #[cfg_attr(docsrs, doc(cfg(feature = "disk_store")))] [INFO] [stdout] 152 | pub use stores::{DiskCache, DiskCacheError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `thiserror` [INFO] [stdout] --> src/lib.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 7 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thiserror`, use `cargo add thiserror` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[error("error with disk cache `{0}`")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 69) [INFO] [stdout] src/lib.rs - (line 97) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.39s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.60s; merged doctests compilation took 0.21s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "aeed765734844021a799d2259c1ac79dab0a31e318023181b5742c3aab9b5e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeed765734844021a799d2259c1ac79dab0a31e318023181b5742c3aab9b5e48", kill_on_drop: false }` [INFO] [stdout] aeed765734844021a799d2259c1ac79dab0a31e318023181b5742c3aab9b5e48