[INFO] cloning repository https://github.com/qianlvzhe/monolith-web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qianlvzhe/monolith-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqianlvzhe%2Fmonolith-web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqianlvzhe%2Fmonolith-web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d26a6854e7a251038c4ef64c9f4d2153b19f3d44 [INFO] checking qianlvzhe/monolith-web/d26a6854e7a251038c4ef64c9f4d2153b19f3d44 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqianlvzhe%2Fmonolith-web" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qianlvzhe/monolith-web [INFO] finished tweaking git repo https://github.com/qianlvzhe/monolith-web [INFO] tweaked toml for git repo https://github.com/qianlvzhe/monolith-web written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qianlvzhe/monolith-web on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qianlvzhe/monolith-web 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded metrics v0.22.4 [INFO] [stderr] Downloaded toml v0.9.2 [INFO] [stderr] Downloaded assert_cmd v2.0.17 [INFO] [stderr] Downloaded libredox v0.1.6 [INFO] [stderr] Downloaded shellexpand v3.1.1 [INFO] [stderr] Downloaded cssparser v0.35.0 [INFO] [stderr] Downloaded markdown-translator v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.5.15 [INFO] [stderr] Downloaded markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Downloaded async-compression v0.4.27 [INFO] [stderr] Downloaded redb v2.6.0 [INFO] [stderr] Downloaded toml_parser v1.0.1 [INFO] [stderr] Downloaded xml5ever v0.20.0 [INFO] [stderr] Downloaded openssl-src v300.5.1+3.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f17cc16a1ef8c5cec11c8f00dac9117915020ee3994af88df35400a949656d36 [INFO] running `Command { std: "docker" "start" "-a" "f17cc16a1ef8c5cec11c8f00dac9117915020ee3994af88df35400a949656d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f17cc16a1ef8c5cec11c8f00dac9117915020ee3994af88df35400a949656d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17cc16a1ef8c5cec11c8f00dac9117915020ee3994af88df35400a949656d36", kill_on_drop: false }` [INFO] [stdout] f17cc16a1ef8c5cec11c8f00dac9117915020ee3994af88df35400a949656d36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab53761eeb2e2dd5f2cfd06a2003efbb6d29f162227447a6d399e794407e6b30 [INFO] running `Command { std: "docker" "start" "-a" "ab53761eeb2e2dd5f2cfd06a2003efbb6d29f162227447a6d399e794407e6b30", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling redb v2.6.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking cssparser v0.35.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking async-compression v0.4.27 [INFO] [stderr] Checking html5ever v0.29.1 [INFO] [stderr] Checking xml5ever v0.20.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking markup5ever_rcdom v0.5.0-unofficial [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking monolith v2.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ns` [INFO] [stdout] --> src/parsers/html/dom.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use html5ever::{namespace_url, ns}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ns` [INFO] [stdout] --> src/parsers/html/dom.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | use html5ever::{namespace_url, ns}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/html/parser.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_srcset(srcset: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_srcset(srcset: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parsers/html/parser.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_srcset(srcset: &str) -> Vec { [INFO] [stdout] | ^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 190 | pub fn parse_srcset(srcset: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/error_handling.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use monolith::translation::error::TranslationError; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/error_handling.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::storage::cache::{CacheKey, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/error_handling.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use monolith::translation::pipeline::collector::TextItem; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/error_handling.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use monolith::translation::pipeline::filters::TextFilter; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use monolith::translation::config::{TranslationConfig, constants}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::storage::cache::{CacheConfig, CacheManager, CacheKey, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use monolith::translation::pipeline::collector::{TextCollector, CollectorConfig, TextItem, TextPriority, TextType}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use monolith::translation::pipeline::batch::{BatchManager, BatchManagerConfig}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use monolith::translation::pipeline::filters::TextFilter; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:167:3 [INFO] [stdout] | [INFO] [stdout] 167 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:306:3 [INFO] [stdout] | [INFO] [stdout] 306 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:399:3 [INFO] [stdout] | [INFO] [stdout] 399 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/cache_system.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::storage::cache::{ [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use monolith::translation::config::{TranslationConfig, constants}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::storage::cache::{CacheConfig, CacheManager, CacheKey, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use monolith::translation::pipeline::collector::{TextCollector, CollectorConfig, TextItem, TextPriority, TextType}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use monolith::translation::pipeline::batch::{BatchManager, BatchManagerConfig}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use monolith::translation::pipeline::filters::TextFilter; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:167:3 [INFO] [stdout] | [INFO] [stdout] 167 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:297:3 [INFO] [stdout] | [INFO] [stdout] 297 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:345:3 [INFO] [stdout] | [INFO] [stdout] 345 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:429:3 [INFO] [stdout] | [INFO] [stdout] 429 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/translation_pipeline.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use monolith::translation::pipeline::collector::{TextItem, TextPriority}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/translation_pipeline.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::pipeline::batch::{Batch, BatchPriority}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/translation_pipeline.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use monolith::translation::storage::cache::{CacheKey, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use monolith::translation::config::{TranslationConfig, constants}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use monolith::translation::storage::cache::{CacheConfig, CacheManager, CacheKey, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use monolith::translation::pipeline::collector::{TextCollector, CollectorConfig, TextItem, TextPriority, TextType}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use monolith::translation::pipeline::batch::{BatchManager, BatchManagerConfig}; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `translation` in `monolith` [INFO] [stdout] --> tests/common/mod.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use monolith::translation::pipeline::filters::TextFilter; [INFO] [stdout] | ^^^^^^^^^^^ could not find `translation` in `monolith` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(feature = "translation")] [INFO] [stdout] | ----------------------- the item is gated behind the `translation` feature [INFO] [stdout] 22 | pub mod translation; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:265:3 [INFO] [stdout] | [INFO] [stdout] 265 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:296:3 [INFO] [stdout] | [INFO] [stdout] 296 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:341:3 [INFO] [stdout] | [INFO] [stdout] 341 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | tokio::time::sleep(Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | tokio::time::sleep(Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | assert!(texts.len() <= 5, [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let get_result = env.cache_manager.get(key).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 74 | assert!(get_result.is_ok(), "Get operation should handle invalid key {} gracefully", i); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `get_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 73 | let get_result: /* Type */ = env.cache_manager.get(key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let put_result = env.cache_manager.put(key.clone(), entry).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 84 | assert!(put_result.is_ok(), "Put operation should handle invalid key {} gracefully", i); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `put_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 83 | let put_result: /* Type */ = env.cache_manager.put(key.clone(), entry).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/error_handling.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:203:28 [INFO] [stdout] | [INFO] [stdout] 203 | if cache_manager.get(&invalid_key).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | let (successes, errors) = handle.await.expect("Concurrent task should complete"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:281:38 [INFO] [stdout] | [INFO] [stdout] 281 | if env.cache_manager.put(key.clone(), entry).await.is_ok() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:281:16 [INFO] [stdout] | [INFO] [stdout] 281 | if env.cache_manager.put(key.clone(), entry).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:282:20 [INFO] [stdout] | [INFO] [stdout] 282 | if env.cache_manager.get(&key).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:361:28 [INFO] [stdout] | [INFO] [stdout] 361 | if env.cache_manager.put(key, entry).await.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<(_, _), _>` [INFO] [stdout] --> tests/error_handling.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | let processing_result = async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | assert!(!batches.is_empty(), "Should create batches despite errors"); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `processing_result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 328 | let processing_result: Result<(_, _), E> = async { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:425:40 [INFO] [stdout] | [INFO] [stdout] 425 | let filtered: Vec<_> = texts.into_iter() [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/error_handling.rs:447:36 [INFO] [stdout] | [INFO] [stdout] 447 | ... if env.cache_manager.put(key.clone(), entry).await.is_ok() { [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 for `(_, _)` [INFO] [stdout] --> tests/translation_pipeline.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let (texts, collection_time) = PerformanceHelper::measure_async_time(|| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | let texts = texts.expect("Text collection should succeed"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 30 | let (texts, collection_time): (_, _) = PerformanceHelper::measure_async_time(|| async { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | assert!(text_contents.iter().any(|t| t.contains("Test Page")), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | assert!(text_contents.iter().any(|t: /* Type */| t.contains("Test Page")), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(text_contents.iter().any(|t| t.contains("Welcome to Test")), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 48 | assert!(text_contents.iter().any(|t: /* Type */| t.contains("Welcome to Test")), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | assert!(text_contents.iter().any(|t| t.contains("test paragraph")), [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | assert!(text_contents.iter().any(|t: /* Type */| t.contains("test paragraph")), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monolith` (test "error_handling") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | let store_result = env.cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:164:63 [INFO] [stdout] | [INFO] [stdout] 164 | let store_result = env.cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let store_result = env.cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 165 | assert!(store_result.is_ok(), "Cache storage should succeed"); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 164 | let store_result: /* Type */ = env.cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:168:25 [INFO] [stdout] | [INFO] [stdout] 168 | let retrieved = env.cache_manager.get(key).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let cleaned = env.cache_manager.cleanup_expired().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:223:20 [INFO] [stdout] | [INFO] [stdout] 223 | if env.cache_manager.get(&cache_key).await?.is_none() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/translation_pipeline.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let (processing_result, total_time) = PerformanceHelper::measure_async_time(|| async { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | let (batches, _cache_hits) = processing_result.expect("Processing should succeed"); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 200 | let (processing_result, total_time): (_, _) = PerformanceHelper::measure_async_time(|| async { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(!batches.is_empty(), "Should create batches for complex page"); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | let cache_result = env.cache_manager.get(&invalid_key).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 280 | assert!(cache_result.is_ok(), "Should handle invalid cache keys gracefully"); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cache_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 279 | let cache_result: /* Type */ = env.cache_manager.get(&invalid_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/translation_pipeline.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:311:20 [INFO] [stdout] | [INFO] [stdout] 311 | cm.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:311:33 [INFO] [stdout] | [INFO] [stdout] 311 | cm.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | cm.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:314:29 [INFO] [stdout] | [INFO] [stdout] 314 | let retrieved = cm.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:325:22 [INFO] [stdout] | [INFO] [stdout] 325 | let result = handle.await.expect("Concurrent operation should complete"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:362:35 [INFO] [stdout] | [INFO] [stdout] 362 | env.cache_manager.put(key.clone(), entry).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:362:13 [INFO] [stdout] | [INFO] [stdout] 362 | env.cache_manager.put(key.clone(), entry).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/translation_pipeline.rs:363:30 [INFO] [stdout] | [INFO] [stdout] 363 | let _retrieved = env.cache_manager.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | let initial_result = cache_manager.get(&key).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | cache_manager.put(key.clone(), entry.clone()).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let retrieved = cache_manager.get(&key).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let _miss_result = cache_manager.get(key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:93:40 [INFO] [stdout] | [INFO] [stdout] 93 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | let _hit_result = cache_manager.get(key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:134:27 [INFO] [stdout] | [INFO] [stdout] 134 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | let result = cache_manager.get(key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let result = cache_manager.get(key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:196:28 [INFO] [stdout] | [INFO] [stdout] 196 | let immediate_result = cache_manager.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | let expired_result = cache_manager.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | let cleanup_count = cache_manager.cleanup_expired().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:237:22 [INFO] [stdout] | [INFO] [stdout] 237 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> tests/cache_system.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | let cm = Arc::clone(&cache_manager); [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 254 | cm.put(key.clone(), entry).await.unwrap(); [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `cm` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 235 | let cm: Arc = Arc::clone(&cache_manager); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | cm.put(key.clone(), entry).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | let _retrieved = cm.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:272:23 [INFO] [stdout] | [INFO] [stdout] 272 | let ops = handle.await.expect("Concurrent task should complete"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let store_result = cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 328 | assert!(store_result.is_ok(), "Should handle cache key: {:?}", key); [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `store_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 327 | let store_result: /* Type */ = cache_manager.put(key.clone(), entry.clone()).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:330:13 [INFO] [stdout] | [INFO] [stdout] 330 | let retrieve_result = cache_manager.get(&key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 331 | assert!(retrieve_result.is_ok(), "Should retrieve cache key: {:?}", key); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `retrieve_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 330 | let retrieve_result: /* Type */ = cache_manager.get(&key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | let large_store_result = cache_manager.put(large_key.clone(), large_entry).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | assert!(large_store_result.is_ok(), "Should handle large text gracefully"); [INFO] [stdout] | ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `large_store_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 372 | let large_store_result: /* Type */ = cache_manager.put(large_key.clone(), large_entry).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | let large_retrieve_result = cache_manager.get(&large_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 377 | assert!(large_retrieve_result.is_ok(), "Should retrieve large text gracefully"); [INFO] [stdout] | --------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `large_retrieve_result` an explicit type [INFO] [stdout] | [INFO] [stdout] 376 | let large_retrieve_result: /* Type */ = cache_manager.get(&large_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/cache_system.rs:392:22 [INFO] [stdout] | [INFO] [stdout] 392 | let handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | cm.put(key.clone(), entry).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:403:29 [INFO] [stdout] | [INFO] [stdout] 403 | let retrieved = cm.get(&key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:413:23 [INFO] [stdout] | [INFO] [stdout] 413 | let success = handle.await.expect("Concurrent operation should complete"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | let final_result = cache_manager.get(&shared_key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:448:31 [INFO] [stdout] | [INFO] [stdout] 448 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:448:44 [INFO] [stdout] | [INFO] [stdout] 448 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | cache_manager.put(key.clone(), entry.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/cache_system.rs:457:27 [INFO] [stdout] | [INFO] [stdout] 457 | let _result = cache_manager.get(key).await.unwrap(); [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] 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 `monolith` (test "translation_pipeline") due to 38 previous errors [INFO] [stderr] error: could not compile `monolith` (test "cache_system") due to 49 previous errors [INFO] running `Command { std: "docker" "inspect" "ab53761eeb2e2dd5f2cfd06a2003efbb6d29f162227447a6d399e794407e6b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab53761eeb2e2dd5f2cfd06a2003efbb6d29f162227447a6d399e794407e6b30", kill_on_drop: false }` [INFO] [stdout] ab53761eeb2e2dd5f2cfd06a2003efbb6d29f162227447a6d399e794407e6b30