[INFO] cloning repository https://github.com/ThePerkinrex/TestLang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ThePerkinrex/TestLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2FTestLang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThePerkinrex%2FTestLang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 738e07cfec8e821ce0546e0ad68b0c1a1e1ba4b7 [INFO] checking ThePerkinrex/TestLang/738e07cfec8e821ce0546e0ad68b0c1a1e1ba4b7 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%2FThePerkinrex%2FTestLang" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThePerkinrex/TestLang 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/ThePerkinrex/TestLang [INFO] finished tweaking git repo https://github.com/ThePerkinrex/TestLang [INFO] tweaked toml for git repo https://github.com/ThePerkinrex/TestLang written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThePerkinrex/TestLang 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 2fb27ef4328406ef8cf83629b585a2db92bca5e55d7a44c0e9c9ead459ba5405 [INFO] running `Command { std: "docker" "start" "-a" "2fb27ef4328406ef8cf83629b585a2db92bca5e55d7a44c0e9c9ead459ba5405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fb27ef4328406ef8cf83629b585a2db92bca5e55d7a44c0e9c9ead459ba5405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb27ef4328406ef8cf83629b585a2db92bca5e55d7a44c0e9c9ead459ba5405", kill_on_drop: false }` [INFO] [stdout] 2fb27ef4328406ef8cf83629b585a2db92bca5e55d7a44c0e9c9ead459ba5405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 48d1f2fa9bfbeb301ea20876ca38166fd17ee1f06214ef9c87d70876039729af [INFO] running `Command { std: "docker" "start" "-a" "48d1f2fa9bfbeb301ea20876ca38166fd17ee1f06214ef9c87d70876039729af", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking lang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::types::Trait` [INFO] [stdout] --> src/ast/traits.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::types::Trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/ast/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::Trait` [INFO] [stdout] --> src/ast/traits.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use super::types::Trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/ast/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/backend/js.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/backend/js.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_db` [INFO] [stdout] --> src/backend/js.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/backend/js.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imp` is never read [INFO] [stdout] --> src/ast/types.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 69 | data: TypeData, [INFO] [stdout] 70 | imp: Impl, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Err` is never constructed [INFO] [stdout] --> src/ast/types.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum TypeData { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 123 | Err, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `methods` is never read [INFO] [stdout] --> src/ast/types.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Impl { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 212 | methods: HashMap)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Define`, `DefineMut`, and `None` are never constructed [INFO] [stdout] --> src/ast/expr.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Define(Ident, Box>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | DefineMut(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | CompilerIntrinsic(Intrinsic), [INFO] [stdout] 34 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Never` is never constructed [INFO] [stdout] --> src/ast/value.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/file_provider.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FileReader { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn name(&self) -> Option<&Path>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/scope.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 50 | impl Scope { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn` and `info` are never used [INFO] [stdout] --> src/span/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub trait SpanError { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 185 | fn error>(&self, info: T, r: R) -> Error; [INFO] [stdout] 186 | fn warn(&self, info: T) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | fn info(&self, info: T) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/options.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CodegenOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 33 | pub lib: bool, [INFO] [stdout] 34 | pub out: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/types.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn default_type(self) -> Type { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | imp: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/checker.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | .and_then(|_| match type_db.add(item.as_ref().get_type().unwrap()) { [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/parser.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 583 | let args = if let Some(t) = tokens.get(*i) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 589 | let mut res = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let typ = if is_method && first && name.as_ref() == "self" { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 629 | Ok((v, _)) => v.clone().map(v.as_ref().type_data().clone()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let ret_type = if let Some(t) = tokens.get(*i) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 652 | let ty = match parse_type(&tokens, *i) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 653 | Ok((v, off)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | let body = match match value::parse_block(&tokens, *i, intrinsics) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 674 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 677 | Some((v, off)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Ok(Span::join( [INFO] [stdout] | ________^ [INFO] [stdout] 693 | | &[ident.clone(), body.clone().map(String::new())], [INFO] [stdout] 694 | | ast::Item::Fn(ident, args, ret_type, body), [INFO] [stdout] 695 | | )) [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/parser.rs:1065:6 [INFO] [stdout] | [INFO] [stdout] 885 | let mut central = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1065 | Ok((central.unwrap(), offset)) [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/parser.rs:883:14 [INFO] [stdout] | [INFO] [stdout] 880 | let mut neg = RecursiveFn::new(|x: Span| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 883 | Span::new(ast::Expr::Neg(Box::new(x)), loc) [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/parser.rs:1052:8 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | x.clone().join_with( [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/parser.rs:1053:10 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | x.clone().join_with( [INFO] [stdout] 1053 | &i_unwrapped.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] [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/parser.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1054 | ast::Expr::Call(Box::new(x), i_unwrapped), [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/scope.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn with_parent(parent: Scope) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { [INFO] [stdout] 60 | parent: Some(Box::new(parent)), [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/scope.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 58 | fn with_parent(parent: Scope) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | variables: 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/scope.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Scope { [INFO] [stdout] 140 | parent: self.parent.map(|p| Box::new(p.map(f))), [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/scope.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | variables: self [INFO] [stdout] | ________________________^ [INFO] [stdout] 142 | | .variables [INFO] [stdout] 143 | | .drain() [INFO] [stdout] 144 | | .map(|(k, (typ, v))| (k, (typ, f(v)))) [INFO] [stdout] 145 | | .collect(), [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/scope.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | parent: self.parent.map(|p| Box::new(p.map(f))), [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/scope.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | .map(|(k, (typ, v))| (k, (typ, f(v)))) [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/scope.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_parent(parent: GenericScope) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Self { [INFO] [stdout] 182 | parent: Some(Box::new(parent)), [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/scope.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_parent(parent: GenericScope) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | variables: 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/scope.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn push(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | Self(self.0.push()) [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/scope.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn pop(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | Self(self.0.pop()) [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/scope.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn add(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | self.0.add(data.clone(), data.default_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/scope.rs:353:28 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn add(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | self.0.add(data.clone(), data.default_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/scope.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn add_root(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | self.0.get_mut_root().add(data.clone(), data.default_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/scope.rs:357:43 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn add_root(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | self.0.get_mut_root().add(data.clone(), data.default_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/scope.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn set(&mut self, data: ast::TypeData, t: ast::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] 361 | // println!("Setting: {}", data); [INFO] [stdout] 362 | match self.0.set(&data, t.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] [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/span/mod.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn join(other: &[Span], line: U) -> Span [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | other[0].clone().join_with(&other[1..], line) [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] warning: panic message is not a string literal [INFO] [stdout] --> src/span/location.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / format!( [INFO] [stdout] 56 | | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | | file.into().display(), [INFO] [stdout] 58 | | s, [INFO] [stdout] 59 | | e [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ [INFO] [stdout] 56 | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] ... [INFO] [stdout] 59 | e [INFO] [stdout] 60 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lang` (bin "lang" test) due to 25 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/backend/js.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_db` [INFO] [stdout] --> src/backend/js.rs:8:46 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> src/backend/js.rs:8:68 [INFO] [stdout] | [INFO] [stdout] 8 | fn gen_code(&self, items: &[Span], type_db: &mut TypeDB, options: CodegenOptions) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `imp` is never read [INFO] [stdout] --> src/ast/types.rs:70:2 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 69 | data: TypeData, [INFO] [stdout] 70 | imp: Impl, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Err` is never constructed [INFO] [stdout] --> src/ast/types.rs:123:2 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum TypeData { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 123 | Err, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `methods` is never read [INFO] [stdout] --> src/ast/types.rs:212:2 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct Impl { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 212 | methods: HashMap)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Impl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Define`, `DefineMut`, and `None` are never constructed [INFO] [stdout] --> src/ast/expr.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 31 | Define(Ident, Box>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | DefineMut(Ident, Box>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | CompilerIntrinsic(Intrinsic), [INFO] [stdout] 34 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Never` is never constructed [INFO] [stdout] --> src/ast/value.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Value { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/file_provider.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait FileReader { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn name(&self) -> Option<&Path>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/scope.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 50 | impl Scope { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warn` and `info` are never used [INFO] [stdout] --> src/span/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub trait SpanError { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 185 | fn error>(&self, info: T, r: R) -> Error; [INFO] [stdout] 186 | fn warn(&self, info: T) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | fn info(&self, info: T) -> Error; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/options.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct CodegenOptions { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 33 | pub lib: bool, [INFO] [stdout] 34 | pub out: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/types.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn default_type(self) -> Type { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | imp: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = 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/checker.rs:267:36 [INFO] [stdout] | [INFO] [stdout] 267 | .and_then(|_| match type_db.add(item.as_ref().get_type().unwrap()) { [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/parser.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 583 | let args = if let Some(t) = tokens.get(*i) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 589 | let mut res = Vec::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | let typ = if is_method && first && name.as_ref() == "self" { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 629 | Ok((v, _)) => v.clone().map(v.as_ref().type_data().clone()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | let ret_type = if let Some(t) = tokens.get(*i) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 652 | let ty = match parse_type(&tokens, *i) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 653 | Ok((v, off)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 673 | let body = match match value::parse_block(&tokens, *i, intrinsics) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 674 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 677 | Some((v, off)) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 692 | Ok(Span::join( [INFO] [stdout] | ________^ [INFO] [stdout] 693 | | &[ident.clone(), body.clone().map(String::new())], [INFO] [stdout] 694 | | ast::Item::Fn(ident, args, ret_type, body), [INFO] [stdout] 695 | | )) [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/parser.rs:1065:6 [INFO] [stdout] | [INFO] [stdout] 885 | let mut central = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1065 | Ok((central.unwrap(), offset)) [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/parser.rs:883:14 [INFO] [stdout] | [INFO] [stdout] 880 | let mut neg = RecursiveFn::new(|x: Span| { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 883 | Span::new(ast::Expr::Neg(Box::new(x)), loc) [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/parser.rs:1052:8 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | x.clone().join_with( [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/parser.rs:1053:10 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1052 | x.clone().join_with( [INFO] [stdout] 1053 | &i_unwrapped.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] [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/parser.rs:1054:9 [INFO] [stdout] | [INFO] [stdout] 1044 | let mut i_unwrapped = Vec::with_capacity(i.len()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1051 | central = central.map(|x| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1054 | ast::Expr::Call(Box::new(x), i_unwrapped), [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/scope.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | fn with_parent(parent: Scope) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | Self { [INFO] [stdout] 60 | parent: Some(Box::new(parent)), [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/scope.rs:61:15 [INFO] [stdout] | [INFO] [stdout] 58 | fn with_parent(parent: Scope) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | variables: 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/scope.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Scope { [INFO] [stdout] 140 | parent: self.parent.map(|p| Box::new(p.map(f))), [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/scope.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn map U>(mut self, f: &F) -> Scope { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | variables: self [INFO] [stdout] | ________________________^ [INFO] [stdout] 142 | | .variables [INFO] [stdout] 143 | | .drain() [INFO] [stdout] 144 | | .map(|(k, (typ, v))| (k, (typ, f(v)))) [INFO] [stdout] 145 | | .collect(), [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/scope.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | parent: self.parent.map(|p| Box::new(p.map(f))), [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/scope.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | .map(|(k, (typ, v))| (k, (typ, f(v)))) [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/scope.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_parent(parent: GenericScope) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Self { [INFO] [stdout] 182 | parent: Some(Box::new(parent)), [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/scope.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_parent(parent: GenericScope) -> Self { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | variables: 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/scope.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 308 | pub fn push(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 309 | Self(self.0.push()) [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/scope.rs:313:8 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn pop(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 313 | Self(self.0.pop()) [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/scope.rs:353:14 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn add(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | self.0.add(data.clone(), data.default_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/scope.rs:353:28 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn add(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 353 | self.0.add(data.clone(), data.default_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/scope.rs:357:29 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn add_root(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | self.0.get_mut_root().add(data.clone(), data.default_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/scope.rs:357:43 [INFO] [stdout] | [INFO] [stdout] 356 | pub fn add_root(&mut self, data: ast::TypeData) -> Result<(), &ast::Type> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 357 | self.0.get_mut_root().add(data.clone(), data.default_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/scope.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 360 | pub fn set(&mut self, data: ast::TypeData, t: ast::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] 361 | // println!("Setting: {}", data); [INFO] [stdout] 362 | match self.0.set(&data, t.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] [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/span/mod.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn join(other: &[Span], line: U) -> Span [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | other[0].clone().join_with(&other[1..], line) [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] warning: panic message is not a string literal [INFO] [stdout] --> src/span/location.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / format!( [INFO] [stdout] 56 | | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] 57 | | file.into().display(), [INFO] [stdout] 58 | | s, [INFO] [stdout] 59 | | e [INFO] [stdout] 60 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 ~ [INFO] [stdout] 56 | "[{}] Location start ({}) isn't smaller than location end ({})", [INFO] [stdout] ... [INFO] [stdout] 59 | e [INFO] [stdout] 60 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lang` (bin "lang") due to 25 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "48d1f2fa9bfbeb301ea20876ca38166fd17ee1f06214ef9c87d70876039729af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d1f2fa9bfbeb301ea20876ca38166fd17ee1f06214ef9c87d70876039729af", kill_on_drop: false }` [INFO] [stdout] 48d1f2fa9bfbeb301ea20876ca38166fd17ee1f06214ef9c87d70876039729af