[INFO] cloning repository https://github.com/Ph0enixKM/Amber-Workflow-Testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ph0enixKM/Amber-Workflow-Testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPh0enixKM%2FAmber-Workflow-Testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPh0enixKM%2FAmber-Workflow-Testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 965128fe9bf3baf7cc51674c45722f97af3dd9b4 [INFO] checking Ph0enixKM/Amber-Workflow-Testing/965128fe9bf3baf7cc51674c45722f97af3dd9b4 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%2FPh0enixKM%2FAmber-Workflow-Testing" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ph0enixKM/Amber-Workflow-Testing 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Ph0enixKM/Amber-Workflow-Testing [INFO] finished tweaking git repo https://github.com/Ph0enixKM/Amber-Workflow-Testing [INFO] tweaked toml for git repo https://github.com/Ph0enixKM/Amber-Workflow-Testing written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ph0enixKM/Amber-Workflow-Testing 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] Locking 1 package to latest compatible version [INFO] [stderr] Updating amber v1.0.1 (/workspace/builds/worker-7-tc2/source) -> v1.0.28-alpha [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ee07f77f42d066058518c56b7d4d02330f872ffaaa17e7944f37f6cc1cba6bab [INFO] running `Command { std: "docker" "start" "-a" "ee07f77f42d066058518c56b7d4d02330f872ffaaa17e7944f37f6cc1cba6bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee07f77f42d066058518c56b7d4d02330f872ffaaa17e7944f37f6cc1cba6bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee07f77f42d066058518c56b7d4d02330f872ffaaa17e7944f37f6cc1cba6bab", kill_on_drop: false }` [INFO] [stdout] ee07f77f42d066058518c56b7d4d02330f872ffaaa17e7944f37f6cc1cba6bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e359dcf28a8b42caa2e1bf2c57482947f873f2c84c4604443bb3f4d41f1f88f9 [INFO] running `Command { std: "docker" "start" "-a" "e359dcf28a8b42caa2e1bf2c57482947f873f2c84c4604443bb3f4d41f1f88f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking capitalize v0.1.0 [INFO] [stderr] Checking similar-string v1.4.3 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking heraclitus-compiler v1.5.8 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking amber v1.0.28-alpha (/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/modules/expression/binop/mod.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | if left == right && [left, right].iter().all(|kind| predicate((*kind).clone())) { [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/modules/expression/unop/cast.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 34 | let l_type = self.expr.get_type(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let r_type = self.kind.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | match (l_type, r_type) { [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/modules/function/declaration_utils.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | let any_generic = fun.arg_types.iter().any(|kind| kind == &Type::Generic); [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/modules/function/declaration_utils.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | let any_typed = fun.arg_types.iter().any(|kind| kind != &Type::Generic); [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/modules/function/invocation_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn run_function_with_args(meta: &mut ParserMetadata, mut fun: FunctionDecl, args: &[Type], tok: Option) -> Result<(Type, usize), F... [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let mut ctx = meta.fun_cache.get_context(fun.id).unwrap().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let mut block = Block::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok((fun.returns.clone(), meta.add_fun_instance(fun.into_interface(), block))) [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/utils/metadata/parser.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_fun_declaration(&mut self, fun: FunctionInterface, ctx: Context) -> Option { [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] 122 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [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/utils/metadata/parser.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_fun_declaration(&mut self, fun: FunctionInterface, ctx: Context) -> Option { [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] 122 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 123 | | // Add the function to the function cache [INFO] [stdout] 124 | | self.fun_cache.add_declaration(global_id, ctx); [INFO] [stdout] 125 | | global_id [INFO] [stdout] 126 | | }) [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/utils/metadata/parser.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add_fun_instance(&mut self, fun: FunctionInterface, block: Block) -> usize { [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] 144 | let id = fun.id.expect("Function id is not set"); [INFO] [stdout] 145 | self.fun_cache.add_instance(id, fun.into_fun_instance(block)) [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/utils/context.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn add_fun(&mut self, fun: FunctionDecl) -> bool { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let name = fun.name.clone(); [INFO] [stdout] 80 | self.funs.insert(name, fun).is_none() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/function_interface.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | let is_args_typed = self.arg_types.iter().all(|t| t != &Type::Generic); [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 `amber` (bin "amber") 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/modules/expression/binop/mod.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | if left == right && [left, right].iter().all(|kind| predicate((*kind).clone())) { [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/modules/expression/unop/cast.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 34 | let l_type = self.expr.get_type(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let r_type = self.kind.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | match (l_type, r_type) { [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/modules/function/declaration_utils.rs:40:64 [INFO] [stdout] | [INFO] [stdout] 40 | let any_generic = fun.arg_types.iter().any(|kind| kind == &Type::Generic); [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/modules/function/declaration_utils.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | let any_typed = fun.arg_types.iter().any(|kind| kind != &Type::Generic); [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/modules/function/invocation_utils.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn run_function_with_args(meta: &mut ParserMetadata, mut fun: FunctionDecl, args: &[Type], tok: Option) -> Result<(Type, usize), F... [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let mut ctx = meta.fun_cache.get_context(fun.id).unwrap().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let mut block = Block::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok((fun.returns.clone(), meta.add_fun_instance(fun.into_interface(), block))) [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/utils/metadata/parser.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_fun_declaration(&mut self, fun: FunctionInterface, ctx: Context) -> Option { [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] 122 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [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/utils/metadata/parser.rs:122:65 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_fun_declaration(&mut self, fun: FunctionInterface, ctx: Context) -> Option { [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] 122 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 123 | | // Add the function to the function cache [INFO] [stdout] 124 | | self.fun_cache.add_declaration(global_id, ctx); [INFO] [stdout] 125 | | global_id [INFO] [stdout] 126 | | }) [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/utils/metadata/parser.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn add_fun_instance(&mut self, fun: FunctionInterface, block: Block) -> usize { [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] 144 | let id = fun.id.expect("Function id is not set"); [INFO] [stdout] 145 | self.fun_cache.add_instance(id, fun.into_fun_instance(block)) [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/utils/context.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn add_fun(&mut self, fun: FunctionDecl) -> bool { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let name = fun.name.clone(); [INFO] [stdout] 80 | self.funs.insert(name, fun).is_none() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/utils/function_interface.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | let is_args_typed = self.arg_types.iter().all(|t| t != &Type::Generic); [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 `amber` (bin "amber" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "e359dcf28a8b42caa2e1bf2c57482947f873f2c84c4604443bb3f4d41f1f88f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e359dcf28a8b42caa2e1bf2c57482947f873f2c84c4604443bb3f4d41f1f88f9", kill_on_drop: false }` [INFO] [stdout] e359dcf28a8b42caa2e1bf2c57482947f873f2c84c4604443bb3f4d41f1f88f9