[INFO] fetching crate hyper-simple-server 0.5.1... [INFO] checking hyper-simple-server-0.5.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate hyper-simple-server 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate hyper-simple-server 0.5.1 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] started tweaking crates.io crate hyper-simple-server 0.5.1 [INFO] finished tweaking crates.io crate hyper-simple-server 0.5.1 [INFO] tweaked toml for crates.io crate hyper-simple-server 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding jemalloc-sys v0.3.2 (available: v0.5.4+5.3.0-patched) [INFO] [stderr] Adding jemallocator v0.3.2 (available: v0.5.4) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding path-tree v0.2.2 (available: v0.8.1) [INFO] [stderr] Adding ring v0.16.20 (available: v0.17.8) [INFO] [stderr] Adding rustls v0.19.1 (available: v0.23.13) [INFO] [stderr] Adding rustls-pemfile v0.2.1 (available: v2.1.3) [INFO] [stderr] Adding sct v0.6.1 (available: v0.7.1) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding spin v0.5.2 (available: v0.9.8) [INFO] [stderr] Adding tokio-rustls v0.22.0 (available: v0.26.0) [INFO] [stderr] Adding untrusted v0.7.1 (available: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding webpki v0.21.4 (available: v0.22.4) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f3cc9ddd8e06904bf98cc62bb3ea679d296f0795f540d4349eb4e89bac7baba [INFO] running `Command { std: "docker" "start" "-a" "2f3cc9ddd8e06904bf98cc62bb3ea679d296f0795f540d4349eb4e89bac7baba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f3cc9ddd8e06904bf98cc62bb3ea679d296f0795f540d4349eb4e89bac7baba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3cc9ddd8e06904bf98cc62bb3ea679d296f0795f540d4349eb4e89bac7baba", kill_on_drop: false }` [INFO] [stdout] 2f3cc9ddd8e06904bf98cc62bb3ea679d296f0795f540d4349eb4e89bac7baba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 964050609ec46d3f8a9ff143fed4958624a3947a51b18197af5283353754b408 [INFO] running `Command { std: "docker" "start" "-a" "964050609ec46d3f8a9ff143fed4958624a3947a51b18197af5283353754b408", 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] Fixed Cargo.toml (25 fixes) [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking path-tree v0.2.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking hyper-simple-server v0.5.1 (/tmp/fixit) [INFO] [stderr] Migrating lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `hyper_simple_server` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * errors.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] --> errors.rs:275:22 [INFO] [stderr] | [INFO] [stderr] 275 | ( $_code : literal, $_error : 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: 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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> errors.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 275 | ( $_code : literal, $_error : 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] = 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] 275 | ( $_code : literal, $_error : expr_2021 ) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> cli.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | } else if let Some (_certificate) = self.endpoint_rust_tls_certificate_fallback.as_ref () { [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] --> cli.rs:299:3 [INFO] [stdout] | [INFO] [stdout] 299 | } [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] 295 ~ } else { match self.endpoint_rust_tls_certificate_fallback.as_ref () { Some (_certificate) => { [INFO] [stdout] 296 | if let Some (false) = self.endpoint_insecure { [INFO] [stdout] 297 | _configuration.endpoint.security = EndpointSecurity::RustTls (_certificate.clone ()); [INFO] [stdout] 298 | } [INFO] [stdout] 299 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> cli.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 313 | if let EndpointSecurity::Insecure = _configuration.endpoint.security { [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] --> cli.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match _configuration.endpoint.security { EndpointSecurity::Insecure => { [INFO] [stdout] 314 | // NOP [INFO] [stdout] 315 ~ } _ => { [INFO] [stdout] 316 | return Err (error_with_message (0x1111c2cc, "conflicting insecure and load TLS certificate options")); [INFO] [stdout] 317 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> cli.rs:319:8 [INFO] [stdout] | [INFO] [stdout] 319 | if let EndpointSecurity::Insecure = _configuration.endpoint.security { [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] --> cli.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 319 ~ match _configuration.endpoint.security { EndpointSecurity::Insecure => { [INFO] [stdout] 320 | #[ cfg (feature = "hss-tls-any") ] [INFO] [stdout] ... [INFO] [stdout] 323 | return Err (error_with_message (0x0e0edc6a, "conflicting secure and unavailable TLS engine options")); [INFO] [stdout] 324 ~ } _ => { [INFO] [stdout] 325 | // NOP [INFO] [stdout] 326 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> configuration.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | let _address = if let Some (_address) = _addresses.next () { [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] --> configuration.rs:217:3 [INFO] [stdout] | [INFO] [stdout] 217 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ let _address = match _addresses.next () { Some (_address) => { [INFO] [stdout] 216 | _address [INFO] [stdout] 217 ~ } _ => { [INFO] [stdout] 218 | return Err (error_with_message (0x3a20b501, "no socket addresses resolved")); [INFO] [stdout] 219 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> configuration.rs:383:22 [INFO] [stdout] | [INFO] [stdout] 383 | let _endpoint = if let Some (_endpoint) = _endpoint { [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] --> configuration.rs:385:3 [INFO] [stdout] | [INFO] [stdout] 385 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 383 ~ let _endpoint = match _endpoint { Some (_endpoint) => { [INFO] [stdout] 384 | _endpoint [INFO] [stdout] 385 ~ } _ => { [INFO] [stdout] 386 | Endpoint::default () [INFO] [stdout] 387 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> configuration.rs:399:7 [INFO] [stdout] | [INFO] [stdout] 399 | if let Some (_handler) = _handler { [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] --> configuration.rs:401:4 [INFO] [stdout] | [INFO] [stdout] 401 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match _handler { Some (_handler) => { [INFO] [stdout] 400 | _handler_0 = Some (_handler); [INFO] [stdout] 401 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> configuration.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | if let Some (_routes) = _routes { [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] --> configuration.rs:408:4 [INFO] [stdout] | [INFO] [stdout] 408 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match _routes { Some (_routes) => { [INFO] [stdout] 406 | let _routes = _routes.build () ?; [INFO] [stdout] 407 | _handler_0 = Some (HandlerDynArc::new (_routes)); [INFO] [stdout] 408 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> configuration.rs:683:7 [INFO] [stdout] | [INFO] [stdout] 683 | if let Some (_private_key) = _private_keys.next () { [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] --> configuration.rs:688:4 [INFO] [stdout] | [INFO] [stdout] 688 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 683 ~ match _private_keys.next () { Some (_private_key) => { [INFO] [stdout] 684 | if _private_keys.next () .is_some () { [INFO] [stdout] ... [INFO] [stdout] 687 | rustls::PrivateKey (_private_key.to_vec ()) [INFO] [stdout] 688 ~ } _ => { [INFO] [stdout] 689 | return Err (error_with_message (0x84af61dd, "no private key found")); [INFO] [stdout] 690 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> errors.rs:142:6 [INFO] [stdout] | [INFO] [stdout] 142 | if let Some (_value) = self { [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] --> errors.rs:144:3 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 142 ~ match self { Some (_value) => { [INFO] [stdout] 143 | Ok (_value) [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | Err (error_with_code (_code)) [INFO] [stdout] 146 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> extensions.rs:123:6 [INFO] [stdout] | [INFO] [stdout] 123 | if let Some (_content_type) = self.get_header (consts::CONTENT_TYPE) { [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] --> extensions.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 123 ~ match self.get_header (consts::CONTENT_TYPE) { Some (_content_type) => { [INFO] [stdout] 124 | if let Ok (_content_type) = _content_type.to_str () { [INFO] [stdout] ... [INFO] [stdout] 128 | } [INFO] [stdout] 129 ~ } _ => { [INFO] [stdout] 130 | None [INFO] [stdout] 131 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> extensions.rs:359:19 [INFO] [stdout] | [INFO] [stdout] 359 | let _next = if let Some (_next) = _next { [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] --> extensions.rs:361:4 [INFO] [stdout] | [INFO] [stdout] 361 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ let _next = match _next { Some (_next) => { [INFO] [stdout] 360 | _next [INFO] [stdout] 361 ~ } _ => { [INFO] [stdout] 362 | break; [INFO] [stdout] 363 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> main.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | let _configuration = if let Some (_configuration) = _configuration { [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] --> main.rs:100:2 [INFO] [stdout] | [INFO] [stdout] 100 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 98 ~ let _configuration = match _configuration { Some (_configuration) => { [INFO] [stdout] 99 | _configuration [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | Configuration::localhost_http () .build () ? [INFO] [stdout] 102 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> main.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | let _configuration = if let Some (_configuration) = _configuration { [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] --> main.rs:118:2 [INFO] [stdout] | [INFO] [stdout] 118 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 116 ~ let _configuration = match _configuration { Some (_configuration) => { [INFO] [stdout] 117 | _configuration [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | Configuration::localhost_http () .build () ? [INFO] [stdout] 120 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> routes.rs:44:6 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some ((_route, _parameters)) = self.internals.tree.find (_path) { [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] --> routes.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match self.internals.tree.find (_path) { Some ((_route, _parameters)) => { [INFO] [stdout] 45 | let _route = _route.clone (); [INFO] [stdout] ... [INFO] [stdout] 52 | Ok (Some (_matched)) [INFO] [stdout] 53 ~ } _ => { [INFO] [stdout] 54 | Ok (None) [INFO] [stdout] 55 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> routes.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | if let Some (_route_matched) = _route_matched { [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] 82 | } else if let Some (_fallback) = self.internals.fallback.as_ref () { [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] --> routes.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | } else if let Some (_fallback) = self.internals.fallback.as_ref () { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> routes.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match _route_matched { Some (_route_matched) => { [INFO] [stdout] 80 | let _route = _route_matched.route.clone (); [INFO] [stdout] 81 | Ok (_route.handle (_request, _route_matched)) [INFO] [stdout] 82 ~ } _ => { match self.internals.fallback.as_ref () { Some (_fallback) => { [INFO] [stdout] 83 | Ok (_fallback.delegate (_request)) [INFO] [stdout] 84 ~ } _ => { [INFO] [stdout] 85 | Err (_request) [INFO] [stdout] 86 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some (_handler) = _configuration.handler.clone () { [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] --> server.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 75 ~ match _configuration.handler.clone () { Some (_handler) => { [INFO] [stdout] 76 | Ok (_handler) [INFO] [stdout] 77 ~ } _ => { [INFO] [stdout] 78 | Err (error_with_message (0x55a5104c, "no handler specified")) [INFO] [stdout] 79 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:397:8 [INFO] [stdout] | [INFO] [stdout] 397 | if let ServiceWrapperFuture::Error (_error) = _self_1 { [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] --> server.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 397 ~ match _self_1 { ServiceWrapperFuture::Error (_error) => { [INFO] [stdout] 398 | Poll::Ready (Err (_error)) [INFO] [stdout] 399 ~ } _ => { [INFO] [stdout] 400 | panic_with_code (0xd83566d8); [INFO] [stdout] 401 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] --> errors.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | ( $_code : literal, $_error : expr_2021 ) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #123742 for more information [INFO] [stdout] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-simple-server` (lib) due to 2 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "964050609ec46d3f8a9ff143fed4958624a3947a51b18197af5283353754b408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "964050609ec46d3f8a9ff143fed4958624a3947a51b18197af5283353754b408", kill_on_drop: false }` [INFO] [stdout] 964050609ec46d3f8a9ff143fed4958624a3947a51b18197af5283353754b408