[INFO] fetching crate yahf 0.0.2... [INFO] checking yahf-0.0.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate yahf 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate yahf 0.0.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate yahf 0.0.2 [INFO] finished tweaking crates.io crate yahf 0.0.2 [INFO] tweaked toml for crates.io crate yahf 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate yahf 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09f66728df2f749144508935e9c2724352160fb887916651d277117b80857fce [INFO] running `Command { std: "docker" "start" "-a" "09f66728df2f749144508935e9c2724352160fb887916651d277117b80857fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f66728df2f749144508935e9c2724352160fb887916651d277117b80857fce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f66728df2f749144508935e9c2724352160fb887916651d277117b80857fce", kill_on_drop: false }` [INFO] [stdout] 09f66728df2f749144508935e9c2724352160fb887916651d277117b80857fce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 967c50e83a62a30e85c8a344ef8e2ef71dadc151e7a4ef4e77fcb7d4afb267b6 [INFO] running `Command { std: "docker" "start" "-a" "967c50e83a62a30e85c8a344ef8e2ef71dadc151e7a4ef4e77fcb7d4afb267b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking memchr v2.6.2 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking base64 v0.21.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls-webpki v0.101.4 [INFO] [stderr] Checking webpki v0.22.1 [INFO] [stderr] Checking rcgen v0.11.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tls-listener v0.5.1 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking yahf v0.0.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `yahf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/router.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | ($fn: ident, $method: expr, $method_ref: literal, $method_name: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 137 | ($fn: ident, $method: expr_2021, $method_ref: literal, $method_name: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | ($fn: ident, $method: expr_2021, $method_ref: literal, $method_name: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / fn call_runner( [INFO] [stdout] 25 | | &'_ self, [INFO] [stdout] 26 | | run: InternalResult>, [INFO] [stdout] 27 | | ) -> impl Future>> + Send + '_; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/handler.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Json(PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/handler.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/handler.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub trait BoxedRunner: DynClone + Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / fn call( [INFO] [stdout] 95 | | &self, [INFO] [stdout] 96 | | req: InternalResult, [INFO] [stdout] 97 | | ) -> Pin> + Send>>; [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/handler.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub trait DynClone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn(std::result::Result, error::Error>) -> Pin, error::Error>> + std::marker::Send + 'static)>>) + Sync + DynClone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/handler.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | ) -> impl Fn( [INFO] [stdout] | ______^ [INFO] [stdout] 157 | | InternalResult>, [INFO] [stdout] 158 | | ) -> Pin>> + Send>> [INFO] [stdout] 159 | | + Sync [INFO] [stdout] 160 | | + DynClone [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/handler.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | _deserializer: &Deserializer, [INFO] [stdout] | ^ [INFO] [stdout] 155 | _serializer: &Serializer, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 160 | + DynClone + use [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/middleware.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PreMiddleware: Send + Sync + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/middleware.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | fn call(&self, error: InternalResult>) -> Self::FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/middleware.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait AfterMiddleware: Send + Sync + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/middleware.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn call(&self, error: InternalResult>) -> Self::FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/middleware.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MiddlewareFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/middleware.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / pub fn new() -> MiddlewareFactory< [INFO] [stdout] 70 | | impl PreMiddleware< [INFO] [stdout] 71 | | FutCallResponse = impl Future>>>, [INFO] [stdout] 72 | | >, [INFO] [stdout] ... | [INFO] [stdout] 75 | | >, [INFO] [stdout] 76 | | > { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / pub fn pre, NewCF: Into>>>( [INFO] [stdout] 95 | | self, [INFO] [stdout] 96 | | other_pre: impl PreMiddleware + Sync + Copy, [INFO] [stdout] 97 | | ) -> MiddlewareFactory>, FAfter> [INFO] [stdout] | |_____________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / pub fn after, NewCFA: Into>>>( [INFO] [stdout] 120 | | self, [INFO] [stdout] 121 | | other_after: impl AfterMiddleware + Sync + Copy, [INFO] [stdout] 122 | | ) -> MiddlewareFactory>> [INFO] [stdout] | |______________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | / pub fn build( [INFO] [stdout] 143 | | self: Arc, [INFO] [stdout] 144 | | _runner: R, [INFO] [stdout] 145 | | _deserializer: &Deserializer, [INFO] [stdout] ... | [INFO] [stdout] 148 | | where [INFO] [stdout] 149 | | R: Runner<(FnInput, Deserializer), (FnOutput, Serializer)> + 'static, [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Runner<(result::Result>, std::string::String), (result::Result>, std::string::String)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/middleware.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> impl Runner<(Result>, String), (Result>, String)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/middleware.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | _deserializer: &Deserializer, [INFO] [stdout] | ^ [INFO] [stdout] 146 | _serializer: &Serializer, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 147 | ) -> impl Runner<(Result>, String), (Result>, String)> + use [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(value) = self.value.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tree.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match self.value.as_mut() { Some(value) => { [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] ... [INFO] [stdout] 228 | ))); [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/router_example/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `yahf` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/router.rs [INFO] [stderr] * src/server.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | ($fn: ident, $method: expr_2021, $method_ref: literal, $method_name: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:587:23 [INFO] [stderr] | [INFO] [stderr] 587 | ($id: ident, [$pre: expr_2021]) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:590:23 [INFO] [stderr] | [INFO] [stderr] 590 | ($id: ident, ($after: expr_2021)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:593:25 [INFO] [stderr] | [INFO] [stderr] 593 | ($id: ident, [$($pre: expr_2021),+]) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:596:25 [INFO] [stderr] | [INFO] [stderr] 596 | ($id: ident, ($($after: expr_2021),+)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:599:25 [INFO] [stderr] | [INFO] [stderr] 599 | ($id: ident, [$($pre: expr_2021),*], ($($after:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:599:49 [INFO] [stderr] | [INFO] [stderr] 599 | ($id: ident, [$($pre: expr_2021),*], ($($after:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:29 [INFO] [stderr] | [INFO] [stderr] 606 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:56 [INFO] [stderr] | [INFO] [stderr] 606 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:76 [INFO] [stderr] | [INFO] [stderr] 606 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:95 [INFO] [stderr] | [INFO] [stderr] 606 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | ($fn: ident, $method: expr, $method_ref: literal, $method_name: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 137 | ($fn: ident, $method: expr_2021, $method_ref: literal, $method_name: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:587:29 [INFO] [stdout] | [INFO] [stdout] 587 | ($id: ident, [$pre: expr]) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 587 | ($id: ident, [$pre: expr_2021]) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:590:31 [INFO] [stdout] | [INFO] [stdout] 590 | ($id: ident, ($after: expr)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 590 | ($id: ident, ($after: expr_2021)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:593:31 [INFO] [stdout] | [INFO] [stdout] 593 | ($id: ident, [$($pre: expr),+]) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 593 | ($id: ident, [$($pre: expr_2021),+]) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:596:33 [INFO] [stdout] | [INFO] [stdout] 596 | ($id: ident, ($($after: expr),+)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 596 | ($id: ident, ($($after: expr_2021),+)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:156 [INFO] [stderr] | [INFO] [stderr] 606 | ...es: expr_2021, $body: literal, $expected_body: literal, [$($pre: expr_2021),*], ($($after:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:606:180 [INFO] [stderr] | [INFO] [stderr] 606 | ...teral, $expected_body: literal, [$($pre: expr_2021),*], ($($after:expr_2021),*)) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:632:29 [INFO] [stderr] | [INFO] [stderr] 632 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:632:56 [INFO] [stderr] | [INFO] [stderr] 632 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:632:76 [INFO] [stderr] | [INFO] [stderr] 632 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:632:95 [INFO] [stderr] | [INFO] [stderr] 632 | ... ($test_name: ident, $router_method: expr_2021, $method: expr_2021, $runner: expr_2021,$des: expr_2021, $body: literal, $expected_bo... [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:638:28 [INFO] [stderr] | [INFO] [stderr] 638 | ($mod_name: ident, $router_method: expr_2021, $method: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:638:55 [INFO] [stderr] | [INFO] [stderr] 638 | ($mod_name: ident, $router_method: expr_2021, $method: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:827:27 [INFO] [stderr] | [INFO] [stderr] 827 | ($mod_name:ident, $router_method: expr_2021, $method: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/router.rs:827:54 [INFO] [stderr] | [INFO] [stderr] 827 | ($mod_name:ident, $router_method: expr_2021, $method: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/server.rs:459:24 [INFO] [stderr] | [INFO] [stderr] 459 | ($name: ident, $server: expr_2021, $ip: literal, $req: expr_2021, $res: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/server.rs:459:58 [INFO] [stderr] | [INFO] [stderr] 459 | ($name: ident, $server: expr_2021, $ip: literal, $req: expr_2021, $res: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/server.rs:459:75 [INFO] [stderr] | [INFO] [stderr] 459 | ($name: ident, $server: expr_2021, $ip: literal, $req: expr_2021, $res: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/server.rs:479:40 [INFO] [stderr] | [INFO] [stderr] 479 | ($name: ident, $method: ident, $req: expr_2021, $ip: literal) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 25 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:599:31 [INFO] [stdout] | [INFO] [stdout] 599 | ($id: ident, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 599 | ($id: ident, [$($pre: expr_2021),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:599:51 [INFO] [stdout] | [INFO] [stdout] 599 | ($id: ident, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 599 | ($id: ident, [$($pre: expr),*], ($($after:expr_2021),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:45 [INFO] [stdout] | [INFO] [stdout] 606 | ... ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr_2021, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:60 [INFO] [stdout] | [INFO] [stdout] 606 | ... ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr, $method: expr_2021, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:75 [INFO] [stdout] | [INFO] [stdout] 606 | ... ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr_2021,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:86 [INFO] [stdout] | [INFO] [stdout] 606 | ... ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr_2021, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:142 [INFO] [stdout] | [INFO] [stdout] 606 | ...pr,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr_2021),*], ($($after:expr),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:606:162 [INFO] [stdout] | [INFO] [stdout] 606 | ...: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr),*)) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 606 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal, [$($pre: expr),*], ($($after:expr_2021),*)) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:632:45 [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr_2021, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:632:60 [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr_2021, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:632:75 [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr_2021,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:632:86 [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 632 | ($test_name: ident, $router_method: expr, $method: expr, $runner: expr,$des: expr_2021, $body: literal, $expected_body: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:638:44 [INFO] [stdout] | [INFO] [stdout] 638 | ($mod_name: ident, $router_method: expr, $method: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 638 | ($mod_name: ident, $router_method: expr_2021, $method: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:638:59 [INFO] [stdout] | [INFO] [stdout] 638 | ($mod_name: ident, $router_method: expr, $method: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 638 | ($mod_name: ident, $router_method: expr, $method: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:827:43 [INFO] [stdout] | [INFO] [stdout] 827 | ($mod_name:ident, $router_method: expr, $method: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 827 | ($mod_name:ident, $router_method: expr_2021, $method: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/router.rs:827:58 [INFO] [stdout] | [INFO] [stdout] 827 | ($mod_name:ident, $router_method: expr, $method: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 827 | ($mod_name:ident, $router_method: expr, $method: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server.rs:459:33 [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr, $ip: literal, $req: expr, $res: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr_2021, $ip: literal, $req: expr, $res: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server.rs:459:59 [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr, $ip: literal, $req: expr, $res: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr, $ip: literal, $req: expr_2021, $res: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server.rs:459:71 [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr, $ip: literal, $req: expr, $res: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 459 | ($name: ident, $server: expr, $ip: literal, $req: expr, $res: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/server.rs:479:46 [INFO] [stdout] | [INFO] [stdout] 479 | ($name: ident, $method: ident, $req: expr, $ip: literal) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 479 | ($name: ident, $method: ident, $req: expr_2021, $ip: literal) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / fn call_runner( [INFO] [stdout] 25 | | &'_ self, [INFO] [stdout] 26 | | run: InternalResult>, [INFO] [stdout] 27 | | ) -> impl Future>> + Send + '_; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/handler.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Json(PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/handler.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/handler.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | pub trait BoxedRunner: DynClone + Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / fn call( [INFO] [stdout] 95 | | &self, [INFO] [stdout] 96 | | req: InternalResult, [INFO] [stdout] 97 | | ) -> Pin> + Send>>; [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/handler.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub trait DynClone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/handler.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl (Fn(std::result::Result, error::Error>) -> Pin, error::Error>> + std::marker::Send + 'static)>>) + Sync + DynClone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/handler.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 156 | ) -> impl Fn( [INFO] [stdout] | ______^ [INFO] [stdout] 157 | | InternalResult>, [INFO] [stdout] 158 | | ) -> Pin>> + Send>> [INFO] [stdout] 159 | | + Sync [INFO] [stdout] 160 | | + DynClone [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/handler.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | _deserializer: &Deserializer, [INFO] [stdout] | ^ [INFO] [stdout] 155 | _serializer: &Serializer, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 160 | + DynClone + use [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/middleware.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PreMiddleware: Send + Sync + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/middleware.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | type FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | fn call(&self, error: InternalResult>) -> Self::FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/middleware.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait AfterMiddleware: Send + Sync + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/middleware.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | type FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn call(&self, error: InternalResult>) -> Self::FutCallResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/middleware.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct MiddlewareFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/middleware.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / pub fn new() -> MiddlewareFactory< [INFO] [stdout] 70 | | impl PreMiddleware< [INFO] [stdout] 71 | | FutCallResponse = impl Future>>>, [INFO] [stdout] 72 | | >, [INFO] [stdout] ... | [INFO] [stdout] 75 | | >, [INFO] [stdout] 76 | | > { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / pub fn pre, NewCF: Into>>>( [INFO] [stdout] 95 | | self, [INFO] [stdout] 96 | | other_pre: impl PreMiddleware + Sync + Copy, [INFO] [stdout] 97 | | ) -> MiddlewareFactory>, FAfter> [INFO] [stdout] | |_____________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | / pub fn after, NewCFA: Into>>>( [INFO] [stdout] 120 | | self, [INFO] [stdout] 121 | | other_after: impl AfterMiddleware + Sync + Copy, [INFO] [stdout] 122 | | ) -> MiddlewareFactory>> [INFO] [stdout] | |______________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/middleware.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | / pub fn build( [INFO] [stdout] 143 | | self: Arc, [INFO] [stdout] 144 | | _runner: R, [INFO] [stdout] 145 | | _deserializer: &Deserializer, [INFO] [stdout] ... | [INFO] [stdout] 148 | | where [INFO] [stdout] 149 | | R: Runner<(FnInput, Deserializer), (FnOutput, Serializer)> + 'static, [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Runner<(result::Result>, std::string::String), (result::Result>, std::string::String)>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/middleware.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> impl Runner<(Result>, String), (Result>, String)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/middleware.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | _deserializer: &Deserializer, [INFO] [stdout] | ^ [INFO] [stdout] 146 | _serializer: &Serializer, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 147 | ) -> impl Runner<(Result>, String), (Result>, String)> + use [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some(value) = self.value.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tree.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match self.value.as_mut() { Some(value) => { [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] ... [INFO] [stdout] 228 | ))); [INFO] [stdout] 229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/hello_world/main.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/tls/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking yahf v0.0.2 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/router.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 343 | deserializer: &Deserializer, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(encapsulate_runner(handler, deserializer, serializer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/router.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 344 | serializer: &Serializer, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(encapsulate_runner(handler, deserializer, serializer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 396 | / method_insert!( [INFO] [stdout] 397 | | get, [INFO] [stdout] 398 | | Method::GET, [INFO] [stdout] 399 | | "[`GET Method`](crate::request::Method::GET)", [INFO] [stdout] 400 | | "get" [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 396 | / method_insert!( [INFO] [stdout] 397 | | get, [INFO] [stdout] 398 | | Method::GET, [INFO] [stdout] 399 | | "[`GET Method`](crate::request::Method::GET)", [INFO] [stdout] 400 | | "get" [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 402 | / method_insert!( [INFO] [stdout] 403 | | put, [INFO] [stdout] 404 | | Method::PUT, [INFO] [stdout] 405 | | "[`PUT Method`](crate::request::Method::PUT)", [INFO] [stdout] 406 | | "put" [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 402 | / method_insert!( [INFO] [stdout] 403 | | put, [INFO] [stdout] 404 | | Method::PUT, [INFO] [stdout] 405 | | "[`PUT Method`](crate::request::Method::PUT)", [INFO] [stdout] 406 | | "put" [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 408 | / method_insert!( [INFO] [stdout] 409 | | delete, [INFO] [stdout] 410 | | Method::DELETE, [INFO] [stdout] 411 | | "[`DELETE Method`](crate::request::Method::DELETE)", [INFO] [stdout] 412 | | "delete" [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 408 | / method_insert!( [INFO] [stdout] 409 | | delete, [INFO] [stdout] 410 | | Method::DELETE, [INFO] [stdout] 411 | | "[`DELETE Method`](crate::request::Method::DELETE)", [INFO] [stdout] 412 | | "delete" [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 414 | / method_insert!( [INFO] [stdout] 415 | | post, [INFO] [stdout] 416 | | Method::POST, [INFO] [stdout] 417 | | "[`POST Method`](crate::request::Method::POST)", [INFO] [stdout] 418 | | "post" [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 414 | / method_insert!( [INFO] [stdout] 415 | | post, [INFO] [stdout] 416 | | Method::POST, [INFO] [stdout] 417 | | "[`POST Method`](crate::request::Method::POST)", [INFO] [stdout] 418 | | "post" [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 420 | / method_insert!( [INFO] [stdout] 421 | | trace, [INFO] [stdout] 422 | | Method::TRACE, [INFO] [stdout] 423 | | "[`TRACE Method`](crate::request::Method::TRACE)", [INFO] [stdout] 424 | | "trace" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 420 | / method_insert!( [INFO] [stdout] 421 | | trace, [INFO] [stdout] 422 | | Method::TRACE, [INFO] [stdout] 423 | | "[`TRACE Method`](crate::request::Method::TRACE)", [INFO] [stdout] 424 | | "trace" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 426 | / method_insert!( [INFO] [stdout] 427 | | options, [INFO] [stdout] 428 | | Method::OPTIONS, [INFO] [stdout] 429 | | "[`OPTIONS Method`](crate::request::Method::OPTIONS)", [INFO] [stdout] 430 | | "options" [INFO] [stdout] 431 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 426 | / method_insert!( [INFO] [stdout] 427 | | options, [INFO] [stdout] 428 | | Method::OPTIONS, [INFO] [stdout] 429 | | "[`OPTIONS Method`](crate::request::Method::OPTIONS)", [INFO] [stdout] 430 | | "options" [INFO] [stdout] 431 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 432 | / method_insert!( [INFO] [stdout] 433 | | connect, [INFO] [stdout] 434 | | Method::CONNECT, [INFO] [stdout] 435 | | "[`CONNECT Method`](crate::request::Method::CONNECT)", [INFO] [stdout] 436 | | "connect" [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 432 | / method_insert!( [INFO] [stdout] 433 | | connect, [INFO] [stdout] 434 | | Method::CONNECT, [INFO] [stdout] 435 | | "[`CONNECT Method`](crate::request::Method::CONNECT)", [INFO] [stdout] 436 | | "connect" [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 438 | / method_insert!( [INFO] [stdout] 439 | | patch, [INFO] [stdout] 440 | | Method::PATCH, [INFO] [stdout] 441 | | "[`PATCH Method`](crate::request::Method::PATCH)", [INFO] [stdout] 442 | | "patch" [INFO] [stdout] 443 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 438 | / method_insert!( [INFO] [stdout] 439 | | patch, [INFO] [stdout] 440 | | Method::PATCH, [INFO] [stdout] 441 | | "[`PATCH Method`](crate::request::Method::PATCH)", [INFO] [stdout] 442 | | "patch" [INFO] [stdout] 443 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 444 | / method_insert!( [INFO] [stdout] 445 | | head, [INFO] [stdout] 446 | | Method::HEAD, [INFO] [stdout] 447 | | "[`HEAD Method`](crate::request::Method::HEAD)", [INFO] [stdout] 448 | | "head" [INFO] [stdout] 449 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 444 | / method_insert!( [INFO] [stdout] 445 | | head, [INFO] [stdout] 446 | | Method::HEAD, [INFO] [stdout] 447 | | "[`HEAD Method`](crate::request::Method::HEAD)", [INFO] [stdout] 448 | | "head" [INFO] [stdout] 449 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | value.clone(), [INFO] [stdout] 220 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 221 | | &String::with_capacity(0), [INFO] [stdout] 222 | | ); [INFO] [stdout] | | -- temporary value is freed at the end of this statement [INFO] [stdout] | |_____________| [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | value.clone(), [INFO] [stdout] 220 | | &String::with_capacity(0), [INFO] [stdout] 221 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 222 | | ); [INFO] [stdout] | | -- temporary value is freed at the end of this statement [INFO] [stdout] | |_____________| [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 224 | self.value = Some(Box::new(encapsulate_runner( [INFO] [stdout] | _______________________________- [INFO] [stdout] 225 | | built, [INFO] [stdout] 226 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 227 | | &String::with_capacity(0), [INFO] [stdout] 228 | | ))); [INFO] [stdout] | | - - temporary value is freed at the end of this statement [INFO] [stdout] | |______________| [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 224 | self.value = Some(Box::new(encapsulate_runner( [INFO] [stdout] | _______________________________- [INFO] [stdout] 225 | | built, [INFO] [stdout] 226 | | &String::with_capacity(0), [INFO] [stdout] 227 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 228 | | ))); [INFO] [stdout] | | - - temporary value is freed at the end of this statement [INFO] [stdout] | |______________| [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yahf` (lib) due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:240:53 [INFO] [stdout] | [INFO] [stdout] 240 | let a = encapsulate_runner(simple_handler, &Json::new(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 243 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 240 ~ let binding = Json::new(); [INFO] [stdout] 241 ~ let a = encapsulate_runner(simple_handler, &binding, &Json::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:240:67 [INFO] [stdout] | [INFO] [stdout] 240 | let a = encapsulate_runner(simple_handler, &Json::new(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 243 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 240 ~ let binding = Json::new(); [INFO] [stdout] 241 ~ let a = encapsulate_runner(simple_handler, &Json::new(), &binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:255:56 [INFO] [stdout] | [INFO] [stdout] 255 | let a = encapsulate_runner(unit_handler, &(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 258 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 255 ~ let binding = Json::new(); [INFO] [stdout] 256 ~ let a = encapsulate_runner(unit_handler, &(), &binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:272:75 [INFO] [stdout] | [INFO] [stdout] 272 | let a = encapsulate_runner(unit_handler_with_response_body, &(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 275 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 272 ~ let binding = Json::new(); [INFO] [stdout] 273 ~ let a = encapsulate_runner(unit_handler_with_response_body, &(), &binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:289:63 [INFO] [stdout] | [INFO] [stdout] 289 | let a = encapsulate_runner(simple_handler_with_body, &Json::new(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 290 | let c = Request::builder().body(serde_json::json!({ "field": "So Good" }).to_string()); [INFO] [stdout] 291 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 289 ~ let binding = Json::new(); [INFO] [stdout] 290 ~ let a = encapsulate_runner(simple_handler_with_body, &binding, &Json::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:289:77 [INFO] [stdout] | [INFO] [stdout] 289 | let a = encapsulate_runner(simple_handler_with_body, &Json::new(), &Json::new()); [INFO] [stdout] | ^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 290 | let c = Request::builder().body(serde_json::json!({ "field": "So Good" }).to_string()); [INFO] [stdout] 291 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 289 ~ let binding = Json::new(); [INFO] [stdout] 290 ~ let a = encapsulate_runner(simple_handler_with_body, &Json::new(), &binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:307:14 [INFO] [stdout] | [INFO] [stdout] 307 | &Json::new(), [INFO] [stdout] | ^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 308 | &Json::new(), [INFO] [stdout] 309 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 310 | let c = Request::builder().body(serde_json::json!({ "field": "Sharks" }).to_string()); [INFO] [stdout] 311 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 305 ~ let binding = Json::new(); [INFO] [stdout] 306 ~ let a = encapsulate_runner( [INFO] [stdout] 307 | handler_with_simple_body_on_input_and_output, [INFO] [stdout] 308 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | &Json::new(), [INFO] [stdout] | ^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 309 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 310 | let c = Request::builder().body(serde_json::json!({ "field": "Sharks" }).to_string()); [INFO] [stdout] 311 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 305 ~ let binding = Json::new(); [INFO] [stdout] 306 ~ let a = encapsulate_runner( [INFO] [stdout] 307 | handler_with_simple_body_on_input_and_output, [INFO] [stdout] 308 | &Json::new(), [INFO] [stdout] 309 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | &Json::new(), [INFO] [stdout] | ^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 328 | &Json::new(), [INFO] [stdout] 329 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 330 | let c = Request::builder().body(serde_json::json!({ "field": "Venom" }).to_string()); [INFO] [stdout] 331 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 325 ~ let binding = Json::new(); [INFO] [stdout] 326 ~ let a = encapsulate_runner( [INFO] [stdout] 327 | handler_with_simple_body_on_input_and_cf_output, [INFO] [stdout] 328 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/handler.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | &Json::new(), [INFO] [stdout] | ^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 329 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 330 | let c = Request::builder().body(serde_json::json!({ "field": "Venom" }).to_string()); [INFO] [stdout] 331 | let b = a(c.into()).await; [INFO] [stdout] | - borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 325 ~ let binding = Json::new(); [INFO] [stdout] 326 ~ let a = encapsulate_runner( [INFO] [stdout] 327 | handler_with_simple_body_on_input_and_cf_output, [INFO] [stdout] 328 | &Json::new(), [INFO] [stdout] 329 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:259:14 [INFO] [stdout] | [INFO] [stdout] 259 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 260 | &String::with_capacity(0), [INFO] [stdout] 261 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 262 | [INFO] [stdout] 263 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 257 ~ let binding = String::with_capacity(0); [INFO] [stdout] 258 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 259 | test_handler, [INFO] [stdout] 260 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 261 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 262 | [INFO] [stdout] 263 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 257 ~ let binding = String::with_capacity(0); [INFO] [stdout] 258 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 259 | test_handler, [INFO] [stdout] 260 | &String::with_capacity(0), [INFO] [stdout] 261 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 282 | &String::with_capacity(0), [INFO] [stdout] 283 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 284 | [INFO] [stdout] 285 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 279 ~ let binding = String::with_capacity(0); [INFO] [stdout] 280 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 281 | test_handler, [INFO] [stdout] 282 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:282:14 [INFO] [stdout] | [INFO] [stdout] 282 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 283 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 284 | [INFO] [stdout] 285 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 279 ~ let binding = String::with_capacity(0); [INFO] [stdout] 280 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 281 | test_handler, [INFO] [stdout] 282 | &String::with_capacity(0), [INFO] [stdout] 283 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 305 | &String::with_capacity(0), [INFO] [stdout] 306 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 307 | [INFO] [stdout] 308 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 302 ~ let binding = String::with_capacity(0); [INFO] [stdout] 303 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 304 | test_handler, [INFO] [stdout] 305 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:305:14 [INFO] [stdout] | [INFO] [stdout] 305 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 306 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 307 | [INFO] [stdout] 308 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 302 ~ let binding = String::with_capacity(0); [INFO] [stdout] 303 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 304 | test_handler, [INFO] [stdout] 305 | &String::with_capacity(0), [INFO] [stdout] 306 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 328 | &String::with_capacity(0), [INFO] [stdout] 329 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 330 | [INFO] [stdout] 331 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 325 ~ let binding = String::with_capacity(0); [INFO] [stdout] 326 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 327 | test_handler, [INFO] [stdout] 328 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 329 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 330 | [INFO] [stdout] 331 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 325 ~ let binding = String::with_capacity(0); [INFO] [stdout] 326 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 327 | test_handler, [INFO] [stdout] 328 | &String::with_capacity(0), [INFO] [stdout] 329 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:351:14 [INFO] [stdout] | [INFO] [stdout] 351 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 352 | &String::with_capacity(0), [INFO] [stdout] 353 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 354 | [INFO] [stdout] 355 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 349 ~ let binding = String::with_capacity(0); [INFO] [stdout] 350 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 351 | test_handler, [INFO] [stdout] 352 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:352:14 [INFO] [stdout] | [INFO] [stdout] 352 | &String::with_capacity(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 353 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 354 | [INFO] [stdout] 355 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 349 ~ let binding = String::with_capacity(0); [INFO] [stdout] 350 ~ let updated_handler = arc_middleware.build( [INFO] [stdout] 351 | test_handler, [INFO] [stdout] 352 | &String::with_capacity(0), [INFO] [stdout] 353 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/middleware.rs:378:59 [INFO] [stdout] | [INFO] [stdout] 378 | arc_middleware.build(runner_with_error, &(), &String::with_capacity(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 379 | [INFO] [stdout] 380 | let resp = updated_handler [INFO] [stdout] | --------------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 377 ~ let binding = String::with_capacity(0); [INFO] [stdout] 378 ~ let updated_handler = [INFO] [stdout] 379 ~ arc_middleware.build(runner_with_error, &(), &binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/router.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 343 | deserializer: &Deserializer, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(encapsulate_runner(handler, deserializer, serializer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/router.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 344 | serializer: &Serializer, [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 388 | Box::new(encapsulate_runner(handler, deserializer, serializer)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 396 | / method_insert!( [INFO] [stdout] 397 | | get, [INFO] [stdout] 398 | | Method::GET, [INFO] [stdout] 399 | | "[`GET Method`](crate::request::Method::GET)", [INFO] [stdout] 400 | | "get" [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 396 | / method_insert!( [INFO] [stdout] 397 | | get, [INFO] [stdout] 398 | | Method::GET, [INFO] [stdout] 399 | | "[`GET Method`](crate::request::Method::GET)", [INFO] [stdout] 400 | | "get" [INFO] [stdout] 401 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 402 | / method_insert!( [INFO] [stdout] 403 | | put, [INFO] [stdout] 404 | | Method::PUT, [INFO] [stdout] 405 | | "[`PUT Method`](crate::request::Method::PUT)", [INFO] [stdout] 406 | | "put" [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 402 | / method_insert!( [INFO] [stdout] 403 | | put, [INFO] [stdout] 404 | | Method::PUT, [INFO] [stdout] 405 | | "[`PUT Method`](crate::request::Method::PUT)", [INFO] [stdout] 406 | | "put" [INFO] [stdout] 407 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 408 | / method_insert!( [INFO] [stdout] 409 | | delete, [INFO] [stdout] 410 | | Method::DELETE, [INFO] [stdout] 411 | | "[`DELETE Method`](crate::request::Method::DELETE)", [INFO] [stdout] 412 | | "delete" [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 408 | / method_insert!( [INFO] [stdout] 409 | | delete, [INFO] [stdout] 410 | | Method::DELETE, [INFO] [stdout] 411 | | "[`DELETE Method`](crate::request::Method::DELETE)", [INFO] [stdout] 412 | | "delete" [INFO] [stdout] 413 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 414 | / method_insert!( [INFO] [stdout] 415 | | post, [INFO] [stdout] 416 | | Method::POST, [INFO] [stdout] 417 | | "[`POST Method`](crate::request::Method::POST)", [INFO] [stdout] 418 | | "post" [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 414 | / method_insert!( [INFO] [stdout] 415 | | post, [INFO] [stdout] 416 | | Method::POST, [INFO] [stdout] 417 | | "[`POST Method`](crate::request::Method::POST)", [INFO] [stdout] 418 | | "post" [INFO] [stdout] 419 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 420 | / method_insert!( [INFO] [stdout] 421 | | trace, [INFO] [stdout] 422 | | Method::TRACE, [INFO] [stdout] 423 | | "[`TRACE Method`](crate::request::Method::TRACE)", [INFO] [stdout] 424 | | "trace" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 420 | / method_insert!( [INFO] [stdout] 421 | | trace, [INFO] [stdout] 422 | | Method::TRACE, [INFO] [stdout] 423 | | "[`TRACE Method`](crate::request::Method::TRACE)", [INFO] [stdout] 424 | | "trace" [INFO] [stdout] 425 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 426 | / method_insert!( [INFO] [stdout] 427 | | options, [INFO] [stdout] 428 | | Method::OPTIONS, [INFO] [stdout] 429 | | "[`OPTIONS Method`](crate::request::Method::OPTIONS)", [INFO] [stdout] 430 | | "options" [INFO] [stdout] 431 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 426 | / method_insert!( [INFO] [stdout] 427 | | options, [INFO] [stdout] 428 | | Method::OPTIONS, [INFO] [stdout] 429 | | "[`OPTIONS Method`](crate::request::Method::OPTIONS)", [INFO] [stdout] 430 | | "options" [INFO] [stdout] 431 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 432 | / method_insert!( [INFO] [stdout] 433 | | connect, [INFO] [stdout] 434 | | Method::CONNECT, [INFO] [stdout] 435 | | "[`CONNECT Method`](crate::request::Method::CONNECT)", [INFO] [stdout] 436 | | "connect" [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 432 | / method_insert!( [INFO] [stdout] 433 | | connect, [INFO] [stdout] 434 | | Method::CONNECT, [INFO] [stdout] 435 | | "[`CONNECT Method`](crate::request::Method::CONNECT)", [INFO] [stdout] 436 | | "connect" [INFO] [stdout] 437 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 438 | / method_insert!( [INFO] [stdout] 439 | | patch, [INFO] [stdout] 440 | | Method::PATCH, [INFO] [stdout] 441 | | "[`PATCH Method`](crate::request::Method::PATCH)", [INFO] [stdout] 442 | | "patch" [INFO] [stdout] 443 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 438 | / method_insert!( [INFO] [stdout] 439 | | patch, [INFO] [stdout] 440 | | Method::PATCH, [INFO] [stdout] 441 | | "[`PATCH Method`](crate::request::Method::PATCH)", [INFO] [stdout] 442 | | "patch" [INFO] [stdout] 443 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] 154 | handler: R, [INFO] [stdout] 155 | deserializer: &Deserializer, [INFO] [stdout] | ------------ - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `deserializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`deserializer` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 444 | / method_insert!( [INFO] [stdout] 445 | | head, [INFO] [stdout] 446 | | Method::HEAD, [INFO] [stdout] 447 | | "[`HEAD Method`](crate::request::Method::HEAD)", [INFO] [stdout] 448 | | "head" [INFO] [stdout] 449 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/router.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 153 | path: &'static str, [INFO] [stdout] | ---- `path` declared here, outside of the method body [INFO] [stdout] ... [INFO] [stdout] 156 | serializer: &Serializer, [INFO] [stdout] | ---------- - let's call the lifetime of this reference `'2` [INFO] [stdout] | | [INFO] [stdout] | `serializer` is a reference that is only valid in the method body [INFO] [stdout] ... [INFO] [stdout] 165 | let built_with_middleware = self [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 166 | | .middleware_factory [INFO] [stdout] 167 | | .clone() [INFO] [stdout] 168 | | .build(handler, deserializer, serializer); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________________________________________________`serializer` escapes the method body here [INFO] [stdout] | argument requires that `'2` must outlive `'static` [INFO] [stdout] ... [INFO] [stdout] 444 | / method_insert!( [INFO] [stdout] 445 | | head, [INFO] [stdout] 446 | | Method::HEAD, [INFO] [stdout] 447 | | "[`HEAD Method`](crate::request::Method::HEAD)", [INFO] [stdout] 448 | | "head" [INFO] [stdout] 449 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `method_insert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:220:18 [INFO] [stdout] | [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | value.clone(), [INFO] [stdout] 220 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 221 | | &String::with_capacity(0), [INFO] [stdout] 222 | | ); [INFO] [stdout] | | -- temporary value is freed at the end of this statement [INFO] [stdout] | |_____________| [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:221:18 [INFO] [stdout] | [INFO] [stdout] 218 | let built = middleware_factory.build( [INFO] [stdout] | _________________________- [INFO] [stdout] 219 | | value.clone(), [INFO] [stdout] 220 | | &String::with_capacity(0), [INFO] [stdout] 221 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 222 | | ); [INFO] [stdout] | | -- temporary value is freed at the end of this statement [INFO] [stdout] | |_____________| [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 224 | self.value = Some(Box::new(encapsulate_runner( [INFO] [stdout] | _______________________________- [INFO] [stdout] 225 | | built, [INFO] [stdout] 226 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 227 | | &String::with_capacity(0), [INFO] [stdout] 228 | | ))); [INFO] [stdout] | | - - temporary value is freed at the end of this statement [INFO] [stdout] | |______________| [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 224 | self.value = Some(Box::new(encapsulate_runner( [INFO] [stdout] | _______________________________- [INFO] [stdout] 225 | | built, [INFO] [stdout] 226 | | &String::with_capacity(0), [INFO] [stdout] 227 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 228 | | ))); [INFO] [stdout] | | - - temporary value is freed at the end of this statement [INFO] [stdout] | |______________| [INFO] [stdout] | cast requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:266:18 [INFO] [stdout] | [INFO] [stdout] 263 | / Box::new(encapsulate_runner( [INFO] [stdout] 264 | | handler_example, [INFO] [stdout] 265 | | &(), [INFO] [stdout] 266 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 267 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 268 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:281:18 [INFO] [stdout] | [INFO] [stdout] 278 | / Box::new(encapsulate_runner( [INFO] [stdout] 279 | | handler_example, [INFO] [stdout] 280 | | &(), [INFO] [stdout] 281 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 282 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 283 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:299:18 [INFO] [stdout] | [INFO] [stdout] 296 | / Box::new(encapsulate_runner( [INFO] [stdout] 297 | | handler_example, [INFO] [stdout] 298 | | &(), [INFO] [stdout] 299 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 300 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 301 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 305 | / Box::new(encapsulate_runner( [INFO] [stdout] 306 | | handler_example, [INFO] [stdout] 307 | | &(), [INFO] [stdout] 308 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 309 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 310 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:317:18 [INFO] [stdout] | [INFO] [stdout] 314 | / Box::new(encapsulate_runner( [INFO] [stdout] 315 | | handler_example, [INFO] [stdout] 316 | | &(), [INFO] [stdout] 317 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 318 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 319 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:339:18 [INFO] [stdout] | [INFO] [stdout] 336 | / Box::new(encapsulate_runner( [INFO] [stdout] 337 | | handler_example, [INFO] [stdout] 338 | | &(), [INFO] [stdout] 339 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 340 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 341 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:348:18 [INFO] [stdout] | [INFO] [stdout] 345 | / Box::new(encapsulate_runner( [INFO] [stdout] 346 | | handler_example, [INFO] [stdout] 347 | | &(), [INFO] [stdout] 348 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 349 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 350 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:357:18 [INFO] [stdout] | [INFO] [stdout] 354 | / Box::new(encapsulate_runner( [INFO] [stdout] 355 | | handler_example, [INFO] [stdout] 356 | | &(), [INFO] [stdout] 357 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 358 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 359 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 376 | / Box::new(encapsulate_runner( [INFO] [stdout] 377 | | handler_example, [INFO] [stdout] 378 | | &(), [INFO] [stdout] 379 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 380 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 381 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/tree.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 387 | / Box::new(encapsulate_runner( [INFO] [stdout] 388 | | handler_example, [INFO] [stdout] 389 | | &(), [INFO] [stdout] 390 | | &String::with_capacity(0), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 391 | | )), [INFO] [stdout] | |______________- cast requires that borrow lasts for `'static` [INFO] [stdout] 392 | ); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box` actually means `Box<(dyn BoxedRunner + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0521, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yahf` (lib test) due to 56 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "967c50e83a62a30e85c8a344ef8e2ef71dadc151e7a4ef4e77fcb7d4afb267b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967c50e83a62a30e85c8a344ef8e2ef71dadc151e7a4ef4e77fcb7d4afb267b6", kill_on_drop: false }` [INFO] [stdout] 967c50e83a62a30e85c8a344ef8e2ef71dadc151e7a4ef4e77fcb7d4afb267b6