[INFO] fetching crate ntex-files 2.0.0... [INFO] checking ntex-files-2.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ntex-files 2.0.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ntex-files 2.0.0 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 ntex-files 2.0.0 [INFO] finished tweaking crates.io crate ntex-files 2.0.0 [INFO] tweaked toml for crates.io crate ntex-files 2.0.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [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 syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb0223c504590f68445f38f70943f87cb81d801a3b961c552523e63d65eb0340 [INFO] running `Command { std: "docker" "start" "-a" "cb0223c504590f68445f38f70943f87cb81d801a3b961c552523e63d65eb0340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb0223c504590f68445f38f70943f87cb81d801a3b961c552523e63d65eb0340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb0223c504590f68445f38f70943f87cb81d801a3b961c552523e63d65eb0340", kill_on_drop: false }` [INFO] [stdout] cb0223c504590f68445f38f70943f87cb81d801a3b961c552523e63d65eb0340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] cdc1c55119ea99f5b0b22497fe2696dd84d430396e9c8e14719648d098d6efa7 [INFO] running `Command { std: "docker" "start" "-a" "cdc1c55119ea99f5b0b22497fe2696dd84d430396e9c8e14719648d098d6efa7", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking oneshot v0.1.8 [INFO] [stderr] Checking ntex-service v3.0.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking ntex-bytes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking ntex-codec v0.6.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking openssl v0.10.66 [INFO] [stderr] Checking ntex-http v0.1.12 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-broadcast v0.7.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling ntex-macros v0.1.3 [INFO] [stderr] Checking ntex-router v0.5.3 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking ntex-rt v0.4.15 [INFO] [stderr] Checking ntex-util v2.3.0 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking ntex-io v2.3.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ntex-tokio v0.5.0 [INFO] [stderr] Checking ntex-net v2.1.0 [INFO] [stderr] Checking ntex-tls v2.1.0 [INFO] [stderr] Checking ntex-server v2.3.0 [INFO] [stderr] Checking ntex-h2 v1.1.0 [INFO] [stderr] Checking ntex v2.3.0 [INFO] [stderr] Checking ntex-files v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `headers` [INFO] [stdout] --> src/file_header/raw.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` 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: `headers` [INFO] [stdout] --> src/file_header/raw.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` 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: `headers` [INFO] [stdout] --> src/file_header/raw.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` 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: `headers` [INFO] [stdout] --> src/file_header/raw.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` 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: `headers` [INFO] [stdout] --> src/file_header/raw.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` 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: `headers` [INFO] [stdout] --> src/file_header/raw.rs:215:7 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(feature = "headers")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `headers` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `header_name` and `fmt_header` are never used [INFO] [stdout] --> src/file_header/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Header: 'static + HeaderClone + Send + Sync { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn header_name() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn fmt_header(&self, f: &mut Formatter) -> std::fmt::Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `danger_fmt_line_without_newline_replacer` is never used [INFO] [stdout] --> src/file_header/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl<'a, 'b> Formatter<'a, 'b> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn danger_fmt_line_without_newline_replacer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StandardHeader` is never used [INFO] [stdout] --> src/file_header/mod.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | pub trait StandardHeader: Header + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `weak`, `tag`, `set_tag`, `strong_ne`, and `weak_ne` are never used [INFO] [stdout] --> src/file_header/entity.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EntityTag { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn weak(tag: String) -> EntityTag { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn tag(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn strong_ne(&self, other: &EntityTag) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn weak_ne(&self, other: &EntityTag) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSendSync` is never used [INFO] [stdout] --> src/file_header/error.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | trait AssertSendSync: Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/file_header/raw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait RawLike<'a> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn len(&'a self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_box` is never used [INFO] [stdout] --> src/file_header/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait HeaderClone { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 66 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file = self.file.take().expect("Use after completion"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok((file, Bytes::from(buf))) [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | default: 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/lib.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | mime_override: 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/lib.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | guards: 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/lib.rs:394:39 [INFO] [stdout] | [INFO] [stdout] 385 | fn register(mut self, config: &mut WebServiceConfig) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | config.register_service(rdef, None, self, 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/lib.rs:394:51 [INFO] [stdout] | [INFO] [stdout] 385 | fn register(mut self, config: &mut WebServiceConfig) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | config.register_service(rdef, None, self, 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/file_header/parsing.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | .filter_map(|x| x.trim().parse().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/file_header/raw.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 200 | fn from(val: Bytes) -> Raw { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | Raw(Lines::One(val)) [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/named.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_file>(file: File, path: P) -> io::Result { [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] 119 | Ok(NamedFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | path, [INFO] [stdout] 121 | | file, [INFO] [stdout] 122 | | content_type, [INFO] [stdout] ... | [INFO] [stdout] 128 | | flags: Flags::default(), [INFO] [stdout] 129 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/named.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn open>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self::from_file(File::open(&path)?, path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-files` (lib) due to 11 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `header_name` and `fmt_header` are never used [INFO] [stdout] --> src/file_header/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Header: 'static + HeaderClone + Send + Sync { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 29 | fn header_name() -> &'static str [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn fmt_header(&self, f: &mut Formatter) -> std::fmt::Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `danger_fmt_line_without_newline_replacer` is never used [INFO] [stdout] --> src/file_header/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 88 | impl<'a, 'b> Formatter<'a, 'b> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | fn danger_fmt_line_without_newline_replacer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StandardHeader` is never used [INFO] [stdout] --> src/file_header/mod.rs:184:11 [INFO] [stdout] | [INFO] [stdout] 184 | pub trait StandardHeader: Header + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tag` and `set_tag` are never used [INFO] [stdout] --> src/file_header/entity.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl EntityTag { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn tag(&self) -> &str { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn set_tag(&mut self, tag: String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssertSendSync` is never used [INFO] [stdout] --> src/file_header/error.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | trait AssertSendSync: Send + Sync + 'static {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/file_header/raw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait RawLike<'a> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn len(&'a self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_box` is never used [INFO] [stdout] --> src/file_header/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub trait HeaderClone { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 66 | fn clone_box(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 91 | let mut file = self.file.take().expect("Use after completion"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok((file, Bytes::from(buf))) [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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | default: 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/lib.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | mime_override: 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/lib.rs:282:21 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn new>(path: &str, dir: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 282 | guards: 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/lib.rs:394:39 [INFO] [stdout] | [INFO] [stdout] 385 | fn register(mut self, config: &mut WebServiceConfig) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | config.register_service(rdef, None, self, 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/lib.rs:394:51 [INFO] [stdout] | [INFO] [stdout] 385 | fn register(mut self, config: &mut WebServiceConfig) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let rdef = if config.is_root() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 394 | config.register_service(rdef, None, self, 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/file_header/parsing.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | .filter_map(|x| x.trim().parse().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/file_header/raw.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 200 | fn from(val: Bytes) -> Raw { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | Raw(Lines::One(val)) [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/named.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_file>(file: File, path: P) -> io::Result { [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] 119 | Ok(NamedFile { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | path, [INFO] [stdout] 121 | | file, [INFO] [stdout] 122 | | content_type, [INFO] [stdout] ... | [INFO] [stdout] 128 | | flags: Flags::default(), [INFO] [stdout] 129 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/named.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn open>(path: P) -> io::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | Self::from_file(File::open(&path)?, path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1172:20 [INFO] [stdout] | [INFO] [stdout] 1171 | .default_handler(|req: WebRequest| async move { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1172 | Ok(req.into_response(HttpResponse::Ok().body("default content"))) [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 11 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ntex-files` (lib test) due to 12 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cdc1c55119ea99f5b0b22497fe2696dd84d430396e9c8e14719648d098d6efa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc1c55119ea99f5b0b22497fe2696dd84d430396e9c8e14719648d098d6efa7", kill_on_drop: false }` [INFO] [stdout] cdc1c55119ea99f5b0b22497fe2696dd84d430396e9c8e14719648d098d6efa7