[INFO] fetching crate capp 0.4.3... [INFO] testing capp-0.4.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate capp 0.4.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate capp 0.4.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate capp 0.4.3 [INFO] tweaked toml for crates.io crate capp 0.4.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate capp 0.4.3 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 capp 0.4.3 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0817fa93411ad46d0c8aaad46059e3b6e56464bf67988153cd2e67027f6676db [INFO] running `Command { std: "docker" "start" "-a" "0817fa93411ad46d0c8aaad46059e3b6e56464bf67988153cd2e67027f6676db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0817fa93411ad46d0c8aaad46059e3b6e56464bf67988153cd2e67027f6676db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0817fa93411ad46d0c8aaad46059e3b6e56464bf67988153cd2e67027f6676db", kill_on_drop: false }` [INFO] [stdout] 0817fa93411ad46d0c8aaad46059e3b6e56464bf67988153cd2e67027f6676db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2bff7c6481af7b2b023fb64800d68d1e9af77cd7e1926df34e2af33aee780824 [INFO] running `Command { std: "docker" "start" "-a" "2bff7c6481af7b2b023fb64800d68d1e9af77cd7e1926df34e2af33aee780824", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling unsafe-libyaml v0.2.9 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling serde_yaml v0.9.27 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling capp v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.96s [INFO] running `Command { std: "docker" "inspect" "2bff7c6481af7b2b023fb64800d68d1e9af77cd7e1926df34e2af33aee780824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bff7c6481af7b2b023fb64800d68d1e9af77cd7e1926df34e2af33aee780824", kill_on_drop: false }` [INFO] [stdout] 2bff7c6481af7b2b023fb64800d68d1e9af77cd7e1926df34e2af33aee780824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9bd8e7d8553123bf0c4c5fa8c7c3be6ccda0faa61aa0de0fabc7e8c21dbcdc8a [INFO] running `Command { std: "docker" "start" "-a" "9bd8e7d8553123bf0c4c5fa8c7c3be6ccda0faa61aa0de0fabc7e8c21dbcdc8a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ego-tree v0.9.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling markup5ever v0.14.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling html5ever v0.29.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_yaml v0.9.27 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling capp v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling scraper v0.21.0 [INFO] [stdout] error[E0432]: unresolved import `capp::healthcheck` [INFO] [stdout] --> tests/healthcheck_tests.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use capp::healthcheck::internet; [INFO] [stdout] | ^^^^^^^^^^^ could not find `healthcheck` in `capp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "healthcheck")] [INFO] [stdout] | ----------------------- the item is gated behind the `healthcheck` feature [INFO] [stdout] 47 | pub mod healthcheck; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capp::http` [INFO] [stdout] --> tests/http_tests.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use capp::http::{ [INFO] [stdout] | ^^^^ could not find `http` in `capp` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 49 | pub mod http; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustis` [INFO] [stdout] --> tests/redis_tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use rustis::client::Client; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustis`, use `cargo add rustis` 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 `rustis` [INFO] [stdout] --> tests/redis_tests.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use rustis::commands::{GenericCommands, HashCommands, ListCommands}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustis`, use `cargo add rustis` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capp::queue::RedisTaskQueue` [INFO] [stdout] --> tests/redis_tests.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use capp::queue::{RedisTaskQueue, TaskQueue, TaskQueueError}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `RedisTaskQueue` in `queue` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/queue.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "redis")] [INFO] [stdout] | ----------------- the item is gated behind the `redis` feature [INFO] [stdout] 15 | pub use backend::{RedisRoundRobinTaskQueue, RedisTaskQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> tests/http_tests.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | (reqwest::StatusCode::NOT_FOUND, "not found".to_string()), [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use hyper::StatusCode; [INFO] [stdout] | [INFO] [stdout] help: if you import `StatusCode`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 69 - (reqwest::StatusCode::NOT_FOUND, "not found".to_string()), [INFO] [stdout] 69 + (StatusCode::NOT_FOUND, "not found".to_string()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustis` [INFO] [stdout] --> tests/redis_rr_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use rustis::client::Client; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustis`, use `cargo add rustis` 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 `rustis` [INFO] [stdout] --> tests/redis_rr_tests.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use rustis::commands::{GenericCommands, HashCommands, ListCommands}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rustis` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustis`, use `cargo add rustis` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `capp::http`, `capp::reqwest` [INFO] [stdout] --> examples/hackernews/main.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use capp::{config::Configurable, http, reqwest}; [INFO] [stdout] | ^^^^ ^^^^^^^ no `reqwest` in the root [INFO] [stdout] | | [INFO] [stdout] | no `http` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this crate instead: [INFO] [stdout] hyper::http [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 49 | pub mod http; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "http")] [INFO] [stdout] | ---------------- the item is gated behind the `http` feature [INFO] [stdout] 68 | pub use reqwest; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capp::queue::RedisRoundRobinTaskQueue` [INFO] [stdout] --> tests/redis_rr_tests.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | HasTagKey, RedisRoundRobinTaskQueue, TaskQueue, TaskQueueError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `RedisRoundRobinTaskQueue` in `queue` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/queue.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "redis")] [INFO] [stdout] | ----------------- the item is gated behind the `redis` feature [INFO] [stdout] 15 | pub use backend::{RedisRoundRobinTaskQueue, RedisTaskQueue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `backoff` [INFO] [stdout] --> examples/hackernews/main.rs:166:23 [INFO] [stdout] | [INFO] [stdout] 166 | let backoff = backoff::ExponentialBackoffBuilder::new() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` 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 `backoff` [INFO] [stdout] --> examples/hackernews/main.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | backoff::future::retry(backoff, fetch_content).await [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `backoff` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `backoff`, use `cargo add backoff` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | / Client::connect(uri) [INFO] [stdout] 20 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | / RedisTaskQueue::new(redis, name) [INFO] [stdout] 27 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / queue [INFO] [stdout] 33 | | .client [INFO] [stdout] 34 | | .del([&queue.list_key, &queue.hashmap_key, &queue.dlq_key]) [INFO] [stdout] 35 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | / Client::connect(uri) [INFO] [stdout] 31 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / RedisRoundRobinTaskQueue::new(redis, &unique_name, tags) [INFO] [stdout] 44 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | / queue [INFO] [stdout] 59 | | .client [INFO] [stdout] 60 | | .del(keys_to_delete) [INFO] [stdout] 61 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | queue.push(&task1).await.expect("Failed to push task1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | queue.push(&task2).await.expect("Failed to push task2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | queue.push(&task3).await.expect("Failed to push task3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | let popped_task1 = queue.pop().await.expect("Failed to pop task1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let popped_task2 = queue.pop().await.expect("Failed to pop task2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | let popped_task3 = queue.pop().await.expect("Failed to pop task3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | / RedisTaskQueue::new(redis, "capp-test-workflow") [INFO] [stdout] 44 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / queue [INFO] [stdout] 48 | | .client [INFO] [stdout] 49 | | .del([&queue.list_key, &queue.hashmap_key, &queue.dlq_key]) [INFO] [stdout] 50 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let result = queue.push(&task).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | assert!(result.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 55 | let result: /* Type */ = queue.push(&task).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let task_from_queue = queue.pop().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | assert!(!&task_from_queue.is_err()); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `task_from_queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let task_from_queue: /* Type */ = queue.pop().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let acked = queue.ack(&task_from_queue.task_id).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | assert!(acked.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `acked` an explicit type [INFO] [stdout] | [INFO] [stdout] 65 | let acked: /* Type */ = queue.ack(&task_from_queue.task_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let queue_list_len = queue.client.llen(&queue.list_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | assert_eq!(queue_list_len.unwrap(), 0); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue_list_len` an explicit type [INFO] [stdout] | [INFO] [stdout] 67 | let queue_list_len: /* Type */ = queue.client.llen(&queue.list_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | let queue_hashmap_len = queue.client.hlen(&queue.hashmap_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 70 | assert_eq!(queue_hashmap_len.unwrap(), 0); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue_hashmap_len` an explicit type [INFO] [stdout] | [INFO] [stdout] 69 | let queue_hashmap_len: /* Type */ = queue.client.hlen(&queue.hashmap_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let queue_list_len = queue.client.llen(&queue.list_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 78 | assert_eq!(queue_list_len.unwrap(), 2); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue_list_len` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let queue_list_len: /* Type */ = queue.client.llen(&queue.list_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let queue_hashmap_len = queue.client.hlen(&queue.hashmap_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | assert_eq!(queue_hashmap_len.unwrap(), 2); [INFO] [stdout] | ----------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue_hashmap_len` an explicit type [INFO] [stdout] | [INFO] [stdout] 79 | let queue_hashmap_len: /* Type */ = queue.client.hlen(&queue.hashmap_key).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | let task_1_from_queue = queue.pop().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let acked = queue.ack(&task_1_from_queue.task_id).await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | assert!(acked.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `acked` an explicit type [INFO] [stdout] | [INFO] [stdout] 84 | let acked: /* Type */ = queue.ack(&task_1_from_queue.task_id).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 87 | let task_2_from_queue = queue.pop().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let nacked = queue.nack(&task_2_from_queue).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 90 | assert!(nacked.is_ok()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nacked` an explicit type [INFO] [stdout] | [INFO] [stdout] 89 | let nacked: /* Type */ = queue.nack(&task_2_from_queue).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | let dlq_len = queue.client.llen(&queue.dlq_key).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / queue [INFO] [stdout] 95 | | .client [INFO] [stdout] 96 | | .del([&queue.list_key, &queue.hashmap_key, &queue.dlq_key]) [INFO] [stdout] 97 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/hackernews/main.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | let status = response.status(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let queue = setup_queue("capp-test-push-pop").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let queue: /* Type */ = setup_queue("capp-test-push-pop").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:108:27 [INFO] [stdout] | [INFO] [stdout] 108 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let queue = setup_queue("capp-test-push-pop-order").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | queue.push(task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 116 | let queue: /* Type */ = setup_queue("capp-test-push-pop-order").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | queue.push(task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 128 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | let queue = setup_queue("capp-test-ack").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 139 | let queue: /* Type */ = setup_queue("capp-test-ack").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | / queue [INFO] [stdout] 146 | | .ack(&popped_task.task_id) [INFO] [stdout] 147 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let task_exists: bool = queue [INFO] [stdout] | _________________________________^ [INFO] [stdout] 151 | | .client [INFO] [stdout] 152 | | .hexists(&queue.hashmap_key, popped_task.task_id.to_string()) [INFO] [stdout] 153 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let queue = setup_queue("capp-test-nack").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 162 | let queue: /* Type */ = setup_queue("capp-test-nack").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:166:27 [INFO] [stdout] | [INFO] [stdout] 166 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | queue.nack(&popped_task).await.expect("Failed to nack task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:169:33 [INFO] [stdout] | [INFO] [stdout] 169 | let task_exists: bool = queue [INFO] [stdout] | _________________________________^ [INFO] [stdout] 170 | | .client [INFO] [stdout] 171 | | .hexists(&queue.hashmap_key, popped_task.task_id.to_string()) [INFO] [stdout] 172 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | let dlq_len = queue [INFO] [stdout] | _______________________^ [INFO] [stdout] 180 | | .client [INFO] [stdout] 181 | | .llen(&queue.dlq_key) [INFO] [stdout] 182 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | queue.client.rpop(&queue.dlq_key, 1).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let queue = setup_queue("capp-test-set").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 198 | let queue: /* Type */ = setup_queue("capp-test-set").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | queue.set(&task).await.expect("Failed to set task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_tests.rs:205:41 [INFO] [stdout] | [INFO] [stdout] 205 | let updated_task_json: String = queue [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 206 | | .client [INFO] [stdout] 207 | | .hget(&queue.hashmap_key, task.task_id.to_string()) [INFO] [stdout] 208 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/http_tests.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | / fetch_url(client.clone(), "http://127.0.0.1:3000") [INFO] [stdout] 53 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/http_tests.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | / fetch_url_content(client, "http://127.0.0.1:3000/fail") [INFO] [stdout] 63 | | .await [INFO] [stdout] | |______________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | / queue [INFO] [stdout] 114 | | .ack(&popped_task1.task_id) [INFO] [stdout] 115 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | / queue [INFO] [stdout] 118 | | .nack(&popped_task2) [INFO] [stdout] 119 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | let hashmap_len = queue [INFO] [stdout] | ___________________________^ [INFO] [stdout] 123 | | .client [INFO] [stdout] 124 | | .hlen(&queue.get_hashmap_key()) [INFO] [stdout] 125 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | let dlq_len = queue [INFO] [stdout] | _______________________^ [INFO] [stdout] 130 | | .client [INFO] [stdout] 131 | | .llen(&queue.get_dlq_key()) [INFO] [stdout] 132 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:150:27 [INFO] [stdout] | [INFO] [stdout] 150 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | queue.push(&task_1).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | queue.push(&task_2).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | queue.push(&task_3).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let should_be_error = queue.pop().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 185 | assert!(should_be_error.is_err()); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `should_be_error` an explicit type [INFO] [stdout] | [INFO] [stdout] 184 | let should_be_error: /* Type */ = queue.pop().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | queue.push(task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:228:31 [INFO] [stdout] | [INFO] [stdout] 228 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `capp` (test "healthcheck_tests") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:264:27 [INFO] [stdout] | [INFO] [stdout] 264 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | / queue [INFO] [stdout] 266 | | .ack(&popped_task.task_id) [INFO] [stdout] 267 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 270 | let task_exists: bool = queue [INFO] [stdout] | _________________________________^ [INFO] [stdout] 271 | | .client [INFO] [stdout] 272 | | .hexists(&queue.get_hashmap_key(), popped_task.task_id.to_string()) [INFO] [stdout] 273 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let queue = setup_queue("nack").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 282 | let queue: /* Type */ = setup_queue("nack").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:289:27 [INFO] [stdout] | [INFO] [stdout] 289 | let popped_task = queue.pop().await.expect("Failed to pop task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | queue.nack(&popped_task).await.expect("Failed to nack task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:292:33 [INFO] [stdout] | [INFO] [stdout] 292 | let task_exists: bool = queue [INFO] [stdout] | _________________________________^ [INFO] [stdout] 293 | | .client [INFO] [stdout] 294 | | .hexists(&queue.get_hashmap_key(), popped_task.task_id.to_string()) [INFO] [stdout] 295 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:302:23 [INFO] [stdout] | [INFO] [stdout] 302 | let dlq_len = queue [INFO] [stdout] | _______________________^ [INFO] [stdout] 303 | | .client [INFO] [stdout] 304 | | .llen(&queue.get_dlq_key()) [INFO] [stdout] 305 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `capp` (test "redis_tests") due to 43 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let queue = setup_queue("set").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 314 | let queue: /* Type */ = setup_queue("set").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | queue.push(&task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | queue.set(&task).await.expect("Failed to set task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:324:41 [INFO] [stdout] | [INFO] [stdout] 324 | let updated_task_json: String = queue [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 325 | | .client [INFO] [stdout] 326 | | .hget(&queue.get_hashmap_key(), task.task_id.to_string()) [INFO] [stdout] 327 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | let queue = setup_queue("purge-test").await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | queue.push(task).await.expect("Failed to push task"); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `queue` an explicit type [INFO] [stdout] | [INFO] [stdout] 350 | let queue: /* Type */ = setup_queue("purge-test").await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | queue.push(task).await.expect("Failed to push task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:374:21 [INFO] [stdout] | [INFO] [stdout] 374 | assert!(queue.pop().await.is_ok(), "Should be able to pop a task"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | queue.purge().await.expect("Failed to purge queue"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/redis_rr_tests.rs:397:33 [INFO] [stdout] | [INFO] [stdout] 397 | let exists: usize = queue [INFO] [stdout] | _________________________________^ [INFO] [stdout] 398 | | .client [INFO] [stdout] 399 | | .exists(&key) [INFO] [stdout] 400 | | .await [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 `capp` (test "redis_rr_tests") due to 46 previous errors [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hackernews/main.rs:114:42 [INFO] [stdout] | [INFO] [stdout] 114 | Ok((reqwest::StatusCode::OK, text)) => { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> examples/hackernews/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | Ok((reqwest::StatusCode::OK, text)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `(_, str)`, the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required because it appears within the type `(_, str)` [INFO] [stdout] note: required by a bound in `std::prelude::v1::Ok` [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:561:4 [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 `capp` (test "http_tests") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `capp` (example "hackernews") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "9bd8e7d8553123bf0c4c5fa8c7c3be6ccda0faa61aa0de0fabc7e8c21dbcdc8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bd8e7d8553123bf0c4c5fa8c7c3be6ccda0faa61aa0de0fabc7e8c21dbcdc8a", kill_on_drop: false }` [INFO] [stdout] 9bd8e7d8553123bf0c4c5fa8c7c3be6ccda0faa61aa0de0fabc7e8c21dbcdc8a