[INFO] cloning repository https://github.com/adityasupugade/read-through-lru-cache
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adityasupugade/read-through-lru-cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadityasupugade%2Fread-through-lru-cache", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadityasupugade%2Fread-through-lru-cache'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc2b0408cfd253e6717ee82f1fc595de92159209
[INFO] checking adityasupugade/read-through-lru-cache against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadityasupugade%2Fread-through-lru-cache" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/adityasupugade/read-through-lru-cache
[INFO] finished tweaking git repo https://github.com/adityasupugade/read-through-lru-cache
[INFO] tweaked toml for git repo https://github.com/adityasupugade/read-through-lru-cache written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/adityasupugade/read-through-lru-cache on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/adityasupugade/read-through-lru-cache 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] [stderr]   Downloaded tokio v1.21.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8c40cb13b4f3df6b447b74a60ffc42ffdd609c7f353d0b56980797e2f627958
[INFO] running `Command { std: "docker" "start" "-a" "b8c40cb13b4f3df6b447b74a60ffc42ffdd609c7f353d0b56980797e2f627958", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8c40cb13b4f3df6b447b74a60ffc42ffdd609c7f353d0b56980797e2f627958", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8c40cb13b4f3df6b447b74a60ffc42ffdd609c7f353d0b56980797e2f627958", kill_on_drop: false }`
[INFO] [stdout] b8c40cb13b4f3df6b447b74a60ffc42ffdd609c7f353d0b56980797e2f627958
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] edddb248adcdd291e0e817029d8c8b1ae9ee69d66bba934ddd5f9cb01a963e81
[INFO] running `Command { std: "docker" "start" "-a" "edddb248adcdd291e0e817029d8c8b1ae9ee69d66bba934ddd5f9cb01a963e81", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling syn v1.0.100
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling async-trait v0.1.57
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling tokio v1.21.1
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking lru v0.7.8
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.22
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking read-through-cache v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout]   --> src/cache.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct CacheStats {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReadThroughCache` is never constructed
[INFO] [stdout]   --> src/cache.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct ReadThroughCache<K, V, S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CacheAction` is never used
[INFO] [stdout]   --> src/cache.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub enum CacheAction<K, V> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `GetResponse` is never used
[INFO] [stdout]   --> src/cache.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub enum GetResponse<V> {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FetchData` is never used
[INFO] [stdout]   --> src/cache.rs:52:11
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub trait FetchData<K, V, S>: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cache.rs:58:12
[INFO] [stdout]     |
[INFO] [stdout]  56 | / impl <K, V, S> ReadThroughCache<K, V, S>
[INFO] [stdout]  57 | | where K: 'static+PartialEq+Hash+Eq+Send+Clone+Debug, V: 'static+PartialEq+Eq+Send+Clone {
[INFO] [stdout]     | |_______________________________________________________________________________________- associated items in this implementation
[INFO] [stdout]  58 |       pub fn new(limit: usize, fetch_obj: Arc<dyn FetchData<K, V, S>>) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |       pub async fn start(&self, rt: Arc<Runtime>) {
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |       async fn cache_loop(mut rx : Receiver<CacheAction<K, V>>, limit: usize) {
[INFO] [stdout]     |                ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 154 |       pub async fn get(&self, key: K, fetch_info: S) -> Result<V, Error> {
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 |       async fn put(&self, key: K, value: Result<V, Error>) -> Result<(), Error> {
[INFO] [stdout]     |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |       pub async fn exit(&self) -> Result<(), Error> {
[INFO] [stdout]     |                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |       pub async fn stats(&self) -> Result<CacheStats, Error> {
[INFO] [stdout]     |                    ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |       async fn submit_request(&self, action: CacheAction<K, V>) -> Result<(), Error> {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BoundedCache` is never constructed
[INFO] [stdout]    --> src/cache.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct BoundedCache<K, V> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, and `get` are never used
[INFO] [stdout]    --> src/cache.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 222 | / impl <K, V> BoundedCache<K, V>
[INFO] [stdout] 223 | | where K: PartialEq+Eq+Hash+Clone, V:Clone {
[INFO] [stdout]     | |_________________________________________- associated items in this implementation
[INFO] [stdout] 224 |       pub fn new(limit: usize) -> Self {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 230 |       pub fn insert(&self, key: K, value: V) -> Result<(), bool> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 241 |       pub fn get(&self, key: &K) -> Option<V> {
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Error` is never constructed
[INFO] [stdout]  --> src/error.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Error {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/error.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Error {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(kind: CacheError) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CacheError` is never used
[INFO] [stdout]   --> src/error.rs:35:10
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub enum CacheError {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:349:24
[INFO] [stdout]     |
[INFO] [stdout] 349 |             assert_eq!(FETCH_DATA_COUNT, 1);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:376:24
[INFO] [stdout]     |
[INFO] [stdout] 376 |             assert_eq!(FETCH_DATA_COUNT, 1);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:399:24
[INFO] [stdout]     |
[INFO] [stdout] 399 |             assert_eq!(FETCH_DATA_COUNT, 3);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:421:24
[INFO] [stdout]     |
[INFO] [stdout] 421 |             assert_eq!(FETCH_DATA_COUNT, 3);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:425:24
[INFO] [stdout]     |
[INFO] [stdout] 425 |             assert_eq!(FETCH_DATA_COUNT, 3);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:429:24
[INFO] [stdout]     |
[INFO] [stdout] 429 |             assert_eq!(FETCH_DATA_COUNT, 4);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:446:24
[INFO] [stdout]     |
[INFO] [stdout] 446 |             assert_eq!(FETCH_DATA_COUNT, 1);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/cache.rs:464:24
[INFO] [stdout]     |
[INFO] [stdout] 464 |             assert_eq!(FETCH_DATA_COUNT, 1);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.83s
[INFO] running `Command { std: "docker" "inspect" "edddb248adcdd291e0e817029d8c8b1ae9ee69d66bba934ddd5f9cb01a963e81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "edddb248adcdd291e0e817029d8c8b1ae9ee69d66bba934ddd5f9cb01a963e81", kill_on_drop: false }`
[INFO] [stdout] edddb248adcdd291e0e817029d8c8b1ae9ee69d66bba934ddd5f9cb01a963e81
