[INFO] fetching crate rocket_codegen 0.5.0-rc.1... [INFO] checking rocket_codegen-0.5.0-rc.1 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate rocket_codegen 0.5.0-rc.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate rocket_codegen 0.5.0-rc.1 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df7770884fd051cd8d6133190685d25e7bcdbbc564696e8125c6affbc38b6db8 [INFO] running `Command { std: "docker" "start" "-a" "df7770884fd051cd8d6133190685d25e7bcdbbc564696e8125c6affbc38b6db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df7770884fd051cd8d6133190685d25e7bcdbbc564696e8125c6affbc38b6db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7770884fd051cd8d6133190685d25e7bcdbbc564696e8125c6affbc38b6db8", kill_on_drop: false }` [INFO] [stdout] df7770884fd051cd8d6133190685d25e7bcdbbc564696e8125c6affbc38b6db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0cff4bbb83cf3b106f49a3f08e7bac12ae8915a803980a4781f9ff87d0fd66 [INFO] running `Command { std: "docker" "start" "-a" "2b0cff4bbb83cf3b106f49a3f08e7bac12ae8915a803980a4781f9ff87d0fd66", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Checking inlinable_string v0.1.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Checking state v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling uncased v0.9.6 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking proc-macro2 v1.0.28 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking devise_core v0.3.0 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling devise_codegen v0.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.27 [INFO] [stderr] Checking devise v0.3.0 [INFO] [stderr] Checking pear v0.2.3 [INFO] [stderr] Checking rocket_http v0.5.0-rc.1 [INFO] [stderr] Checking rocket_codegen v0.5.0-rc.1 (/opt/rustwide/workdir) [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[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[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[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/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[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/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.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/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[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/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[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[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/typed-uris.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[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/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/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/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/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/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] [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[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[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 type 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 type 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 type 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 type 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: aborting due to 31 previous errors [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] [stderr] error: could not compile `rocket_codegen` due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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 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] [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] [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] [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] [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 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 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] [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] [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[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[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 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] [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] [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] [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] [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] [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] [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] [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] [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: 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] [INFO] [stdout] error: aborting due to 17 previous errors [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] Some errors have detailed explanations: E0405, E0412, E0433. [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:197:11 [INFO] [stdout] | [INFO] [stdout] 197 | #[field(name = "camelCase")] [INFO] [stdout] | ^^^^^ [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 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] [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 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 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 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] [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 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] [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] [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] [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] [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] [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 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] [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 `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] [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] [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] [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] [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] [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] [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] [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: 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 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] [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: 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 `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: 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: 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 `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: 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] [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 `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 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 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] [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 `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 `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: 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: 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 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] [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 `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 `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: 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 `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 `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[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: 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[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: 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[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: 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[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: 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[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: 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[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[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: 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] [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: 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[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: 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[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[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: 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 `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: 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[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 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 `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[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[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[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[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[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[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[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[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[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[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[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[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[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 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[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[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 `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[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 `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 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[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[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 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 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: 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" "2b0cff4bbb83cf3b106f49a3f08e7bac12ae8915a803980a4781f9ff87d0fd66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0cff4bbb83cf3b106f49a3f08e7bac12ae8915a803980a4781f9ff87d0fd66", kill_on_drop: false }` [INFO] [stdout] 2b0cff4bbb83cf3b106f49a3f08e7bac12ae8915a803980a4781f9ff87d0fd66