[INFO] fetching crate swaggapi 0.2.2... [INFO] checking swaggapi-0.2.2 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate swaggapi 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate swaggapi 0.2.2 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swaggapi 0.2.2 [INFO] finished tweaking crates.io crate swaggapi 0.2.2 [INFO] tweaked toml for crates.io crate swaggapi 0.2.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 187 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.4.0 (available: v0.6.0) [INFO] [stderr] Adding cookie v0.16.2 (available: v0.18.1) [INFO] [stderr] Adding derive_more v0.99.18 (available: v1.0.0) [INFO] [stderr] Adding dirs v4.0.0 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding matchit v0.7.3 (available: v0.8.4) [INFO] [stderr] Adding rust-embed v5.9.0 (available: v8.5.0) [INFO] [stderr] Adding rust-embed-impl v5.9.0 (available: v8.5.0) [INFO] [stderr] Adding rust-embed-utils v5.1.0 (available: v8.5.0) [INFO] [stderr] Adding shellexpand v2.1.2 (available: v3.1.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding tower v0.4.13 (available: v0.5.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8850c261a0b3a1e5f7dfa8188cf2d61821099a1444b752e536644c4850b2abaa [INFO] running `Command { std: "docker" "start" "-a" "8850c261a0b3a1e5f7dfa8188cf2d61821099a1444b752e536644c4850b2abaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8850c261a0b3a1e5f7dfa8188cf2d61821099a1444b752e536644c4850b2abaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8850c261a0b3a1e5f7dfa8188cf2d61821099a1444b752e536644c4850b2abaa", kill_on_drop: false }` [INFO] [stdout] 8850c261a0b3a1e5f7dfa8188cf2d61821099a1444b752e536644c4850b2abaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae3a8d195b62cd27e51f816c24a93c61f3d934436ef9f9f53f61eb28ac4ca3c7 [INFO] running `Command { std: "docker" "start" "-a" "ae3a8d195b62cd27e51f816c24a93c61f3d934436ef9f9f53f61eb28ac4ca3c7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking rust-embed-utils v5.1.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling shellexpand v2.1.2 [INFO] [stderr] Compiling rust-embed-impl v5.9.0 [INFO] [stderr] Checking rust-embed v5.9.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling swaggapi-macro v0.2.0 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking openapiv3 v2.0.0 [INFO] [stderr] Checking swagger-ui v0.1.5 [INFO] [stderr] Checking swaggapi v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/swagger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swagger_ui::UrlObject` [INFO] [stdout] --> src/swagger.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use swagger_ui::UrlObject; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::internals::SwaggapiPageBuilderImpl` [INFO] [stdout] --> src/swagger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::internals::SwaggapiPageBuilderImpl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/as_responses/mod.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|response: SimpleResponse| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | ..Default::default() [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: this value of type `MediaType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handler_argument/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | ..Default::default() [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: this value of type `Response` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/as_responses/mod.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 35 | .map(|response: SimpleResponse| { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | ..Default::default() [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: this value of type `MediaType` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handler_argument/mod.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn simple_request_body(request_body: SimpleRequestBody) -> RequestBody { [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | ..Default::default() [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] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `framework_impl` are never read [INFO] [stdout] --> src/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ApiContext { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | framework_impl: Impl, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_framework_impl`, `add_to_pages`, and `map_framework_impl` are never used [INFO] [stdout] --> src/context.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl ApiContext { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 20 | fn with_framework_impl(path: String, framework_impl: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn add_to_pages(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn map_framework_impl(self, func: impl FnOnce(T) -> U) -> ApiContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![warn(missing_docs)] [INFO] [stdout] 2 | | #![warn(clippy::todo)] [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | pub mod as_responses; [INFO] [stdout] ... | [INFO] [stdout] 34 | | pub use swagger_ui; [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swaggapi` (lib test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/internals/page_builder.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SwaggapiPageBuilderImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swaggapi` (lib) due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae3a8d195b62cd27e51f816c24a93c61f3d934436ef9f9f53f61eb28ac4ca3c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae3a8d195b62cd27e51f816c24a93c61f3d934436ef9f9f53f61eb28ac4ca3c7", kill_on_drop: false }` [INFO] [stdout] ae3a8d195b62cd27e51f816c24a93c61f3d934436ef9f9f53f61eb28ac4ca3c7