[INFO] cloning repository https://github.com/d3lio/fmi-project-static-code-analyser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d3lio/fmi-project-static-code-analyser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3lio%2Ffmi-project-static-code-analyser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd3lio%2Ffmi-project-static-code-analyser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5dae3978439d68622d61d1df62ea67d4b058e724 [INFO] checking d3lio/fmi-project-static-code-analyser/5dae3978439d68622d61d1df62ea67d4b058e724 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%2Fd3lio%2Ffmi-project-static-code-analyser" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/d3lio/fmi-project-static-code-analyser 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/d3lio/fmi-project-static-code-analyser [INFO] finished tweaking git repo https://github.com/d3lio/fmi-project-static-code-analyser [INFO] tweaked toml for git repo https://github.com/d3lio/fmi-project-static-code-analyser written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/d3lio/fmi-project-static-code-analyser already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abc75de8573c326b7734b02090e0db244251fb97359a93a25e849d91ea8da309 [INFO] running `Command { std: "docker" "start" "-a" "abc75de8573c326b7734b02090e0db244251fb97359a93a25e849d91ea8da309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abc75de8573c326b7734b02090e0db244251fb97359a93a25e849d91ea8da309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc75de8573c326b7734b02090e0db244251fb97359a93a25e849d91ea8da309", kill_on_drop: false }` [INFO] [stdout] abc75de8573c326b7734b02090e0db244251fb97359a93a25e849d91ea8da309 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae73c8700336b0c97de604ff6622e3e46d2d2b5ffffb63fd9e51ab06a15f6f3a [INFO] running `Command { std: "docker" "start" "-a" "ae73c8700336b0c97de604ff6622e3e46d2d2b5ffffb63fd9e51ab06a15f6f3a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling memchr v2.1.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking lexpar v0.1.0 [INFO] [stderr] Checking static_analizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/parser/mod.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/parser/mod.rs:173:43 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArguments { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | UsingUndefinedVariable { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | CallingUndefinedFunction { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | UnusedVariable { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `name` are never read [INFO] [stdout] --> src/analyser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 39 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `name` is never read [INFO] [stdout] --> src/analyser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 47 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/analyser.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct StaticAnalyser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 89 | errors: Vec, [INFO] [stdout] 90 | context: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticAnalyser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 | Number(()), [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/analyser.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 96 | let root = Context { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let wrapped = Rc::new(RefCell::new(root)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | context: wrapped.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(iter: LexIter) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let iter = iter.filter(|x| match *x { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | top_level(&mut iter.into()) [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: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | WrongNumberOfArguments { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 12 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, 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: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | UsingUndefinedVariable { [INFO] [stdout] | ---------------------- fields in this variant [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | CallingUndefinedFunction { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 20 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `span` are never read [INFO] [stdout] --> src/analyser.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | UnusedVariable { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 24 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `name` are never read [INFO] [stdout] --> src/analyser.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | Fn { [INFO] [stdout] | -- fields in this variant [INFO] [stdout] 39 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `name` is never read [INFO] [stdout] --> src/analyser.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 47 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/analyser.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct StaticAnalyser { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 89 | errors: Vec, [INFO] [stdout] 90 | context: Rc>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticAnalyser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Number(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ast` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 83 | Number(()), [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/analyser.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 96 | let root = Context { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let wrapped = Rc::new(RefCell::new(root)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | context: wrapped.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse(iter: LexIter) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let iter = iter.filter(|x| match *x { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | top_level(&mut iter.into()) [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: the type `AstNode` does not permit being left uninitialized [INFO] [stdout] --> src/parser/mod.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/parser/ast.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `AstNode` does not permit being left uninitialized [INFO] [stdout] --> src/parser/mod.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { acc.push(::std::mem::uninitialized()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/parser/ast.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub span: Span, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [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/ast.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(span: Span, expr: Ast) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | expr: Box::new(expr), [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/ast.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(span: Span, expr: Ast) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | expr: Box::new(expr), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `static_analizer` (bin "static_analizer" test) due to 4 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `static_analizer` (bin "static_analizer") due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae73c8700336b0c97de604ff6622e3e46d2d2b5ffffb63fd9e51ab06a15f6f3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae73c8700336b0c97de604ff6622e3e46d2d2b5ffffb63fd9e51ab06a15f6f3a", kill_on_drop: false }` [INFO] [stdout] ae73c8700336b0c97de604ff6622e3e46d2d2b5ffffb63fd9e51ab06a15f6f3a