[INFO] fetching crate tower-web 0.3.7... [INFO] testing tower-web-0.3.7 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate tower-web 0.3.7 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tower-web 0.3.7 [INFO] finished tweaking crates.io crate tower-web 0.3.7 [INFO] tweaked toml for crates.io crate tower-web 0.3.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-web 0.3.7 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages to latest compatible versions [INFO] [stderr] Adding atoi v0.2.3 (available: v0.2.4) [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding handlebars v1.0.5 (available: v1.1.0) [INFO] [stderr] Adding headers v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.7.0) [INFO] [stderr] Adding mime_guess v1.8.8 (available: v2.0.5) [INFO] [stderr] Adding percent-encoding v1.0.1 (available: v2.3.2) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (available: v0.5.20+deprecated) [INFO] [stderr] Adding rand v0.5.6 (available: v0.9.2) [INFO] [stderr] Adding serde_plain v0.3.0 (available: v1.0.2) [INFO] [stderr] Adding serde_urlencoded v0.5.5 (available: v0.7.1) [INFO] [stderr] Adding tokio v0.1.19 (available: v0.1.22) [INFO] [stderr] Adding tokio-rustls v0.8.1 (available: v0.26.4) [INFO] [stderr] Adding tower-service v0.1.0 (available: v0.3.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8227856ad654415fb7753a8eac502ad8513192ba6de28ab2903e2098b630a46c [INFO] running `Command { std: "docker" "start" "-a" "8227856ad654415fb7753a8eac502ad8513192ba6de28ab2903e2098b630a46c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8227856ad654415fb7753a8eac502ad8513192ba6de28ab2903e2098b630a46c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8227856ad654415fb7753a8eac502ad8513192ba6de28ab2903e2098b630a46c", kill_on_drop: false }` [INFO] [stdout] 8227856ad654415fb7753a8eac502ad8513192ba6de28ab2903e2098b630a46c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a0523577605f91365e06460374193d62395a2a1b833ff67f2085d21ca3cf9ea [INFO] running `Command { std: "docker" "start" "-a" "9a0523577605f91365e06460374193d62395a2a1b833ff67f2085d21ca3cf9ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling headers-core v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling headers v0.2.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling handlebars v1.0.5 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling atoi v0.2.3 [INFO] [stderr] Compiling checked v0.5.0 [INFO] [stderr] Compiling serde_plain v0.3.0 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tower-web-macros v0.3.5 [INFO] [stderr] Compiling tower-web v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/middleware/cors/config.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut headers = self.basic_headers();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/middleware/log/service.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 400...599 => Level::Error, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/num.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | Error::invalid_argument(&err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/serde.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/cors/config.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut headers = self.basic_headers(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extract/error.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Invalid(String), [INFO] [stdout] 14 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | /// `None` represents a deflate error [INFO] [stdout] 39 | inner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/extract/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | drop(callsite); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CallSite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 79 - drop(callsite); [INFO] [stdout] 79 + let _ = callsite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/response/context.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s [INFO] running `Command { std: "docker" "inspect" "9a0523577605f91365e06460374193d62395a2a1b833ff67f2085d21ca3cf9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0523577605f91365e06460374193d62395a2a1b833ff67f2085d21ca3cf9ea", kill_on_drop: false }` [INFO] [stdout] 9a0523577605f91365e06460374193d62395a2a1b833ff67f2085d21ca3cf9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8639254de3f560cb96f3f10ecaaf0db20c49f922a0a4953970273666f7a7df3f [INFO] running `Command { std: "docker" "start" "-a" "8639254de3f560cb96f3f10ecaaf0db20c49f922a0a4953970273666f7a7df3f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tower-web v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/middleware/cors/config.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut headers = self.basic_headers();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/middleware/log/service.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 400...599 => Level::Error, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/middleware/cors/config.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut headers = self.basic_headers();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/middleware/log/service.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 400...599 => Level::Error, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware/cors/config.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | type TestError = Box<::std::error::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 | type TestError = Box; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/num.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | Error::invalid_argument(&err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/serde.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware/cors/service.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | type TestError = Box<::std::error::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | type TestError = Box; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/num.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | Error::invalid_argument(&err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/serde.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/cors/config.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut headers = self.basic_headers(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/cors/config.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut headers = self.basic_headers(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extract/error.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Invalid(String), [INFO] [stdout] 14 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | /// `None` represents a deflate error [INFO] [stdout] 39 | inner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/extract/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | drop(callsite); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CallSite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 79 - drop(callsite); [INFO] [stdout] 79 + let _ = callsite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/response/context.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> examples/derive_extract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Foo { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 30 | /// A `foo` component must be provided and it must be a numeric type. [INFO] [stdout] 31 | foo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | bar: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] --> examples/derive_extract.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Extract)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Extract` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo` [INFO] [stdout] 29 | struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/json.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_MyResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/json.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CreatedResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_CreatedResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extract/error.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [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] 14 - Invalid(String), [INFO] [stdout] 14 + Invalid(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | /// `None` represents a deflate error [INFO] [stdout] 39 | inner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/extract/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | drop(callsite); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CallSite` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 79 - drop(callsite); [INFO] [stdout] 79 + let _ = callsite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/response/context.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn serializer_context(&self) -> SerializerContext<'_> { [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] --> tests/content_type.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Foo` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Foo` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/hello_world.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// To derive `Resource`, the implementation of `HelloWorld` is contained in the [INFO] [stdout] 65 | | /// `impl_web!` macro. This macro does not modify any of its contents. It will [INFO] [stdout] 66 | | /// inspect the implementation and, with the help of some annotations, generate [INFO] [stdout] 67 | | /// the necessary glue code to run the web service. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// impl_web! is a temporary solution to enable tower-web to work with stable [INFO] [stdout] 70 | | /// rust. In the near future, this will be transitioned to use attribute macros. [INFO] [stdout] | |_-------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [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] --> tests/response.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `HelloResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_HelloResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `NestedResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_NestedResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `WrappedNestedResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_WrappedNestedResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `StaticStatus` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_StaticStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DynStatus` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynStatus` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `StaticHeader` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_StaticHeader` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DynHeader1` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynHeader1` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DynHeader2` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynHeader2` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Response)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Either` [INFO] [stdout] 78 | #[web(either)] [INFO] [stdout] 79 | pub enum Either { [INFO] [stdout] | ------ `Either` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/response.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GenResp` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_GenResp` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/html_handlebars.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Response, Debug)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Foo` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Foo` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/html_handlebars.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Response, Debug)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Bar` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Bar` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/html_handlebars.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Response, Debug)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BadTemplate` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_BadTemplate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/html_handlebars.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Response, Debug)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `NoTemplate` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_NoTemplate` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/resource.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Inner` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Inner` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/html_handlebars.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Response)] [INFO] [stdout] | -^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MyResponse` is not local [INFO] [stdout] | `Response` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_MyResponse` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/extract.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug, Extract)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Extract` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo` [INFO] [stdout] 15 | pub struct Foo { [INFO] [stdout] | --- `Foo` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/extract.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Extract)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Extract` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo2` [INFO] [stdout] 20 | pub struct Foo2 { [INFO] [stdout] | ---- `Foo2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/extract.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug, Extract, Default)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Extract` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_FooWithDefault` [INFO] [stdout] 25 | struct FooWithDefault { [INFO] [stdout] | -------------- `FooWithDefault` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/extract.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, Extract)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Extract` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_FooWrap` [INFO] [stdout] 31 | pub struct FooWrap(Inner); [INFO] [stdout] | ------- `FooWrap` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Extract` (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 41.84s [INFO] running `Command { std: "docker" "inspect" "8639254de3f560cb96f3f10ecaaf0db20c49f922a0a4953970273666f7a7df3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8639254de3f560cb96f3f10ecaaf0db20c49f922a0a4953970273666f7a7df3f", kill_on_drop: false }` [INFO] [stdout] 8639254de3f560cb96f3f10ecaaf0db20c49f922a0a4953970273666f7a7df3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d9ff097f978b74567be9e5d7548f9f7d43c85e85b40fd44a92979a4e9ca8708 [INFO] running `Command { std: "docker" "start" "-a" "6d9ff097f978b74567be9e5d7548f9f7d43c85e85b40fd44a92979a4e9ca8708", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/middleware/cors/config.rs:191:48 [INFO] [stderr] | [INFO] [stderr] 191 | let mut headers = self.basic_headers();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/middleware/log/service.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | 400...599 => Level::Error, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config/mod.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/run.rs:78:23 [INFO] [stderr] | [INFO] [stderr] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config/mod.rs:74:31 [INFO] [stderr] | [INFO] [stderr] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/extract/num.rs:25:62 [INFO] [stderr] | [INFO] [stderr] 25 | Error::invalid_argument(&err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/extract/serde.rs:86:63 [INFO] [stderr] | [INFO] [stderr] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/middleware/cors/config.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | let mut headers = self.basic_headers(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/extract/error.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | Invalid(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] 14 - Invalid(String), [INFO] [stderr] 14 + Invalid(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `inner` is never read [INFO] [stderr] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct Error { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 38 | /// `None` represents a deflate error [INFO] [stderr] 39 | inner: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/extract/mod.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | drop(callsite); [INFO] [stderr] | ^^^^^--------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&CallSite` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 79 - drop(callsite); [INFO] [stderr] 79 + let _ = callsite; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/response/context.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn serializer_context(&self) -> SerializerContext { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn serializer_context(&self) -> SerializerContext<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tower-web` (lib) generated 12 warnings (run `cargo fix --lib -p tower-web` to apply 6 suggestions) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `HelloResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_HelloResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `NestedResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_NestedResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:33:17 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `WrappedNestedResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_WrappedNestedResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `StaticStatus` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_StaticStatus` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DynStatus` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynStatus` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:55:17 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `StaticHeader` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_StaticHeader` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DynHeader1` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynHeader1` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `DynHeader2` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_DynHeader2` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | #[derive(Debug, Response)] [INFO] [stderr] | ^------- [INFO] [stderr] | | [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Either` [INFO] [stderr] 78 | #[web(either)] [INFO] [stderr] 79 | pub enum Either { [INFO] [stderr] | ------ `Either` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/response.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `GenResp` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_GenResp` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/html_handlebars.rs:20:10 [INFO] [stderr] | [INFO] [stderr] 20 | #[derive(Response, Debug)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Foo` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Foo` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/html_handlebars.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Response, Debug)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Bar` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Bar` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/html_handlebars.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Response, Debug)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `BadTemplate` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_BadTemplate` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/html_handlebars.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Response, Debug)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `NoTemplate` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_NoTemplate` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/content_type.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Foo` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Foo` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/extract.rs:14:17 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug, Extract)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Extract` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo` [INFO] [stderr] 15 | pub struct Foo { [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/extract.rs:19:17 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Extract)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Extract` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo2` [INFO] [stderr] 20 | pub struct Foo2 { [INFO] [stderr] | ---- `Foo2` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/extract.rs:24:17 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Debug, Extract, Default)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Extract` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_FooWithDefault` [INFO] [stderr] 25 | struct FooWithDefault { [INFO] [stderr] | -------------- `FooWithDefault` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/extract.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | #[derive(Debug, Extract)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Extract` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_FooWrap` [INFO] [stderr] 31 | pub struct FooWrap(Inner); [INFO] [stderr] | ------- `FooWrap` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> tests/resource.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Inner` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_Inner` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tower-web` (test "response") generated 10 warnings [INFO] [stderr] warning: `tower-web` (test "html_handlebars") generated 4 warnings [INFO] [stderr] warning: `tower-web` (test "content_type") generated 1 warning [INFO] [stderr] warning: `tower-web` (test "extract") generated 4 warnings [INFO] [stderr] warning: `tower-web` (test "resource") generated 1 warning [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/html_handlebars.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_MyResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/json.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MyResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_MyResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/json.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | #[derive(Debug, Response)] [INFO] [stderr] | -^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `CreatedResponse` is not local [INFO] [stderr] | `Response` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_RESPONSE_FOR_CreatedResponse` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Response` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Response` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Response` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> examples/hello_world.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | / /// To derive `Resource`, the implementation of `HelloWorld` is contained in the [INFO] [stderr] 65 | | /// `impl_web!` macro. This macro does not modify any of its contents. It will [INFO] [stderr] 66 | | /// inspect the implementation and, with the help of some annotations, generate [INFO] [stderr] 67 | | /// the necessary glue code to run the web service. [INFO] [stderr] 68 | | /// [INFO] [stderr] 69 | | /// impl_web! is a temporary solution to enable tower-web to work with stable [INFO] [stderr] 70 | | /// rust. In the near future, this will be transitioned to use attribute macros. [INFO] [stderr] | |_-------------------------------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tower-web` (example "html_handlebars") generated 1 warning [INFO] [stderr] warning: `tower-web` (example "json") generated 2 warnings [INFO] [stderr] warning: `tower-web` (example "hello_world") generated 1 warning [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/middleware/cors/config.rs:191:48 [INFO] [stderr] | [INFO] [stderr] 191 | let mut headers = self.basic_headers();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/middleware/log/service.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | 400...599 => Level::Error, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config/mod.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/middleware/cors/config.rs:229:26 [INFO] [stderr] | [INFO] [stderr] 229 | type TestError = Box<::std::error::Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 229 | type TestError = Box; [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/middleware/cors/service.rs:118:26 [INFO] [stderr] | [INFO] [stderr] 118 | type TestError = Box<::std::error::Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 118 | type TestError = Box; [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/extract/num.rs:25:62 [INFO] [stderr] | [INFO] [stderr] 25 | Error::invalid_argument(&err.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stderr] | -------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stderr] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/middleware/cors/config.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | let mut headers = self.basic_headers(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/extract/error.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | Invalid(String), [INFO] [stderr] | ------- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Kind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [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] 14 - Invalid(String), [INFO] [stderr] 14 + Invalid(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/extract/mod.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | drop(callsite); [INFO] [stderr] | ^^^^^--------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&CallSite` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 79 - drop(callsite); [INFO] [stderr] 79 + let _ = callsite; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/response/context.rs:62:31 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn serializer_context(&self) -> SerializerContext { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn serializer_context(&self) -> SerializerContext<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: fields `foo` and `bar` are never read [INFO] [stderr] --> examples/derive_extract.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 29 | struct Foo { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 30 | /// A `foo` component must be provided and it must be a numeric type. [INFO] [stderr] 31 | foo: u32, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | bar: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> examples/derive_extract.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | #[derive(Debug, Extract)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Extract` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_EXTRACT_FOR_Foo` [INFO] [stderr] 29 | struct Foo { [INFO] [stderr] | --- `Foo` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Extract` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Extract` may come from an old version of the `tower_web_macros` crate, try updating your dependency with `cargo update -p tower_web_macros` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Extract` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `tower-web` (lib test) generated 14 warnings (4 duplicates) (run `cargo fix --lib -p tower-web --tests` to apply 6 suggestions) [INFO] [stderr] warning: `tower-web` (example "derive_extract") generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tower_web-13899b359b857fe3) [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test extract::osstring::test::disallows_path_traversal ... ok [INFO] [stdout] test extract::osstring::test::extract ... ok [INFO] [stdout] test extract::pathbuf::test::disallows_path_traversal ... ok [INFO] [stdout] test extract::str::test::extract ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_allows_null_origin_for_any_when_configured ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_allows_when_origin_is_any ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_disallows_null_origin_even_for_any ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_allowed_methods ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_allowed_origin ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_compares_origin_against_allowed_origins ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_compares_headers_against_allowed_headers ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_max_age ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_compares_method_against_allowed_methods ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_allowed_credentials ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_allowed_headers ... ok [INFO] [stdout] test middleware::cors::config::test::preflight_response_includes_vary_header ... ok [INFO] [stdout] test middleware::cors::config::test::simple_allows_null_origin_for_any_when_configured ... ok [INFO] [stdout] test middleware::cors::config::test::simple_allows_when_origin_is_any ... ok [INFO] [stdout] test middleware::cors::config::test::simple_disallows_null_origin_even_for_any ... ok [INFO] [stdout] test extract::pathbuf::test::extract ... ok [INFO] [stdout] test middleware::cors::config::test::simple_response_includes_allowed_credentials ... ok [INFO] [stdout] test middleware::cors::config::test::simple_response_includes_allowed_origin ... ok [INFO] [stdout] test middleware::cors::config::test::simple_response_includes_exposed_headers ... ok [INFO] [stdout] test middleware::cors::config::test::simple_response_includes_vary_header ... ok [INFO] [stdout] test middleware::cors::service::test::does_not_forward_the_request_when_preflight ... ok [INFO] [stdout] test middleware::cors::service::test::forwards_the_request_when_not_cors ... ok [INFO] [stdout] test middleware::cors::service::test::responds_with_error_when_bad_cors ... ok [INFO] [stdout] test middleware::cors::service::test::responds_with_no_content_when_ok_preflight ... ok [INFO] [stdout] test routing::path::test_glob_and_capture_segments ... ok [INFO] [stdout] test routing::path::test_glob_segments ... ok [INFO] [stdout] test middleware::cors::config::test::simple_compares_origin_against_allowed_origins ... ok [INFO] [stdout] test middleware::cors::service::test::polls_the_inner_service ... ok [INFO] [stdout] test routing::path::test_segments ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/catch.rs (/opt/rustwide/target/debug/deps/catch-1d79578941f286fa) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test default_catch_not_found ... ok [INFO] [stdout] test default_catch_internal ... ok [INFO] [stdout] test catch_error ... ok [INFO] [stdout] test custom_global_catch ... ok [INFO] [stdout] test success ... ok [INFO] [stderr] Running tests/content_type.rs (/opt/rustwide/target/debug/deps/content_type-92bc8cb529978a80) [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test json_with_content_type2 ... ok [INFO] [stdout] test str_with_content_type ... ok [INFO] [stdout] test json_with_content_type ... ok [INFO] [stdout] test json_no_content_type ... ok [INFO] [stdout] test str_no_content_type ... ok [INFO] [stdout] test str_no_content_type_html ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/deflate_stream.rs (/opt/rustwide/target/debug/deps/deflate_stream-7a421ce2f63dd114) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test multi_chunk ... ok [INFO] [stdout] test single_chunk ... 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/empty.rs (/opt/rustwide/target/debug/deps/empty-5ac4b5ab49c480ff) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test one_route::use_type ... ok [INFO] [stdout] test other_attr::use_type ... ok [INFO] [stdout] test empty_impl::use_type ... ok [INFO] [stderr] Running tests/extract.rs (/opt/rustwide/target/debug/deps/extract-c670e813603cf5d5) [INFO] [stdout] test no_routes::use_type ... 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] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test extract_query_missing_not_ok ... ignored [INFO] [stdout] test extract_body_json_success_charset ... ok [INFO] [stdout] test extract_body_wrap_json_no_content_type_header ... ok [INFO] [stdout] test extract_query_missing_ok ... ok [INFO] [stdout] test extract_body_wrap_json_success ... ok [INFO] [stdout] test extract_body_json_success ... ok [INFO] [stdout] test extract_query_wrap ... ignored [INFO] [stdout] test extract_x_www_form_urlencoded ... ok [INFO] [stdout] test extract_with_default ... ok [INFO] [stdout] test extract_query_success ... ok [INFO] [stdout] test extract_str ... ok [INFO] [stdout] test extract_json ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/html_handlebars.rs (/opt/rustwide/target/debug/deps/html_handlebars-374e5f480ad71377) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test no_template ... ok [INFO] [stdout] test invalid_template ... ok [INFO] [stdout] test render_template_handler_attr ... ok [INFO] [stdout] test render_template_response_attr ... ok [INFO] [stdout] test render_template_both_handler_and_response_attr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/methods.rs (/opt/rustwide/target/debug/deps/methods-7688dee86c134069) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test sync_method_str ... 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/multi_resource.rs (/opt/rustwide/target/debug/deps/multi_resource-9839c95ef3c8c996) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test multi_resource ... 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 5 tests [INFO] [stdout] test one_str_param ... ok [INFO] [stderr] Running tests/params.rs (/opt/rustwide/target/debug/deps/params-40aeb3ec0c171e1a) [INFO] [stdout] test one_u32_header ... ok [INFO] [stdout] test option_header ... ok [INFO] [stdout] test one_str_header ... ok [INFO] [stdout] test one_u32_param ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/resource.rs (/opt/rustwide/target/debug/deps/resource-8587b81192954e42) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test inner_type ... ok [INFO] [stdout] test impl_future ... ok [INFO] [stdout] test generic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stderr] Running tests/response.rs (/opt/rustwide/target/debug/deps/response-2d7a32e854c877a8) [INFO] [stdout] test hello_world ... ok [INFO] [stdout] test generic_response ... ok [INFO] [stdout] test respond_dyn_header_1 ... ok [INFO] [stdout] test http_response ... ok [INFO] [stdout] test nested ... ok [INFO] [stdout] test option_response ... ok [INFO] [stdout] test respond_dyn_header_2 ... ok [INFO] [stdout] test respond_static_header ... ok [INFO] [stdout] test respond_static_status ... ok [INFO] [stdout] test vec_serialize ... ok [INFO] [stdout] test respond_dyn_status ... ok [INFO] [stdout] test wrapped_nested ... ok [INFO] [stderr] Running tests/serializer.rs (/opt/rustwide/target/debug/deps/serializer-88dfb3452327e368) [INFO] [stderr] Doc-tests tower_web [INFO] [stdout] test no_content_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [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] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/middleware/cors/config.rs:191:48 [INFO] [stderr] | [INFO] [stderr] 191 | let mut headers = self.basic_headers();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/middleware/log/service.rs:101:24 [INFO] [stderr] | [INFO] [stderr] 101 | 400...599 => Level::Error, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test src/lib.rs - (line 221) ... ok [INFO] [stdout] test src/lib.rs - (line 101) ... ok [INFO] [stdout] test src/lib.rs - (line 150) ... ok [INFO] [stdout] test src/lib.rs - (line 247) ... ok [INFO] [stdout] test src/lib.rs - (line 33) ... ok [INFO] [stdout] test src/lib.rs - (line 127) ... ok [INFO] [stdout] test src/lib.rs - (line 284) ... ok [INFO] [stdout] test src/lib.rs - (line 360) ... ok [INFO] [stdout] test src/lib.rs - (line 331) ... ok [INFO] [stdout] test src/lib.rs - (line 380) ... ok [INFO] [stdout] test src/lib.rs - impl_web (line 553) ... ok [INFO] [stdout] test src/lib.rs - (line 67) ... ok [INFO] [stdout] test src/lib.rs - (line 181) ... ok [INFO] [stdout] test src/middleware/middleware.rs - middleware::middleware::Middleware (line 17) ... ok [INFO] [stdout] test src/lib.rs - (line 431) ... ok [INFO] [stdout] test src/lib.rs - (line 400) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder (line 25) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::build_new_service (line 420) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder<(),DefaultSerializer,DefaultCatch,Identity>::new (line 121) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder (line 81) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder (line 47) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::catch (line 370) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::config (line 261) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::run (line 485) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::serializer (line 209) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::resource (line 160) ... ok [INFO] [stdout] test src/service/builder.rs - service::builder::ServiceBuilder::middleware (line 324) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6d9ff097f978b74567be9e5d7548f9f7d43c85e85b40fd44a92979a4e9ca8708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d9ff097f978b74567be9e5d7548f9f7d43c85e85b40fd44a92979a4e9ca8708", kill_on_drop: false }` [INFO] [stdout] 6d9ff097f978b74567be9e5d7548f9f7d43c85e85b40fd44a92979a4e9ca8708