[INFO] fetching crate rocket_codegen 0.5.1... [INFO] checking rocket_codegen-0.5.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rocket_codegen 0.5.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rocket_codegen 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rocket_codegen 0.5.1 [INFO] tweaked toml for crates.io crate rocket_codegen 0.5.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocket_codegen 0.5.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 117c45b01db1ae8a5fe17d377cdbe9134345d29a61d2a5b3a29481364aea5b7b [INFO] running `Command { std: "docker" "start" "-a" "117c45b01db1ae8a5fe17d377cdbe9134345d29a61d2a5b3a29481364aea5b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117c45b01db1ae8a5fe17d377cdbe9134345d29a61d2a5b3a29481364aea5b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117c45b01db1ae8a5fe17d377cdbe9134345d29a61d2a5b3a29481364aea5b7b", kill_on_drop: false }` [INFO] [stdout] 117c45b01db1ae8a5fe17d377cdbe9134345d29a61d2a5b3a29481364aea5b7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28f323237378ef4aaebe0bcea5b641355217c7fe8a845cc1338a7489ccb97fac [INFO] running `Command { std: "docker" "start" "-a" "28f323237378ef4aaebe0bcea5b641355217c7fe8a845cc1338a7489ccb97fac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Checking state v0.6.0 [INFO] [stderr] Checking devise_core v0.4.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking devise v0.4.2 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking rocket_http v0.5.1 [INFO] [stderr] Checking rocket_codegen v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking trybuild v1.0.105 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bang/uri_parsing.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Validation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] 88 + NamedIgnored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenStreamExt` is never used [INFO] [stdout] --> src/syn_ext.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unfold` is never used [INFO] [stdout] --> src/syn_ext.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait TypeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 34 | fn unfold(&self) -> Vec>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bang/uri_parsing.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Validation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] 88 + NamedIgnored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenStreamExt` is never used [INFO] [stdout] --> src/syn_ext.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unfold` is never used [INFO] [stdout] --> src/syn_ext.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait TypeExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 34 | fn unfold(&self) -> Vec>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bang/uri_parsing.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Validation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 - NamedIgnored(Vec<&'a Dynamic>), [INFO] [stdout] 88 + NamedIgnored(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TokenStreamExt` is never used [INFO] [stdout] --> src/syn_ext.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:83:7 [INFO] [stdout] | [INFO] [stdout] 83 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 74 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[rocket::main] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[rocket::launch] [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [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/route-raw.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/async-routes.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> tests/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/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: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route-data.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `async_trait` in this scope [INFO] [stdout] --> tests/route-data.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-raw.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/?")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-data.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[post("/f", data = "
")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-data.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[post("/s", data = "")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-data.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | let rocket = rocket::build().mount("/", routes![form, simple]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-raw.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/swap//")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `get` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [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: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/route-raw.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[catch(400)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `catch` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-raw.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | .mount("/", routes![get, swap]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/route-raw.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | .register("/", catchers![catch]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 - .register("/", catchers![catch]); [INFO] [stdout] 26 + .register("/", matches![catch]); [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::catchers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let uri_named = uri!(get(r#enum = "test_named", r#type = 1)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let uri_unnamed = uri!(get("test_unnamed", 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let uri_raws = uri!(swap(r#raw = "1", r#bare = "2")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/easy/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route-raw.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 41 | let uri_bare = uri!(swap(raw = "1", bare = "2")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/hard/")] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | make_handler!(); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `make_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "route-data") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[get($addr)] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | foo!("/hello/", name); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/expansion.rs:36:45 [INFO] [stdout] | [INFO] [stdout] 36 | let rocket = rocket::build().mount("/", routes![easy, hard, hi]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/expansion.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | index!(i32); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/expansion.rs:62:45 [INFO] [stdout] | [INFO] [stdout] 62 | let rocket = rocket::build().mount("/", routes![index]).manage(100i32); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[catch(404)] fn not_found_0() -> &'static str { "404-0" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[catch(404)] fn not_found_1(_: &Request) -> &'static str { "404-1" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[catch(404)] fn not_found_2(_: Status, _: &Request) -> &'static str { "404-2" } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[catch(default)] fn all(_: Status, r: &Request) -> String { r.uri().to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/async-routes.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[catch(404)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | .register("/0", catchers![not_found_0]) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 - .register("/0", catchers![not_found_0]) [INFO] [stdout] 21 + .register("/0", matches![not_found_0]) [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catchers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | .register("/1", catchers![not_found_1]) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - .register("/1", catchers![not_found_1]) [INFO] [stdout] 22 + .register("/1", matches![not_found_1]) [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catchers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/async-routes.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[get("/repeated_query?")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/async-routes.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | .register("/2", catchers![not_found_2]) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 - .register("/2", catchers![not_found_2]) [INFO] [stdout] 23 + .register("/2", matches![not_found_2]) [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catchers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | .register("/", catchers![all]) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 - .register("/", catchers![all]) [INFO] [stdout] 24 + .register("/", matches![all]) [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catchers; [INFO] [stdout] | [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: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/catcher.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/")] fn forward(code: u16) -> Status { Status::new(code) } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[catch(400)] fn forward_400(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[catch(404)] fn forward_404(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[catch(444)] fn forward_444(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `catch` in this scope [INFO] [stdout] --> tests/catcher.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[catch(500)] fn forward_500(status: Status, _: &Request) -> String { status.code.to_string() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/catcher.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | .mount("/", routes![forward]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "route-raw") due to 10 previous errors [INFO] [stderr] error: could not compile `rocket_codegen` (test "expansion") due to 7 previous errors [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[post("/", format = "json")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `catchers` in this scope [INFO] [stdout] --> tests/catcher.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | .register("/", catchers![forward_400, forward_404, forward_444, forward_500]) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/macros/mod.rs:447:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `matches` defined here [INFO] [stdout] | [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 - .register("/", catchers![forward_400, forward_404, forward_444, forward_500]) [INFO] [stdout] 50 + .register("/", matches![forward_400, forward_404, forward_444, forward_500]) [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::catchers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/catcher.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | let response = client.get(uri!(forward(*code))).dispatch(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[post("/", format = "xml")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | #[post("/", format = "application/json", rank = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[post("/", format = "application/msgpack")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[post("/", format = "msgpack", rank = 2)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[get("/", format = "plain")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(UriDisplayQuery, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[get("/", format = "binary", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "async-routes") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[get("/", rank = 3)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-format.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | .mount("/", routes![json, xml, json_long, msgpack_long, msgpack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[get("/", format = "application/foo")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for opaque types [INFO] [stdout] --> tests/async-entry.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | async fn main2() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for opaque types [INFO] [stdout] --> tests/async-entry.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main2() -> _ { rocket::build() } [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | rocket::build() [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> tests/async-entry.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | fn rocket() -> _ { [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | #[field(name = "type")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route-format.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | #[post("/", format = "application/foo")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 51 | fn rocket() -> _ { rocket::build() } [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> tests/async-entry.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | fn rocket() -> _ { rocket::build() } [INFO] [stdout] | ^ not allowed in type signatures [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | let _ = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | rocket::build() [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rocket::build() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | async fn main2() -> _ { rocket::build() } [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let _ = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-format.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[get("/", format = "bar/baz", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | let _: rocket::Rocket = rocket::build().launch().await?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | let result = rocket::build().launch().await; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `put` in this scope [INFO] [stdout] --> tests/route-format.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | #[put("/", format = "bar/baz")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::put; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-format.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | .mount("/", routes![get_foo, post_foo, get_bar_baz, put_bar_baz]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | async fn rocket() -> rocket::Rocket { [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | async fn rocket() -> rocket::Rocket { [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | let rocket: rocket::Rocket<_> = rocket(); [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:75:35 [INFO] [stdout] | [INFO] [stdout] 75 | async fn main() -> Result<(), rocket::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | let rocket: rocket::Rocket = rocket().await; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let rocket: rocket::Rocket = rocket().await; [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | let _: rocket::Rocket = rocket::build().launch().await?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let rocket: rocket::Rocket<_> = main2().await; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | let _: rocket::Rocket = rocket::build().launch().await?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let rocket: rocket::Rocket<_> = main2().await; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | let _: rocket::Rocket = result.map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: function `rocket` is not a crate or module [INFO] [stdout] --> tests/async-entry.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let rocket: rocket::Rocket<_> = rocket(); [INFO] [stdout] | ^^^^^^ function `rocket` is not a crate or module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/async-entry.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | let _: rocket::Rocket = result.map_err(|e| e.to_string())?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocket`, use `cargo add rocket` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | #[field(value = "a")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | #[field(value = "tomato")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | #[field(value = "juice")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | #[field(value = "carrot")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `field` in this scope [INFO] [stdout] --> tests/uri_display.rs:168:45 [INFO] [stdout] | [INFO] [stdout] 168 | enum CLikeR { r#for, r#type, r#async, #[field(value = "stop")] r#yield } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "async-entry") due to 36 previous errors [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:201:10 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> tests/uri_display.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "catcher") due to 17 previous errors [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/uri_display.rs:229:39 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:229:49 [INFO] [stdout] | [INFO] [stdout] 229 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> tests/uri_display.rs:230:7 [INFO] [stdout] | [INFO] [stdout] 230 | #[serde(crate = "rocket::serde")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/uri_display.rs:237:32 [INFO] [stdout] | [INFO] [stdout] 237 | #[derive(Debug, PartialEq, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:237:42 [INFO] [stdout] | [INFO] [stdout] 237 | #[derive(Debug, PartialEq, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/uri_display.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:252:49 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/uri_display.rs:255:39 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:255:49 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/uri_display.rs:268:39 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/uri_display.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::UriDisplayQuery; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "route-format") due to 15 previous errors [INFO] [stdout] error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type [INFO] [stdout] --> tests/uri_display.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 255 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 256 | pub struct Generic { [INFO] [stdout] 257 | a: Q, [INFO] [stdout] | ^^^^^^^ cannot call associated function of trait [INFO] [stdout] | [INFO] [stdout] note: required for `Q` to implement `Clone` [INFO] [stdout] --> tests/uri_display.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: use a fully-qualified path to a specific available implementation [INFO] [stdout] | [INFO] [stdout] 257 | >, [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0790]: cannot call associated function on trait without specifying the corresponding `impl` type [INFO] [stdout] --> tests/uri_display.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 272 | b: Q, [INFO] [stdout] | ^^^^^^^ cannot call associated function of trait [INFO] [stdout] | [INFO] [stdout] note: required for `Q` to implement `Clone` [INFO] [stdout] --> tests/uri_display.rs:252:32 [INFO] [stdout] | [INFO] [stdout] 252 | #[derive(Debug, PartialEq, Clone, FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] help: use a fully-qualified path to a specific available implementation [INFO] [stdout] | [INFO] [stdout] 272 | >, [INFO] [stdout] | +++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0790. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "uri_display") due to 33 previous errors [INFO] running `Command { std: "docker" "inspect" "28f323237378ef4aaebe0bcea5b641355217c7fe8a845cc1338a7489ccb97fac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28f323237378ef4aaebe0bcea5b641355217c7fe8a845cc1338a7489ccb97fac", kill_on_drop: false }` [INFO] [stdout] 28f323237378ef4aaebe0bcea5b641355217c7fe8a845cc1338a7489ccb97fac