[INFO] fetching crate code_generator 0.1.15... [INFO] checking code_generator-0.1.15 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate code_generator 0.1.15 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate code_generator 0.1.15 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 code_generator 0.1.15 [INFO] finished tweaking crates.io crate code_generator 0.1.15 [INFO] tweaked toml for crates.io crate code_generator 0.1.15 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e329d7764325460726b31cd07f627f65843b06cda53b07c910b308a3149b2676 [INFO] running `Command { std: "docker" "start" "-a" "e329d7764325460726b31cd07f627f65843b06cda53b07c910b308a3149b2676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e329d7764325460726b31cd07f627f65843b06cda53b07c910b308a3149b2676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e329d7764325460726b31cd07f627f65843b06cda53b07c910b308a3149b2676", kill_on_drop: false }` [INFO] [stdout] e329d7764325460726b31cd07f627f65843b06cda53b07c910b308a3149b2676 [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] 7bce254dd24e98d0a5c4529300fe2cfbc7f20072dfa9bb727620fd008547c321 [INFO] running `Command { std: "docker" "start" "-a" "7bce254dd24e98d0a5c4529300fe2cfbc7f20072dfa9bb727620fd008547c321", kill_on_drop: false }` [INFO] [stderr] Checking code_generator v0.1.15 (/opt/rustwide/workdir) [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/building_block_generators.rs:583:29 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn new(code: Vec>) -> CodeBody { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | CodeBody {raw_code: CodeSet::new(code)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/flow_control_generators.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(condition: CT, body: CodeBody) -> IfStatement [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] 13 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 14 | | JoinedCode::new( [INFO] [stdout] 15 | | vec![ [INFO] [stdout] 16 | | Box::new(String::from("if (")), [INFO] [stdout] ... | [INFO] [stdout] 21 | | body [INFO] [stdout] 22 | | ) [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/flow_control_generators.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(condition: CT, body: CodeBody) -> WhileStatement [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] 42 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | JoinedCode::new( [INFO] [stdout] 44 | | vec![ [INFO] [stdout] 45 | | Box::new(String::from("while (")), [INFO] [stdout] ... | [INFO] [stdout] 50 | | body [INFO] [stdout] 51 | | ) [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/flow_control_generators.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(init_code: IT, continuation_code: CT, update_code: UT, body: Vec>) -> ForLoop [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] | | 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] 72 | ForLoop { content: HeaderPlusBody::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 73 | | JoinedCode::new(vec![ [INFO] [stdout] 74 | | Box::new(String::from("for (")), [INFO] [stdout] 75 | | Box::new(init_code), [INFO] [stdout] ... | [INFO] [stdout] 82 | | CodeBody::new(body) [INFO] [stdout] 83 | | ) } [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/data_type_generators.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut set = Vec::>::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | parameters: SeparatedCode::new(set, Box::new(String::from(", "))), [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/data_type_generators.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(signature: FunctionSignature, body: CodeBody) -> Function { [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] 74 | Function { [INFO] [stdout] 75 | content: HeaderPlusBody::new(signature, body) [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/data_type_generators.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(name: Name, params: Vec>) -> FunctionCall { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | params: SeparatedCode::new(params, Box::new(String::from(", "))), [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/data_type_generators.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new_with_end(name: Name, params: Vec>) -> FunctionCall { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | params: SeparatedCode::new(params, Box::new(String::from(", "))), [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/data_type_generators.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 162 | let mut code_values: Vec> = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 177 | | String::from("typedef enum"), [INFO] [stdout] 178 | | CodeBody::new(code_values) [INFO] [stdout] 179 | | ) [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/data_type_generators.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 203 | let mut code_values: Vec> = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 215 | | String::from("typedef struct"), [INFO] [stdout] 216 | | CodeBody::new(code_values) [INFO] [stdout] 217 | | ) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `code_generator` (lib test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/building_block_generators.rs:583:29 [INFO] [stdout] | [INFO] [stdout] 582 | pub fn new(code: Vec>) -> CodeBody { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 583 | CodeBody {raw_code: CodeSet::new(code)} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/flow_control_generators.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(condition: CT, body: CodeBody) -> IfStatement [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] 13 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 14 | | JoinedCode::new( [INFO] [stdout] 15 | | vec![ [INFO] [stdout] 16 | | Box::new(String::from("if (")), [INFO] [stdout] ... | [INFO] [stdout] 21 | | body [INFO] [stdout] 22 | | ) [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/flow_control_generators.rs:42:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(condition: CT, body: CodeBody) -> WhileStatement [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] 42 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 43 | | JoinedCode::new( [INFO] [stdout] 44 | | vec![ [INFO] [stdout] 45 | | Box::new(String::from("while (")), [INFO] [stdout] ... | [INFO] [stdout] 50 | | body [INFO] [stdout] 51 | | ) [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/flow_control_generators.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(init_code: IT, continuation_code: CT, update_code: UT, body: Vec>) -> ForLoop [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] | | 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] 72 | ForLoop { content: HeaderPlusBody::new( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 73 | | JoinedCode::new(vec![ [INFO] [stdout] 74 | | Box::new(String::from("for (")), [INFO] [stdout] 75 | | Box::new(init_code), [INFO] [stdout] ... | [INFO] [stdout] 82 | | CodeBody::new(body) [INFO] [stdout] 83 | | ) } [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/data_type_generators.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 13 | let mut set = Vec::>::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | parameters: SeparatedCode::new(set, Box::new(String::from(", "))), [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/data_type_generators.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn new(signature: FunctionSignature, body: CodeBody) -> Function { [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] 74 | Function { [INFO] [stdout] 75 | content: HeaderPlusBody::new(signature, body) [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/data_type_generators.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new(name: Name, params: Vec>) -> FunctionCall { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | params: SeparatedCode::new(params, Box::new(String::from(", "))), [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/data_type_generators.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn new_with_end(name: Name, params: Vec>) -> FunctionCall { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | params: SeparatedCode::new(params, Box::new(String::from(", "))), [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/data_type_generators.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 162 | let mut code_values: Vec> = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 176 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 177 | | String::from("typedef enum"), [INFO] [stdout] 178 | | CodeBody::new(code_values) [INFO] [stdout] 179 | | ) [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/data_type_generators.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 203 | let mut code_values: Vec> = Vec::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | content: HeaderPlusBody::new( [INFO] [stdout] | ______________________^ [INFO] [stdout] 215 | | String::from("typedef struct"), [INFO] [stdout] 216 | | CodeBody::new(code_values) [INFO] [stdout] 217 | | ) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `code_generator` (lib) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "7bce254dd24e98d0a5c4529300fe2cfbc7f20072dfa9bb727620fd008547c321", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bce254dd24e98d0a5c4529300fe2cfbc7f20072dfa9bb727620fd008547c321", kill_on_drop: false }` [INFO] [stdout] 7bce254dd24e98d0a5c4529300fe2cfbc7f20072dfa9bb727620fd008547c321