[INFO] fetching crate summer-boot 1.4.2... [INFO] checking summer-boot-1.4.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate summer-boot 1.4.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate summer-boot 1.4.2 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 summer-boot 1.4.2 [INFO] finished tweaking crates.io crate summer-boot 1.4.2 [INFO] tweaked toml for crates.io crate summer-boot 1.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 234 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding aead v0.3.2 (latest: v0.5.2) [INFO] [stderr] Adding aes v0.6.0 (latest: v0.8.4) [INFO] [stderr] Adding aes-gcm v0.8.0 (latest: v0.10.3) [INFO] [stderr] Adding aes-soft v0.6.4 (latest: v0.99.99) [INFO] [stderr] Adding aesni v0.10.0 (latest: v0.99.99) [INFO] [stderr] Adding async-channel v1.9.0 (latest: v2.3.1) [INFO] [stderr] Adding async-io v1.13.0 (latest: v2.3.4) [INFO] [stderr] Adding async-lock v2.8.0 (latest: v3.4.0) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding block-buffer v0.9.0 (latest: v0.10.4) [INFO] [stderr] Adding cipher v0.2.5 (latest: v0.4.4) [INFO] [stderr] Adding cookie v0.14.4 (latest: v0.18.1) [INFO] [stderr] Adding cpuid-bool v0.2.0 (latest: v0.99.99) [INFO] [stderr] Adding crypto-mac v0.10.1 (latest: v0.11.1) [INFO] [stderr] Adding ctr v0.6.0 (latest: v0.9.2) [INFO] [stderr] Adding digest v0.9.0 (latest: v0.10.7) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.1) [INFO] [stderr] Adding fastrand v1.9.0 (latest: v2.1.1) [INFO] [stderr] Adding futures-lite v1.13.0 (latest: v2.3.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding ghash v0.3.1 (latest: v0.5.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (latest: v0.3.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding hkdf v0.10.0 (latest: v0.12.4) [INFO] [stderr] Adding hmac v0.10.1 (latest: v0.12.1) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding infer v0.2.3 (latest: v0.16.0) [INFO] [stderr] Adding io-lifetimes v1.0.11 (latest: v2.0.3) [INFO] [stderr] Adding linux-raw-sys v0.3.8 (latest: v0.6.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding polling v2.8.0 (latest: v3.7.3) [INFO] [stderr] Adding polyval v0.4.5 (latest: v0.6.2) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding rustix v0.37.27 (latest: v0.38.35) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_qs v0.8.5 (latest: v0.13.0) [INFO] [stderr] Adding sha1 v0.6.1 (latest: v0.10.6) [INFO] [stderr] Adding sha2 v0.9.9 (latest: v0.10.8) [INFO] [stderr] Adding socket2 v0.4.10 (latest: v0.5.7) [INFO] [stderr] Adding standback v0.2.17 (latest: v0.4.4) [INFO] [stderr] Adding subtle v2.4.1 (latest: v2.6.1) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding time v0.2.27 (latest: v0.3.36) [INFO] [stderr] Adding time-macros v0.1.1 (latest: v0.2.18) [INFO] [stderr] Adding universal-hash v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 575fdd406ada4d5fe2848d61c2b5757bda6806fb48eab4569aec1afcfe420455 [INFO] running `Command { std: "docker" "start" "-a" "575fdd406ada4d5fe2848d61c2b5757bda6806fb48eab4569aec1afcfe420455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575fdd406ada4d5fe2848d61c2b5757bda6806fb48eab4569aec1afcfe420455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575fdd406ada4d5fe2848d61c2b5757bda6806fb48eab4569aec1afcfe420455", kill_on_drop: false }` [INFO] [stdout] 575fdd406ada4d5fe2848d61c2b5757bda6806fb48eab4569aec1afcfe420455 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a765018dba45680b552bac998f50216eb487826ac8e2d309335586a4e769b425 [INFO] running `Command { std: "docker" "start" "-a" "a765018dba45680b552bac998f50216eb487826ac8e2d309335586a4e769b425", kill_on_drop: false }` [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking serde_fmt v1.0.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking cpuid-bool v0.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling const_fn v0.4.10 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking value-bag-serde1 v1.9.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking smartcow v0.2.1 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking routefinder v0.5.4 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking async-dup v1.2.4 [INFO] [stderr] Checking femme v2.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling summer-boot-autoconfigure v1.4.1 [INFO] [stderr] Compiling summer-boot-macro v1.4.1 [INFO] [stderr] Checking summer-boot v1.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `http1` [INFO] [stdout] --> src/common/task.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "http1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `http1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http1` [INFO] [stdout] --> src/common/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "http1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `http1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `docs` [INFO] [stdout] --> src/gateway/route.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(any(feature = "unstable", feature = "docs"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `docs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/request.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sessions` [INFO] [stdout] --> src/utils/request.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(feature = "sessions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `sessions` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sessions` [INFO] [stdout] --> src/utils/request.rs:498:11 [INFO] [stdout] | [INFO] [stdout] 498 | #[cfg(feature = "sessions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `sessions` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http1` [INFO] [stdout] --> src/common/task.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "http1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `http1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http1` [INFO] [stdout] --> src/common/task.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "http1")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `http1` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `docs` [INFO] [stdout] --> src/gateway/route.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | #[cfg(any(feature = "unstable", feature = "docs"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `docs` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/request.rs:475:11 [INFO] [stdout] | [INFO] [stdout] 475 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sessions` [INFO] [stdout] --> src/utils/request.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | #[cfg(feature = "sessions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `sessions` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `sessions` [INFO] [stdout] --> src/utils/request.rs:498:11 [INFO] [stdout] | [INFO] [stdout] 498 | #[cfg(feature = "sessions")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `sessions` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:249:19 [INFO] [stdout] | [INFO] [stdout] 249 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cookies` [INFO] [stdout] --> src/utils/response.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 260 | #[cfg(feature = "cookies")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `macros`, `summer-boot-macro`, and `unstable` [INFO] [stdout] = help: consider adding `cookies` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `poll_accept` is never used [INFO] [stdout] --> src/server/accept.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Accept { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn poll_accept( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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/log/logging_system.rs:98:89 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle(&self, req: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | | self.log(req, next).await [INFO] [stdout] 100 | | } [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/context/serve_dir.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | async fn call(&self, req: Request) -> Result { [INFO] [stdout] | __________________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let path = req.url().path(); [INFO] [stdout] 28 | | let path = path [INFO] [stdout] 29 | | .strip_prefix(&self.prefix.trim_end_matches('*')) [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [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/context/serve_file.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | async fn call(&self, _: Request) -> Result { [INFO] [stdout] | __________________________-____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | | match Body::from_file(&self.path).await { [INFO] [stdout] 27 | | Ok(body) => Ok(Response::builder(StatusCode::Ok).body(body).build()), [INFO] [stdout] 28 | | Err(e) if e.kind() == io::ErrorKind::NotFound => { [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [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/gateway/route.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 284 | fn new(ep: E) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | Self(std::sync::Arc::new(ep)) [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/gateway/route.rs:301:71 [INFO] [stdout] | [INFO] [stdout] 301 | async fn call(&self, req: crate::Request) -> crate::Result { [INFO] [stdout] | __________________________--------------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | | let crate::Request { [INFO] [stdout] 303 | | state, [INFO] [stdout] 304 | | mut req, [INFO] [stdout] ... | [INFO] [stdout] 322 | | .await [INFO] [stdout] 323 | | } [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/http1/decode.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(inner: R, trailer_sender: Sender) -> Self { [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] 27 | state: State::ChunkSize, [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/http1/decode.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(inner: R, trailer_sender: Sender) -> Self { [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] 29 | trailer_sender: Some(trailer_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] [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/http1/encode.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(response: Response, method: Method) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | state: EncoderState::Start, [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/http1/encode.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 136 | let bytes = ready!(Pin::new(reader).poll_read(cx, &mut buf[..max_bytes_to_read]))?; [INFO] [stdout] | --------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | Poll::Ready(Ok(total)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/endpoint.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | let fut = (self)(req); [INFO] [stdout] 62 | | let res = fut.await?; [INFO] [stdout] 63 | | Ok(res.into()) [INFO] [stdout] 64 | | } [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/server/endpoint.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | let next = Next { [INFO] [stdout] 119 | | endpoint: &self.endpoint, [INFO] [stdout] 120 | | next_middleware: &self.middleware, [INFO] [stdout] 121 | | }; [INFO] [stdout] 122 | | Ok(next.run(req).await) [INFO] [stdout] 123 | | } [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/server/endpoint.rs:128:68 [INFO] [stdout] | [INFO] [stdout] 128 | async fn call(&self, request: Request) -> crate::Result { [INFO] [stdout] | __________________________-----------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | | self.as_ref().call(request).await [INFO] [stdout] 130 | | } [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/server/server.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn with_state(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | Self { [INFO] [stdout] 136 | router: Arc::new(Router::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/server/server.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn with_state(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | middleware: Arc::new(vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 138 | | // 暂时没有使用到cookies [INFO] [stdout] 139 | | Arc::new(log::LoggingSystem::new()), [INFO] [stdout] 140 | | ]), [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/server/server.rs:335:64 [INFO] [stdout] | [INFO] [stdout] 335 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | | let Request { [INFO] [stdout] 337 | | req, [INFO] [stdout] 338 | | mut route_params, [INFO] [stdout] ... | [INFO] [stdout] 356 | | Ok(next.run(req).await) [INFO] [stdout] 357 | | } [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/tcp/mod.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | | self.as_mut().bind(app).await [INFO] [stdout] 57 | | } [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/tcp/concurrent.rs:41:68 [INFO] [stdout] | [INFO] [stdout] 41 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | for listener in self.listeners.iter_mut() { [INFO] [stdout] 43 | | listener.bind(app.clone()).await?; [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | Ok(()) [INFO] [stdout] 46 | | } [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/tcp/failover.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | | for (index, listener) in self.listeners.iter_mut().enumerate() { [INFO] [stdout] 52 | | let listener = listener.as_deref_mut().expect("bind调用了两次"); [INFO] [stdout] 53 | | match listener.bind(app.clone()).await { [INFO] [stdout] ... | [INFO] [stdout] 70 | | )) [INFO] [stdout] 71 | | } [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/tcp/parsed.rs:40:71 [INFO] [stdout] | [INFO] [stdout] 40 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | | match self { [INFO] [stdout] 42 | | #[cfg(unix)] [INFO] [stdout] 43 | | Self::Unix(u) => u.bind(server).await, [INFO] [stdout] 44 | | Self::Tcp(t) => t.bind(server).await, [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [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/tcp/tcp_listener.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_listener(tcp_listener: impl Into) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | listener: Some(tcp_listener.into()), [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/tcp/tcp_listener.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_listener(tcp_listener: impl Into) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | server: None, [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/tcp/tcp_listener.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 44 | let fut = http::accept(stream, |mut req| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | app.respond(req).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/tcp/tcp_listener.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | | assert!(self.server.is_none(), "`bind`只能调用一次"); [INFO] [stdout] 63 | | self.server = Some(server); [INFO] [stdout] ... | [INFO] [stdout] 77 | | Ok(()) [INFO] [stdout] 78 | | } [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/tcp/to_listener_impls.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | Ok(TcpListener::from_listener(self)) [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/tcp/to_listener_impls.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Ok(TcpListener::from_listener(self)) [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/tcp/to_listener_impls.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | Ok(UnixListener::from_listener(self)) [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/tcp/to_listener_impls.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 184 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | Ok(UnixListener::from_listener(self)) [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/tcp/unix.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_path(path: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | listener: None, [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/tcp/unix.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_path(path: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | server: None, [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/tcp/unix.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_listener(unix_listener: impl Into) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | listener: Some(unix_listener.into()), [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/tcp/unix.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_listener(unix_listener: impl Into) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | server: None, [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/tcp/unix.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 45 | let fut = http1::http::accept(stream, |mut req| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | app.respond(req).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/tcp/unix.rs:62:71 [INFO] [stdout] | [INFO] [stdout] 62 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | | assert!(self.server.is_none(), "`bind` should only be called once"); [INFO] [stdout] 64 | | self.server = Some(server); [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] 79 | | } [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/tcp/unix.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | .and_then(|p| p.canonicalize().ok()) [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/tcp/unix.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | .and_then(|p| p.canonicalize().ok()) [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/middleware.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&self, req: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | | (self)(req, next).await [INFO] [stdout] 36 | | } [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/request.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 562 | fn from(request: http_types::Request) -> Request { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | Request::new(State::default(), request, vec![]) [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/response.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(status: S) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let res = http_types::Response::new(status); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { res, error: None } [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/response.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn from_res(value: T) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let res: http_types::Response = value.into(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | error: None, [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/response.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 245 | fn from(err: Error) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Self { [INFO] [stdout] 247 | res: http_types::Response::new(err.status()), [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/response.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 245 | fn from(err: Error) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | error: Some(err), [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/response.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 256 | fn from(res: http_types::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | error: None, [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/response_builder.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(status: S) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Self(Response::new(status)) [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/response_builder.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn body_json(self, json: &impl Serialize) -> crate::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(self.body(Body::from_json(json)?)) [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/response_builder.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn body_string(self, string: String) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self.body(Body::from_string(string)) [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/response_builder.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn body_bytes(self, bytes: impl AsRef<[u8]>) -> Self { [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] 49 | self.body(Body::from(bytes.as_ref())) [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/util.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&self, request: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-----------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | | let request = (self.0)(request).await; [INFO] [stdout] 36 | | Ok(next.run(request).await) [INFO] [stdout] 37 | | } [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/util.rs:53:93 [INFO] [stdout] | [INFO] [stdout] 53 | async fn handle(&self, request: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-----------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let response = next.run(request).await; [INFO] [stdout] 55 | | (self.0)(response).await [INFO] [stdout] 56 | | } [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 48 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `summer-boot` (lib) due to 49 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `poll_accept` is never used [INFO] [stdout] --> src/server/accept.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Accept { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn poll_accept( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [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/log/logging_system.rs:98:89 [INFO] [stdout] | [INFO] [stdout] 98 | async fn handle(&self, req: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | | self.log(req, next).await [INFO] [stdout] 100 | | } [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/context/serve_dir.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | async fn call(&self, req: Request) -> Result { [INFO] [stdout] | __________________________-------------------____________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | | let path = req.url().path(); [INFO] [stdout] 28 | | let path = path [INFO] [stdout] 29 | | .strip_prefix(&self.prefix.trim_end_matches('*')) [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [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/context/serve_file.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | async fn call(&self, _: Request) -> Result { [INFO] [stdout] | __________________________-____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | | match Body::from_file(&self.path).await { [INFO] [stdout] 27 | | Ok(body) => Ok(Response::builder(StatusCode::Ok).body(body).build()), [INFO] [stdout] 28 | | Err(e) if e.kind() == io::ErrorKind::NotFound => { [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [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/gateway/route.rs:285:14 [INFO] [stdout] | [INFO] [stdout] 284 | fn new(ep: E) -> Self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | Self(std::sync::Arc::new(ep)) [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/gateway/route.rs:301:71 [INFO] [stdout] | [INFO] [stdout] 301 | async fn call(&self, req: crate::Request) -> crate::Result { [INFO] [stdout] | __________________________--------------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 302 | | let crate::Request { [INFO] [stdout] 303 | | state, [INFO] [stdout] 304 | | mut req, [INFO] [stdout] ... | [INFO] [stdout] 322 | | .await [INFO] [stdout] 323 | | } [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/http1/decode.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(inner: R, trailer_sender: Sender) -> Self { [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] 27 | state: State::ChunkSize, [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/http1/decode.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(inner: R, trailer_sender: Sender) -> Self { [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] 29 | trailer_sender: Some(trailer_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] [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/http1/encode.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new(response: Response, method: Method) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | state: EncoderState::Start, [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/http1/encode.rs:146:21 [INFO] [stdout] | [INFO] [stdout] 136 | let bytes = ready!(Pin::new(reader).poll_read(cx, &mut buf[..max_bytes_to_read]))?; [INFO] [stdout] | --------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | Poll::Ready(Ok(total)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/endpoint.rs:60:64 [INFO] [stdout] | [INFO] [stdout] 60 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | | let fut = (self)(req); [INFO] [stdout] 62 | | let res = fut.await?; [INFO] [stdout] 63 | | Ok(res.into()) [INFO] [stdout] 64 | | } [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/server/endpoint.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | let next = Next { [INFO] [stdout] 119 | | endpoint: &self.endpoint, [INFO] [stdout] 120 | | next_middleware: &self.middleware, [INFO] [stdout] 121 | | }; [INFO] [stdout] 122 | | Ok(next.run(req).await) [INFO] [stdout] 123 | | } [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/server/endpoint.rs:128:68 [INFO] [stdout] | [INFO] [stdout] 128 | async fn call(&self, request: Request) -> crate::Result { [INFO] [stdout] | __________________________-----------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | | self.as_ref().call(request).await [INFO] [stdout] 130 | | } [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/server/server.rs:136:21 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn with_state(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | Self { [INFO] [stdout] 136 | router: Arc::new(Router::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/server/server.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn with_state(state: State) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | middleware: Arc::new(vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 138 | | // 暂时没有使用到cookies [INFO] [stdout] 139 | | Arc::new(log::LoggingSystem::new()), [INFO] [stdout] 140 | | ]), [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/server/server.rs:335:64 [INFO] [stdout] | [INFO] [stdout] 335 | async fn call(&self, req: Request) -> crate::Result { [INFO] [stdout] | __________________________-------------------___________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 336 | | let Request { [INFO] [stdout] 337 | | req, [INFO] [stdout] 338 | | mut route_params, [INFO] [stdout] ... | [INFO] [stdout] 356 | | Ok(next.run(req).await) [INFO] [stdout] 357 | | } [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/tcp/mod.rs:55:68 [INFO] [stdout] | [INFO] [stdout] 55 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | | self.as_mut().bind(app).await [INFO] [stdout] 57 | | } [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/tcp/concurrent.rs:41:68 [INFO] [stdout] | [INFO] [stdout] 41 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | | for listener in self.listeners.iter_mut() { [INFO] [stdout] 43 | | listener.bind(app.clone()).await?; [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | Ok(()) [INFO] [stdout] 46 | | } [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/tcp/failover.rs:50:68 [INFO] [stdout] | [INFO] [stdout] 50 | async fn bind(&mut self, app: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | | for (index, listener) in self.listeners.iter_mut().enumerate() { [INFO] [stdout] 52 | | let listener = listener.as_deref_mut().expect("bind调用了两次"); [INFO] [stdout] 53 | | match listener.bind(app.clone()).await { [INFO] [stdout] ... | [INFO] [stdout] 70 | | )) [INFO] [stdout] 71 | | } [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/tcp/parsed.rs:40:71 [INFO] [stdout] | [INFO] [stdout] 40 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | | match self { [INFO] [stdout] 42 | | #[cfg(unix)] [INFO] [stdout] 43 | | Self::Unix(u) => u.bind(server).await, [INFO] [stdout] 44 | | Self::Tcp(t) => t.bind(server).await, [INFO] [stdout] 45 | | } [INFO] [stdout] 46 | | } [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/tcp/tcp_listener.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_listener(tcp_listener: impl Into) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | listener: Some(tcp_listener.into()), [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/tcp/tcp_listener.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn from_listener(tcp_listener: impl Into) -> Self { [INFO] [stdout] | ----------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | server: None, [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/tcp/tcp_listener.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 44 | let fut = http::accept(stream, |mut req| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | app.respond(req).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/tcp/tcp_listener.rs:61:71 [INFO] [stdout] | [INFO] [stdout] 61 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | | assert!(self.server.is_none(), "`bind`只能调用一次"); [INFO] [stdout] 63 | | self.server = Some(server); [INFO] [stdout] ... | [INFO] [stdout] 77 | | Ok(()) [INFO] [stdout] 78 | | } [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/tcp/to_listener_impls.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 121 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | Ok(TcpListener::from_listener(self)) [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/tcp/to_listener_impls.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Ok(TcpListener::from_listener(self)) [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/tcp/to_listener_impls.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 174 | Ok(UnixListener::from_listener(self)) [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/tcp/to_listener_impls.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 184 | fn to_listener(self) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | Ok(UnixListener::from_listener(self)) [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/tcp/unix.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_path(path: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | listener: None, [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/tcp/unix.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from_path(path: impl Into) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | server: None, [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/tcp/unix.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_listener(unix_listener: impl Into) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | listener: Some(unix_listener.into()), [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/tcp/unix.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn from_listener(unix_listener: impl Into) -> Self { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | server: None, [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/tcp/unix.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 45 | let fut = http1::http::accept(stream, |mut req| async { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | app.respond(req).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/tcp/unix.rs:62:71 [INFO] [stdout] | [INFO] [stdout] 62 | async fn bind(&mut self, server: Server) -> io::Result<()> { [INFO] [stdout] | ______________________________---------------------____________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | | assert!(self.server.is_none(), "`bind` should only be called once"); [INFO] [stdout] 64 | | self.server = Some(server); [INFO] [stdout] ... | [INFO] [stdout] 78 | | Ok(()) [INFO] [stdout] 79 | | } [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/tcp/unix.rs:143:35 [INFO] [stdout] | [INFO] [stdout] 143 | .and_then(|p| p.canonicalize().ok()) [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/tcp/unix.rs:160:23 [INFO] [stdout] | [INFO] [stdout] 160 | .and_then(|p| p.canonicalize().ok()) [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/middleware.rs:34:89 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&self, req: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | | (self)(req, next).await [INFO] [stdout] 36 | | } [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/request.rs:563:22 [INFO] [stdout] | [INFO] [stdout] 562 | fn from(request: http_types::Request) -> Request { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 563 | Request::new(State::default(), request, vec![]) [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/response.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(status: S) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let res = http_types::Response::new(status); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Self { res, error: None } [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/response.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn from_res(value: T) -> Self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let res: http_types::Response = value.into(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | error: None, [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/response.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 245 | fn from(err: Error) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Self { [INFO] [stdout] 247 | res: http_types::Response::new(err.status()), [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/response.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 245 | fn from(err: Error) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | error: Some(err), [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/response.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 256 | fn from(res: http_types::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | error: None, [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/response_builder.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn new(status: S) -> Self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Self(Response::new(status)) [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/response_builder.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn body_json(self, json: &impl Serialize) -> crate::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | Ok(self.body(Body::from_json(json)?)) [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/response_builder.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn body_string(self, string: String) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | self.body(Body::from_string(string)) [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/response_builder.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn body_bytes(self, bytes: impl AsRef<[u8]>) -> Self { [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] 49 | self.body(Body::from(bytes.as_ref())) [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/util.rs:34:93 [INFO] [stdout] | [INFO] [stdout] 34 | async fn handle(&self, request: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-----------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | | let request = (self.0)(request).await; [INFO] [stdout] 36 | | Ok(next.run(request).await) [INFO] [stdout] 37 | | } [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/util.rs:53:93 [INFO] [stdout] | [INFO] [stdout] 53 | async fn handle(&self, request: Request, next: Next<'_, State>) -> crate::Result { [INFO] [stdout] | ____________________________-----------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | | let response = next.run(request).await; [INFO] [stdout] 55 | | (self.0)(response).await [INFO] [stdout] 56 | | } [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 48 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `summer-boot` (lib test) due to 49 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a765018dba45680b552bac998f50216eb487826ac8e2d309335586a4e769b425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a765018dba45680b552bac998f50216eb487826ac8e2d309335586a4e769b425", kill_on_drop: false }` [INFO] [stdout] a765018dba45680b552bac998f50216eb487826ac8e2d309335586a4e769b425