[INFO] fetching crate kash 0.7.1... [INFO] testing kash-0.7.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate kash 0.7.1 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kash 0.7.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0daea4303437c0f6ae96f292f2503e8e42ba803e29634f6bd8ee9960917738c [INFO] running `Command { std: "docker" "start" "-a" "d0daea4303437c0f6ae96f292f2503e8e42ba803e29634f6bd8ee9960917738c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0daea4303437c0f6ae96f292f2503e8e42ba803e29634f6bd8ee9960917738c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0daea4303437c0f6ae96f292f2503e8e42ba803e29634f6bd8ee9960917738c", kill_on_drop: false }` [INFO] [stdout] d0daea4303437c0f6ae96f292f2503e8e42ba803e29634f6bd8ee9960917738c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15d4bea794df57f35e8fedc2b0af82929b5d45333270812612e7f7b6156edb14 [INFO] running `Command { std: "docker" "start" "-a" "15d4bea794df57f35e8fedc2b0af82929b5d45333270812612e7f7b6156edb14", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling smallvec v1.15.1 [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 crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [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 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 11.99s [INFO] running `Command { std: "docker" "inspect" "15d4bea794df57f35e8fedc2b0af82929b5d45333270812612e7f7b6156edb14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d4bea794df57f35e8fedc2b0af82929b5d45333270812612e7f7b6156edb14", kill_on_drop: false }` [INFO] [stdout] 15d4bea794df57f35e8fedc2b0af82929b5d45333270812612e7f7b6156edb14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d53cb36ec2dab16799658e7a62e308aed38a6fe1bb2251ca228b6a8fd562b9f [INFO] running `Command { std: "docker" "start" "-a" "9d53cb36ec2dab16799658e7a62e308aed38a6fe1bb2251ca228b6a8fd562b9f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling googletest_macro v0.14.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [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 22.86s [INFO] running `Command { std: "docker" "inspect" "9d53cb36ec2dab16799658e7a62e308aed38a6fe1bb2251ca228b6a8fd562b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d53cb36ec2dab16799658e7a62e308aed38a6fe1bb2251ca228b6a8fd562b9f", kill_on_drop: false }` [INFO] [stdout] 9d53cb36ec2dab16799658e7a62e308aed38a6fe1bb2251ca228b6a8fd562b9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8202596771e7c01ded4b460ae1be01d837453887b430ffafcc5da16898411638 [INFO] running `Command { std: "docker" "start" "-a" "8202596771e7c01ded4b460ae1be01d837453887b430ffafcc5da16898411638", 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-8018710197325545) [INFO] [stderr] Running tests/disk.rs (/opt/rustwide/target/debug/deps/disk-07cbf2ecb8529589) [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] [stdout] [INFO] [stdout] running 10 tests [INFO] [stderr] Running tests/kash.rs (/opt/rustwide/target/debug/deps/kash-d44efbd39e935910) [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_mutable_args_str ... ok [INFO] [stdout] test test_sized_cache ... ok [INFO] [stdout] test test_unbound_cache ... ok [INFO] [stdout] test test_mutable_args ... ok [INFO] [stdout] test test_proc_kash_option ... 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-8ed4dd7af364c39a) [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] [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 69) ... FAILED [INFO] [stdout] test src/lib.rs - (line 97) ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] test src/lib.rs - (line 49) ... 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] 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] --> 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] --> 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] ---- 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] --> 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] --> 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] [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.18s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.42s; merged doctests compilation took 0.23s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8202596771e7c01ded4b460ae1be01d837453887b430ffafcc5da16898411638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8202596771e7c01ded4b460ae1be01d837453887b430ffafcc5da16898411638", kill_on_drop: false }` [INFO] [stdout] 8202596771e7c01ded4b460ae1be01d837453887b430ffafcc5da16898411638