[INFO] fetching crate kash 0.7.1... [INFO] testing kash-0.7.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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 c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15bf4a0d5177d587e5c963ac471251e2861da55fe5b75b62166cbba544b6987d [INFO] running `Command { std: "docker" "start" "-a" "15bf4a0d5177d587e5c963ac471251e2861da55fe5b75b62166cbba544b6987d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15bf4a0d5177d587e5c963ac471251e2861da55fe5b75b62166cbba544b6987d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bf4a0d5177d587e5c963ac471251e2861da55fe5b75b62166cbba544b6987d", kill_on_drop: false }` [INFO] [stdout] 15bf4a0d5177d587e5c963ac471251e2861da55fe5b75b62166cbba544b6987d [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd6490e8369318dbd4ca7ea98b86d36d694055def95a9451db2fc245a0073be8 [INFO] running `Command { std: "docker" "start" "-a" "cd6490e8369318dbd4ca7ea98b86d36d694055def95a9451db2fc245a0073be8", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling moka v0.12.10 [INFO] [stderr] Compiling lock_api v0.4.13 [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-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 10.88s [INFO] running `Command { std: "docker" "inspect" "cd6490e8369318dbd4ca7ea98b86d36d694055def95a9451db2fc245a0073be8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd6490e8369318dbd4ca7ea98b86d36d694055def95a9451db2fc245a0073be8", kill_on_drop: false }` [INFO] [stdout] cd6490e8369318dbd4ca7ea98b86d36d694055def95a9451db2fc245a0073be8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a18a6c231017c10b3f556ba4ea302f041cf07534b047c9885d6639174c09ab89 [INFO] running `Command { std: "docker" "start" "-a" "a18a6c231017c10b3f556ba4ea302f041cf07534b047c9885d6639174c09ab89", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling same-file v1.0.6 [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 walkdir v2.5.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 25.43s [INFO] running `Command { std: "docker" "inspect" "a18a6c231017c10b3f556ba4ea302f041cf07534b047c9885d6639174c09ab89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a18a6c231017c10b3f556ba4ea302f041cf07534b047c9885d6639174c09ab89", kill_on_drop: false }` [INFO] [stdout] a18a6c231017c10b3f556ba4ea302f041cf07534b047c9885d6639174c09ab89 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5175bce19527a59b49e21fd2b0a3f85e2534d6932b9617cc25d7ed538c3a655f [INFO] running `Command { std: "docker" "start" "-a" "5175bce19527a59b49e21fd2b0a3f85e2534d6932b9617cc25d7ed538c3a655f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kash-bf64cdbd3a5cf371) [INFO] [stderr] Running tests/disk.rs (/opt/rustwide/target/debug/deps/disk-6445d1d02c68cf7d) [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 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_str ... ok [INFO] [stdout] test cache_result_key ... ok [INFO] [stdout] test test_mutable_args ... ok [INFO] [stdout] test test_proc_kash_option ... ok [INFO] [stdout] test cache_result_no_default ... ok [INFO] [stdout] test test_string_cache ... ok [INFO] [stdout] test test_sized_cache ... ok [INFO] [stdout] test test_unbound_cache ... ok [INFO] [stdout] test test_racing_duplicate_keys_do_not_duplicate_sized_cache_ordering ... ok [INFO] [stderr] Running tests/redis.rs (/opt/rustwide/target/debug/deps/redis-f09f18f6e6d9c722) [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.03s [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] Doc-tests kash [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 118 | #[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] 99 | 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] 100 | 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] 101 | 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] 105 | #[error("error with disk cache `{0}`")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 104 + #[derive(Error)] [INFO] [stdout] 105 | enum ExampleError { [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 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] 89 | #[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] 71 | 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] 72 | 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] 73 | 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] 77 | #[error("error with redis cache `{0}`")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 76 + #[derive(Error)] [INFO] [stdout] 77 | enum ExampleError { [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 0.78s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.97s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "5175bce19527a59b49e21fd2b0a3f85e2534d6932b9617cc25d7ed538c3a655f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5175bce19527a59b49e21fd2b0a3f85e2534d6932b9617cc25d7ed538c3a655f", kill_on_drop: false }` [INFO] [stdout] 5175bce19527a59b49e21fd2b0a3f85e2534d6932b9617cc25d7ed538c3a655f