[INFO] fetching crate cronus_generator 0.2.8... [INFO] checking cronus_generator-0.2.8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cronus_generator 0.2.8 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cronus_generator 0.2.8 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 cronus_generator 0.2.8 [INFO] finished tweaking crates.io crate cronus_generator 0.2.8 [INFO] tweaked toml for crates.io crate cronus_generator 0.2.8 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 44 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [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] fba2eae811640530615527fc21a4d6ba5f4eba51165a18289af4fb7a275dc809 [INFO] running `Command { std: "docker" "start" "-a" "fba2eae811640530615527fc21a4d6ba5f4eba51165a18289af4fb7a275dc809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fba2eae811640530615527fc21a4d6ba5f4eba51165a18289af4fb7a275dc809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fba2eae811640530615527fc21a4d6ba5f4eba51165a18289af4fb7a275dc809", kill_on_drop: false }` [INFO] [stdout] fba2eae811640530615527fc21a4d6ba5f4eba51165a18289af4fb7a275dc809 [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] df874b78eadbe770b2fc48930fa8b16aa086b0c41553c55b5fa4d1eea3ecefd0 [INFO] running `Command { std: "docker" "start" "-a" "df874b78eadbe770b2fc48930fa8b16aa086b0c41553c55b5fa4d1eea3ecefd0", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking cronus_spec v0.2.8 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking cronus_parser v0.2.8 [INFO] [stderr] Checking cronus_generator v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `any::type_name`, `fmt::format`, and `path::PathBuf` [INFO] [stdout] --> src/rust.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::type_name, cell::RefCell, collections::HashSet, fmt::format, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | utils::{self, get_path_from_optional_parent, get_request_name, get_response_name, get_schema_by_name, get_usecase_name, spec_ty_to_ru... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/rust.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{self, debug, span, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash` and `path::PathBuf` [INFO] [stdout] --> src/rust_axum.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, hash::Hash, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUsecaseMethodRestOption` [INFO] [stdout] --> src/rust_axum.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use cronus_spec::{RawUsecase, RawUsecaseMethod, RawUsecaseMethodRestOption, RustAxumGeneratorOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `span` [INFO] [stdout] --> src/rust_axum.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{span, Level}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/openapi.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::{HashMap, HashSet}, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_url_variables` and `spec_ty_to_rust_builtin_ty` [INFO] [stdout] --> src/openapi.rs:8:231 [INFO] [stdout] | [INFO] [stdout] 8 | ...f, extract_url_variables, get_path_from_optional_parent, get_request_name, get_response_name, get_schema_by_name, parse_map_type, spec_ty_to_openapi_builtin_ty, spec_ty_to_rust_builtin_ty}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `error::Error`, and `self` [INFO] [stdout] --> src/lib.rs:12:76 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{rc::Rc, cell::{RefCell}, collections::{HashMap, HashSet}, path::{Path, PathBuf}, error::Error, fs::{self, OpenOptions, File}, i... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUsecaseMethod` [INFO] [stdout] --> src/lib.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | use cronus_spec::{RawSchema, RawSpec, RawUsecase, RawUsecaseMethod}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `any::type_name`, `fmt::format`, and `path::PathBuf` [INFO] [stdout] --> src/rust.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::type_name, cell::RefCell, collections::HashSet, fmt::format, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | utils::{self, get_path_from_optional_parent, get_request_name, get_response_name, get_schema_by_name, get_usecase_name, spec_ty_to_ru... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/rust.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use tracing::{self, debug, span, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Generator` [INFO] [stdout] --> src/rust.rs:349:38 [INFO] [stdout] | [INFO] [stdout] 349 | use crate::{run_generator, Ctxt, Generator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `hash::Hash` and `path::PathBuf` [INFO] [stdout] --> src/rust_axum.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, hash::Hash, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUsecaseMethodRestOption` [INFO] [stdout] --> src/rust_axum.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use cronus_spec::{RawUsecase, RawUsecaseMethod, RawUsecaseMethodRestOption, RustAxumGeneratorOption}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Level` and `span` [INFO] [stdout] --> src/rust_axum.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{span, Level}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/rust_axum.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 403 | use std::{collections::HashMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::format` [INFO] [stdout] --> src/openapi.rs:1:59 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::{HashMap, HashSet}, fmt::format}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `extract_url_variables` and `spec_ty_to_rust_builtin_ty` [INFO] [stdout] --> src/openapi.rs:8:231 [INFO] [stdout] | [INFO] [stdout] 8 | ...f, extract_url_variables, get_path_from_optional_parent, get_request_name, get_response_name, get_schema_by_name, parse_map_type, spec_ty_to_openapi_builtin_ty, spec_ty_to_rust_builtin_ty}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/openapi.rs:424:15 [INFO] [stdout] | [INFO] [stdout] 424 | use std::{collections::HashMap, path::PathBuf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `error::Error`, and `self` [INFO] [stdout] --> src/lib.rs:12:76 [INFO] [stdout] | [INFO] [stdout] 12 | use std::{rc::Rc, cell::{RefCell}, collections::{HashMap, HashSet}, path::{Path, PathBuf}, error::Error, fs::{self, OpenOptions, File}, i... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawUsecaseMethod` [INFO] [stdout] --> src/lib.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | use cronus_spec::{RawSchema, RawSpec, RawUsecase, RawUsecaseMethod}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> src/rust_axum.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | Some((props, tys)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_name` [INFO] [stdout] --> src/rust_axum.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | for (method_name, method) in &usecase.methods { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/rust_axum.rs:353:37 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(rest) = &option.rest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/rust_axum.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | .filter(|(name, usecase)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usecase` [INFO] [stdout] --> src/rust_axum.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | .for_each(|(name, usecase)|{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usecase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tys` [INFO] [stdout] --> src/rust_axum.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | Some((props, tys)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tys` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_name` [INFO] [stdout] --> src/rust_axum.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | for (method_name, method) in &usecase.methods { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rest` [INFO] [stdout] --> src/rust_axum.rs:353:37 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(rest) = &option.rest { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/rust_axum.rs:349:19 [INFO] [stdout] | [INFO] [stdout] 349 | .filter(|(name, usecase)| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usecase` [INFO] [stdout] --> src/rust_axum.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 362 | .for_each(|(name, usecase)|{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_usecase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/utils.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | Some(query) => Some(name.clone()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/ts_nestjs.rs:57:51 [INFO] [stdout] | [INFO] [stdout] 57 | fn generate_method(&self, usecase_name: &str, method: &RawUsecaseMethod, rest_option: &RawUsecaseMethodRestOption) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/ts_nestjs.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ty) = &schema.ty { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_items` [INFO] [stdout] --> src/ts_nestjs.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(enum_items) = &schema.enum_items { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (g, fs) in self.generator_fs.borrow().iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_dto` is never used [INFO] [stdout] --> src/ts_nestjs.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl TypescriptNestjsGenerator { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate_dto(&self, schema: &RawSchema, dto_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_field` is never used [INFO] [stdout] --> src/ts_nestjs.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn map_field(field_name: &str, schema: &RawSchema, is_optional: bool) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustFile` is never constructed [INFO] [stdout] --> src/rust_utils.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RustFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustTrait` is never constructed [INFO] [stdout] --> src/rust_utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RustTrait { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustStruct` is never constructed [INFO] [stdout] --> src/rust_utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RustStruct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustAttribute` is never constructed [INFO] [stdout] --> src/rust_utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RustAttribute { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustFileUsesNode` is never constructed [INFO] [stdout] --> src/rust_utils.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct RustFileUsesNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `to_rust_uses` are never used [INFO] [stdout] --> src/rust_utils.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RustFileUsesNode { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 26 | pub fn add(&mut self, use_path: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_rust_uses(&self) -> String { [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:123:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(spec: RawSpec) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | Self(std::sync::Arc::new( Context::new(spec))) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/openapi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.generate_schema_with_ignore(ctx, Some(schema_name.to_string()), schema, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.generate_schema_with_ignore(ctx, Some(schema_name.to_string()), schema, None); [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/openapi.rs:132:87 [INFO] [stdout] | [INFO] [stdout] 132 | SchemaType::Dict(s) => Box::new(SchemaObject::new_dict(s.and_then(|s|Some(s.to_schema_object())))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/openapi.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 158 | let span = span!(Level::TRACE, "generate_struct", "type" = type_name); [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] 159 | // Enter the span, returning a guard object. [INFO] [stdout] 160 | let _enter = span.enter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let items = if schema.items.is_some() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let so = SchemaObject { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(SchemaType::Ref(type_name)) [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] = 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/openapi.rs:184:67 [INFO] [stdout] | [INFO] [stdout] 184 | return Ok(SchemaType::Dict(right_ty.and_then(|t| Some(Box::new(t))))); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/openapi.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 241 | let obj = self.generate_schema_with_ignore(ctx, None, value, None).unwrap().to_schema_object(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | [INFO] [stdout] 243 | Some((key.clone(), *obj)) [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/openapi.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 293 | let path_params: Option> = utils::get_path_params(method); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | [INFO] [stdout] 295 | let mut query_params: HashSet = Default::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let parameters = method.req.as_ref().map(|req| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let responses = ResponsesObject { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | responses: { [INFO] [stdout] 347 | let mut response_map = HashMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | let response_schema = match &method.res { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut so:SchemaObject = Default::default(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | let request_body = method.req.as_ref().map(|req| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | Ok(OperationObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 401 | | summary: Some(format!("Operation for {}", name)), [INFO] [stdout] 402 | | // description: method.req.as_ref().and_then(|schema| schema.description.clone()), [INFO] [stdout] 403 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 408 | | tags: None [INFO] [stdout] 409 | | }) [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] --> src/openapi.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 293 | let path_params: Option> = utils::get_path_params(method); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | content: { [INFO] [stdout] | __________________________^ [INFO] [stdout] 382 | | let req_ty = get_request_name(ctx, name); [INFO] [stdout] 383 | | let mut query_and_path = query_params.clone(); [INFO] [stdout] 384 | | if let Some(path_params) = path_params { [INFO] [stdout] ... | [INFO] [stdout] 394 | | )]) [INFO] [stdout] 395 | | }, [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/openapi_utils.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new_with_items(items: Box) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | Self { [INFO] [stdout] 249 | items: Some(items), [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/openapi_utils.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new_with_items(items: Box) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | ..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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_utils.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn new_dict(additional_properties: Option>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | ..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: aborting due to 10 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/utils.rs:173:26 [INFO] [stdout] | [INFO] [stdout] 173 | Some(query) => Some(name.clone()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cronus_generator` (lib) due to 11 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/ts_nestjs.rs:57:51 [INFO] [stdout] | [INFO] [stdout] 57 | fn generate_method(&self, usecase_name: &str, method: &RawUsecaseMethod, rest_option: &RawUsecaseMethodRestOption) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/ts_nestjs.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(ty) = &schema.ty { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enum_items` [INFO] [stdout] --> src/ts_nestjs.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | if let Some(enum_items) = &schema.enum_items { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | for (g, fs) in self.generator_fs.borrow().iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_dto` is never used [INFO] [stdout] --> src/ts_nestjs.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl TypescriptNestjsGenerator { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn generate_dto(&self, schema: &RawSchema, dto_name: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_field` is never used [INFO] [stdout] --> src/ts_nestjs.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn map_field(field_name: &str, schema: &RawSchema, is_optional: bool) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustFile` is never constructed [INFO] [stdout] --> src/rust_utils.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct RustFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustTrait` is never constructed [INFO] [stdout] --> src/rust_utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RustTrait { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustStruct` is never constructed [INFO] [stdout] --> src/rust_utils.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RustStruct { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RustAttribute` is never constructed [INFO] [stdout] --> src/rust_utils.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct RustAttribute { [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:123:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(spec: RawSpec) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | Self(std::sync::Arc::new( Context::new(spec))) [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] warning: unused `Result` that must be used [INFO] [stdout] --> src/openapi.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | self.generate_schema_with_ignore(ctx, Some(schema_name.to_string()), schema, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = self.generate_schema_with_ignore(ctx, Some(schema_name.to_string()), schema, None); [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/openapi.rs:132:87 [INFO] [stdout] | [INFO] [stdout] 132 | SchemaType::Dict(s) => Box::new(SchemaObject::new_dict(s.and_then(|s|Some(s.to_schema_object())))) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/openapi.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 158 | let span = span!(Level::TRACE, "generate_struct", "type" = type_name); [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] 159 | // Enter the span, returning a guard object. [INFO] [stdout] 160 | let _enter = span.enter(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | let items = if schema.items.is_some() { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 227 | let so = SchemaObject { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | Ok(SchemaType::Ref(type_name)) [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] = 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/openapi.rs:184:67 [INFO] [stdout] | [INFO] [stdout] 184 | return Ok(SchemaType::Dict(right_ty.and_then(|t| Some(Box::new(t))))); [INFO] [stdout] | - ^^^^^^^^^^^ [INFO] [stdout] | | [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/openapi.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 241 | let obj = self.generate_schema_with_ignore(ctx, None, value, None).unwrap().to_schema_object(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | [INFO] [stdout] 243 | Some((key.clone(), *obj)) [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/openapi.rs:400:12 [INFO] [stdout] | [INFO] [stdout] 293 | let path_params: Option> = utils::get_path_params(method); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 294 | [INFO] [stdout] 295 | let mut query_params: HashSet = Default::default(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | let parameters = method.req.as_ref().map(|req| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 345 | let responses = ResponsesObject { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 346 | responses: { [INFO] [stdout] 347 | let mut response_map = HashMap::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 348 | let response_schema = match &method.res { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut so:SchemaObject = Default::default(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 378 | let request_body = method.req.as_ref().map(|req| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 400 | Ok(OperationObject { [INFO] [stdout] | ____________^ [INFO] [stdout] 401 | | summary: Some(format!("Operation for {}", name)), [INFO] [stdout] 402 | | // description: method.req.as_ref().and_then(|schema| schema.description.clone()), [INFO] [stdout] 403 | | description: None, [INFO] [stdout] ... | [INFO] [stdout] 408 | | tags: None [INFO] [stdout] 409 | | }) [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] --> src/openapi.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 293 | let path_params: Option> = utils::get_path_params(method); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 381 | content: { [INFO] [stdout] | __________________________^ [INFO] [stdout] 382 | | let req_ty = get_request_name(ctx, name); [INFO] [stdout] 383 | | let mut query_and_path = query_params.clone(); [INFO] [stdout] 384 | | if let Some(path_params) = path_params { [INFO] [stdout] ... | [INFO] [stdout] 394 | | )]) [INFO] [stdout] 395 | | }, [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/openapi_utils.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new_with_items(items: Box) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | Self { [INFO] [stdout] 249 | items: Some(items), [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/openapi_utils.rs:250:15 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new_with_items(items: Box) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 250 | ..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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/openapi_utils.rs:259:15 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn new_dict(additional_properties: Option>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | ..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: aborting due to 10 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cronus_generator` (lib test) due to 11 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "df874b78eadbe770b2fc48930fa8b16aa086b0c41553c55b5fa4d1eea3ecefd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df874b78eadbe770b2fc48930fa8b16aa086b0c41553c55b5fa4d1eea3ecefd0", kill_on_drop: false }` [INFO] [stdout] df874b78eadbe770b2fc48930fa8b16aa086b0c41553c55b5fa4d1eea3ecefd0