[INFO] cloning repository https://github.com/bool-rus/math-ast [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bool-rus/math-ast" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbool-rus%2Fmath-ast", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbool-rus%2Fmath-ast'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b47521bb9d45247ef7a56b7646c0b5baa6a29f0b [INFO] checking bool-rus/math-ast/b47521bb9d45247ef7a56b7646c0b5baa6a29f0b 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%2Fbool-rus%2Fmath-ast" "/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/bool-rus/math-ast 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/bool-rus/math-ast [INFO] finished tweaking git repo https://github.com/bool-rus/math-ast [INFO] tweaked toml for git repo https://github.com/bool-rus/math-ast written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bool-rus/math-ast 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 1fabfedafa00666f1e0fcecaf8008acf660fd520ded18d1965a9453015a2a38f [INFO] running `Command { std: "docker" "start" "-a" "1fabfedafa00666f1e0fcecaf8008acf660fd520ded18d1965a9453015a2a38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fabfedafa00666f1e0fcecaf8008acf660fd520ded18d1965a9453015a2a38f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fabfedafa00666f1e0fcecaf8008acf660fd520ded18d1965a9453015a2a38f", kill_on_drop: false }` [INFO] [stdout] 1fabfedafa00666f1e0fcecaf8008acf660fd520ded18d1965a9453015a2a38f [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] 20600a58ec21295ab5f893ac2683d2670441bae4bf1544ed79b1e08805b1fad7 [INFO] running `Command { std: "docker" "start" "-a" "20600a58ec21295ab5f893ac2683d2670441bae4bf1544ed79b1e08805b1fad7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking math-ast v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser/lexem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/lexem.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/parser/lexem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Num` [INFO] [stdout] --> src/parser/lexem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::num::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Integer` [INFO] [stdout] --> src/parser/lexem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::faces::Function` [INFO] [stdout] --> src/parser/tree.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | use parser::faces::Function; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::builder::BuildResult` [INFO] [stdout] --> src/parser/builder.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use parser::builder::BuildResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> src/parser/builder.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/parser/builder.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser/faces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/faces.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/parser/lexem.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Formatter` [INFO] [stdout] --> src/parser/lexem.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::{Debug, Formatter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/parser/lexem.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Num` [INFO] [stdout] --> src/parser/lexem.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::num::Num; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Integer` [INFO] [stdout] --> src/parser/lexem.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::num::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/lexem.rs:121:52 [INFO] [stdout] | [INFO] [stdout] 121 | '0' | '.' | '1'...'9' | 'a'...'z' | 'A'...'Z' => State::Letter, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/tree.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parser/faces.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::num::Float` [INFO] [stdout] --> src/parser/faces.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::num::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static Fn(Vec) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static dyn Fn(Vec) -> Option; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/tree.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Operation(Box>, Vec>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static Fn(Vec) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | type RawFn = &'static dyn Fn(Vec) -> Option; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | impl Into>> for Operand { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/builder.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn into(self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/lexem.rs:51:64 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn make_fn(ch: char) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn make_fn(ch: char) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/builder.rs:54:71 [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/faces.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(name:S, func: RawFn) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/parser/lexem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/parser/lexem.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/parser/lexem.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/parser/lexem.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> src/parser/lexem.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sub` [INFO] [stdout] --> src/parser/lexem.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mul` [INFO] [stdout] --> src/parser/lexem.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Div` [INFO] [stdout] --> src/parser/lexem.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::{Add, Sub, Mul, Div}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Ast` is never used [INFO] [stdout] --> src/parser/tree.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Ast { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ast` 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: method `calculate` is never used [INFO] [stdout] --> src/parser/tree.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Ast where T: Sized + Clone { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] 18 | pub fn calculate(&self, params: &HashMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BuilderErr( [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `BuilderErr` 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/builder.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Complete(BB), [INFO] [stdout] | -------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Builder` has a derived impl for the trait `Debug`, but this is 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] 37 | Complete(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `sin`, `cos`, `functions`, `simple_err`, `ast`, and `ast_inner` are never used [INFO] [stdout] --> src/parser/builder.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Builder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 43 | fn sin(args: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn cos(args: Vec) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn functions() -> HashMap>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn simple_err(s: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn ast(self) -> Result, BuilderErr> where T: Float { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn ast_inner(self) -> Result, BuilderErr> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstFunction` is never constructed [INFO] [stdout] --> src/parser/builder.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct AstFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/builder.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl AstFunction where T: 'static + Float + Sized + Debug { [INFO] [stdout] | --------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 171 | fn new(desc: Builder, value: Builder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `args_count`, and `call` are never used [INFO] [stdout] --> src/parser/faces.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Function : Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 8 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn args_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn call(&self, args: Vec) -> 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/parser/builder.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | fn simple_err(s: S) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | BuilderErr(s.to_string(), None).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] = 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/builder.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | fn make_err(self, s: S) -> Result { [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] 65 | BuilderErr(s.to_string(), Some(self)).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] 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/builder.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ast(self) -> Result, BuilderErr> where T: Float { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | Builder::Empty => return Self::simple_err("expression not complete"), [INFO] [stdout] 70 | | Builder::Simple(Lexem::Letter(inner)) => match T::from_str_radix(&inner, 10) { [INFO] [stdout] 71 | | Ok(num) => Ast::Constant(num), [INFO] [stdout] ... | [INFO] [stdout] 78 | | Builder::Complete(inner) => inner.ast_inner()?, [INFO] [stdout] 79 | | }) [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/builder.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn process(self, lex: Lexem) -> BuildResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | #[cfg(test)] println!("lex: {:?}, b: {:?}", lex, self); [INFO] [stdout] 110 | / match (self, lex) { [INFO] [stdout] 111 | | (Builder::Empty, lex @ Lexem::Letter(_)) => Builder::Simple(lex), [INFO] [stdout] 112 | | (Builder::Empty, Lexem::Open) => Builder::Body(Builder::Empty.into()), [INFO] [stdout] 113 | | (a @ Builder::Complete(..), Lexem::Op(op)) | [INFO] [stdout] ... | [INFO] [stdout] 144 | | (b, lex) => return b.make_err(format!("Unexpected lexem {:?}", lex)), [INFO] [stdout] 145 | | }.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] 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/builder.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 147 | fn fun_delegate_inner(name: String, mut v: Vec, lex: Lexem) -> BuildResult { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let inner = v.pop().unwrap().process(lex)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | v.push(inner); [INFO] [stdout] 150 | Ok(Builder::Fun(name, 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] | 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/parser/builder.rs:158:64 [INFO] [stdout] | [INFO] [stdout] 158 | parse(s).into_iter().fold(Ok(Builder::new()), |b, lex| b?.process(lex)) [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 6 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/builder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct BuilderErr( [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 12 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `BuilderErr` 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: struct `AstFunction` is never constructed [INFO] [stdout] --> src/parser/builder.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | struct AstFunction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/builder.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl AstFunction where T: 'static + Float + Sized + Debug { [INFO] [stdout] | --------------------------------------------------------------- associated function in this implementation [INFO] [stdout] 171 | fn new(desc: Builder, value: Builder) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `args_count` are never used [INFO] [stdout] --> src/parser/faces.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Function : Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 8 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | fn args_count(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math-ast` (bin "math-ast") due to 7 previous errors; 29 warnings emitted [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/parser/tree.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn plus(a: Ast, b: Ast) -> Ast { [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] 43 | Ast::Operation(Operand::make_fn::('+'), vec![a, b]) [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/tree.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 46 | fn minus(a: Ast, b: Ast) -> Ast where T: Float { [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] 47 | Ast::Operation(Operand::make_fn::('-'), vec![a, b]) [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/tree.rs:51:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn multiple(a: Ast, b: Ast) -> Ast where T: Float { [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] 51 | Ast::Operation(Operand::make_fn::('*'), vec![a, b]) [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/tree.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn divide(a: Ast, b: Ast) -> Ast where T: Float { [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] 55 | Ast::Operation(Operand::make_fn::('/'), vec![a, b]) [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/builder.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | fn simple_err(s: S) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | BuilderErr(s.to_string(), None).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] 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/builder.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | fn make_err(self, s: S) -> Result { [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] 65 | BuilderErr(s.to_string(), Some(self)).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] 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/builder.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn ast(self) -> Result, BuilderErr> where T: Float { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 69 | | Builder::Empty => return Self::simple_err("expression not complete"), [INFO] [stdout] 70 | | Builder::Simple(Lexem::Letter(inner)) => match T::from_str_radix(&inner, 10) { [INFO] [stdout] 71 | | Ok(num) => Ast::Constant(num), [INFO] [stdout] ... | [INFO] [stdout] 78 | | Builder::Complete(inner) => inner.ast_inner()?, [INFO] [stdout] 79 | | }) [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/builder.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn process(self, lex: Lexem) -> BuildResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | #[cfg(test)] println!("lex: {:?}, b: {:?}", lex, self); [INFO] [stdout] 110 | / match (self, lex) { [INFO] [stdout] 111 | | (Builder::Empty, lex @ Lexem::Letter(_)) => Builder::Simple(lex), [INFO] [stdout] 112 | | (Builder::Empty, Lexem::Open) => Builder::Body(Builder::Empty.into()), [INFO] [stdout] 113 | | (a @ Builder::Complete(..), Lexem::Op(op)) | [INFO] [stdout] ... | [INFO] [stdout] 144 | | (b, lex) => return b.make_err(format!("Unexpected lexem {:?}", lex)), [INFO] [stdout] 145 | | }.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] 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/builder.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 147 | fn fun_delegate_inner(name: String, mut v: Vec, lex: Lexem) -> BuildResult { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let inner = v.pop().unwrap().process(lex)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | v.push(inner); [INFO] [stdout] 150 | Ok(Builder::Fun(name, 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] | 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/parser/builder.rs:158:64 [INFO] [stdout] | [INFO] [stdout] 158 | parse(s).into_iter().fold(Ok(Builder::new()), |b, lex| b?.process(lex)) [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 10 previous errors; 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `math-ast` (bin "math-ast" test) due to 11 previous errors; 30 warnings emitted [INFO] running `Command { std: "docker" "inspect" "20600a58ec21295ab5f893ac2683d2670441bae4bf1544ed79b1e08805b1fad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20600a58ec21295ab5f893ac2683d2670441bae4bf1544ed79b1e08805b1fad7", kill_on_drop: false }` [INFO] [stdout] 20600a58ec21295ab5f893ac2683d2670441bae4bf1544ed79b1e08805b1fad7