[INFO] cloning repository https://github.com/Enter-tainer/usysy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Enter-tainer/usysy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnter-tainer%2Fusysy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnter-tainer%2Fusysy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f7c2fca96c8acf3657ccdc246ebc7f8370069dc [INFO] checking Enter-tainer/usysy/0f7c2fca96c8acf3657ccdc246ebc7f8370069dc 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%2FEnter-tainer%2Fusysy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Enter-tainer/usysy on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Enter-tainer/usysy [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Enter-tainer/usysy [INFO] tweaked toml for git repo https://github.com/Enter-tainer/usysy written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Enter-tainer/usysy 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-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] d67682cf5891837b81f8c76a4f2663a1796a799748e31b6c235a8fdc4f1dcdb6 [INFO] running `Command { std: "docker" "start" "-a" "d67682cf5891837b81f8c76a4f2663a1796a799748e31b6c235a8fdc4f1dcdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d67682cf5891837b81f8c76a4f2663a1796a799748e31b6c235a8fdc4f1dcdb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67682cf5891837b81f8c76a4f2663a1796a799748e31b6c235a8fdc4f1dcdb6", kill_on_drop: false }` [INFO] [stdout] d67682cf5891837b81f8c76a4f2663a1796a799748e31b6c235a8fdc4f1dcdb6 [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] 5ce23ae3a0b864621f19ebc6c68d0379f63e3993c0dde01f5666784e6f8208e0 [INFO] running `Command { std: "docker" "start" "-a" "5ce23ae3a0b864621f19ebc6c68d0379f63e3993c0dde01f5666784e6f8208e0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking smawk v0.3.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking crossbeam-channel v0.5.5 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.2.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling tree-sitter-sysy v0.20.1 (/opt/rustwide/workdir/tree-sitter-sysy) [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-linebreak v0.1.2 [INFO] [stderr] Compiling llvm-sys v130.0.4 [INFO] [stderr] Compiling inkwell v0.1.0-beta.4 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking supports-hyperlinks v1.2.0 [INFO] [stderr] Checking supports-unicode v1.0.2 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.2.4 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling miette-derive v5.1.0 [INFO] [stderr] Compiling inkwell_internals v0.5.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking parse_int v0.6.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking miette v5.1.0 [INFO] [stderr] Checking clap v3.2.4 [INFO] [stderr] Checking libtest-mimic v0.4.1 [INFO] [stderr] Checking sysy v0.1.0 (/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/codegen/mod.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 160 | let module = context.create_module(module_name); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let builder = context.create_builder(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let global_variable_map = HashMap::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let val_map_block_stack = vec![global_variable_map]; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | current_function: 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] = 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/codegen/mod.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 160 | let module = context.create_module(module_name); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let builder = context.create_builder(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let global_variable_map = HashMap::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let val_map_block_stack = vec![global_variable_map]; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | function_map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/expression/identifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | let (ty, var) = self.get_in_value_map(var_name, root.range())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let val = self.builder.build_load(var, "load_val"); [INFO] [stdout] 14 | Ok((ty.base_type, val.as_basic_value_enum())) [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/codegen/expression/literal.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 26 | | BaseType::Int, [INFO] [stdout] 27 | | self [INFO] [stdout] 28 | | .context [INFO] [stdout] ... | [INFO] [stdout] 31 | | .as_basic_value_enum(), [INFO] [stdout] 32 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/codegen/expression/literal.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | src: NamedSource::new(self.file.name, self.file.content.to_string()), [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/codegen/expression/literal.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | BaseType::Int, [INFO] [stdout] 45 | | self [INFO] [stdout] 46 | | .context [INFO] [stdout] ... | [INFO] [stdout] 49 | | .as_basic_value_enum(), [INFO] [stdout] 50 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/codegen/expression/literal.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | src: NamedSource::new(self.file.name, self.file.content.to_string()), [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/codegen/expression/subscript.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | .map(|child| self.generate_expression(child).map(|(_ty, val)| val)) [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/codegen/expression/subscript.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 36 | let (arr_ty, arr_val) = self.get_in_value_map(array_name_str, array_name.range())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | arr_ty.base_type.get_elem_type(), [INFO] [stdout] 44 | | res_ptr.as_basic_value_enum(), [INFO] [stdout] 45 | | )) [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] | |_____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/codegen/expression/subscript.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 51 | let (ty, res_ptr) = self.generate_subscript_expression_inner(root)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok((ty, res)) [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/codegen/expression/subscript.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | let (ty, res_ptr) = self.generate_subscript_expression_inner(root)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 63 | | MBasicType::new_with_base_mut(ty), [INFO] [stdout] 64 | | res_ptr.into_pointer_value(), [INFO] [stdout] 65 | | )) [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/codegen/expression/unary.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | let (ty, val) = self.generate_expression(argument)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(match get_text(op, self.file.content) { [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | "+" => (ty, val), [INFO] [stdout] 19 | | "-" => ( [INFO] [stdout] 20 | | ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | op => unreachable!("unknown unary expr {op}"), [INFO] [stdout] 52 | | }) [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/codegen/function.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|(param_type, name)| (name, MBasicType::new_with_base_mut(param_type))) [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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy` (lib test) due to 14 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/codegen/mod.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 160 | let module = context.create_module(module_name); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let builder = context.create_builder(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let global_variable_map = HashMap::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let val_map_block_stack = vec![global_variable_map]; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | current_function: 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] = 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/codegen/mod.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 160 | let module = context.create_module(module_name); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | let builder = context.create_builder(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let global_variable_map = HashMap::new(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let val_map_block_stack = vec![global_variable_map]; [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 173 | function_map: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegen/expression/identifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | let (ty, var) = self.get_in_value_map(var_name, root.range())?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | let val = self.builder.build_load(var, "load_val"); [INFO] [stdout] 14 | Ok((ty.base_type, val.as_basic_value_enum())) [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/codegen/expression/literal.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 26 | | BaseType::Int, [INFO] [stdout] 27 | | self [INFO] [stdout] 28 | | .context [INFO] [stdout] ... | [INFO] [stdout] 31 | | .as_basic_value_enum(), [INFO] [stdout] 32 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/codegen/expression/literal.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | src: NamedSource::new(self.file.name, self.file.content.to_string()), [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/codegen/expression/literal.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | BaseType::Int, [INFO] [stdout] 45 | | self [INFO] [stdout] 46 | | .context [INFO] [stdout] ... | [INFO] [stdout] 49 | | .as_basic_value_enum(), [INFO] [stdout] 50 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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/codegen/expression/literal.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | src: NamedSource::new(self.file.name, self.file.content.to_string()), [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/codegen/expression/subscript.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | .map(|child| self.generate_expression(child).map(|(_ty, val)| val)) [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/codegen/expression/subscript.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 36 | let (arr_ty, arr_val) = self.get_in_value_map(array_name_str, array_name.range())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | arr_ty.base_type.get_elem_type(), [INFO] [stdout] 44 | | res_ptr.as_basic_value_enum(), [INFO] [stdout] 45 | | )) [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] | |_____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/codegen/expression/subscript.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 51 | let (ty, res_ptr) = self.generate_subscript_expression_inner(root)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | Ok((ty, res)) [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/codegen/expression/subscript.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 61 | let (ty, res_ptr) = self.generate_subscript_expression_inner(root)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 63 | | MBasicType::new_with_base_mut(ty), [INFO] [stdout] 64 | | res_ptr.into_pointer_value(), [INFO] [stdout] 65 | | )) [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/codegen/expression/unary.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | let (ty, val) = self.generate_expression(argument)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | Ok(match get_text(op, self.file.content) { [INFO] [stdout] | ________^ [INFO] [stdout] 18 | | "+" => (ty, val), [INFO] [stdout] 19 | | "-" => ( [INFO] [stdout] 20 | | ty.clone(), [INFO] [stdout] ... | [INFO] [stdout] 51 | | op => unreachable!("unknown unary expr {op}"), [INFO] [stdout] 52 | | }) [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/codegen/function.rs:75:44 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|(param_type, name)| (name, MBasicType::new_with_base_mut(param_type))) [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: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sysy` (lib) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "5ce23ae3a0b864621f19ebc6c68d0379f63e3993c0dde01f5666784e6f8208e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce23ae3a0b864621f19ebc6c68d0379f63e3993c0dde01f5666784e6f8208e0", kill_on_drop: false }` [INFO] [stdout] 5ce23ae3a0b864621f19ebc6c68d0379f63e3993c0dde01f5666784e6f8208e0