[INFO] cloning repository https://github.com/DaAitch/sul [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DaAitch/sul" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Fsul", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Fsul'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e628984544d0335eb11f74cabbd36996eafe54a9 [INFO] checking DaAitch/sul/e628984544d0335eb11f74cabbd36996eafe54a9 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDaAitch%2Fsul" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DaAitch/sul on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DaAitch/sul [INFO] finished tweaking git repo https://github.com/DaAitch/sul [INFO] tweaked toml for git repo https://github.com/DaAitch/sul written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DaAitch/sul already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 91f814ff205de13927775e207b33e2d7630ec9ad23decf81e82eae34494ed865 [INFO] running `Command { std: "docker" "start" "-a" "91f814ff205de13927775e207b33e2d7630ec9ad23decf81e82eae34494ed865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91f814ff205de13927775e207b33e2d7630ec9ad23decf81e82eae34494ed865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f814ff205de13927775e207b33e2d7630ec9ad23decf81e82eae34494ed865", kill_on_drop: false }` [INFO] [stdout] 91f814ff205de13927775e207b33e2d7630ec9ad23decf81e82eae34494ed865 [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] e9fa047cc0dedb1aa8a51099d914e19ff51f541f0e8339d56682b92765497ad6 [INFO] running `Command { std: "docker" "start" "-a" "e9fa047cc0dedb1aa8a51099d914e19ff51f541f0e8339d56682b92765497ad6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking sul v0.0.0 (/opt/rustwide/workdir/sul) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | ReadFile(std::io::Error), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | ReadFile(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Yaml(serde_yaml::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Yaml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openapi`, `info`, and `servers` are never read [INFO] [stdout] --> sul/src/openapi.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub openapi: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub info: InfoObject, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub servers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `version` are never read [INFO] [stdout] --> sul/src/openapi.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct InfoObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 138 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 140 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `description` are never read [INFO] [stdout] --> sul/src/openapi.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ServerObject { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 146 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `summary` is never read [INFO] [stdout] --> sul/src/openapi.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct OperationObject { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 387 | pub operation_id: Option, [INFO] [stdout] 388 | pub summary: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | String(DataTypeStringFormat), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchemaObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 492 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `deprecated` are never read [INFO] [stdout] --> sul/src/openapi.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct ParameterObject { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 728 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 729 | pub required: Option, [INFO] [stdout] 730 | pub deprecated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `required` are never read [INFO] [stdout] --> sul/src/openapi.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 782 | pub struct RequestBodyObject { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 783 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 784 | pub content: MediaTypeObjectMap, [INFO] [stdout] 785 | pub required: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestBodyObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> sul/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn openapi(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 18 | let document = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let args = parse_macro_input!(attr as AttributeArgs); [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] 33 | let controller_struct = parse_macro_input!(item as ItemStruct); [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] 34 | expand_openapi_tokenstream(controller_struct, &document).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] = 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] --> sul/src/openapi.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Deserialize, Debug)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> sul/src/openapi.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 212 | fn visit_map>(self, mut map: A) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let mut operations = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | Ok(PathItemObject { operations }) [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] --> sul/src/openapi.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 328 | let inner = match self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Some(Method { inner }) [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] --> sul/src/openapi.rs:759:12 [INFO] [stdout] | [INFO] [stdout] 735 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 747 | let object = ParameterObjectReadHelper::deserialize(deserializer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 748 | [INFO] [stdout] 749 | let schema_or_content = match (object.schema, object.content) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | (Some(schema), None) => ParameterObjectContentOrSchema::Schema(schema), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 751 | (None, Some(content)) => ParameterObjectContentOrSchema::Content(content), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 759 | Ok(ParameterObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 760 | | name: object.name, [INFO] [stdout] 761 | | r#in: object.r#in, [INFO] [stdout] 762 | | description: object.description, [INFO] [stdout] ... | [INFO] [stdout] 765 | | schema_or_content, [INFO] [stdout] 766 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> sul/src/openapi.rs:771:10 [INFO] [stdout] | [INFO] [stdout] 771 | #[derive(Deserialize, Debug, PartialEq)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> sul/src/tokenstream.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(controller_struct: ItemStruct) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | user_mod_sources: Vec::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] --> sul/src/tokenstream.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(controller_struct: ItemStruct) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | service_mod_sources: Vec::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] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | ReadFile(std::io::Error), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | ReadFile(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Yaml(serde_yaml::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReadFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Yaml(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `openapi`, `info`, and `servers` are never read [INFO] [stdout] --> sul/src/openapi.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Document { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | pub openapi: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub info: InfoObject, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub servers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Document` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `description`, and `version` are never read [INFO] [stdout] --> sul/src/openapi.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct InfoObject { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 138 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 139 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 140 | pub version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InfoObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `description` are never read [INFO] [stdout] --> sul/src/openapi.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct ServerObject { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 146 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 147 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `summary` is never read [INFO] [stdout] --> sul/src/openapi.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 386 | pub struct OperationObject { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 387 | pub operation_id: Option, [INFO] [stdout] 388 | pub summary: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> sul/src/openapi.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 492 | String(DataTypeStringFormat), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SchemaObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 492 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `deprecated` are never read [INFO] [stdout] --> sul/src/openapi.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 725 | pub struct ParameterObject { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 728 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 729 | pub required: Option, [INFO] [stdout] 730 | pub deprecated: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParameterObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `required` are never read [INFO] [stdout] --> sul/src/openapi.rs:783:9 [INFO] [stdout] | [INFO] [stdout] 782 | pub struct RequestBodyObject { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 783 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 784 | pub content: MediaTypeObjectMap, [INFO] [stdout] 785 | pub required: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestBodyObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> sul/src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn openapi(attr: TokenStream, item: TokenStream) -> TokenStream { [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] 18 | let document = { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let args = parse_macro_input!(attr as AttributeArgs); [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] 33 | let controller_struct = parse_macro_input!(item as ItemStruct); [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] 34 | expand_openapi_tokenstream(controller_struct, &document).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] = 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] --> sul/src/openapi.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | #[derive(Deserialize, Debug)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> sul/src/openapi.rs:231:20 [INFO] [stdout] | [INFO] [stdout] 212 | fn visit_map>(self, mut map: A) -> Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 213 | let mut operations = HashMap::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | Ok(PathItemObject { operations }) [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] --> sul/src/openapi.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 328 | let inner = match self { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Some(Method { inner }) [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] --> sul/src/openapi.rs:759:12 [INFO] [stdout] | [INFO] [stdout] 735 | fn deserialize>(deserializer: D) -> Result { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 747 | let object = ParameterObjectReadHelper::deserialize(deserializer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 748 | [INFO] [stdout] 749 | let schema_or_content = match (object.schema, object.content) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 750 | (Some(schema), None) => ParameterObjectContentOrSchema::Schema(schema), [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 751 | (None, Some(content)) => ParameterObjectContentOrSchema::Content(content), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 759 | Ok(ParameterObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 760 | | name: object.name, [INFO] [stdout] 761 | | r#in: object.r#in, [INFO] [stdout] 762 | | description: object.description, [INFO] [stdout] ... | [INFO] [stdout] 765 | | schema_or_content, [INFO] [stdout] 766 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] --> sul/src/openapi.rs:771:10 [INFO] [stdout] | [INFO] [stdout] 771 | #[derive(Deserialize, Debug, PartialEq)] [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: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> sul/src/tokenstream.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(controller_struct: ItemStruct) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | user_mod_sources: Vec::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] --> sul/src/tokenstream.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn new(controller_struct: ItemStruct) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | service_mod_sources: Vec::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: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sul` (lib) due to 9 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sul` (lib test) due to 9 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e9fa047cc0dedb1aa8a51099d914e19ff51f541f0e8339d56682b92765497ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fa047cc0dedb1aa8a51099d914e19ff51f541f0e8339d56682b92765497ad6", kill_on_drop: false }` [INFO] [stdout] e9fa047cc0dedb1aa8a51099d914e19ff51f541f0e8339d56682b92765497ad6