[INFO] fetching crate rocket_codegen 0.5.0-rc.1... [INFO] testing rocket_codegen-0.5.0-rc.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rocket_codegen 0.5.0-rc.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate rocket_codegen 0.5.0-rc.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_codegen 0.5.0-rc.1 [INFO] finished tweaking crates.io crate rocket_codegen 0.5.0-rc.1 [INFO] tweaked toml for crates.io crate rocket_codegen 0.5.0-rc.1 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42dca4d63b2c9f05b836bd3069e9f0d171b477d305fcb2892bc73396408b3429 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "42dca4d63b2c9f05b836bd3069e9f0d171b477d305fcb2892bc73396408b3429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42dca4d63b2c9f05b836bd3069e9f0d171b477d305fcb2892bc73396408b3429", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42dca4d63b2c9f05b836bd3069e9f0d171b477d305fcb2892bc73396408b3429", kill_on_drop: false }` [INFO] [stdout] 42dca4d63b2c9f05b836bd3069e9f0d171b477d305fcb2892bc73396408b3429 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0be7f35b5c1ae69d3ef1e50ea9cbe499786751854675f89408141c4393057b2f [INFO] running `Command { std: "docker" "start" "-a" "0be7f35b5c1ae69d3ef1e50ea9cbe499786751854675f89408141c4393057b2f", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "0be7f35b5c1ae69d3ef1e50ea9cbe499786751854675f89408141c4393057b2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be7f35b5c1ae69d3ef1e50ea9cbe499786751854675f89408141c4393057b2f", kill_on_drop: false }` [INFO] [stdout] 0be7f35b5c1ae69d3ef1e50ea9cbe499786751854675f89408141c4393057b2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 682837ef4dbdf1db9db49bd9cb8de7dbdb4d6152732ba7874fdacebc4de62590 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "682837ef4dbdf1db9db49bd9cb8de7dbdb4d6152732ba7874fdacebc4de62590", kill_on_drop: false }` [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/route-raw.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/async-routes.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/segment-ignore.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/expansion.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/route-ranking.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/uri_display.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/route-data.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> tests/route-data.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 23 | | <&'r str>::from_data(req, data).await.map(Simple) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-raw.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/?")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-raw.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/swap//")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/route-raw.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[catch(400)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] = note: `catch` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-raw.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | .mount("/", routes![get, swap]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/route-raw.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | .register("/", catchers![catch]); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let uri_named = uri!(get(r#enum = "test_named", r#type = 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let uri_unnamed = uri!(get("test_unnamed", 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form_field.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::form::{FromFormField, ValueField, FromForm, Options, Errors}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form_field.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use rocket::form::error::{ErrorKind, Entity}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let uri_raws = uri!(swap(r#raw = "1", r#bare = "2")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let uri_bare = uri!(swap(raw = "1", bare = "2")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-raw.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/route-format.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/catcher.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::local::asynchronous::Client; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Status, ContentType, Cookie}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::Responder; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | use rocket::serde::json::Json; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[rocket::async_test] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[rocket::async_test] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[rocket::async_test] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[rocket::async_test] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/route.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> tests/route.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | _____`async` because of this [INFO] [stdout] | | [INFO] [stdout] 30 | | String::from_data(req, data).await.map(Simple) [INFO] [stdout] 31 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | async fn rocket() -> rocket::Rocket { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | async fn rocket() -> rocket::Rocket { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/<_>", rank = 1)] fn ig_1() -> &'static str { "1" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[get("/static")] fn just_static() -> &'static str { "static" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[get("/<_>/<_>", rank = 1)] fn ig_2() -> &'static str { "2" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[get("/static/<_>")] fn ig_1_static() -> &'static str { "static_1" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/<_>/<_>/<_>", rank = 1)] fn ig_3() -> &'static str { "3" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/static/<_>/static")] fn ig_1_static_static() -> &'static str { "static_1_static" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[get("//<_>/<_>/")] fn wrapped(a: String, b: String) -> String { a + &b } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | let rocket = rocket::build().mount("/", routes![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/segment-ignore.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_string(client: &Client, url: &str) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> tests/from_form.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::form::{self, Form, Strict, FromForm, FromFormField, Errors}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use rocket::form::error::{ErrorKind, Entity}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | use rocket::http::ContentType; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | use rocket::local::blocking::Client; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:575:9 [INFO] [stdout] | [INFO] [stdout] 575 | use rocket::fs::TempFile; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocket` [INFO] [stdout] --> tests/from_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::form::{self, Form, Strict, FromForm, FromFormField, Errors}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:583:7 [INFO] [stdout] | [INFO] [stdout] 583 | #[rocket::post("/", data = "
")] [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/from_form.rs:589:37 [INFO] [stdout] | [INFO] [stdout] 589 | let client = Client::debug_with(rocket::routes![form]).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/<_number>")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[get("/<_number>", rank = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[get("/<_number>", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[get("/<_number>", rank = 3)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-ranking.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | let rocket = rocket::build().mount("/", routes![get0, get1, get2, get3]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/<_n>")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-ranking.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | let rocket = rocket::build().mount("/", routes![get0, get0b]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-ranking.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-ranking.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | let client_result = Client::debug(rocket); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/route-ranking.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | Err(ErrorKind::Collisions(..)) => { /* o.k. */ }, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `version_check` [INFO] [stdout] --> tests/ui-fail.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | let path = match version_check::is_feature_flaggable() { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `version_check` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `trybuild` [INFO] [stdout] --> tests/ui-fail.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let t = trybuild::TestCases::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `trybuild` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/async-routes.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[catch(404)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/async-routes.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> tests/async-routes.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hello(_origin: &Origin<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/async-routes.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | async fn not_found(req: &Request<'_>) -> String { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'_`, which is not constrained by the fn input types [INFO] [stdout] --> tests/async-routes.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | async fn hello(_origin: &Origin<'_>) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'_`, which is not constrained by the fn input types [INFO] [stdout] --> tests/async-routes.rs:16:42 [INFO] [stdout] | [INFO] [stdout] 16 | async fn not_found(req: &Request<'_>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(task, Some(TodoTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(task, Some(TodoTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(task, Some(TodoTask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug, PartialEq, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(UriDisplayQuery, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form_field.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[field(value = "foo")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form_field.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[field(value = "bark")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(input, Ok(FormInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(default, Some(DefaultInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[field(name = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form_field.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[field(value = ":book")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(manual, Some(ManualMethod { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(manual, Some(ManualMethod { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(manual, Some(ManualMethod { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | assert_eq!(manual, Some(UnpresentCheckbox { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | assert_eq!(manual, Some(UnpresentCheckboxTwo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(manual, Some(FieldNamedV { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(manual, Some(FieldNamedV { v: "abc".into() })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(manual, Some(FieldNamedV { v: "abc".into() })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | assert_eq!(manual, Some(FieldNamedV { v: "abc".into() })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | assert_eq!(manual, Some(UnpresentCheckboxTwo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!(manual, Some(UnpresentCheckboxTwo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromFormField` in this scope [INFO] [stdout] --> tests/from_form_field.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Debug, FromFormField)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromFormField [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[field(name = "camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:199:11 [INFO] [stdout] | [INFO] [stdout] 199 | #[field(name = "TitleCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | #[field(name = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 203 | #[field(name = "DOUBLE")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:205:11 [INFO] [stdout] | [INFO] [stdout] 205 | #[field(name = "a:b")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(form, Some(RenamedForm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:232:32 [INFO] [stdout] | [INFO] [stdout] 232 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 235 | #[field(name = "SomeCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options` [INFO] [stdout] --> tests/from_form_field.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | let mut context = T::init(Options::Lenient); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 236 | #[field(name = "some_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | assert_eq!(form, Some(MultiName { single: 123, some_case: "hi_im_here", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(form, Some(MultiName { single: 123, some_case: "HiImHere", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/easy/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(form, Some(MultiName { single: 123, some_case: "hi_im_here", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(form, Some(MultiName { single: 123, some_case: "HiImHere", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/hard/")] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | make_handler!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] = note: this error originates in the macro `make_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:260:32 [INFO] [stdout] | [INFO] [stdout] 260 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:124:14 [INFO] [stdout] | [INFO] [stdout] 124 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[get($addr)] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | foo!("/hello/", name); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | #[field(name = uncased("SomeCase"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:263:11 [INFO] [stdout] | [INFO] [stdout] 263 | #[field(name = "some_case")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | #[field(name = uncased("hello"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:126:11 [INFO] [stdout] | [INFO] [stdout] 126 | #[field(value = "a")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | #[field(value = "tomato")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ValueField` [INFO] [stdout] --> tests/from_form_field.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | T::push_value(&mut context, ValueField::from_value(value)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ValueField` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity` [INFO] [stdout] --> tests/from_form_field.rs:100:24 [INFO] [stdout] | [INFO] [stdout] 100 | && e.entity == Entity::Value [INFO] [stdout] | ^^^^^^ use of undeclared type `Entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:129:11 [INFO] [stdout] | [INFO] [stdout] 129 | #[field(value = "juice")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form_field.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | ErrorKind::InvalidChoice { choices } => &choices[..] == &["Bar", "Bob"], [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromForm` in this scope [INFO] [stdout] --> tests/from_form_field.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse<'v, T: FromForm<'v>>(value: &'v str) -> Result> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Errors` in this scope [INFO] [stdout] --> tests/from_form_field.rs:3:60 [INFO] [stdout] | [INFO] [stdout] 3 | fn parse<'v, T: FromForm<'v>>(value: &'v str) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(form, Some(CaseInsensitive { hello: 123, some_case: "hi_im_here", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | assert_eq!(form, Some(CaseInsensitive { hello: 456, some_case: "HiImHere", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(form, Some(CaseInsensitive { hello: 789, some_case: "hi_there", })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | #[derive(FromForm, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:297:14 [INFO] [stdout] | [INFO] [stdout] 297 | #[derive(FromForm, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(form, Some(YetOneMore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(form, Some(YetOneMore { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(form, Some(Oops { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:336:32 [INFO] [stdout] | [INFO] [stdout] 336 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | assert_eq!(form, Ok(WhoopsForm { complete: true, other: 781 })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:411:32 [INFO] [stdout] | [INFO] [stdout] 411 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | assert_eq!(form, Ok(RawIdentForm { r#type: "a".into() })); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:424:32 [INFO] [stdout] | [INFO] [stdout] 424 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | #[field(value = "carrot")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[post("/", format = "json")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | enum CLikeR { r#for, r#type, r#async, #[field(value = "stop")] r#yield } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/expansion.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let rocket = rocket::build().mount("/", routes![easy, hard, hi]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | index!(i32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] = note: this error originates in the macro `index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/expansion.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | let rocket = rocket::build().mount("/", routes![index]).manage(100i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/expansion.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/expansion.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:430:11 [INFO] [stdout] | [INFO] [stdout] 430 | #[field(name = "more:dogs")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:442:5 [INFO] [stdout] | [INFO] [stdout] 442 | assert_eq!(multi, Multi { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[post("/", format = "xml")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:460:32 [INFO] [stdout] | [INFO] [stdout] 460 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | assert_eq!(multi, MultiOwned { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:171:10 [INFO] [stdout] | [INFO] [stdout] 171 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayPath [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[post("/", format = "application/json", rank = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[post("/", format = "application/msgpack")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[post("/", format = "msgpack", rank = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayPath [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:472:17 [INFO] [stdout] | [INFO] [stdout] 472 | #[derive(Debug, FromForm, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:478:17 [INFO] [stdout] | [INFO] [stdout] 478 | #[derive(Debug, FromForm, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayPath [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:180:10 [INFO] [stdout] | [INFO] [stdout] 180 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayPath [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayPath [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/", format = "plain")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[get("/", format = "binary", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[get("/", rank = 3)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | #[derive(Debug, FromForm, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:491:28 [INFO] [stdout] | [INFO] [stdout] 491 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-format.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | .mount("/", routes![json, xml, json_long, msgpack_long, msgpack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | assert_eq!(person, Person { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(person, Person { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:524:5 [INFO] [stdout] | [INFO] [stdout] 524 | assert_eq!(person, Person { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:547:5 [INFO] [stdout] | [INFO] [stdout] 547 | assert_eq!(person, Person { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:577:14 [INFO] [stdout] | [INFO] [stdout] 577 | #[derive(FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[get("/", format = "application/foo")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | assert_eq!(form.names, &["abcd", "123"]); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | assert_eq!(form.file.name(), Some("foo")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:622:14 [INFO] [stdout] | [INFO] [stdout] 622 | #[derive(FromForm, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[post("/", format = "application/foo")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[get("/", format = "bar/baz", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `put` in this scope [INFO] [stdout] --> tests/route-format.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[put("/", format = "bar/baz")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::put [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route-data.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> tests/route-data.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-format.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .mount("/", routes![get_foo, post_foo, get_bar_baz, put_bar_baz]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-format.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-data.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[post("/f", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | let response = client.post("/").header(ContentType::JSON).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | let response = client.post("/").header(ContentType::MsgPack).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:48:44 [INFO] [stdout] | [INFO] [stdout] 48 | let response = client.post("/").header(ContentType::XML).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> tests/route-format.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | let response = client.get("/").header(Accept::Plain).dispatch(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Accept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> tests/route-format.rs:54:43 [INFO] [stdout] | [INFO] [stdout] 54 | let response = client.get("/").header(Accept::Binary).dispatch(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Accept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let response = client.get("/").header(ContentType::JSON).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | let response = client.put("/").header(ContentType::HTML).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route-format.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-format.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:624:11 [INFO] [stdout] | [INFO] [stdout] 624 | #[field(default = None)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:626:11 [INFO] [stdout] | [INFO] [stdout] 626 | #[field(default = None)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:628:11 [INFO] [stdout] | [INFO] [stdout] 628 | #[field(default = None)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:630:11 [INFO] [stdout] | [INFO] [stdout] 630 | #[field(default_with = None)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:636:5 [INFO] [stdout] | [INFO] [stdout] 636 | assert_eq!(form1, Some(FormNoDefault { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:645:5 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(form1, Some(FormNoDefault { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:683:14 [INFO] [stdout] | [INFO] [stdout] 683 | #[derive(FromForm, PartialEq, Debug)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:688:11 [INFO] [stdout] | [INFO] [stdout] 688 | #[field(default = 100)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:690:11 [INFO] [stdout] | [INFO] [stdout] 690 | #[field(default = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-data.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[post("/s", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-data.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | let rocket = rocket::build().mount("/", routes![form, simple]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | let response = client.put("/").header(ContentType::HTML).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route-format.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:115:44 [INFO] [stdout] | [INFO] [stdout] 115 | let response = client.post("/").header(ContentType::HTML).dispatch(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route-format.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> tests/route-format.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let foo_a = Accept::new([MediaType::new("application", "foo").into()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> tests/route-format.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | let foo_a = Accept::new([MediaType::new("application", "foo").into()]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | let foo_ct = ContentType::new("application", "foo"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-format.rs:94:22 [INFO] [stdout] | [INFO] [stdout] 94 | let bar_baz_ct = ContentType::new("bar", "baz"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> tests/route-format.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let bar_baz_a = Accept::new([MediaType::new("bar", "baz").into()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> tests/route-format.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | let bar_baz_a = Accept::new([MediaType::new("bar", "baz").into()]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:692:11 [INFO] [stdout] | [INFO] [stdout] 692 | #[field(default = false)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:694:11 [INFO] [stdout] | [INFO] [stdout] 694 | #[field(default = 254 + 1)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:696:11 [INFO] [stdout] | [INFO] [stdout] 696 | #[field(default = Some(true))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:698:11 [INFO] [stdout] | [INFO] [stdout] 698 | #[field(default = false)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `data` [INFO] [stdout] --> tests/route-data.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:700:11 [INFO] [stdout] | [INFO] [stdout] 700 | #[field(default = Ok("hello".into()))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:702:11 [INFO] [stdout] | [INFO] [stdout] 702 | #[field(default = Ok("hello"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:704:11 [INFO] [stdout] | [INFO] [stdout] 704 | #[field(default = vec![1, 2, 3])] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route-data.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:706:11 [INFO] [stdout] | [INFO] [stdout] 706 | #[field(default = vec!["wow", "a", "string", "nice"])] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route-data.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | .header(ContentType::Form) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromData` in this scope [INFO] [stdout] --> tests/route-data.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'r> FromData<'r> for Simple<'r> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/route-data.rs:22:33 [INFO] [stdout] | [INFO] [stdout] 22 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> tests/route-data.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Data; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Form` in this scope [INFO] [stdout] --> tests/route-data.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | fn form<'r>(form: Form>) -> &'r str { form.into_inner().field } [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:708:11 [INFO] [stdout] | [INFO] [stdout] 708 | #[field(default = test_hashmap())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:710:11 [INFO] [stdout] | [INFO] [stdout] 710 | #[field(default = test_btreemap())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:712:11 [INFO] [stdout] | [INFO] [stdout] 712 | #[field(default_with = Some(false))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:714:11 [INFO] [stdout] | [INFO] [stdout] 714 | #[field(default_with = (|| Some(777))())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:716:11 [INFO] [stdout] | [INFO] [stdout] 716 | #[field(default = std::num::NonZeroI32::new(3).unwrap())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:718:11 [INFO] [stdout] | [INFO] [stdout] 718 | #[field(default_with = std::num::NonZeroI32::new(9001))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:720:11 [INFO] [stdout] | [INFO] [stdout] 720 | #[field(default = 3.0)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:722:11 [INFO] [stdout] | [INFO] [stdout] 722 | #[field(default = "wow")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:724:11 [INFO] [stdout] | [INFO] [stdout] 724 | #[field(default = "wowie")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:726:11 [INFO] [stdout] | [INFO] [stdout] 726 | #[field(default = [192u8, 168, 1, 0])] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[catch(404)] fn not_found_0() -> &'static str { "404-0" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[catch(404)] fn not_found_1(_: &Request) -> &'static str { "404-1" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[catch(404)] fn not_found_2(_: Status, _: &Request) -> &'static str { "404-2" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[catch(default)] fn all(_: Status, r: &Request) -> String { r.uri().to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | .register("/0", catchers![not_found_0]) [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:728:11 [INFO] [stdout] | [INFO] [stdout] 728 | #[field(default = ([192u8, 168, 1, 0], 20))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:730:11 [INFO] [stdout] | [INFO] [stdout] 730 | #[field(default = time::date!(2021-05-27))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:732:11 [INFO] [stdout] | [INFO] [stdout] 732 | #[field(default = time::time!(01:15:00))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:734:11 [INFO] [stdout] | [INFO] [stdout] 734 | #[field(default = time::PrimitiveDateTime::new( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | assert_eq!(form1, Some(FormWithDefaults { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:782:5 [INFO] [stdout] | [INFO] [stdout] 782 | assert_eq!(form3, Some(FormWithDefaults { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:793:5 [INFO] [stdout] | [INFO] [stdout] 793 | assert_eq!(form4, Some(FormWithDefaults { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:817:32 [INFO] [stdout] | [INFO] [stdout] 817 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | .register("/1", catchers![not_found_1]) [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | .register("/2", catchers![not_found_2]) [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:819:11 [INFO] [stdout] | [INFO] [stdout] 819 | #[field(default = f())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | .register("/", catchers![all]) [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/catcher.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/")] fn forward(code: u16) -> Status { Status::new(code) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:821:11 [INFO] [stdout] | [INFO] [stdout] 821 | #[field(default = VAL.load(Ordering::Relaxed))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:823:11 [INFO] [stdout] | [INFO] [stdout] 823 | #[field(default_with = opt_f())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:825:11 [INFO] [stdout] | [INFO] [stdout] 825 | #[field(default_with = opt_f())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:827:11 [INFO] [stdout] | [INFO] [stdout] 827 | #[field(default = f())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[catch(400)] fn forward_400(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[catch(404)] fn forward_404(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[catch(444)] fn forward_444(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[catch(500)] fn forward_500(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::catch [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/catcher.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | .mount("/", routes![forward]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | .register("/", catchers![forward_400, forward_404, forward_444, forward_500]) [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `matches` [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::catchers [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/catcher.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | let response = client.get(uri!(forward(*code))).dispatch(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | rocket::build() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let rocket: rocket::Rocket = rocket().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let rocket: rocket::Rocket = rocket().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rocket::build() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let rocket: rocket::Rocket<_> = main2().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/from_form.rs:829:11 [INFO] [stdout] | [INFO] [stdout] 829 | #[field(default = VAL.load(Ordering::Relaxed))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main2() -> _ { rocket::build() } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let rocket: rocket::Rocket<_> = main2().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | rocket::build() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let rocket: rocket::Rocket<_> = rocket(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `assert_eq` [INFO] [stdout] --> tests/from_form.rs:836:5 [INFO] [stdout] | [INFO] [stdout] 836 | assert_eq!(form3, Some(MyForm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/route.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::UriDisplayQuery [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> tests/route.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[post( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let uri = uri!(post1(a, name, path, sky, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> tests/from_form.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Form::>::parse(string).map(|s| s.into_inner()) [INFO] [stdout] | ^^^^ use of undeclared type `Form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn rocket() -> _ { rocket::build() } [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let rocket: rocket::Rocket<_> = rocket(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let _ = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let result = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/async-entry.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let result = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for opaque types [INFO] [stdout] --> tests/async-entry.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main2() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for opaque types [INFO] [stdout] --> tests/async-entry.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main2() -> _ { rocket::build() } [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> tests/async-entry.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> tests/async-entry.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn rocket() -> _ { rocket::build() } [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `route` in this scope [INFO] [stdout] --> tests/route.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[route( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::route [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let uri = uri!(post2(a, name, path, sky, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::uri [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[post("/<_unused_param>?<_unused_query>", data="<_unused_data>")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::post [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | .mount("/1", routes![post1]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | .mount("/2", routes![post2]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[get("/world")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[get("/hello")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Default, Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Responder` in this scope [INFO] [stdout] --> tests/responder.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Responder)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::Responder [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | #[response(bound = "T: rocket::serde::Serialize, E: Responder<'r, 'o>")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 28 | assert_uri_display_query!(foo, "hello"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> tests/from_form.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Form::::parse(string) [INFO] [stdout] | ^^^^ use of undeclared type `Form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/catcher.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | let client = Client::debug(rocket()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/catcher.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 28 | assert_uri_display_query!(foo, "hello"); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 31 | assert_uri_display_query!(foo, "hello%20there"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 31 | assert_uri_display_query!(foo, "hello%20there"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 34 | assert_uri_display_query!(foo, "inner=hi&other=123"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 34 | assert_uri_display_query!(foo, "inner=hi&other=123"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 37 | assert_uri_display_query!(foo, "inner=hi%20bo&other=321"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Form` [INFO] [stdout] --> tests/from_form.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Form::>::parse_encoded(string.into()).map(|s| s.into_inner()) [INFO] [stdout] | ^^^^ use of undeclared type `Form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 37 | assert_uri_display_query!(foo, "inner=hi%20bo&other=321"); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 40 | assert_uri_display_query!(foo, "type=hello"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 40 | assert_uri_display_query!(foo, "type=hello"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 43 | assert_uri_display_query!(foo, "type=hello%20there"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 43 | assert_uri_display_query!(foo, "type=hello%20there"); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | assert_uri_display_query!(bar, "foo=hello&baz=well,%20hi!"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | assert_uri_display_query!(bar, "foo=hello&baz=well,%20hi!"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 60 | assert_uri_display_query!(bar, "foo.inner=hi&foo.other=123&baz=done"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:349:33 [INFO] [stdout] | [INFO] [stdout] 349 | && matches!(e.kind, ErrorKind::Int(..)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 60 | assert_uri_display_query!(bar, "foo.inner=hi&foo.other=123&baz=done"); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 64 | assert_uri_display_query!(bar, "foo.type=hello&baz=turkey%20day"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 64 | assert_uri_display_query!(bar, "foo.type=hello&baz=turkey%20day"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 80 | / assert_uri_display_query!(baz, "foo.inner=hi&foo.other=123&\ [INFO] [stdout] 81 | | bar.foo.inner=bye&bar.foo.other=321&bar.baz=done&\ [INFO] [stdout] 82 | | last=ok"); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 80 | / assert_uri_display_query!(baz, "foo.inner=hi&foo.other=123&\ [INFO] [stdout] 81 | | bar.foo.inner=bye&bar.foo.other=321&bar.baz=done&\ [INFO] [stdout] 82 | | last=ok"); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 88 | / assert_uri_display_query!(baz, "foo=bye&\ [INFO] [stdout] 89 | | bar.foo.type=hello&bar.baz=end&\ [INFO] [stdout] 90 | | last=done"); [INFO] [stdout] | |_________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 88 | / assert_uri_display_query!(baz, "foo=bye&\ [INFO] [stdout] 89 | | bar.foo.type=hello&bar.baz=end&\ [INFO] [stdout] 90 | | last=done"); [INFO] [stdout] | |_________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 103 | assert_uri_display_query!(bam, "foo=hi%20hi&bar=1"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 103 | assert_uri_display_query!(bam, "foo=hi%20hi&bar=1"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 106 | assert_uri_display_query!(bam, "foo=hi%20hi"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[get("/?bird=1&color=blue&&&cat=bob&")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | let rocket = rocket::build().mount("/", routes![filtered_raw_query]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::FromForm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:239:3 [INFO] [stdout] | [INFO] [stdout] 239 | #[get("/?&color=red&")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | #[get("/?&color=red&")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:295:45 [INFO] [stdout] | [INFO] [stdout] 295 | let rocket = rocket::build().mount("/", routes![query_collection]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:298:45 [INFO] [stdout] | [INFO] [stdout] 298 | let rocket = rocket::build().mount("/", routes![query_collection_2]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | #[response(status = 404)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:121:7 [INFO] [stdout] | [INFO] [stdout] 121 | #[response(status = 500)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Responder` in this scope [INFO] [stdout] --> tests/responder.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Responder)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::Responder [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:316:3 [INFO] [stdout] | [INFO] [stdout] 316 | #[get("/<_>/b/", rank = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | #[get("/", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] rocket_codegen::get [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | .mount("/", routes![segments]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | .mount("/", routes![segments_empty]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_codegen::routes [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `data` [INFO] [stdout] --> tests/route.rs:29:65 [INFO] [stdout] | [INFO] [stdout] 29 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^ use of undeclared crate or module `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 106 | assert_uri_display_query!(bam, "foo=hi%20hi"); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 109 | assert_uri_display_query!(bam, "foo=hi%20hi&bar=1&baz=tony"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 109 | assert_uri_display_query!(bam, "foo=hi%20hi&bar=1&baz=tony"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 112 | assert_uri_display_query!(bam, "foo=hi%20hi&baz=tony"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 112 | assert_uri_display_query!(bam, "foo=hi%20hi&baz=tony"); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 120 | assert_uri_display_query!(CLike::A, "A"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 120 | assert_uri_display_query!(CLike::A, "A"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | assert_uri_display_query!(CLike::B, "B"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 121 | assert_uri_display_query!(CLike::B, "B"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | assert_uri_display_query!(CLike::C, "C"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 122 | assert_uri_display_query!(CLike::C, "C"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 135 | assert_uri_display_query!(CLikeV::A, "a"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 135 | assert_uri_display_query!(CLikeV::A, "a"); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 136 | assert_uri_display_query!(CLikeV::B, "tomato"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 136 | assert_uri_display_query!(CLikeV::B, "tomato"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 137 | assert_uri_display_query!(CLikeV::C, "carrot"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 137 | assert_uri_display_query!(CLikeV::C, "carrot"); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:356:33 [INFO] [stdout] | [INFO] [stdout] 356 | && matches!(e.kind, ErrorKind::Bool(..)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 143 | assert_uri_display_query!(CLikeR::r#for, "for"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:363:33 [INFO] [stdout] | [INFO] [stdout] 363 | && matches!(e.kind, ErrorKind::Unexpected) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 143 | assert_uri_display_query!(CLikeR::r#for, "for"); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | && matches!(e.kind, ErrorKind::Bool(..)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | assert_uri_display_query!(CLikeR::r#type, "type"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:376:33 [INFO] [stdout] | [INFO] [stdout] 376 | && matches!(e.kind, ErrorKind::Unexpected) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 144 | assert_uri_display_query!(CLikeR::r#type, "type"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:383:33 [INFO] [stdout] | [INFO] [stdout] 383 | && matches!(e.kind, ErrorKind::Unexpected) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 145 | assert_uri_display_query!(CLikeR::r#async, "async"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity` [INFO] [stdout] --> tests/from_form.rs:389:28 [INFO] [stdout] | [INFO] [stdout] 389 | && e.entity == Entity::Field [INFO] [stdout] | ^^^^^^ use of undeclared type `Entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 145 | assert_uri_display_query!(CLikeR::r#async, "async"); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:390:33 [INFO] [stdout] | [INFO] [stdout] 390 | && matches!(e.kind, ErrorKind::Missing) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity` [INFO] [stdout] --> tests/from_form.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | && e.entity == Entity::Field [INFO] [stdout] | ^^^^^^ use of undeclared type `Entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 146 | assert_uri_display_query!(CLikeR::r#yield, "stop"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:397:33 [INFO] [stdout] | [INFO] [stdout] 397 | && matches!(e.kind, ErrorKind::Missing) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 146 | assert_uri_display_query!(CLikeR::r#yield, "stop"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity` [INFO] [stdout] --> tests/from_form.rs:404:28 [INFO] [stdout] | [INFO] [stdout] 404 | && e.entity == Entity::Field [INFO] [stdout] | ^^^^^^ use of undeclared type `Entity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorKind` [INFO] [stdout] --> tests/from_form.rs:405:33 [INFO] [stdout] | [INFO] [stdout] 405 | && matches!(e.kind, ErrorKind::Missing) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:52 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 161 | assert_uri_display_query!(nested, "foo=B&bar=tomato&last=type"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[response(content_type = "application/x-custom")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Responder` in this scope [INFO] [stdout] --> tests/responder.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Responder)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::Responder [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[response(content_type = "plain")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[response(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | .header(ContentType::JSON) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:120:35 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(response.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/catcher.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let client = Client::debug(rocket()).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/route.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | .header(ContentType::JSON) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | #[catch(404)] fn not_found_1(_: &Request) -> &'static str { "404-1" } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | #[catch(404)] fn not_found_2(_: Status, _: &Request) -> &'static str { "404-2" } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route.rs:176:18 [INFO] [stdout] | [INFO] [stdout] 176 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> tests/uri_display.rs:7:63 [INFO] [stdout] | [INFO] [stdout] 7 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 161 | assert_uri_display_query!(nested, "foo=B&bar=tomato&last=type"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 188 | assert_uri_display_path!(FooP("hi"), "hi"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 188 | assert_uri_display_path!(FooP("hi"), "hi"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | assert_uri_display_path!(FooP("hi there"), "hi%20there"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 189 | assert_uri_display_path!(FooP("hi there"), "hi%20there"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 190 | assert_uri_display_path!(BarP("hi there"), "hi%20there"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 190 | assert_uri_display_path!(BarP("hi there"), "hi%20there"); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 191 | assert_uri_display_path!(BazP(&FooP("hi")), "hi"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 191 | assert_uri_display_path!(BazP(&FooP("hi")), "hi"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 192 | assert_uri_display_path!(BazP(&BarP("hi there")), "hi%20there"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | assert_eq!(run(&client, birds, colors, cats).0, Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:205:53 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(run(&client, birds, colors, cats).0, Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:210:53 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(run(&client, birds, colors, cats).0, Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 192 | assert_uri_display_path!(BazP(&BarP("hi there")), "hi%20there"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/from_form.rs:589:18 [INFO] [stdout] | [INFO] [stdout] 589 | let client = Client::debug_with(rocket::routes![form]).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 193 | assert_uri_display_path!(BamP(12), "12"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 193 | assert_uri_display_path!(BamP(12), "12"); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 194 | assert_uri_display_path!(BamP(BazP(&100)), "100"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 194 | assert_uri_display_path!(BamP(BazP(&100)), "100"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 195 | assert_uri_display_path!(BopP(FooP("bop foo")), "bop%20foo"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | let uri_string = format!("{}", &$v as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 195 | assert_uri_display_path!(BopP(FooP("bop foo")), "bop%20foo"); [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_uri_display_path` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Responder` in this scope [INFO] [stdout] --> tests/responder.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Responder)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] rocket_codegen::Responder [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(run(&client, colors, dog).0, Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/route.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(run(&client, colors, dog).0, Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[response(status = 500)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[response(status = 404, content_type = "html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[response(status = 105)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:14:45 [INFO] [stdout] | [INFO] [stdout] 14 | #[catch(404)] fn not_found_2(_: Status, _: &Request) -> &'static str { "404-2" } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | #[catch(default)] fn all(_: Status, r: &Request) -> String { r.uri().to_string() } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | #[catch(default)] fn all(_: Status, r: &Request) -> String { r.uri().to_string() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rocket` in this scope [INFO] [stdout] --> tests/catcher.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | fn rocket() -> Rocket { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Build` in this scope [INFO] [stdout] --> tests/catcher.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn rocket() -> Rocket { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/")] fn forward(code: u16) -> Status { Status::new(code) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/catcher.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/")] fn forward(code: u16) -> Status { Status::new(code) } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | #[catch(400)] fn forward_400(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:40:50 [INFO] [stdout] | [INFO] [stdout] 40 | #[catch(400)] fn forward_400(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/route.rs:332:18 [INFO] [stdout] | [INFO] [stdout] 332 | let client = Client::debug(rocket).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | #[catch(404)] fn forward_404(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:41:50 [INFO] [stdout] | [INFO] [stdout] 41 | #[catch(404)] fn forward_404(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | #[catch(444)] fn forward_444(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromData` in this scope [INFO] [stdout] --> tests/route.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'r> FromData<'r> for Simple { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:42:50 [INFO] [stdout] | [INFO] [stdout] 42 | #[catch(444)] fn forward_444(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/route.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/catcher.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | #[catch(500)] fn forward_500(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> tests/route.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | async fn from_data(req: &'r Request<'_>, data: Data<'r>) -> data::Outcome<'r, Self> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::uri::Data; [INFO] [stdout] | [INFO] [stdout] 8 | use syn::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> tests/from_form.rs:731:15 [INFO] [stdout] | [INFO] [stdout] 731 | date: time::Date, [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Data` in this scope [INFO] [stdout] --> tests/route.rs:81:83 [INFO] [stdout] | [INFO] [stdout] 81 | fn test_unused_params(_unused_param: String, _unused_query: String, _unused_data: Data<'_>) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::uri::Data; [INFO] [stdout] | [INFO] [stdout] 8 | use syn::Data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> tests/from_form.rs:733:15 [INFO] [stdout] | [INFO] [stdout] 733 | time: time::Time, [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> tests/route.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let a = RawStr::new("A%20A"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> tests/from_form.rs:738:19 [INFO] [stdout] | [INFO] [stdout] 738 | datetime: time::PrimitiveDateTime, [INFO] [stdout] | ^^^^ use of undeclared crate or module `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> tests/route.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | let name = RawStr::new("Bob%20McDonald"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Contextual` in this scope [INFO] [stdout] --> tests/route.rs:165:55 [INFO] [stdout] | [INFO] [stdout] 165 | fn filtered_raw_query(bird: usize, color: &str, rest: Contextual<'_, Filtered<'_>>) -> String { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> tests/route.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | fn run(client: &Client, birds: &[&str], colors: &[&str], cats: &[&str]) -> (Status, String) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/route.rs:179:81 [INFO] [stdout] | [INFO] [stdout] 179 | fn run(client: &Client, birds: &[&str], colors: &[&str], cats: &[&str]) -> (Status, String) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Client` in this scope [INFO] [stdout] --> tests/route.rs:252:21 [INFO] [stdout] | [INFO] [stdout] 252 | fn run(client: &Client, colors: &[&str], dog: &[&str]) -> (Status, String) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> tests/route.rs:252:64 [INFO] [stdout] | [INFO] [stdout] 252 | fn run(client: &Client, colors: &[&str], dog: &[&str]) -> (Status, String) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | fn strict<'f, T: FromForm<'f>>(string: &'f str) -> Result> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromSegments` in this scope [INFO] [stdout] --> tests/route.rs:307:6 [INFO] [stdout] | [INFO] [stdout] 307 | impl FromSegments<'_> for PathString { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Errors` in this scope [INFO] [stdout] --> tests/from_form.rs:7:62 [INFO] [stdout] | [INFO] [stdout] 7 | fn strict<'f, T: FromForm<'f>>(string: &'f str) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Segments` in this scope [INFO] [stdout] --> tests/route.rs:310:32 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::uri::Segments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Strict` in this scope [INFO] [stdout] --> tests/from_form.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Form::>::parse(string).map(|s| s.into_inner()) [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | fn lenient<'f, T: FromForm<'f>>(string: &'f str) -> Result> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Errors` in this scope [INFO] [stdout] --> tests/from_form.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 11 | fn lenient<'f, T: FromForm<'f>>(string: &'f str) -> Result> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> tests/route.rs:310:45 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] 8 | use syn::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromForm` in this scope [INFO] [stdout] --> tests/from_form.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | where for<'a> T: FromForm<'a> [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Errors` in this scope [INFO] [stdout] --> tests/from_form.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | fn strict_encoded(string: &'static str) -> Result> [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> tests/catcher.rs:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | #[catch(500)] fn forward_500(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::hyper::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rocket` in this scope [INFO] [stdout] --> tests/catcher.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn rocket() -> Rocket { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Build` in this scope [INFO] [stdout] --> tests/catcher.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | fn rocket() -> Rocket { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/catcher.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(response.status(), Status::new(code)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `other::world` [INFO] [stdout] --> tests/route.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use other::world; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Strict` in this scope [INFO] [stdout] --> tests/from_form.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | Form::>::parse_encoded(string.into()).map(|s| s.into_inner()) [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TempFile` in this scope [INFO] [stdout] --> tests/from_form.rs:580:15 [INFO] [stdout] | [INFO] [stdout] 580 | file: TempFile<'r>, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Form` in this scope [INFO] [stdout] --> tests/from_form.rs:584:19 [INFO] [stdout] | [INFO] [stdout] 584 | fn form(form: Form) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> tests/from_form.rs:591:18 [INFO] [stdout] | [INFO] [stdout] 591 | .parse::() [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 56 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463, E0706. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | ct: rocket::http::ContentType, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> tests/responder.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | ct: rocket::http::ContentType, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/responder.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | let client = Client::debug_with(vec![]).await.expect("valid rocket"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(r.status(), Status::Ok); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(r.content_type(), Some(ContentType::Plain)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | assert_eq!(r.status(), Status::InternalServerError); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(r.content_type(), Some(ContentType::Binary)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | let mut r = Foo::Third { responder: "well, hi", ct: ContentType::JSON } [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(r.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(r.content_type(), Some(ContentType::HTML)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:52:54 [INFO] [stdout] | [INFO] [stdout] 52 | let mut r = Foo::Fourth { string: "goodbye", ct: ContentType::JSON } [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(r.content_type(), Some(ContentType::JSON)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 88 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/responder.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | let client = Client::debug_with(vec![]).await.expect("valid rocket"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | other: ContentType::HTML, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> tests/responder.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | third: Cookie::new("cookie", "here!"), [INFO] [stdout] | ^^^^^^ use of undeclared type `Cookie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(r.status(), Status::InternalServerError); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(r.content_type(), Some(ContentType::Plain)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/responder.rs:98:18 [INFO] [stdout] | [INFO] [stdout] 98 | let client = Client::debug_with(vec![]).await.expect("valid rocket"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq!(r.status(), Status::Ok); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 152 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> tests/responder.rs:127:18 [INFO] [stdout] | [INFO] [stdout] 127 | let client = Client::debug_with(vec![]).await.expect("valid rocket"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(r.status(), Status::Ok); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(r.content_type().unwrap(), ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:137:62 [INFO] [stdout] | [INFO] [stdout] 137 | let v: MyResult<(), &[u8]> = MyResult::Err(&[7, 13, 23], ContentType::JPEG); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | assert_eq!(r.status(), Status::NotFound); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:140:43 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(r.content_type().unwrap(), ContentType::JPEG); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> tests/responder.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(r.status(), Status::InternalServerError); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(r.content_type().unwrap(), ContentType::Text); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> tests/responder.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | other: ContentType, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cookie` in this scope [INFO] [stdout] --> tests/responder.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | third: Cookie<'static>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> tests/responder.rs:107:39 [INFO] [stdout] | [INFO] [stdout] 107 | assert_eq!(r.content_type(), Some(ContentType::new("application", "x-custom"))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> tests/responder.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | Ok(Json), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> tests/responder.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | Err(E, ContentType), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> tests/responder.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | let v: MyResult<_, ()> = MyResult::Ok(Json("hi")); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `&{integer}` [INFO] [stdout] --> tests/catcher.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 54 | for code in &[400, 404, 444, 400, 800, 3480] { [INFO] [stdout] | -------------------------------- the element type for this iterator is not specified [INFO] [stdout] ... [INFO] [stdout] 58 | assert_eq!(response.into_string().unwrap(), code.to_string()); [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `{integer}: ToString` found in the `alloc` crate: [INFO] [stdout] - impl ToString for i8; [INFO] [stdout] - impl ToString for u8; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | .respond_to(req) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 37 | .respond_to(req) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 45 | .respond_to(req) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 53 | .respond_to(req) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/responder.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Bar<'r> { [INFO] [stdout] | ------------------ method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 82 | }.respond_to(req).expect("response okay"); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Bar<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for struct `Baz` in the current scope [INFO] [stdout] --> tests/responder.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct Baz { [INFO] [stdout] | -------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 103 | .respond_to(req) [INFO] [stdout] | ^^^^^^^^^^ method not found in `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `MyResult` in the current scope [INFO] [stdout] --> tests/responder.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 117 | enum MyResult<'a, T, E> { [INFO] [stdout] | ----------------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 132 | let mut r = v.respond_to(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MyResult<'_, _, ()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `MyResult` in the current scope [INFO] [stdout] --> tests/responder.rs:138:19 [INFO] [stdout] | [INFO] [stdout] 117 | enum MyResult<'a, T, E> { [INFO] [stdout] | ----------------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 138 | let mut r = v.respond_to(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MyResult<'_, (), &[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `MyResult` in the current scope [INFO] [stdout] --> tests/responder.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 117 | enum MyResult<'a, T, E> { [INFO] [stdout] | ----------------------- method `respond_to` not found for this [INFO] [stdout] ... [INFO] [stdout] 144 | let mut r = v.respond_to(req).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `MyResult<'_, (), &[u8]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "682837ef4dbdf1db9db49bd9cb8de7dbdb4d6152732ba7874fdacebc4de62590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "682837ef4dbdf1db9db49bd9cb8de7dbdb4d6152732ba7874fdacebc4de62590", kill_on_drop: false }` [INFO] [stdout] 682837ef4dbdf1db9db49bd9cb8de7dbdb4d6152732ba7874fdacebc4de62590