[INFO] fetching crate rocket_codegen 0.5.1... [INFO] checking rocket_codegen-0.5.1 against master#8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 for pr-133502-5 [INFO] extracting crate rocket_codegen 0.5.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rocket_codegen 0.5.1 on toolchain 8f43b85954d2f3d8fc00a7504c603e5ca9eb0695 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded stable-pattern v0.1.0 [INFO] [stderr] Downloaded state v0.6.0 [INFO] [stderr] Downloaded generator v0.7.5 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded rocket_http v0.5.1 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2c36521432ff37386b89e77fd4be913371b1faffb32106f6f0f06c8df53996 [INFO] running `Command { std: "docker" "start" "-a" "4e2c36521432ff37386b89e77fd4be913371b1faffb32106f6f0f06c8df53996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2c36521432ff37386b89e77fd4be913371b1faffb32106f6f0f06c8df53996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2c36521432ff37386b89e77fd4be913371b1faffb32106f6f0f06c8df53996", kill_on_drop: false }` [INFO] [stdout] 4e2c36521432ff37386b89e77fd4be913371b1faffb32106f6f0f06c8df53996 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+8f43b85954d2f3d8fc00a7504c603e5ca9eb0695" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8077209b8469c6352b8770a600df70ef1510641438610f5abf23ce1611625d8 [INFO] running `Command { std: "docker" "start" "-a" "b8077209b8469c6352b8770a600df70ef1510641438610f5abf23ce1611625d8", kill_on_drop: false }` [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking winnow v0.7.7 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking toml_write v0.1.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking stable-pattern v0.1.0 [INFO] [stderr] Checking devise_core v0.4.2 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking toml_edit v0.22.25 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking state v0.6.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking version_check v0.9.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking toml v0.8.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking ref-cast v1.0.24 [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 trybuild v1.0.104 [INFO] [stderr] Checking rocket_codegen v0.5.1 (/opt/rustwide/workdir) [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: method `respanned` is never used [INFO] [stdout] --> src/syn_ext.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 25 | fn respanned(&self, span: Span) -> Self; [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: method `respanned` is never used [INFO] [stdout] --> src/syn_ext.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 25 | fn respanned(&self, span: Span) -> Self; [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: method `respanned` is never used [INFO] [stdout] --> src/syn_ext.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait TokenStreamExt { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 25 | fn respanned(&self, span: Span) -> Self; [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] 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/responder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::local::asynchronous::Client; [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/responder.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rocket::http::{Status, ContentType, Cookie}; [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/responder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::response::Responder; [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/responder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::serde::json::Json; [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/responder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::http::Accept; [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/responder.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[rocket::async_test] [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/responder.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[rocket::async_test] [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/responder.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[rocket::async_test] [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/responder.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[rocket::async_test] [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `rocket` [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 unresolved module or unlinked crate `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 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/from_form_field.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use rocket::form::error::{ErrorKind, Entity}; [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[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/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-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: 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 `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 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: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + 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: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: 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: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> tests/route.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(FromForm, UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + 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: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 attribute `async_trait` in this scope [INFO] [stdout] --> tests/route.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `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 `response` in this scope [INFO] [stdout] --> tests/responder.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[response(status = 404)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[response(status = 500)] [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 `response` in this scope [INFO] [stdout] --> tests/responder.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | #[response(content_type = "application/x-custom")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[post( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::post; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> tests/route.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | let uri = uri!(post1(a, name, path, sky, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::uri; [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[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: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | #[response(content_type = "plain")] [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 `route` in this scope [INFO] [stdout] --> tests/route.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[route( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::route; [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 `response` in this scope [INFO] [stdout] --> tests/responder.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | #[response(ignore)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/<_>", rank = 1)] fn ig_1() -> &'static str { "1" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[get("/static")] fn just_static() -> &'static str { "static" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [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/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 macro `uri` in this scope [INFO] [stdout] --> tests/route.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | let uri = uri!(post2(a, name, path, sky, query)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::uri; [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 = 500)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> tests/route.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[post("/<_unused_param>?<_unused_query>", data="<_unused_data>")] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::post; [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 attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[get("/<_>/<_>", rank = 1)] fn ig_2() -> &'static str { "2" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 87 | .mount("/1", routes![post1]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [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 `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[get("/static/<_>")] fn ig_1_static() -> &'static str { "static_1" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[get("/<_>/<_>/<_>", rank = 1)] fn ig_3() -> &'static str { "3" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | .mount("/2", routes![post2]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[response(status = 404, content_type = "html")] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `response` in this scope [INFO] [stdout] --> tests/responder.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[response(status = 105)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 136 | #[get("/world")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 136 + 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/responder.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | ct: rocket::http::ContentType, [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 `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 attribute `get` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[get("/static/<_>/static")] fn ig_1_static_static() -> &'static str { "static_1_static" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [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 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 attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:142:7 [INFO] [stdout] | [INFO] [stdout] 142 | #[get("/hello")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 147 + use rocket_codegen::get; [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: 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `rocket` [INFO] [stdout] --> tests/responder.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | ct: rocket::http::ContentType, [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/segment-ignore.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[get("//<_>/<_>/")] fn wrapped(a: String, b: String) -> String { a + &b } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:156:37 [INFO] [stdout] | [INFO] [stdout] 156 | #[derive(Default, Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/segment-ignore.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | let rocket = rocket::build().mount("/", routes![ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use rocket_codegen::routes; [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] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route.rs:164:3 [INFO] [stdout] | [INFO] [stdout] 164 | #[get("/?bird=1&color=blue&&&cat=bob&")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] 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 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/8f43b85954d2f3d8fc00a7504c603e5ca9eb0695/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] 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 macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:175:45 [INFO] [stdout] | [INFO] [stdout] 175 | let rocket = rocket::build().mount("/", routes![filtered_raw_query]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:228:28 [INFO] [stdout] | [INFO] [stdout] 228 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::FromForm; [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 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 derive macro `FromForm` in this scope [INFO] [stdout] --> tests/route.rs:234:28 [INFO] [stdout] | [INFO] [stdout] 234 | #[derive(Debug, PartialEq, FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::FromForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `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 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/route.rs:239:3 [INFO] [stdout] | [INFO] [stdout] 239 | #[get("/?&color=red&")] [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 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] [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 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/route.rs:244:3 [INFO] [stdout] | [INFO] [stdout] 244 | #[get("/?&color=red&")] [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 macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:295:45 [INFO] [stdout] | [INFO] [stdout] 295 | let rocket = rocket::build().mount("/", routes![query_collection]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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 macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:298:45 [INFO] [stdout] | [INFO] [stdout] 298 | let rocket = rocket::build().mount("/", routes![query_collection_2]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] 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 "from_form_field") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/route.rs:316:3 [INFO] [stdout] | [INFO] [stdout] 316 | #[get("/<_>/b/", rank = 1)] [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 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 `async_trait` in this scope [INFO] [stdout] --> tests/route-data.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 `get` in this scope [INFO] [stdout] --> tests/route.rs:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | #[get("/", rank = 2)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] 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 macro `routes` in this scope [INFO] [stdout] --> tests/route.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | .mount("/", routes![segments]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 8 + use rocket_codegen::routes; [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 attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/<_number>")] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] 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 `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[get("/<_number>", rank = 1)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] 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.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | .mount("/", routes![segments_empty]); [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] [stdout] warning: unused import: `other::world` [INFO] [stdout] --> tests/route.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use other::world; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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-ranking.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[get("/<_number>", 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: cannot find attribute `get` in this scope [INFO] [stdout] --> tests/route-ranking.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[get("/<_number>", rank = 3)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] 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: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] [stderr] error: could not compile `rocket_codegen` (test "segment-ignore") due to 9 previous errors [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-ranking.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | let rocket = rocket::build().mount("/", routes![get0, get1, get2, get3]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] 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 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] 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/route-ranking.rs:39:3 [INFO] [stdout] | [INFO] [stdout] 39 | #[get("/<_n>")] [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 "route-raw") due to 10 previous errors [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> tests/route-ranking.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | let rocket = rocket::build().mount("/", routes![get0, get0b]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use rocket_codegen::routes; [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 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[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | let mut r = Foo::First("hello".into()) [INFO] [stdout] | _________________- [INFO] [stdout] 31 | | .respond_to(req) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] | |_________| [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] error[E0223]: ambiguous associated type [INFO] [stdout] --> tests/route.rs:310:68 [INFO] [stdout] | [INFO] [stdout] 310 | fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use fully-qualified syntax [INFO] [stdout] | [INFO] [stdout] 310 - fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] 310 + fn from_segments(segments: Segments<'_, Path>) -> Result::Error> { [INFO] [stdout] | [INFO] [stdout] 310 - fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] 310 + fn from_segments(segments: Segments<'_, Path>) -> Result::Error> { [INFO] [stdout] | [INFO] [stdout] 310 - fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] 310 + fn from_segments(segments: Segments<'_, Path>) -> Result::Error> { [INFO] [stdout] | [INFO] [stdout] 310 - fn from_segments(segments: Segments<'_, Path>) -> Result { [INFO] [stdout] 310 + fn from_segments(segments: Segments<'_, Path>) -> Result::Error> { [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "route-data") due to 6 previous errors [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 38 | let mut r = Foo::Second("just a test".into()) [INFO] [stdout] | _________________- [INFO] [stdout] 39 | | .respond_to(req) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "route-ranking") due to 8 previous errors [INFO] [stderr] error: could not compile `rocket_codegen` (test "route") due to 27 previous errors; 1 warning emitted [INFO] [stdout] error[E0599]: no method named `respond_to` found for enum `Foo` in the current scope [INFO] [stdout] --> tests/responder.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 46 | let mut r = Foo::Third { responder: "well, hi", ct: ContentType::JSON } [INFO] [stdout] | _________________- [INFO] [stdout] 47 | | .respond_to(req) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [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:55:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Foo<'r> { [INFO] [stdout] | ---------------- method `respond_to` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 54 | let mut r = Foo::Fourth { string: "goodbye", ct: ContentType::JSON } [INFO] [stdout] | _________________- [INFO] [stdout] 55 | | .respond_to(req) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Foo<'_>` [INFO] [stdout] | |_________| [INFO] [stdout] | [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:84:7 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Bar<'r> { [INFO] [stdout] | ------------------ method `respond_to` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 79 | let mut r = Bar { [INFO] [stdout] | _________________- [INFO] [stdout] 80 | | responder: Foo::Second("foo foo".into()), [INFO] [stdout] 81 | | other: ContentType::HTML, [INFO] [stdout] 82 | | third: Cookie::new("cookie", "here!"), [INFO] [stdout] 83 | | _yet_another: "uh..hi?".into() [INFO] [stdout] 84 | | }.respond_to(req).expect("response okay"); [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Bar<'_>` [INFO] [stdout] | |______| [INFO] [stdout] | [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:105:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Baz { [INFO] [stdout] | -------------- method `respond_to` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 104 | let mut r = Baz { responder: "just a custom" } [INFO] [stdout] | _________________- [INFO] [stdout] 105 | | .respond_to(req) [INFO] [stdout] | | -^^^^^^^^^^ method not found in `Baz` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rocket_codegen` (test "responder") due to 25 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" "b8077209b8469c6352b8770a600df70ef1510641438610f5abf23ce1611625d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8077209b8469c6352b8770a600df70ef1510641438610f5abf23ce1611625d8", kill_on_drop: false }` [INFO] [stdout] b8077209b8469c6352b8770a600df70ef1510641438610f5abf23ce1611625d8