[INFO] cloning repository https://github.com/de-vri-es/http-webhookd-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/de-vri-es/http-webhookd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-vri-es%2Fhttp-webhookd-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-vri-es%2Fhttp-webhookd-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f644e38a1a590c8d03a6cbe22301b5b16429bd19 [INFO] checking de-vri-es/http-webhookd-rs/f644e38a1a590c8d03a6cbe22301b5b16429bd19 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-vri-es%2Fhttp-webhookd-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-vri-es/http-webhookd-rs 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 git repo https://github.com/de-vri-es/http-webhookd-rs [INFO] finished tweaking git repo https://github.com/de-vri-es/http-webhookd-rs [INFO] tweaked toml for git repo https://github.com/de-vri-es/http-webhookd-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-vri-es/http-webhookd-rs 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 78ec1bb445a73be1f7c634775618c35a98aad8779bdae4db5c5ffeff2f8fd451 [INFO] running `Command { std: "docker" "start" "-a" "78ec1bb445a73be1f7c634775618c35a98aad8779bdae4db5c5ffeff2f8fd451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78ec1bb445a73be1f7c634775618c35a98aad8779bdae4db5c5ffeff2f8fd451", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ec1bb445a73be1f7c634775618c35a98aad8779bdae4db5c5ffeff2f8fd451", kill_on_drop: false }` [INFO] [stdout] 78ec1bb445a73be1f7c634775618c35a98aad8779bdae4db5c5ffeff2f8fd451 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c94debea61c657ff61403cc05142983e277192ad7b98dcb9dbc18161a3d223be [INFO] running `Command { std: "docker" "start" "-a" "c94debea61c657ff61403cc05142983e277192ad7b98dcb9dbc18161a3d223be", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling semver v1.0.19 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling rustix v0.38.19 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking hashbrown v0.14.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_builder v4.4.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.1 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling assert2-macros v0.3.11 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking assert2 v0.3.11 [INFO] [stderr] Checking clap v4.4.5 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_yaml v0.9.25 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking webhook-httpd v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/config.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 79 | fn do_main(config: Config) -> Result<(), ()> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let runtime = tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | runtime.block_on(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 86 | | let (stop_tx, stop_rx) = watch::channel(()); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | let tls_acceptor = match &config.tls { [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok(()) [INFO] [stdout] 115 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 173 | let connection = if let Some(tls_acceptor) = tls_acceptor.as_mut() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let hooks = hooks.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | tokio::spawn(async move { [INFO] [stdout] 184 | let handler = hyper::service::service_fn(move |request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | / Http::new() [INFO] [stdout] 189 | | .http1_keep_alive(true) [INFO] [stdout] 190 | | .http2_keep_alive_interval(Some(Duration::from_secs(20))) [INFO] [stdout] 191 | | .serve_connection(connection, handler) [INFO] [stdout] 192 | | .await [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/main.rs:186:56 [INFO] [stdout] | [INFO] [stdout] 184 | let handler = hyper::service::service_fn(move |request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let hooks = hooks.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | async move { handle_request(&hooks, request, addr).await } [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/main.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 227 | fn make_job(&self, request: Request, body: Vec, remote_addr: SocketAddr, done_tx: oneshot::Sender) -> scheduler::Job { [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] 228 | let hook = self.hook.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | for cmd in &hook.commands { [INFO] [stdout] 231 | | if let Err(()) = run_command(cmd, &hook, &request, &body, remote_addr).await { [INFO] [stdout] 232 | | // Ignore errors: other end of channel was dropped, nobody cares about our response anymore. [INFO] [stdout] ... | [INFO] [stdout] 238 | | done_tx.send(simple_response(StatusCode::OK, "thank you, come again")).unwrap_or(()); [INFO] [stdout] 239 | | }) [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/main.rs:393:2 [INFO] [stdout] | [INFO] [stdout] 388 | fn simple_response(status: StatusCode, data: impl Into>) -> Response { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | hyper::Response::builder().status(status).body(data.into()).unwrap() [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/config.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_from_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Self::parse(data) [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/scheduler.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 65 | fn new(max_concurrent: Option, queue_size: Option, queue_type: QueueType, stop_rx: watch::Receiver<()>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let (command_tx, command_rx) = mpsc::unbounded_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] ... [INFO] [stdout] 72 | queue: VecDeque::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/tls_acceptor.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 28 | let acceptor = load_tls_files(&certificate_chain, &private_key)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | certificate_chain, [INFO] [stdout] 31 | | private_key, [INFO] [stdout] 32 | | acceptor, [INFO] [stdout] 33 | | next_reload: Instant::now() + RELOAD_AFTER_SUCCESS, [INFO] [stdout] 34 | | fail_timeout: RELOAD_AFTER_ERROR, [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/tls_acceptor.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 73 | let mut builder = openssl::ssl::SslAcceptor::mozilla_modern_v5(openssl::ssl::SslMethod::tls_server()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(builder.build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webhook-httpd` (bin "webhook-httpd") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `log_level` is never read [INFO] [stdout] --> src/config.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 79 | fn do_main(config: Config) -> Result<(), ()> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | let runtime = tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | runtime.block_on(async move { [INFO] [stdout] | ______________________^ [INFO] [stdout] 86 | | let (stop_tx, stop_rx) = watch::channel(()); [INFO] [stdout] 87 | | [INFO] [stdout] 88 | | let tls_acceptor = match &config.tls { [INFO] [stdout] ... | [INFO] [stdout] 114 | | Ok(()) [INFO] [stdout] 115 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/main.rs:188:4 [INFO] [stdout] | [INFO] [stdout] 173 | let connection = if let Some(tls_acceptor) = tls_acceptor.as_mut() { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | let hooks = hooks.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 183 | tokio::spawn(async move { [INFO] [stdout] 184 | let handler = hyper::service::service_fn(move |request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | / Http::new() [INFO] [stdout] 189 | | .http1_keep_alive(true) [INFO] [stdout] 190 | | .http2_keep_alive_interval(Some(Duration::from_secs(20))) [INFO] [stdout] 191 | | .serve_connection(connection, handler) [INFO] [stdout] 192 | | .await [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/main.rs:186:56 [INFO] [stdout] | [INFO] [stdout] 184 | let handler = hyper::service::service_fn(move |request| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let hooks = hooks.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | async move { handle_request(&hooks, request, addr).await } [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/main.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 227 | fn make_job(&self, request: Request, body: Vec, remote_addr: SocketAddr, done_tx: oneshot::Sender) -> scheduler::Job { [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] 228 | let hook = self.hook.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 230 | | for cmd in &hook.commands { [INFO] [stdout] 231 | | if let Err(()) = run_command(cmd, &hook, &request, &body, remote_addr).await { [INFO] [stdout] 232 | | // Ignore errors: other end of channel was dropped, nobody cares about our response anymore. [INFO] [stdout] ... | [INFO] [stdout] 238 | | done_tx.send(simple_response(StatusCode::OK, "thank you, come again")).unwrap_or(()); [INFO] [stdout] 239 | | }) [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/main.rs:393:2 [INFO] [stdout] | [INFO] [stdout] 388 | fn simple_response(status: StatusCode, data: impl Into>) -> Response { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 393 | hyper::Response::builder().status(status).body(data.into()).unwrap() [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/config.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn read_from_file(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 132 | Self::parse(data) [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/scheduler.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 65 | fn new(max_concurrent: Option, queue_size: Option, queue_type: QueueType, stop_rx: watch::Receiver<()>) -> Self { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let (command_tx, command_rx) = mpsc::unbounded_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] ... [INFO] [stdout] 72 | queue: VecDeque::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/tls_acceptor.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 28 | let acceptor = load_tls_files(&certificate_chain, &private_key)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | certificate_chain, [INFO] [stdout] 31 | | private_key, [INFO] [stdout] 32 | | acceptor, [INFO] [stdout] 33 | | next_reload: Instant::now() + RELOAD_AFTER_SUCCESS, [INFO] [stdout] 34 | | fail_timeout: RELOAD_AFTER_ERROR, [INFO] [stdout] 35 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/tls_acceptor.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 73 | let mut builder = openssl::ssl::SslAcceptor::mozilla_modern_v5(openssl::ssl::SslMethod::tls_server()) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(builder.build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webhook-httpd` (bin "webhook-httpd" test) due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c94debea61c657ff61403cc05142983e277192ad7b98dcb9dbc18161a3d223be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94debea61c657ff61403cc05142983e277192ad7b98dcb9dbc18161a3d223be", kill_on_drop: false }` [INFO] [stdout] c94debea61c657ff61403cc05142983e277192ad7b98dcb9dbc18161a3d223be