[INFO] fetching crate rocket 0.5.1... [INFO] testing rocket-0.5.1 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate rocket 0.5.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate rocket 0.5.1 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket 0.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rocket 0.5.1 [INFO] tweaked toml for crates.io crate rocket 0.5.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 225 packages to latest compatible versions [INFO] [stderr] Adding atomic v0.5.3 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4383e102460da48a6564f94c8bbba527b7dd1aa75276119ea1de37dc7255aa56 [INFO] running `Command { std: "docker" "start" "-a" "4383e102460da48a6564f94c8bbba527b7dd1aa75276119ea1de37dc7255aa56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4383e102460da48a6564f94c8bbba527b7dd1aa75276119ea1de37dc7255aa56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4383e102460da48a6564f94c8bbba527b7dd1aa75276119ea1de37dc7255aa56", kill_on_drop: false }` [INFO] [stdout] 4383e102460da48a6564f94c8bbba527b7dd1aa75276119ea1de37dc7255aa56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f1fd3a321fd3d10502401edb66f1210c027d4a4cb5a1497a159ac91df9ff043 [INFO] running `Command { std: "docker" "start" "-a" "9f1fd3a321fd3d10502401edb66f1210c027d4a4cb5a1497a159ac91df9ff043", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rocket v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(nightly, feature(decl_macro))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/outcome.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | / crate::export! { [INFO] [stdout] 631 | | /// Unwraps a [`Success`](Outcome::Success) or propagates a `Forward` or [INFO] [stdout] 632 | | /// `Error` by returning early. [INFO] [stdout] 633 | | /// [INFO] [stdout] ... | [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate::export! { [INFO] [stdout] 20 | | /// Store and immediately retrieve a vector-like value `$v` (`String` or [INFO] [stdout] 21 | | /// `Vec`) in `$request`'s local cache using a locally generated [INFO] [stdout] 22 | | /// anonymous type to avoid type conflicts. [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / crate::export! { [INFO] [stdout] 70 | | /// Store and immediately retrieve a value `$v` in `$request`'s local cache [INFO] [stdout] 71 | | /// using a locally generated anonymous type to avoid type conflicts. [INFO] [stdout] 72 | | /// [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/mod.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / crate::export! { [INFO] [stdout] 207 | | /// Retrofitted support for [`Stream`]s with `yield`, `for await` syntax. [INFO] [stdout] 208 | | /// [INFO] [stdout] 209 | | /// [`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/reader.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / crate::export! { [INFO] [stdout] 197 | | /// Type and stream expression macro for [`struct@ReaderStream`]. [INFO] [stdout] 198 | | /// [INFO] [stdout] 199 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/bytes.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / crate::export! { [INFO] [stdout] 76 | | /// Type and stream expression macro for [`struct@ByteStream`]. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/text.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / crate::export! { [INFO] [stdout] 86 | | /// Type and stream expression macro for [`struct@TextStream`]. [INFO] [stdout] 87 | | /// [INFO] [stdout] 88 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/sse.rs:588:1 [INFO] [stdout] | [INFO] [stdout] 588 | / crate::export! { [INFO] [stdout] 589 | | /// Type and stream expression macro for [`struct@EventStream`]. [INFO] [stdout] 590 | | /// [INFO] [stdout] 591 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(nightly, doc(cfg(feature = "tls")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(nightly, doc(cfg(feature = "secrets")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:75 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:89 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:81 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:95 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/form/validate.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / crate::export! { [INFO] [stdout] 91 | | /// A helper macro for custom validation error messages. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// The macro works similar to [`std::format!`]. It generates a form [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/fs/server.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | / crate::export! { [INFO] [stdout] 406 | | /// Generates a crate-relative version of a path. [INFO] [stdout] 407 | | /// [INFO] [stdout] 408 | | /// This macro is primarily intended for use with [`FileServer`] to serve [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/shield/policy.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) trait SubPolicy: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 69 | fn name(&self) -> &'static UncasedStr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/cookies.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | Remove(Cookie<'static>, bool), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 173 | Remove(Cookie<'static>, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/outcome.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 736 | pub(crate) fn log_display(&self) -> Display<'_, 'r> { [INFO] [stdout] | --------------------------------------------------- move the `impl` block outside of this method `log_display` [INFO] [stdout] 737 | impl fmt::Display for Display<'_, '_> { [INFO] [stdout] | ^^^^^------------^^^^^-------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Display` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "9f1fd3a321fd3d10502401edb66f1210c027d4a4cb5a1497a159ac91df9ff043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1fd3a321fd3d10502401edb66f1210c027d4a4cb5a1497a159ac91df9ff043", kill_on_drop: false }` [INFO] [stdout] 9f1fd3a321fd3d10502401edb66f1210c027d4a4cb5a1497a159ac91df9ff043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a1a8daf64cc81547bc05bdef17c4b168d1533d04a86f14295874eadc41d4dc [INFO] running `Command { std: "docker" "start" "-a" "e7a1a8daf64cc81547bc05bdef17c4b168d1533d04a86f14295874eadc41d4dc", kill_on_drop: false }` [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rocket v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(nightly, feature(decl_macro))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/outcome.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | / crate::export! { [INFO] [stdout] 631 | | /// Unwraps a [`Success`](Outcome::Success) or propagates a `Forward` or [INFO] [stdout] 632 | | /// `Error` by returning early. [INFO] [stdout] 633 | | /// [INFO] [stdout] ... | [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate::export! { [INFO] [stdout] 20 | | /// Store and immediately retrieve a vector-like value `$v` (`String` or [INFO] [stdout] 21 | | /// `Vec`) in `$request`'s local cache using a locally generated [INFO] [stdout] 22 | | /// anonymous type to avoid type conflicts. [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / crate::export! { [INFO] [stdout] 70 | | /// Store and immediately retrieve a value `$v` in `$request`'s local cache [INFO] [stdout] 71 | | /// using a locally generated anonymous type to avoid type conflicts. [INFO] [stdout] 72 | | /// [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/mod.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / crate::export! { [INFO] [stdout] 207 | | /// Retrofitted support for [`Stream`]s with `yield`, `for await` syntax. [INFO] [stdout] 208 | | /// [INFO] [stdout] 209 | | /// [`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/reader.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / crate::export! { [INFO] [stdout] 197 | | /// Type and stream expression macro for [`struct@ReaderStream`]. [INFO] [stdout] 198 | | /// [INFO] [stdout] 199 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/bytes.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / crate::export! { [INFO] [stdout] 76 | | /// Type and stream expression macro for [`struct@ByteStream`]. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/text.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / crate::export! { [INFO] [stdout] 86 | | /// Type and stream expression macro for [`struct@TextStream`]. [INFO] [stdout] 87 | | /// [INFO] [stdout] 88 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/sse.rs:588:1 [INFO] [stdout] | [INFO] [stdout] 588 | / crate::export! { [INFO] [stdout] 589 | | /// Type and stream expression macro for [`struct@EventStream`]. [INFO] [stdout] 590 | | /// [INFO] [stdout] 591 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(nightly, doc(cfg(feature = "tls")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(nightly, doc(cfg(feature = "secrets")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:75 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:89 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:81 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:95 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/form/validate.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / crate::export! { [INFO] [stdout] 91 | | /// A helper macro for custom validation error messages. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// The macro works similar to [`std::format!`]. It generates a form [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/fs/server.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | / crate::export! { [INFO] [stdout] 406 | | /// Generates a crate-relative version of a path. [INFO] [stdout] 407 | | /// [INFO] [stdout] 408 | | /// This macro is primarily intended for use with [`FileServer`] to serve [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | #![cfg_attr(nightly, feature(decl_macro))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/outcome.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | / crate::export! { [INFO] [stdout] 631 | | /// Unwraps a [`Success`](Outcome::Success) or propagates a `Forward` or [INFO] [stdout] 632 | | /// `Error` by returning early. [INFO] [stdout] 633 | | /// [INFO] [stdout] ... | [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate::export! { [INFO] [stdout] 20 | | /// Store and immediately retrieve a vector-like value `$v` (`String` or [INFO] [stdout] 21 | | /// `Vec`) in `$request`'s local cache using a locally generated [INFO] [stdout] 22 | | /// anonymous type to avoid type conflicts. [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/request/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / crate::export! { [INFO] [stdout] 70 | | /// Store and immediately retrieve a value `$v` in `$request`'s local cache [INFO] [stdout] 71 | | /// using a locally generated anonymous type to avoid type conflicts. [INFO] [stdout] 72 | | /// [INFO] [stdout] ... | [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/mod.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / crate::export! { [INFO] [stdout] 207 | | /// Retrofitted support for [`Stream`]s with `yield`, `for await` syntax. [INFO] [stdout] 208 | | /// [INFO] [stdout] 209 | | /// [`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/reader.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / crate::export! { [INFO] [stdout] 197 | | /// Type and stream expression macro for [`struct@ReaderStream`]. [INFO] [stdout] 198 | | /// [INFO] [stdout] 199 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/bytes.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | / crate::export! { [INFO] [stdout] 76 | | /// Type and stream expression macro for [`struct@ByteStream`]. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/text.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / crate::export! { [INFO] [stdout] 86 | | /// Type and stream expression macro for [`struct@TextStream`]. [INFO] [stdout] 87 | | /// [INFO] [stdout] 88 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/response/stream/sse.rs:588:1 [INFO] [stdout] | [INFO] [stdout] 588 | / crate::export! { [INFO] [stdout] 589 | | /// Type and stream expression macro for [`struct@EventStream`]. [INFO] [stdout] 590 | | /// [INFO] [stdout] 591 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stdout] ... | [INFO] [stdout] 602 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | #[cfg_attr(nightly, doc(cfg(feature = "tls")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/config.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg_attr(nightly, doc(cfg(feature = "secrets")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/config/shutdown.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:75 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:223:89 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:81 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/form/context.rs:272:95 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stdout] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/form/validate.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / crate::export! { [INFO] [stdout] 91 | | /// A helper macro for custom validation error messages. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// The macro works similar to [`std::format!`]. It generates a form [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/fs/server.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 405 | / crate::export! { [INFO] [stdout] 406 | | /// Generates a crate-relative version of a path. [INFO] [stdout] 407 | | /// [INFO] [stdout] 408 | | /// This macro is primarily intended for use with [`FileServer`] to serve [INFO] [stdout] ... | [INFO] [stdout] 453 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stdout] --> src/server.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(not(broken_fmt))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/shield/policy.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) trait SubPolicy: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 69 | fn name(&self) -> &'static UncasedStr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/cookies.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | Remove(Cookie<'static>, bool), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 173 | Remove(Cookie<'static>, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/outcome.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 736 | pub(crate) fn log_display(&self) -> Display<'_, 'r> { [INFO] [stdout] | --------------------------------------------------- move the `impl` block outside of this method `log_display` [INFO] [stdout] 737 | impl fmt::Display for Display<'_, '_> { [INFO] [stdout] | ^^^^^------------^^^^^-------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Display` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/shield/policy.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub(crate) trait SubPolicy: Send + Sync { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 69 | fn name(&self) -> &'static UncasedStr; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/cookies.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | Remove(Cookie<'static>, bool), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] 173 | Remove(Cookie<'static>, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/outcome.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 736 | pub(crate) fn log_display(&self) -> Display<'_, 'r> { [INFO] [stdout] | --------------------------------------------------- move the `impl` block outside of this method `log_display` [INFO] [stdout] 737 | impl fmt::Display for Display<'_, '_> { [INFO] [stdout] | ^^^^^------------^^^^^-------^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `Display` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/catcher/handler.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn dummy_handler<'r>(_: Status, _: &'r Request<'_>) -> BoxFuture<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/file_server.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | #[get("/", rank = 20)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_forwarding` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/file_server.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | #[get("//", rank = 20)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_forwarding` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/shutdown-fairings.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `background_tasks_dont_prevent_terminate` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/can-correct-bad-local-uri.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[rocket::get("/")] fn f() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `can_correct_bad_local_uri` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `rocket::get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | #[get("/a")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | #[get("/b")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[get("/")] fn either_route() -> Either { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | #[get("/")] fn either_route2() -> Either { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | #[get("/")] fn either_route3() -> Either<(), ResponderSentinel> { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | #[get("/")] fn either_route4() -> Either<(), ()> { todo!() } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | #[get("/text")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:318:5 [INFO] [stdout] | [INFO] [stdout] 318 | #[get("/")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | #[get("/<_a>/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stdout] --> tests/sentinel.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | #[get("/ignore")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stdout] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stdout] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "e7a1a8daf64cc81547bc05bdef17c4b168d1533d04a86f14295874eadc41d4dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a1a8daf64cc81547bc05bdef17c4b168d1533d04a86f14295874eadc41d4dc", kill_on_drop: false }` [INFO] [stdout] e7a1a8daf64cc81547bc05bdef17c4b168d1533d04a86f14295874eadc41d4dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03a17eadc7839354567fc59a87aaa897a6fc2a11be1754c4ca951e3a6feff817 [INFO] running `Command { std: "docker" "start" "-a" "03a17eadc7839354567fc59a87aaa897a6fc2a11be1754c4ca951e3a6feff817", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(nightly, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/lib.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(nightly, feature(decl_macro))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/outcome.rs:630:1 [INFO] [stderr] | [INFO] [stderr] 630 | / crate::export! { [INFO] [stderr] 631 | | /// Unwraps a [`Success`](Outcome::Success) or propagates a `Forward` or [INFO] [stderr] 632 | | /// `Error` by returning early. [INFO] [stderr] 633 | | /// [INFO] [stderr] ... | [INFO] [stderr] 711 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/request/mod.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | / crate::export! { [INFO] [stderr] 20 | | /// Store and immediately retrieve a vector-like value `$v` (`String` or [INFO] [stderr] 21 | | /// `Vec`) in `$request`'s local cache using a locally generated [INFO] [stderr] 22 | | /// anonymous type to avoid type conflicts. [INFO] [stderr] ... | [INFO] [stderr] 67 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/request/mod.rs:69:1 [INFO] [stderr] | [INFO] [stderr] 69 | / crate::export! { [INFO] [stderr] 70 | | /// Store and immediately retrieve a value `$v` in `$request`'s local cache [INFO] [stderr] 71 | | /// using a locally generated anonymous type to avoid type conflicts. [INFO] [stderr] 72 | | /// [INFO] [stderr] ... | [INFO] [stderr] 113 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/response/stream/mod.rs:206:1 [INFO] [stderr] | [INFO] [stderr] 206 | / crate::export! { [INFO] [stderr] 207 | | /// Retrofitted support for [`Stream`]s with `yield`, `for await` syntax. [INFO] [stderr] 208 | | /// [INFO] [stderr] 209 | | /// [`Stream`]: https://docs.rs/futures/0.3/futures/stream/trait.Stream.html [INFO] [stderr] ... | [INFO] [stderr] 288 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/response/stream/reader.rs:196:1 [INFO] [stderr] | [INFO] [stderr] 196 | / crate::export! { [INFO] [stderr] 197 | | /// Type and stream expression macro for [`struct@ReaderStream`]. [INFO] [stderr] 198 | | /// [INFO] [stderr] 199 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stderr] ... | [INFO] [stderr] 207 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/response/stream/bytes.rs:75:1 [INFO] [stderr] | [INFO] [stderr] 75 | / crate::export! { [INFO] [stderr] 76 | | /// Type and stream expression macro for [`struct@ByteStream`]. [INFO] [stderr] 77 | | /// [INFO] [stderr] 78 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stderr] ... | [INFO] [stderr] 86 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/response/stream/text.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | / crate::export! { [INFO] [stderr] 86 | | /// Type and stream expression macro for [`struct@TextStream`]. [INFO] [stderr] 87 | | /// [INFO] [stderr] 88 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stderr] ... | [INFO] [stderr] 96 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/response/stream/sse.rs:588:1 [INFO] [stderr] | [INFO] [stderr] 588 | / crate::export! { [INFO] [stderr] 589 | | /// Type and stream expression macro for [`struct@EventStream`]. [INFO] [stderr] 590 | | /// [INFO] [stderr] 591 | | /// See [`stream!`](crate::response::stream::stream) for the syntax [INFO] [stderr] ... | [INFO] [stderr] 602 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/config/config.rs:105:16 [INFO] [stderr] | [INFO] [stderr] 105 | #[cfg_attr(nightly, doc(cfg(feature = "tls")))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/config/config.rs:112:16 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg_attr(nightly, doc(cfg(feature = "secrets")))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/config/shutdown.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/config/shutdown.rs:218:16 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg_attr(nightly, doc(cfg(unix)))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/form/context.rs:223:75 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/form/context.rs:223:89 [INFO] [stderr] | [INFO] [stderr] 223 | pub fn field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stderr] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/form/context.rs:272:81 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stderr] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/form/context.rs:272:95 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn exact_field_errors<'a, N>(&'a self, name: N) -> impl Iterator> + '_ [INFO] [stderr] | -- lifetime `'a` declared here ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/form/validate.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | / crate::export! { [INFO] [stderr] 91 | | /// A helper macro for custom validation error messages. [INFO] [stderr] 92 | | /// [INFO] [stderr] 93 | | /// The macro works similar to [`std::format!`]. It generates a form [INFO] [stderr] ... | [INFO] [stderr] 158 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/fs/server.rs:405:1 [INFO] [stderr] | [INFO] [stderr] 405 | / crate::export! { [INFO] [stderr] 406 | | /// Generates a crate-relative version of a path. [INFO] [stderr] 407 | | /// [INFO] [stderr] 408 | | /// This macro is primarily intended for use with [`FileServer`] to serve [INFO] [stderr] ... | [INFO] [stderr] 453 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `crate::export` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `crate::export` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stderr] --> src/server.rs:76:15 [INFO] [stderr] | [INFO] [stderr] 76 | #[cfg(not(broken_fmt))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `broken_fmt` [INFO] [stderr] --> src/server.rs:165:19 [INFO] [stderr] | [INFO] [stderr] 165 | #[cfg(not(broken_fmt))] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(broken_fmt)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(broken_fmt)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: method `name` is never used [INFO] [stderr] --> src/shield/policy.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub(crate) trait SubPolicy: Send + Sync { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 69 | fn name(&self) -> &'static UncasedStr; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/cookies.rs:173:29 [INFO] [stderr] | [INFO] [stderr] 173 | Remove(Cookie<'static>, bool), [INFO] [stderr] | ------ ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 173 | Remove(Cookie<'static>, ()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/outcome.rs:737:9 [INFO] [stderr] | [INFO] [stderr] 736 | pub(crate) fn log_display(&self) -> Display<'_, 'r> { [INFO] [stderr] | --------------------------------------------------- move the `impl` block outside of this method `log_display` [INFO] [stderr] 737 | impl fmt::Display for Display<'_, '_> { [INFO] [stderr] | ^^^^^------------^^^^^-------^^^^^^^^ [INFO] [stderr] | | | [INFO] [stderr] | | `Display` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rocket` (lib) generated 25 warnings [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/catcher/handler.rs:122:1 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn dummy_handler<'r>(_: Status, _: &'r Request<'_>) -> BoxFuture<'r> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rocket` (lib test) generated 26 warnings (25 duplicates) [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/shutdown-fairings.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `background_tasks_dont_prevent_terminate` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:168:5 [INFO] [stderr] | [INFO] [stderr] 168 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:183:5 [INFO] [stderr] | [INFO] [stderr] 183 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:198:5 [INFO] [stderr] | [INFO] [stderr] 198 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 203 | #[get("/a")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | #[get("/b")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:225:5 [INFO] [stderr] | [INFO] [stderr] 225 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | #[get("/")] fn either_route() -> Either { todo!() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:264:5 [INFO] [stderr] | [INFO] [stderr] 264 | #[get("/")] fn either_route2() -> Either { todo!() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 268 | #[get("/")] fn either_route3() -> Either<(), ResponderSentinel> { todo!() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:272:5 [INFO] [stderr] | [INFO] [stderr] 272 | #[get("/")] fn either_route4() -> Either<(), ()> { todo!() } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `inner_sentinels_detected` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:313:5 [INFO] [stderr] | [INFO] [stderr] 313 | #[get("/text")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | #[get("/")] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:323:5 [INFO] [stderr] | [INFO] [stderr] 323 | #[get("/<_a>/")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/sentinel.rs:332:5 [INFO] [stderr] | [INFO] [stderr] 332 | #[get("/ignore")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current async block `` and up 2 bodies [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/can-correct-bad-local-uri.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | #[rocket::get("/")] fn f() {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `can_correct_bad_local_uri` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `rocket::get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `rocket::get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rocket` (test "shutdown-fairings") generated 1 warning [INFO] [stderr] warning: `rocket` (test "sentinel") generated 18 warnings [INFO] [stderr] warning: `rocket` (test "can-correct-bad-local-uri") generated 1 warning [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/file_server.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 122 | #[get("/", rank = 20)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_forwarding` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `macro_rules!` definition, `#[macro_export]` macro should be written at top level module [INFO] [stderr] --> tests/file_server.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | #[get("//", rank = 20)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: remove the `#[macro_export]` or move this `macro_rules!` outside the of the current function `test_forwarding` [INFO] [stderr] = note: a `macro_rules!` definition is non-local if it is nested inside an item and has a `#[macro_export]` attribute [INFO] [stderr] = note: the attribute macro `get` may come from an old version of the `rocket_codegen` crate, try updating your dependency with `cargo update -p rocket_codegen` [INFO] [stderr] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rocket` (test "file_server") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocket-684c79ebf70967b5) [INFO] [stdout] [INFO] [stdout] running 64 tests [INFO] [stdout] test config::tests::test_profiles_merge ... ok [INFO] [stdout] test config::tests::test_figment_is_default ... ok [INFO] [stdout] test data::io_stream::tests::is_unpin ... ok [INFO] [stdout] test form::parser::raw_str_parse_tests::test_skips_empty ... ok [INFO] [stdout] test form::tests::bool ... ok [INFO] [stdout] test form::tests::defaults ... ok [INFO] [stdout] test form::tests::potpourri ... ok [INFO] [stdout] test form::tests::time ... ok [INFO] [stdout] test local::asynchronous::client::test::test_local_client_impl_send_sync ... ok [INFO] [stdout] test form::parser::raw_str_parse_tests::test_decodes ... ok [INFO] [stdout] test config::tests::test_no_err_on_release_and_custom_secret_key ... ok [INFO] [stdout] test config::tests::test_toml_file ... ok [INFO] [stdout] test response::stream::sse::sse_tests::test_bad_chars ... ok [INFO] [stdout] test config::tests::test_default_round_trip ... ok [INFO] [stdout] test config::tests::test_profile_env ... ok [INFO] [stdout] test request::tests::test_multiple_headers_merge_into_one_from_hyp ... ok [INFO] [stdout] test router::collider::tests::catcher_collisions ... ok [INFO] [stdout] test router::collider::tests::catcher_non_collisions ... ok [INFO] [stdout] test router::collider::tests::hard_param_collisions ... ok [INFO] [stdout] test router::collider::tests::medium_param_collisions ... ok [INFO] [stdout] test request::tests::test_multiple_headers_from_hyp ... ok [INFO] [stdout] test router::collider::tests::non_collisions ... ok [INFO] [stdout] test response::stream::sse::sse_tests::test_event_fields ... ok [INFO] [stdout] test router::collider::tests::query_dependent_non_collisions ... ok [INFO] [stdout] test router::collider::tests::method_dependent_non_collisions ... ok [INFO] [stdout] test router::collider::tests::query_non_collisions ... ok [INFO] [stdout] test router::collider::tests::query_collisions ... ok [INFO] [stdout] test router::collider::tests::test_content_type_collisions ... ok [INFO] [stdout] test router::collider::tests::simple_param_collisions ... ok [INFO] [stdout] test router::collider::tests::simple_collisions ... ok [INFO] [stdout] test response::stream::sse::sse_tests::test_event_stream ... ok [INFO] [stdout] test router::collider::tests::test_route_content_type_collisions ... ok [INFO] [stdout] test router::collider::tests::test_str_non_collisions ... ok [INFO] [stdout] test router::router::test::test_collision_when_ranked ... ok [INFO] [stdout] test config::tests::test_no_err_on_debug_and_no_secret_key ... ok [INFO] [stdout] test router::router::test::test_collisions_normalize ... ok [INFO] [stdout] test router::router::test::test_collision_when_ranked_query ... ok [INFO] [stdout] test router::router::test::test_collisions_query ... ok [INFO] [stdout] test config::tests::test_precedence ... ok [INFO] [stdout] test response::stream::sse::sse_tests::test_event_data ... ok [INFO] [stdout] test router::router::test::test_no_collision_when_ranked ... ok [INFO] [stdout] test router::router::test::test_no_collision_when_ranked_query ... ok [INFO] [stdout] test router::router::test::test_no_collisions ... ok [INFO] [stdout] test router::router::test::test_no_manual_ranked_collisions ... ok [INFO] [stdout] test router::router::test::test_default_ranked_routing ... ok [INFO] [stdout] test router::router::test::test_ranked_collisions ... ok [INFO] [stdout] test router::collider::tests::test_req_route_query_collisions ... ok [INFO] [stdout] test router::router::test::test_rankless_collisions ... ok [INFO] [stdout] test sentinel::test::check_can_determine ... ok [INFO] [stdout] test sentinel::test::parent_works ... ok [INFO] [stdout] test router::router::test::test_err_routing ... ok [INFO] [stdout] test router::router::test::test_ranked_routing ... ok [INFO] [stdout] test shutdown::tests::ensure_is_send_sync_clone_unpin ... ok [INFO] [stdout] test router::router::test::test_default_ranking ... ok [INFO] [stdout] test trip_wire::tests::ensure_is_send_sync_clone_unpin ... ok [INFO] [stdout] test trip_wire::tests::simple_trip ... ok [INFO] [stdout] test router::router::test::test_ok_routing ... ok [INFO] [stdout] test trip_wire::tests::general_trip ... ok [INFO] [stdout] test trip_wire::tests::staged_trip ... ok [INFO] [stdout] test trip_wire::tests::single_stage_trip ... ok [INFO] [stdout] test router::collider::tests::test_req_route_mt_collisions ... ok [INFO] [stdout] test router::router::test::test_catcher_routing ... ok [INFO] [stdout] test response::stream::sse::sse_tests::test_heartbeat ... ok [INFO] [stdout] test trip_wire::tests::no_trip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 64 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] [stderr] Running tests/absolute-uris-okay-issue-443.rs (/opt/rustwide/target/debug/deps/absolute_uris_okay_issue_443-b898c62d1c802e41) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_absolute_uris_okay::redirect_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/byte-slices-form-field-issue-2148.rs (/opt/rustwide/target/debug/deps/byte_slices_form_field_issue_2148-741226cc22e1d764) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_from_form_fields_of_values_into_byte_slices ... ok [INFO] [stdout] test test_from_form_fields_of_multipart_files_into_byte_slices ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/can-correct-bad-local-uri.rs (/opt/rustwide/target/debug/deps/can_correct_bad_local_uri-3e255244f13221c3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test can_correct_bad_local_uri ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/can-launch-tls.rs (/opt/rustwide/target/debug/deps/can_launch_tls-1bd462ce9682b3d1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/catcher-cookies-1213.rs (/opt/rustwide/target/debug/deps/catcher_cookies_1213-94a34ca3b76330f3) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::error_catcher_sets_cookies ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/conditionally-set-server-header-996.rs (/opt/rustwide/target/debug/deps/conditionally_set_server_header_996-4783d4bcf4d275b0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test conditionally_set_server_header::do_not_overwrite_server_header ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/config-real-ip-header.rs (/opt/rustwide/target/debug/deps/config_real_ip_header-88ecc6ac0f6d796d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::check_default_real_ip_header_works ... ok [INFO] [stdout] test tests::check_real_ip_header_works ... ok [INFO] [stdout] test tests::check_real_ip_header_works_again ... ok [INFO] [stdout] test tests::check_no_ip_header_works ... ok [INFO] [stderr] Running tests/config-secret-key-1500.rs (/opt/rustwide/target/debug/deps/config_secret_key_1500-ca16999d7e6fc5b9) [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cookies-private.rs (/opt/rustwide/target/debug/deps/cookies_private-73019ac54dfd8e7f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/derive-reexports.rs (/opt/rustwide/target/debug/deps/derive_reexports-4e9b683586d3374e) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_derive_reexports ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/deserialize-limits-issue-2268.rs (/opt/rustwide/target/debug/deps/deserialize_limits_issue_2268-8d7aa07b980edf40) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test deserialize_mixed_case_limits_should_work ... ok [INFO] [stdout] test deserialize_extra_limits_in_config_should_work ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/encoded-uris.rs (/opt/rustwide/target/debug/deps/encoded_uris-341705314185dda9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test encoded_uris::can_route_to_encoded_uri ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/fairing_before_head_strip-issue-546.rs (/opt/rustwide/target/debug/deps/fairing_before_head_strip_issue_546-981402f65be93b57) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test fairing_before_head_strip::auto_handled ... ok [INFO] [stderr] Running tests/file_server.rs (/opt/rustwide/target/debug/deps/file_server-4c6deffe2383556f) [INFO] [stdout] test fairing_before_head_strip::not_auto_handled ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_static_hidden ... ok [INFO] [stdout] test test_static_no_index ... ok [INFO] [stdout] test test_redirection ... ok [INFO] [stdout] test test_static_all ... ok [INFO] [stdout] test test_forwarding ... ok [INFO] [stdout] test test_static_index ... ok [INFO] [stdout] test test_ranking ... ok [INFO] [stderr] Running tests/flash-lazy-removes-issue-466.rs (/opt/rustwide/target/debug/deps/flash_lazy_removes_issue_466-f1297490e5f72c9f) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test flash_lazy_remove_tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/form-validation-names.rs (/opt/rustwide/target/debug/deps/form_validation_names-ae4234b5d4f08243) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_form_validation_context ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/form_method-issue-45.rs (/opt/rustwide/target/debug/deps/form_method_issue_45-d1c4574c0939ac69) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::get_passes_through ... ok [INFO] [stdout] test tests::method_eval ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/form_value_decoding-issue-82.rs (/opt/rustwide/target/debug/deps/form_value_decoding_issue_82-e953cbc1aa9fbd88) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_proper_decoding ... ok [INFO] [stderr] Running tests/form_value_from_encoded_str-issue-1425.rs (/opt/rustwide/target/debug/deps/form_value_from_encoded_str_issue_1425-f13039a25c6861e6) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/forward-includes-status-1560.rs (/opt/rustwide/target/debug/deps/forward_includes_status_1560-bde62c9997cf6577) [INFO] [stdout] running 1 test [INFO] [stdout] test test_from_form_value_encoded ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::use_last_forward ... ok [INFO] [stdout] test tests::unauthorized_custom_catcher ... ok [INFO] [stdout] test tests::authorized_forwards ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/head_handling.rs (/opt/rustwide/target/debug/deps/head_handling-11ff075f054f9775) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test head_handling_tests::auto_head ... ok [INFO] [stdout] test head_handling_tests::user_head ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/http_serde.rs (/opt/rustwide/target/debug/deps/http_serde-3ded58ae0507ddf2) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test uri_serde_round_trip ... ok [INFO] [stdout] test method_serde ... ok [INFO] [stdout] test uri_serde ... ok [INFO] [stdout] test status_serde ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/launch-inspect.rs (/opt/rustwide/target/debug/deps/launch_inspect-4d94aaf8c3a42580) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_launch_state_is_well_ordered ... ok [INFO] [stdout] test test_inspectable_launch_state ... ok [INFO] [stdout] test test_inspectable_launch_state_in_liftoff ... ok [INFO] [stdout] test negative_test_launch_state - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] Running tests/limits.rs (/opt/rustwide/target/debug/deps/limits-c3e53f88fa973f64) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test limits_tests::large_enough ... ok [INFO] [stdout] test limits_tests::much_too_small ... ok [INFO] [stdout] test limits_tests::just_large_enough ... ok [INFO] [stdout] test limits_tests::contracted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/local-client-access-runtime-in-drop.rs (/opt/rustwide/target/debug/deps/local_client_access_runtime_in_drop-de7b66ff0b5aa993) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_access_runtime_in_state_drop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/local-client-json.rs (/opt/rustwide/target/debug/deps/local_client_json-9b632d08cbcd20ce) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/local-request-content-type-issue-505.rs (/opt/rustwide/target/debug/deps/local_request_content_type_issue_505-f1f73eb4179d77e6) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test local_request_content_type_tests::has_no_ct ... ok [INFO] [stdout] test local_request_content_type_tests::has_ct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/local_request_private_cookie-issue-368.rs (/opt/rustwide/target/debug/deps/local_request_private_cookie_issue_368-1270457a3f389580) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/many-cookie-jars-at-once.rs (/opt/rustwide/target/debug/deps/many_cookie_jars_at_once-4dbfd865d7cfd3d6) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test many_cookie_jars_tests::test_multi_get ... ok [INFO] [stdout] test many_cookie_jars_tests::test_multi_add ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/mapped-base-issue-1262.rs (/opt/rustwide/target/debug/deps/mapped_base_issue_1262-9e05e16d41680ce2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test mapped_base_tests::only_prefix ... ok [INFO] [stdout] test mapped_base_tests::prefix_and_base ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/mount_point.rs (/opt/rustwide/target/debug/deps/mount_point-bbdb0dbbbbcda978) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test good_static_mount ... ok [INFO] [stdout] test bad_dynamic_mount - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stderr] Running tests/multipart-limit.rs (/opt/rustwide/target/debug/deps/multipart_limit-7d6456ec3898bfeb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_multipart_limit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/nested-fairing-attaches.rs (/opt/rustwide/target/debug/deps/nested_fairing_attaches-94cc808d7e8f7575) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test nested_fairing_attaches_tests::test_counts ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/on_launch_fairing_can_inspect_port.rs (/opt/rustwide/target/debug/deps/on_launch_fairing_can_inspect_port-00b2b548971f4184) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test on_ignite_fairing_can_inspect_port ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/panic-handling.rs (/opt/rustwide/target/debug/deps/panic_handling-7c8357e40539c9d4) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test catches_early_catcher_panic ... ok [INFO] [stdout] test catches_early_route_panic ... ok [INFO] [stdout] test catches_catcher_panic ... ok [INFO] [stdout] test catches_double_panic ... ok [INFO] [stdout] test catches_route_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] [stderr] Running tests/precise-content-type-matching.rs (/opt/rustwide/target/debug/deps/precise_content_type_matching-4c881afa7268e184) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::exact_match_or_forward ... ok [INFO] [stdout] test tests::exact_match_or_none ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stderr] Running tests/raw-strings-multipart-files-1987.rs (/opt/rustwide/target/debug/deps/raw_strings_multipart_files_1987-a102e689eae59c15) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/recursive-singleton-fairing.rs (/opt/rustwide/target/debug/deps/recursive_singleton_fairing-77930ecd46d05bc0) [INFO] [stdout] test test_multipart_raw_strings_from_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test recursive_singleton_bad ... ok [INFO] [stdout] test recursive_singleton_ok ... ok [INFO] [stderr] Running tests/redirect_from_catcher-issue-113.rs (/opt/rustwide/target/debug/deps/redirect_from_catcher_issue_113-eaf6b08f2b49d467) [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::error_catcher_redirect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/replace-content-type-518.rs (/opt/rustwide/target/debug/deps/replace_content_type_518-641f24d6e0031dcd) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test check_fairing_changes_content_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/responder_lifetime-issue-345.rs (/opt/rustwide/target/debug/deps/responder_lifetime_issue_345-6ad941ebcb98d9e5) [INFO] [stdout] [INFO] [stderr] Running tests/route_guard.rs (/opt/rustwide/target/debug/deps/route_guard-65845859fd0c1388) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test route_guard_tests::check_mount_path ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/scoped-uri.rs (/opt/rustwide/target/debug/deps/scoped_uri-758021b36daee9bc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_hello_name ... ok [INFO] [stdout] test test_inner_hello ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/segments-issues-41-86.rs (/opt/rustwide/target/debug/deps/segments_issues_41_86-95a36da02d9e6753) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::segments_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/sentinel.rs (/opt/rustwide/target/debug/deps/sentinel-06e2dd5f219e0d91) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test data_sentinel_works ... ok [INFO] [stdout] test known_macro_sentinel_works ... ok [INFO] [stdout] test state_sentinel_works ... ok [INFO] [stdout] test inner_sentinels_detected ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running tests/session-cookies-issue-1506.rs (/opt/rustwide/target/debug/deps/session_cookies_issue_1506-f830ef97178300cf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/shield.rs (/opt/rustwide/target/debug/deps/shield-be8b8fbf0edcadb1) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test default_shield ... ok [INFO] [stdout] test default_headers_test ... ok [INFO] [stdout] test shield_singleton ... ok [INFO] [stdout] test additional_headers_test ... ok [INFO] [stdout] test uri_test ... ok [INFO] [stdout] test disable_headers_test ... ok [INFO] [stdout] test prefetch_test ... ok [INFO] [stdout] test permission_test ... ok [INFO] [stdout] test bad_uri_permission_test - should panic ... ok [INFO] [stdout] test bad_uri_permission_test2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/shutdown-fairings.rs (/opt/rustwide/target/debug/deps/shutdown_fairings-e31087b05ae61f31) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test async_shutdown_fairing_runs ... ok [INFO] [stdout] test shutdown_fairing_runs ... ok [INFO] [stdout] test multiple_shutdown_fairing_runs ... ok [INFO] [stdout] test background_tasks_dont_prevent_terminate ... ok [INFO] [stderr] Running tests/strict_and_lenient_forms.rs (/opt/rustwide/target/debug/deps/strict_and_lenient_forms-a4a76ea7dba5f06b) [INFO] [stdout] test async_slow_shutdown_doesnt_elongate_grace ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test strict_and_lenient_forms_tests::test_strict_form ... ok [INFO] [stdout] test strict_and_lenient_forms_tests::test_lenient_form ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/timer-on-attach.rs (/opt/rustwide/target/debug/deps/timer_on_attach-3d038b4329fae0c9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_await_timer_inside_attach ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tls-config-from-source-1503.rs (/opt/rustwide/target/debug/deps/tls_config_from_source_1503-940853582142c3d4) [INFO] [stdout] [INFO] [stderr] Running tests/twice_managed_state.rs (/opt/rustwide/target/debug/deps/twice_managed_state-3581d28a7855d652) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test twice_managed_state - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] Running tests/typed-uri-docs-redef-issue-1373.rs (/opt/rustwide/target/debug/deps/typed_uri_docs_redef_issue_1373-f9655c216a5d0e36) [INFO] [stderr] Running tests/unsound-local-request-1312.rs (/opt/rustwide/target/debug/deps/unsound_local_request_1312-bb391e49ba098ca3) [INFO] [stderr] Running tests/untracked-vs-tracked.rs (/opt/rustwide/target/debug/deps/untracked_vs_tracked-2ece6bc43a33995e) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_local_request_clone_soundness ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test many_cookie_jars_tests::test_untracked ... ok [INFO] [stdout] test many_cookie_jars_tests::test_tracked ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/uri-percent-encoding-issue-808.rs (/opt/rustwide/target/debug/deps/uri_percent_encoding_issue_808-5f166e78b2177211) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::uri_percent_encoding_redirect ... ok [INFO] [stdout] test tests::uri_percent_encoding_get ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests rocket [INFO] [stderr] error: DefId(0:459 ~ rocket[882f]::sentinel::Sentinel) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name rocket --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_stream=/opt/rustwide/target/debug/deps/libasync_stream-df0ce5c133636df9.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-bce0d9f65ce19970.so --extern atomic=/opt/rustwide/target/debug/deps/libatomic-c07357df513237e0.rlib --extern binascii=/opt/rustwide/target/debug/deps/libbinascii-0d4de179cee96c8e.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-485c92da441bbc40.rlib --extern either=/opt/rustwide/target/debug/deps/libeither-0d03427b61e42fdc.rlib --extern figment=/opt/rustwide/target/debug/deps/libfigment-097ef7b64bf05515.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-7d0a62fc091d6aa9.rlib --extern indexmap=/opt/rustwide/target/debug/deps/libindexmap-ba7c8765ed45afe3.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-669e9396cafcbb01.rlib --extern memchr=/opt/rustwide/target/debug/deps/libmemchr-3ffe5f7a52883367.rlib --extern multer=/opt/rustwide/target/debug/deps/libmulter-e5d57894fe4bb174.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-382e5a5e44eec713.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-392c1d2c3cb81252.rlib --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-1b69109c4d0b18c5.rlib --extern pretty_assertions=/opt/rustwide/target/debug/deps/libpretty_assertions-6bebf9783a205d16.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-ceaafaae89a6d513.rlib --extern ref_cast=/opt/rustwide/target/debug/deps/libref_cast-619d2b97a973efcd.rlib --extern rocket=/opt/rustwide/target/debug/deps/librocket-40c4813405f9deaf.rlib --extern rocket_codegen=/opt/rustwide/target/debug/deps/librocket_codegen-098efeb89a2308a4.so --extern rocket_http=/opt/rustwide/target/debug/deps/librocket_http-4e69ff3577d42019.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-7dc99beeb8b5874b.rlib --extern state=/opt/rustwide/target/debug/deps/libstate-0b52da1ac91aaf36.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-bd40b7ad74e747ee.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-0f5a97f5cfecba12.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-bc2f367db738cdfd.rlib --extern tokio_stream=/opt/rustwide/target/debug/deps/libtokio_stream-a4ec4de2aeca19cf.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-99f217ee372a83e5.rlib --extern ubyte=/opt/rustwide/target/debug/deps/libubyte-08f18f9340c0232f.rlib --extern yansi=/opt/rustwide/target/debug/deps/libyansi-f072c7b53c59982c.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="http2"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "http2", "json", "msgpack", "mtls", "rmp-serde", "secrets", "serde_json", "tls", "uuid", "uuid_"))' --cfg nightly --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "03a17eadc7839354567fc59a87aaa897a6fc2a11be1754c4ca951e3a6feff817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a17eadc7839354567fc59a87aaa897a6fc2a11be1754c4ca951e3a6feff817", kill_on_drop: false }` [INFO] [stdout] 03a17eadc7839354567fc59a87aaa897a6fc2a11be1754c4ca951e3a6feff817