[INFO] fetching crate speed-rs-core 0.4.1... [INFO] checking speed-rs-core-0.4.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate speed-rs-core 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate speed-rs-core 0.4.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate speed-rs-core 0.4.1 [INFO] finished tweaking crates.io crate speed-rs-core 0.4.1 [INFO] tweaked toml for crates.io crate speed-rs-core 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate speed-rs-core 0.4.1 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc449b8b3d50ea352be12e27ee10f2b4b32aa7e4efbcd484ecba649e07f8eba8 [INFO] running `Command { std: "docker" "start" "-a" "fc449b8b3d50ea352be12e27ee10f2b4b32aa7e4efbcd484ecba649e07f8eba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc449b8b3d50ea352be12e27ee10f2b4b32aa7e4efbcd484ecba649e07f8eba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc449b8b3d50ea352be12e27ee10f2b4b32aa7e4efbcd484ecba649e07f8eba8", kill_on_drop: false }` [INFO] [stdout] fc449b8b3d50ea352be12e27ee10f2b4b32aa7e4efbcd484ecba649e07f8eba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0230aa336d459bc23dcf7e6f29010c5b5336dec20b11918243d4acac879941c1 [INFO] running `Command { std: "docker" "start" "-a" "0230aa336d459bc23dcf7e6f29010c5b5336dec20b11918243d4acac879941c1", kill_on_drop: false }` [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking speed-rs-core v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RequestErrorHandleFunc` [INFO] [stdout] --> src/utils.rs:5:89 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestErrorHandleFunc` [INFO] [stdout] --> src/utils.rs:5:89 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{HttpRequest, HttpServer, HttpStatusStruct, HttpResponse, RequestHandleFunc, RequestErrorHandleFunc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct HttpServerThreadPool { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 80 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct HttpServerThreadExecutor { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 86 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 138 | let (sender, receiver) = mpsc::channel::(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | [INFO] [stdout] 142 | let mut executors: Vec = Vec::with_capacity(size); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | sender: Some(sender), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(id: usize, receiver: Arc>>) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let thread = spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new(mode: HttpServerMode, bind_adr: &str) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let listener = TcpListener::bind(bind_adr).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | handlers: Arc::new(RwLock::new(Vec::::new())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new(mode: HttpServerMode, bind_adr: &str) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let listener = TcpListener::bind(bind_adr).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | error_handler: Arc::new(RwLock::new(Box::new(default_error_handler))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn all(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | where F: Fn(HttpRequest, HttpRespons... [INFO] [stdout] 99 | Self(String::from(path), Box::new(handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 104 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 105 | | if req.method() == "GET" { [INFO] [stdout] 106 | | handler(req, res) [INFO] [stdout] 107 | | } else { [INFO] [stdout] 108 | | Ok((req, res)) [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn post(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 115 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 116 | | if req.method() == "POST" { [INFO] [stdout] 117 | | handler(req, res) [INFO] [stdout] 118 | | } else { [INFO] [stdout] 119 | | Ok((req, res)) [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn put(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 126 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 127 | | if req.method() == "PUT" { [INFO] [stdout] 128 | | handler(req, res) [INFO] [stdout] 129 | | } else { [INFO] [stdout] 130 | | Ok((req, res)) [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn patch(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 137 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 138 | | if req.method() == "PATCH" { [INFO] [stdout] 139 | | handler(req, res) [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | Ok((req, res)) [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn delete(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 148 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 149 | | if req.method() == "DELETE" { [INFO] [stdout] 150 | | handler(req, res) [INFO] [stdout] 151 | | } else { [INFO] [stdout] 152 | | Ok((req, res)) [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `speed-rs-core` (lib test) due to 11 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct HttpServerThreadPool { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 80 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/lib.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct HttpServerThreadExecutor { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 86 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:151:21 [INFO] [stdout] | [INFO] [stdout] 138 | let (sender, receiver) = mpsc::channel::(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | let receiver = Arc::new(Mutex::new(receiver)); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | [INFO] [stdout] 142 | let mut executors: Vec = Vec::with_capacity(size); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | sender: Some(sender), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn new(id: usize, receiver: Arc>>) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | let thread = spawn(move || loop { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 204 | thread: Some(thread), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new(mode: HttpServerMode, bind_adr: &str) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let listener = TcpListener::bind(bind_adr).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | handlers: Arc::new(RwLock::new(Vec::::new())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:311:28 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn new(mode: HttpServerMode, bind_adr: &str) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | let listener = TcpListener::bind(bind_adr).unwrap(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 311 | error_handler: Arc::new(RwLock::new(Box::new(default_error_handler))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn all(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | where F: Fn(HttpRequest, HttpRespons... [INFO] [stdout] 99 | Self(String::from(path), Box::new(handler)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn get(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 104 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 105 | | if req.method() == "GET" { [INFO] [stdout] 106 | | handler(req, res) [INFO] [stdout] 107 | | } else { [INFO] [stdout] 108 | | Ok((req, res)) [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:115:34 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn post(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 115 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 116 | | if req.method() == "POST" { [INFO] [stdout] 117 | | handler(req, res) [INFO] [stdout] 118 | | } else { [INFO] [stdout] 119 | | Ok((req, res)) [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:126:34 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn put(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 126 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 127 | | if req.method() == "PUT" { [INFO] [stdout] 128 | | handler(req, res) [INFO] [stdout] 129 | | } else { [INFO] [stdout] 130 | | Ok((req, res)) [INFO] [stdout] 131 | | } [INFO] [stdout] 132 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn patch(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 136 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 137 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 138 | | if req.method() == "PATCH" { [INFO] [stdout] 139 | | handler(req, res) [INFO] [stdout] 140 | | } else { [INFO] [stdout] 141 | | Ok((req, res)) [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils.rs:148:34 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn delete(path: &str, handler: F) -> Self [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | where F: Fn(HttpRequest, HttpResponse) -> Re... [INFO] [stdout] 148 | Self(String::from(path), Box::new(move |req, res| { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 149 | | if req.method() == "DELETE" { [INFO] [stdout] 150 | | handler(req, res) [INFO] [stdout] 151 | | } else { [INFO] [stdout] 152 | | Ok((req, res)) [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `speed-rs-core` (lib) due to 11 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0230aa336d459bc23dcf7e6f29010c5b5336dec20b11918243d4acac879941c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0230aa336d459bc23dcf7e6f29010c5b5336dec20b11918243d4acac879941c1", kill_on_drop: false }` [INFO] [stdout] 0230aa336d459bc23dcf7e6f29010c5b5336dec20b11918243d4acac879941c1