[INFO] fetching crate moka2 0.13.0... [INFO] testing moka2-0.13.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate moka2 0.13.0 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate moka2 0.13.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate moka2 0.13.0 [INFO] tweaked toml for crates.io crate moka2 0.13.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate moka2 0.13.0 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 moka2 0.13.0 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7f1cd4faae484f3dfac1703b65d8d6d986389ae794c9b7d2830d92591f96135a [INFO] running `Command { std: "docker" "start" "-a" "7f1cd4faae484f3dfac1703b65d8d6d986389ae794c9b7d2830d92591f96135a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f1cd4faae484f3dfac1703b65d8d6d986389ae794c9b7d2830d92591f96135a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1cd4faae484f3dfac1703b65d8d6d986389ae794c9b7d2830d92591f96135a", kill_on_drop: false }` [INFO] [stdout] 7f1cd4faae484f3dfac1703b65d8d6d986389ae794c9b7d2830d92591f96135a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c463d03a99e5c5610fc52d9f33c4f9e89f46eed888bcd58e9badd3611b406960 [INFO] running `Command { std: "docker" "start" "-a" "c463d03a99e5c5610fc52d9f33c4f9e89f46eed888bcd58e9badd3611b406960", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling moka2 v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling triomphe v0.1.11 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.32s [INFO] running `Command { std: "docker" "inspect" "c463d03a99e5c5610fc52d9f33c4f9e89f46eed888bcd58e9badd3611b406960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c463d03a99e5c5610fc52d9f33c4f9e89f46eed888bcd58e9badd3611b406960", kill_on_drop: false }` [INFO] [stdout] c463d03a99e5c5610fc52d9f33c4f9e89f46eed888bcd58e9badd3611b406960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 67b75365e58fdbfbeab1ee5a53b360a9e53c0820754004c192fbe9d70a15617d [INFO] running `Command { std: "docker" "start" "-a" "67b75365e58fdbfbeab1ee5a53b360a9e53c0820754004c192fbe9d70a15617d", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling value-bag v1.10.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-lite v2.4.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling quanta v0.12.3 [INFO] [stderr] Compiling moka2 v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/entry_api_tokio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use moka::{future::Cache, Entry}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use moka2::{future::Cache, Entry}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/entry_api_actix_rt2.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use moka::future::Cache; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | use moka2::future::Cache; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/runtime_actix_rt2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use moka::future::Cache; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | use moka2::future::Cache; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/runtime_tokio.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use moka::future::Cache; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | use moka2::future::Cache; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `moka` [INFO] [stdout] --> tests/entry_api_tokio.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use moka::{future::Cache, Entry}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use moka2::{future::Cache, Entry}; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/entry_api_async_std.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use moka::future::Cache; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | use moka2::future::Cache; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `moka` [INFO] [stdout] --> tests/runtime_async_std.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use moka::future::Cache; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `moka` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | use moka2::future::Cache; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "runtime_actix_rt2") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_actix_rt2.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | 2 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 55 | | .entry(key.clone()) [INFO] [stdout] 56 | | .or_insert_with(async move { [INFO] [stdout] 57 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 60 | | }) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_actix_rt2.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | 3 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 64 | | .entry_by_ref(key.as_str()) [INFO] [stdout] 65 | | .or_insert_with(async move { [INFO] [stdout] 66 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 69 | | }) [INFO] [stdout] 70 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_actix_rt2.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | assert!(my_cache.get(key.as_str()).await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "runtime_tokio") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_async_std.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | 2 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 52 | | .entry(key.clone()) [INFO] [stdout] 53 | | .or_insert_with(async move { [INFO] [stdout] 54 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 57 | | }) [INFO] [stdout] 58 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_async_std.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | 3 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 61 | | .entry_by_ref(key.as_str()) [INFO] [stdout] 62 | | .or_insert_with(async move { [INFO] [stdout] 63 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 66 | | }) [INFO] [stdout] 67 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "runtime_async_std") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_async_std.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | assert!(my_cache.get(key.as_str()).await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "entry_api_actix_rt2") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | 2 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 53 | | .entry(key.clone()) [INFO] [stdout] 54 | | .or_insert_with(async move { [INFO] [stdout] 55 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 58 | | }) [INFO] [stdout] 59 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | 3 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 62 | | .entry_by_ref(key.as_str()) [INFO] [stdout] 63 | | .or_insert_with(async move { [INFO] [stdout] 64 | | println!("Task {task_id} inserting a value."); [INFO] [stdout] ... | [INFO] [stdout] 67 | | }) [INFO] [stdout] 68 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | assert!(my_cache.get(key.as_str()).await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "entry_api_async_std") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:126:26 [INFO] [stdout] | [INFO] [stdout] 126 | 2 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 127 | | .entry(key.clone()) [INFO] [stdout] 128 | | .or_optionally_insert_with(get_html(task_id, SITE, &my_call_counter)) [INFO] [stdout] 129 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | 3 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 132 | | .entry_by_ref(key.as_str()) [INFO] [stdout] 133 | | .or_optionally_insert_with(get_html(task_id, SITE, &my_call_counter)) [INFO] [stdout] 134 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | assert!(my_cache.get(key.as_str()).await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | 2 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 197 | | .entry(key.clone()) [INFO] [stdout] 198 | | .or_try_insert_with(get_html(task_id, SITE, &my_call_counter)) [INFO] [stdout] 199 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | 3 => my_cache [INFO] [stdout] | __________________________^ [INFO] [stdout] 202 | | .entry_by_ref(key.as_str()) [INFO] [stdout] 203 | | .or_try_insert_with(get_html(task_id, SITE, &my_call_counter)) [INFO] [stdout] 204 | | .await [INFO] [stdout] | |______________________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry_api_tokio.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | assert!(my_cache.get(key.as_str()).await.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `moka2` (test "entry_api_tokio") due to 11 previous errors [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/common/frequency_sketch.rs:214:18 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { std::mem::transmute::<[u8; 4], u32>(buf) } [INFO] [stdout] | -----------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67b75365e58fdbfbeab1ee5a53b360a9e53c0820754004c192fbe9d70a15617d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b75365e58fdbfbeab1ee5a53b360a9e53c0820754004c192fbe9d70a15617d", kill_on_drop: false }` [INFO] [stdout] 67b75365e58fdbfbeab1ee5a53b360a9e53c0820754004c192fbe9d70a15617d