[INFO] fetching crate warp-fix-171 0.3.2... [INFO] testing warp-fix-171-0.3.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate warp-fix-171 0.3.2 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate warp-fix-171 0.3.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate warp-fix-171 0.3.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate warp-fix-171 0.3.2 [INFO] tweaked toml for crates.io crate warp-fix-171 0.3.2 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate crates.io crate warp-fix-171 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889402ff4304b4d10a5489a7bb518de67107ef04f3e6d900ffafe248e9ce9b39 [INFO] running `Command { std: "docker" "start" "-a" "889402ff4304b4d10a5489a7bb518de67107ef04f3e6d900ffafe248e9ce9b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889402ff4304b4d10a5489a7bb518de67107ef04f3e6d900ffafe248e9ce9b39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889402ff4304b4d10a5489a7bb518de67107ef04f3e6d900ffafe248e9ce9b39", kill_on_drop: false }` [INFO] [stdout] 889402ff4304b4d10a5489a7bb518de67107ef04f3e6d900ffafe248e9ce9b39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0abc4aabce312abaee7652ab2d88acd97b8d169255c561916b4e7be43c56ffd [INFO] running `Command { std: "docker" "start" "-a" "b0abc4aabce312abaee7652ab2d88acd97b8d169255c561916b4e7be43c56ffd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ryu v1.0.7 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling warp-fix-171 v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.88s [INFO] running `Command { std: "docker" "inspect" "b0abc4aabce312abaee7652ab2d88acd97b8d169255c561916b4e7be43c56ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0abc4aabce312abaee7652ab2d88acd97b8d169255c561916b4e7be43c56ffd", kill_on_drop: false }` [INFO] [stdout] b0abc4aabce312abaee7652ab2d88acd97b8d169255c561916b4e7be43c56ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50c188ced13192e36d3bbd468a0d43cd6d2f61be42722ce7b89750e427644606 [INFO] running `Command { std: "docker" "start" "-a" "50c188ced13192e36d3bbd468a0d43cd6d2f61be42722ce7b89750e427644606", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling listenfd v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling handlebars v4.1.6 [INFO] [stderr] Compiling warp-fix-171 v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::hyper::StatusCode; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{hyper::Method, reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/returning.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{filters::BoxedFilter, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::Uri, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/websockets.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/tracing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/custom_methods.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::{hyper::Method, reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | .and(warp::path!("foo")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | .and(warp::path!("bar")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/query_string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/multipart.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::{multipart, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/multipart.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | let part: Result)>, warp::Rejection> = form [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/futures.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use warp::ws::{Message, WebSocket}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/returning.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use warp::{filters::BoxedFilter, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::{sse::Event, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let routes = warp::path("echo") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .and(warp::ws()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | .map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let example1 = warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | warp::method() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | .and(warp::path("example1")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/custom_methods.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/custom_methods.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Ok(StatusCode::METHOD_NOT_ALLOWED) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | let ok = warp::any() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | .and(warp::query::>()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/custom_methods.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | warp::serve(foo_route.or(bar_route).recover(handle_custom)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Method` in this scope [INFO] [stdout] --> examples/custom_methods.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | .and_then(move |m: Method| async move { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Method; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | .and(warp::path("aa")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | .map(warp::reply) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | .with(warp::trace::request()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/multipart.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/futures.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let routes = warp::path::param() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 40 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/returning.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | warp::path("assets").and(warp::fs::dir("./assets")).boxed() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let example2 = warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/tracing.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/futures.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/autoreload.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/futures.rs:18:59 [INFO] [stdout] | [INFO] [stdout] 18 | async fn sleepy(Seconds(seconds): Seconds) -> Result { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/rejections.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::{reject, Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/tracing.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | let req = warp::test::request().path("/aa"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | let math = warp::path!("math" / u16); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | .and(warp::path("example2")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::http::header::{HeaderMap, HeaderValue}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/returning.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | warp::path("assets").and(warp::fs::dir("./assets")).boxed() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | .and(warp::query::()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/returning.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | warp::path::end().map(|| "Index page") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> examples/websockets.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> examples/websockets.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> examples/websockets.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/header.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let opt_query = warp::query::() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/returning.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxedFilter` in this scope [INFO] [stdout] --> examples/returning.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn assets_filter() -> BoxedFilter<(impl Reply,)> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::filters::BoxedFilter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{sse::Event, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/body.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | let foo = warp::cookie::("foo"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let req = warp::test::request().header("cookie", "foo=bar"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dyn_reply.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::StatusCode, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/headers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dir.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | warp::serve(warp::fs::dir("examples/dir")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let req = warp::test::request().header("cookie", "abc=def; foo=baz"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/addr.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | let extract_remote_addr = warp::addr::remote(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/hello.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | .and(warp::path("example3")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/redirect.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::Uri, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let req = warp::test::request().header("cookie", "abc=def"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dir.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | warp::serve(warp::fs::dir("examples/dir")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/addr.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/query_string.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | .status(StatusCode::BAD_REQUEST) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/routing.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let hello_from_warp = warp::path!("hello" / "from" / "warp").map(|| "Hello from warp!"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 6 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/addr.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | let extract_remote_addr = warp::addr::remote(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let sum = warp::path!("sum" / u32 / u32).map(|a, b| format!("{} + {} = {}", a, b, a + b)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let req = warp::test::request().header("cookie", "foobar=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | warp::path!(u16 / "times" / u16).map(|a, b| format!("{} times {} = {}", a, b, a * b)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/sse_chat.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use warp::{sse::Event, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/websockets_chat.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::BufMut` [INFO] [stdout] --> tests/multipart.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::BufMut; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/multipart.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/todos.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> tests/multipart.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{TryFutureExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | use warp::http::StatusCode; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStreamExt` [INFO] [stdout] --> tests/multipart.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{TryFutureExt, TryStreamExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/todos.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/addr.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let req = warp::test::request().remote_addr("1.2.3.4:5678".parse().unwrap()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | warp::path!("todos") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | warp::path!("todos") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | warp::path!("todos" / u64) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | warp::path!("todos" / u64) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let foo = warp::cookie::optional::("foo"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/query_string.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | warp::serve(example1.or(example2).or(example3)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/query_string.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Some(key) => Response::builder().body(format!("key = {}", key)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/autoreload.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let routes = warp::any().map(|| "Hello, World!"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/query_string.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | None => Response::builder().body(String::from("No \"key\" param in query.")), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/query_string.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Response::builder().body(format!("key1 = {}, key2 = {}", p.key1, p.key2)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let hello = warp::path("hello") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/query_string.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | Response::builder().body(format!("key1 = {}, key2 = {}", obj.key1, obj.key2)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/autoreload.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let svc = warp::service(routes); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> examples/query_string.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | None => Response::builder() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | .and(warp::get()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let req = warp::test::request().header("cookie", "foo=bar"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | .and(warp::get()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | warp::reply::json(&Math { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let req = warp::test::request().header("cookie", "abc=def; foo=baz"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let host = warp::header::exact("host", "localhost"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .with(warp::trace::named("hello")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | math.and(warp::post()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let req = warp::test::request().header("cookie", "abc=def"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let req = warp::test::request().header("host", "localhost"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | let goodbye = warp::path("goodbye") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | .and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let req = warp::test::request().header("cookie", "foobar=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `warp` [INFO] [stdout] --> tests/path.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate warp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | .and(warp::get()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | warp::reply::json(&Math { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let cookie = warp::cookie::("foo"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | let req = warp::test::request().header("host", "hyper.rs"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | .with(warp::trace(|info| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cookie.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/wrapping.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/headers.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | let host = warp::header::("host"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/wrapping.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | F::Extract: warp::Reply, [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 4 previous errors; 3 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let host = warp::header::exact("host", "localhost").map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | .with(warp::trace::request()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | warp::header::("div-by").and_then(|n: u16| async move { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let over_there = warp::any().map(|| warp::redirect(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:25:61 [INFO] [stdout] | [INFO] [stdout] 25 | let host = warp::header::exact("host", "localhost").map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/headers.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | let accept_stars = warp::header::exact("accept", "*/*"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/rejections.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | code = StatusCode::NOT_FOUND; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/rejections.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | code = StatusCode::BAD_REQUEST; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:90:40 [INFO] [stdout] | [INFO] [stdout] 90 | } else if let Some(e) = err.find::() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/handlebars_template.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/hello.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let routes = warp::any().map(|| "Hello, World!"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/tracing.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | let over_there = warp::any().map(|| warp::redirect(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/handlebars_template.rs:14:75 [INFO] [stdout] | [INFO] [stdout] 14 | fn render(template: WithTemplate, hbs: Arc>) -> impl warp::Reply [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/headers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/rejections.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | code = StatusCode::BAD_REQUEST; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | } else if let Some(_) = err.find::() { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/hello.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/rejections.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | code = StatusCode::METHOD_NOT_ALLOWED; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/rejections.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | code = StatusCode::INTERNAL_SERVER_ERROR; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | let promote = warp::post() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let users = warp::any().map(move || users.clone()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let con_len = warp::header::optional::("content-length"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | let over_there = warp::any().map(|| warp::redirect::found(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | let json = warp::reply::json(&ErrorMessage { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | let routes = api.with(warp::log("todos")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | .and(warp::path("employees")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | let val = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | let chat_send = warp::path("chat") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let users = warp::any().map(move || users.clone()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/rejections.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(warp::reply::with_status(json, code)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | let over_there = warp::any().map(|| warp::redirect::found(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | .and(warp::path::param::()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | let val = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | .and(warp::post()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let chat = warp::path("chat") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:51:58 [INFO] [stdout] | [INFO] [stdout] 51 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | let hello_world = warp::path::end().map(|| "Hello, World at root!"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | .and(warp::body::content_length_limit(1024 * 16)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/header.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | !warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | .and(warp::path::param::()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | .and(warp::get()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | .and(warp::ws()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|ws: warp::ws::Ws, users| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let hi = warp::path("hi").map(|| "Hello, World!"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | .and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/reply_with.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | .and(warp::body::content_length_limit(500)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | let over_there = warp::any().map(|| warp::redirect::see_other(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | .and(warp::query::()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:62:58 [INFO] [stdout] | [INFO] [stdout] 62 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let index = warp::path::end().map(|| warp::reply::html(INDEX_HTML)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | let math = warp::path("math"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | warp::body::bytes().and_then(|body: bytes::Bytes| async move { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | let over_there = warp::any().map(|| warp::redirect::see_other(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | .and(warp::post()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let index = warp::path::end().map(|| warp::reply::html(INDEX_HTML)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/sse.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{sse::Event, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | let bye = warp::path("bye") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|_e| warp::reject::custom(NotUtf8)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:73:58 [INFO] [stdout] | [INFO] [stdout] 73 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::host::Authority; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/websockets_chat.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | .and(warp::path::param()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | warp::reply() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | warp::reply::json(&employee) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | .and(warp::put()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let over_there = warp::any().map(|| warp::redirect::temporary(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::Method, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | let chat_recv = warp::path("chat").and(warp::get()).and(users).map(|users| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | ) -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | let math = warp::path("math").and(sum.or(times)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/body.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | warp::serve(promote).run(([127, 0, 0, 1], 3030)).await [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | let over_there = warp::any().map(|| warp::redirect::temporary(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | let chat_recv = warp::path("chat").and(warp::get()).and(users).map(|users| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:86:26 [INFO] [stdout] | [INFO] [stdout] 86 | let admin_only = warp::header::exact("authorization", "Bearer admin"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | let help = warp::path("math") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/websockets_chat.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 21 | type Users = Arc>>>; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | warp::sse::reply(warp::sse::keep_alive().stream(stream)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WebSocket` in this scope [INFO] [stdout] --> examples/websockets_chat.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | async fn user_connected(ws: WebSocket, users: Users) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use warp_fix_171::ws::WebSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | .and(warp::delete()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> examples/websockets_chat.rs:100:42 [INFO] [stdout] | [INFO] [stdout] 100 | async fn user_message(my_id: usize, msg: Message, users: &Users) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> examples/websockets_chat.rs:113:49 [INFO] [stdout] | [INFO] [stdout] 113 | if let Err(_disconnected) = tx.send(Message::text(new_msg.clone())) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 69 | .and(warp::path::end()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/wrapping.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | warp::any() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let over_there = warp::any().map(|| warp::redirect::permanent(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | warp::any().map(move || db.clone()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | fn json_body() -> impl Filter + Clone { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | warp::sse::reply(warp::sse::keep_alive().stream(stream)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:89:18 [INFO] [stdout] | [INFO] [stdout] 89 | let routes = warp::get().and( [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | let over_there = warp::any().map(|| warp::redirect::permanent(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/wrapping.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let routes = warp::any() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | warp::body::content_length_limit(1024 * 16).and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let index = warp::path::end().map(|| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/routing.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/wrapping.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | .with(warp::wrap_fn(hello_wrapper)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | warp::body::content_length_limit(1024 * 16).and(warp::body::json()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:119:71 [INFO] [stdout] | [INFO] [stdout] 119 | pub async fn list_todos(opts: ListOptions, db: Db) -> Result { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/redirect.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/redirect.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | let over_there = warp::any().map(|| warp::redirect(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/redirect.rs:17:63 [INFO] [stdout] | [INFO] [stdout] 17 | let over_there = warp::any().map(|| warp::redirect::found(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/wrapping.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | Ok(warp::reply::json(&todos)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/redirect.rs:28:67 [INFO] [stdout] | [INFO] [stdout] 28 | let over_there = warp::any().map(|| warp::redirect::see_other(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/redirect.rs:39:67 [INFO] [stdout] | [INFO] [stdout] 39 | let over_there = warp::any().map(|| warp::redirect::temporary(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:70:6 [INFO] [stdout] | [INFO] [stdout] 70 | impl warp::reject::Reject for NotUtf8 {} [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:131:67 [INFO] [stdout] | [INFO] [stdout] 131 | pub async fn create_todo(create: Todo, db: Db) -> Result { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/redirect.rs:50:67 [INFO] [stdout] | [INFO] [stdout] 50 | let over_there = warp::any().map(|| warp::redirect::permanent(Uri::from_static("/over-there"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | return Ok(StatusCode::BAD_REQUEST); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | Ok(StatusCode::CREATED) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/handlebars_template.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | warp::reply::html(render) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Result { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:78:69 [INFO] [stdout] | [INFO] [stdout] 78 | fn user_connected(users: Users) -> impl Stream> + Send + 'static { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:162:27 [INFO] [stdout] | [INFO] [stdout] 162 | return Ok(StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/todos.rs:172:62 [INFO] [stdout] | [INFO] [stdout] 172 | pub async fn delete_todo(id: u64, db: Db) -> Result { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 5 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/todos.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(StatusCode::NOT_FOUND) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/handlebars_template.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let route = warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse_chat.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | warp::http::Response::builder() [INFO] [stdout] | ^^^^^^^^ not found in `warp::http` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::reply::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> examples/sse_chat.rs:78:62 [INFO] [stdout] | [INFO] [stdout] 78 | fn user_connected(users: Users) -> impl Stream> + Send + 'static { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::sse::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/sse_chat.rs:98:38 [INFO] [stdout] | [INFO] [stdout] 98 | Message::UserId(my_id) => Ok(Event::default().event("user").data(my_id.to_string())), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::sse::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> examples/sse_chat.rs:99:37 [INFO] [stdout] | [INFO] [stdout] 99 | Message::Reply(reply) => Ok(Event::default().data(reply)), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::sse::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::ws::Message; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/handlebars_template.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | .and(warp::path::end()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/handlebars_template.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | warp::serve(route).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 20 previous errors [INFO] [stderr] error: could not compile `warp-fix-171` due to 13 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let header = warp::reply::with::header("foo", "bar"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/unix_socket.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | warp::serve(warp::fs::dir("examples/dir")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | let no_header = warp::any().map(warp::reply).with(&header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let routes = warp::path("ticks").and(warp::get()).map(|| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/dyn_reply.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::StatusCode, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | let no_header = warp::any().map(warp::reply).with(&header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dyn_reply.rs:4:52 [INFO] [stdout] | [INFO] [stdout] 4 | async fn dyn_reply(word: String) -> Result, warp::Rejection> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dyn_reply.rs:4:66 [INFO] [stdout] | [INFO] [stdout] 4 | async fn dyn_reply(word: String) -> Result, warp::Rejection> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/unix_socket.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | warp::serve(warp::fs::dir("examples/dir")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> examples/dyn_reply.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(Box::new(StatusCode::BAD_REQUEST)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:17:42 [INFO] [stdout] | [INFO] [stdout] 17 | let routes = warp::path("ticks").and(warp::get()).map(|| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/filter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | warp::sse::reply(event_stream) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | let prev_header = warp::reply::with::header("foo", "sean"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in this scope [INFO] [stdout] --> examples/sse.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn sse_counter(counter: u64) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::sse::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/sse.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | Ok(warp::sse::Event::default().data(counter.to_string())) [INFO] [stdout] | ^^^^^ not found in `warp::sse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use tracing::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use warp_fix_171::sse::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let yes_header = warp::any().map(warp::reply).with(prev_header).with(header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | let yes_header = warp::any().map(warp::reply).with(prev_header).with(header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 19 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 23 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let headers = warp::reply::with::headers(headers); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | let no_header = warp::any().map(warp::reply).with(&headers); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | let no_header = warp::any().map(warp::reply).with(&headers); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 10 previous errors [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/query.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let prev_header = warp::reply::with::header("foo", "sean"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | let file = warp::fs::file("README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let yes_header = warp::any().map(warp::reply).with(prev_header).with(headers); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let yes_header = warp::any().map(warp::reply).with(prev_header).with(headers); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> examples/websockets_chat.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::{SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> examples/websockets_chat.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::{SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dyn_reply.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let routes = warp::path::param().and_then(dyn_reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 23 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | let req = warp::test::request().path("/todos.rs"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/dyn_reply.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 15 previous errors [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/ext.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/cors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::{http::Method, Filter}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | let def_header = warp::reply::with::default_header("foo", "bar"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let malformed_req = warp::test::request().path("todos.rs"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let no_header = warp::any().map(warp::reply).with(&def_header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:50:37 [INFO] [stdout] | [INFO] [stdout] 50 | let no_header = warp::any().map(warp::reply).with(&def_header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let str1 = warp::any().map(|| "warp"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | let req = warp::test::request().path("/todos%2ers"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> examples/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 9 previous errors [INFO] [stdout] error: aborting due to 13 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let true1 = warp::any().map(|| true); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | let header = warp::reply::with::header("foo", "sean"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let req = warp::test::request().path("/definitely-not-found"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | let unit1 = warp::any(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let yes_header = warp::any().map(warp::reply).with(header).with(def_header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | let yes_header = warp::any().map(warp::reply).with(header).with(def_header); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/ws.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let ext = warp::test::request().filter(&str1).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | let req = warp::test::request().path("/../README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/reply_with.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> tests/reply_with.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let mut headers = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use headers::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 2 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderValue` [INFO] [stdout] --> tests/reply_with.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | headers.insert("server", HeaderValue::from_static("warp")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 | use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderValue` [INFO] [stdout] --> tests/reply_with.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | headers.insert("foo", HeaderValue::from_static("bar")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use headers::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 | use http::HeaderValue; [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::header::HeaderValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let ext = warp::test::request().filter(&unit1).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let req = warp::test::request().path("/%2E%2e/README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | let file = warp::fs::dir("examples"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:109:15 [INFO] [stdout] | [INFO] [stdout] 109 | let req = warp::test::request().path("/dir"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | let req = warp::test::request().path("/dir/"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 14 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:124:16 [INFO] [stdout] | [INFO] [stdout] 124 | let file = warp::fs::file("README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | let filter = warp::host::exact("known.com"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 41 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let as_map = warp::query::>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let req = warp::test::request().path("http://known.com/about-us"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | let req = warp::test::request().path("/?foo=bar&baz=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 14 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | let req = warp::test::request().path("http://unknown.com/about-us"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:155:16 [INFO] [stdout] | [INFO] [stdout] 155 | let file = warp::fs::file("README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ext.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let ext = warp::ext::get::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/method.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ext.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let extracted = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let req = warp::test::request().path("/?foo=bar&baz=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:162:15 [INFO] [stdout] | [INFO] [stdout] 162 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ext.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | let ext = warp::ext::get().map(|e: Ext1| e.0.to_string()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `warp` [INFO] [stdout] --> tests/body.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use warp::Filter; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let cors = warp::cors().allow_methods(&[Method::GET, Method::POST, Method::DELETE]); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ext.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let res = warp::test::request().reply(&ext).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | let cors = warp::cors().allow_methods(&[Method::GET, Method::POST, Method::DELETE]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:6:58 [INFO] [stdout] | [INFO] [stdout] 6 | let cors = warp::cors().allow_methods(&[Method::GET, Method::POST, Method::DELETE]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | let cors = warp::cors().allow_methods(&[Method::GET, Method::POST, Method::DELETE]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | let file = warp::fs::file("README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let req = warp::test::request().path("/?"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let readme = warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .find::() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let ext = warp::test::request().filter(&and).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | .and(warp::path::end()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:210:15 [INFO] [stdout] | [INFO] [stdout] 210 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | .find::() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let req = warp::test::request().path("/?foo&baz"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | let ok = warp::any().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | let ok = warp::any().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | .and(warp::fs::file("./README.md")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | .find::() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:238:16 [INFO] [stdout] | [INFO] [stdout] 238 | let file = warp::fs::file("README.md"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 77 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let cors = warp::cors() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | .allow_methods(&[Method::DELETE]) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let filter = warp::host::optional(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let examples = warp::path("ex").and(warp::fs::dir("./examples/")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let req = warp::test::request().path("/"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let req = warp::test::request().header("host", "example.com"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let a = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let examples = warp::path("ex").and(warp::fs::dir("./examples/")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/fs.rs:257:15 [INFO] [stdout] | [INFO] [stdout] 257 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let route = warp::ws().map(|ws: warp::ws::Ws| ws.on_upgrade(|_| async {})); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | let route = warp::ws().map(|ws: warp::ws::Ws| ws.on_upgrade(|_| async {})); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let b = warp::any().map(|| 41i32); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> examples/file.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | warp::serve(routes).run(([127, 0, 0, 1], 3030)).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/host.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authority` [INFO] [stdout] --> tests/host.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | Some(Authority::from_static("example.com")) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] 2 | use warp_fix_171::host::Authority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | let _: Result<_, Infallible> = warp::test::request().filter(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | let req = warp::test::request().path("/?foo=bar&baz=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | let resp = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let as_struct = warp::query::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let a = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:99:43 [INFO] [stdout] | [INFO] [stdout] 99 | let f = a.or_else(|_| async { Ok::<_, warp::Rejection>((44u32,)) }); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | let resp = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 57 | let cors = warp::cors() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | .allow_methods(&[Method::GET]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let req = warp::test::request().path("/?foo=something"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | warp::test::request().path("/33").filter(&f).await.unwrap(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let route = warp::any().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | let route = warp::any().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:61:33 [INFO] [stdout] | [INFO] [stdout] 61 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let as_struct = warp::query::().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(warp::test::request().filter(&f).await.unwrap(), 44,); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:63:15 [INFO] [stdout] | [INFO] [stdout] 63 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:116:61 [INFO] [stdout] | [INFO] [stdout] 116 | let as_struct = warp::query::().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let a = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let mut client = warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | let req = warp::test::request().path("/"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | let _: Result<_, Infallible> = warp::test::request().filter(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let mut client = warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | let cors = warp::cors() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | .allow_methods(&[Method::DELETE]) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | let as_raw = warp::query::raw(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let a = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let concat = warp::body::bytes(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let mut client = warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | let get = warp::get().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/query.rs:135:15 [INFO] [stdout] | [INFO] [stdout] 135 | let req = warp::test::request().path("/?foo=bar&baz=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | let get = warp::get().map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:122:16 [INFO] [stdout] | [INFO] [stdout] 122 | let resp = warp::test::request().path("/hi").reply(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let req = warp::test::request().path("/nothing-matches-me"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 30 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | let req = warp::test::request(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | let cors = warp::cors() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:127:16 [INFO] [stdout] | [INFO] [stdout] 127 | let resp = warp::test::request().reply(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let route = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | .allow_methods(&[Method::POST, Method::DELETE]) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:111:40 [INFO] [stdout] | [INFO] [stdout] 111 | .allow_methods(&[Method::POST, Method::DELETE]) [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let route = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let p = warp::path("body"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | let req = warp::test::request().method("POST"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let route = warp::any().map(warp::reply).with(cors); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | let _: Result<_, Infallible> = warp::test::request().filter(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | let client = warp::test::ws().handshake(route).await.expect("handshake"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | let req = warp::test::request().path("/body"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | let req = warp::test::request().method("POST"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let a = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | let filter = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | let filter = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let concat = warp::body::bytes(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | let get = warp::get().and(warp::path("hello").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let b = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | let double = concat.and(concat).map(|_, _| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let mut client = warp::test::ws().handshake(filter).await.expect("handshake"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | let ex = warp::test::request().path("/1").filter(&f).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | let get = warp::get().and(warp::path("hello").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | let cors = warp::cors() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | let get = warp::get().and(warp::path("hello").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> tests/cors.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | .allow_methods(&[Method::GET]); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let res = warp::test::request().reply(&double).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | let route = warp::any() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | .map(warp::reply) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | let f = warp::any().and_then(|| async { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let mut client = warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let post = warp::post().and(warp::path("bye").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let limit = warp::body::content_length_limit(30).map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 174 | .with(warp::log("cors test")); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | let limit = warp::body::content_length_limit(30).map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | let p = warp::path::param::(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | let post = warp::post().and(warp::path("bye").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | let post = warp::post().and(warp::path("bye").map(warp::reply)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/cors.rs:176:15 [INFO] [stdout] | [INFO] [stdout] 176 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | let mut client = warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let res = warp::test::request().reply(&limit).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | warp::test::request().filter(&p).await [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | let req = warp::test::request().method("GET").path("/bye"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/filter.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | let _ = warp::test::request().filter(&f).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | warp::ws().map(|ws: warp::ws::Ws| ws.on_upgrade(|websocket| websocket.close().map(|_| ()))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | let get = warp::get() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | warp::ws().map(|ws: warp::ws::Ws| ws.on_upgrade(|websocket| websocket.close().map(|_| ()))); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | let res = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 8 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let mut client = warp::test::ws().handshake(route).await.expect("handshake"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | .and(warp::path("hello")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 64 | let json = warp::body::json::>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:205:16 [INFO] [stdout] | [INFO] [stdout] 205 | let echo = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | let echo = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | .and(warp::header::exact("foo", "bar")) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | .map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | let req = warp::test::request().body("[1, 2, 3]"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | let mut client = warp::test::ws().handshake(echo).await.expect("handshake"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 20 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | let post = warp::post().and(warp::path("bye")).map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | let post = warp::post().and(warp::path("bye")).map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:42:56 [INFO] [stdout] | [INFO] [stdout] 42 | let post = warp::post().and(warp::path("bye")).map(warp::reply); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let json = warp::body::json::>().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 229 | let echo = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:229:36 [INFO] [stdout] | [INFO] [stdout] 229 | let echo = warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/method.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | let req = warp::test::request().method("GET").path("/hello"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:83:55 [INFO] [stdout] | [INFO] [stdout] 83 | let json = warp::body::json::>().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let mut client = warp::test::ws().handshake(echo).await.expect("handshake"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:101:16 [INFO] [stdout] | [INFO] [stdout] 101 | let json = warp::body::json::>().map(|vec| warp::reply::json(&vec)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:256:21 [INFO] [stdout] | [INFO] [stdout] 256 | let ws_filter = warp::path("my-ws") [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:101:57 [INFO] [stdout] | [INFO] [stdout] 101 | let json = warp::body::json::>().map(|vec| warp::reply::json(&vec)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:257:14 [INFO] [stdout] | [INFO] [stdout] 257 | .and(warp::query::()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | let res = warp::test::request().body("lol#wat").reply(&json).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:258:14 [INFO] [stdout] | [INFO] [stdout] 258 | .and(warp::ws()) [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:259:35 [INFO] [stdout] | [INFO] [stdout] 259 | .map(|query: MyQuery, ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let json = warp::body::json::>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | warp::test::ws() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:278:44 [INFO] [stdout] | [INFO] [stdout] 278 | fn ws_echo() -> impl Filter + Copy { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:278:65 [INFO] [stdout] | [INFO] [stdout] 278 | fn ws_echo() -> impl Filter + Copy { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | let form = warp::body::form::>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | warp::ws().map(|ws: warp::ws::Ws| { [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | client.send(warp::ws::Message::binary(&b"bonk"[..])).await; [INFO] [stdout] | ^^^^^^^ not found in `warp::ws` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | let message = warp::ws::Message::text("hello"); [INFO] [stdout] | ^^^^^^^ not found in `warp::ws` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/ws.rs:121:32 [INFO] [stdout] | [INFO] [stdout] 121 | websocket.send(Message::ping("srv")).await.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/ws.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | client.send(Message::ping("clt")).await; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> tests/ws.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 177 | let msg = Message::pong("clt"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | let req = warp::test::request().body("foo=bar&baz=quux"); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | client.send(warp::ws::Message::binary(vec![0; 1025])).await; [INFO] [stdout] | ^^^^^^^ not found in `warp::ws` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/ws.rs:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | client.send(warp::ws::Message::binary(vec![0; 1025])).await; [INFO] [stdout] | ^^^^^^^ not found in `warp::ws` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use warp_fix_171::ws::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | let form = warp::body::form::>().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | let form = warp::body::form::>().map(|_| warp::reply()); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 144 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | let form = warp::body::form::>(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | let req = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:177:16 [INFO] [stdout] | [INFO] [stdout] 177 | let form = warp::body::form::>().map(|vec| warp::reply::json(&vec)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:177:57 [INFO] [stdout] | [INFO] [stdout] 177 | let form = warp::body::form::>().map(|vec| warp::reply::json(&vec)); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:179:15 [INFO] [stdout] | [INFO] [stdout] 179 | let res = warp::test::request().body("nope").reply(&form).await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | let stream = warp::body::stream(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | let body = warp::test::request() [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `warp` [INFO] [stdout] --> tests/body.rs:197:30 [INFO] [stdout] | [INFO] [stdout] 197 | let bufs: Result, warp::Error> = body.try_collect().await; [INFO] [stdout] | ^^^^ use of undeclared crate or module `warp` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 33 previous errors [INFO] [stderr] error: could not compile `warp-fix-171` due to 41 previous errors [INFO] [stderr] error: could not compile `warp-fix-171` due to 22 previous errors [INFO] [stdout] error: aborting due to 45 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 46 previous errors [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | let p = path!(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | let p = path!(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let p = path!("foo" / "bar" / ..).and(warp::path!("baz")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | let p = path!("foo" / "bar" / ..); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let p = path!("foo" / "bar").and(warp::path("baz")); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let p = path!("foo" / "bar"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let p = path!("foo" / String); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let p = path!(String / "bar"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `path` in this scope [INFO] [stdout] --> tests/path.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | let p = path!("foo" / "bar"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] warp_fix_171::path [INFO] [stdout] = note: `path` is in scope, but it is an attribute: `#[path]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 21 previous errors [INFO] [stdout] error: aborting due to 39 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 40 previous errors [INFO] [stdout] warning: unused import: `bytes::Buf` [INFO] [stdout] --> tests/body.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> tests/body.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryStreamExt` [INFO] [stdout] --> tests/body.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-fix-171` due to 38 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `warp-fix-171` due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "50c188ced13192e36d3bbd468a0d43cd6d2f61be42722ce7b89750e427644606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50c188ced13192e36d3bbd468a0d43cd6d2f61be42722ce7b89750e427644606", kill_on_drop: false }` [INFO] [stdout] 50c188ced13192e36d3bbd468a0d43cd6d2f61be42722ce7b89750e427644606