[INFO] cloning repository https://github.com/Ph0enixKM/Amber [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" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPh0enixKM%2FAmber", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPh0enixKM%2FAmber'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a701b52497ac1d339467d7af2da3cbfb8ad95778 [INFO] checking Ph0enixKM/Amber/a701b52497ac1d339467d7af2da3cbfb8ad95778 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" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ph0enixKM/Amber 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-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Ph0enixKM/Amber [INFO] finished tweaking git repo https://github.com/Ph0enixKM/Amber [INFO] tweaked toml for git repo https://github.com/Ph0enixKM/Amber written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ph0enixKM/Amber 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d338a54a6816033247031525ae0a83b3ecc7987806dca9484a3ca31e145dc68b [INFO] running `Command { std: "docker" "start" "-a" "d338a54a6816033247031525ae0a83b3ecc7987806dca9484a3ca31e145dc68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d338a54a6816033247031525ae0a83b3ecc7987806dca9484a3ca31e145dc68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d338a54a6816033247031525ae0a83b3ecc7987806dca9484a3ca31e145dc68b", kill_on_drop: false }` [INFO] [stdout] d338a54a6816033247031525ae0a83b3ecc7987806dca9484a3ca31e145dc68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4b1e189a4a265a8024917e0d5a8aa8a844745c3359c636b26bb3adc8d086fe06 [INFO] running `Command { std: "docker" "start" "-a" "4b1e189a4a265a8024917e0d5a8aa8a844745c3359c636b26bb3adc8d086fe06", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking pad v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking capitalize v0.3.4 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling assert_cmd v2.0.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking heraclitus-compiler v1.7.8 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking similar-string v1.4.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling test-generator v0.3.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking amber v0.3.4-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/compiler.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|meta| (file.path.clone(), meta.block.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/typeop/cast.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 55 | 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] 59 | let (l_type, r_type) = match (l_type, r_type) { [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] 60 | (Type::Failable(l), Type::Failable(r)) => (*l, *r), [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] 65 | types => types [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | }; [INFO] [stdout] 67 | 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:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81: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] 50 | 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] 51 | 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] 81 | 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/modules/types.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | return res.map(|t| Type::Failable(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/utils/metadata/parser.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 124 | 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:124:65 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 124 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 125 | | // Add the function to the function cache [INFO] [stdout] 126 | | self.fun_cache.add_declaration(global_id, ctx); [INFO] [stdout] 127 | | global_id [INFO] [stdout] 128 | | }) [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:147:41 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 146 | let id = fun.id.expect("Function id is not set"); [INFO] [stdout] 147 | 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:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 82 | let name = fun.name.clone(); [INFO] [stdout] 83 | 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:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | 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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amber` (bin "amber") due to 12 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/compiler.rs:139:53 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|meta| (file.path.clone(), meta.block.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/typeop/cast.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 55 | 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] 59 | let (l_type, r_type) = match (l_type, r_type) { [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] 60 | (Type::Failable(l), Type::Failable(r)) => (*l, *r), [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] 65 | types => types [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | }; [INFO] [stdout] 67 | 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:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | 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:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | 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:81: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] 50 | 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] 51 | 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] 81 | 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/modules/types.rs:105:43 [INFO] [stdout] | [INFO] [stdout] 105 | return res.map(|t| Type::Failable(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/utils/metadata/parser.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 124 | 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:124:65 [INFO] [stdout] | [INFO] [stdout] 115 | 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] 124 | scope.add_fun(fun.into_fun_declaration(global_id)).then(|| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 125 | | // Add the function to the function cache [INFO] [stdout] 126 | | self.fun_cache.add_declaration(global_id, ctx); [INFO] [stdout] 127 | | global_id [INFO] [stdout] 128 | | }) [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:147:41 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 146 | let id = fun.id.expect("Function id is not set"); [INFO] [stdout] 147 | 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:83:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 82 | let name = fun.name.clone(); [INFO] [stdout] 83 | 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:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | 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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amber` (bin "amber" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "4b1e189a4a265a8024917e0d5a8aa8a844745c3359c636b26bb3adc8d086fe06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b1e189a4a265a8024917e0d5a8aa8a844745c3359c636b26bb3adc8d086fe06", kill_on_drop: false }` [INFO] [stdout] 4b1e189a4a265a8024917e0d5a8aa8a844745c3359c636b26bb3adc8d086fe06