[INFO] cloning repository https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eebb8c856f69aabade6ff0ad99095d0dd967dc3a [INFO] checking SE-691-Graphing-Calculator/esoteric_nonsense/eebb8c856f69aabade6ff0ad99095d0dd967dc3a 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%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense 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/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] finished tweaking git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] tweaked toml for git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense 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: file `/workspace/builds/worker-3-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `calc` [INFO] [stderr] * `bin` target `eq_solve` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 44edeaaa98431f27ba38827e6894d35ca2cca960d18d6cdbdd2d4a4c0045a4ba [INFO] running `Command { std: "docker" "start" "-a" "44edeaaa98431f27ba38827e6894d35ca2cca960d18d6cdbdd2d4a4c0045a4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44edeaaa98431f27ba38827e6894d35ca2cca960d18d6cdbdd2d4a4c0045a4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44edeaaa98431f27ba38827e6894d35ca2cca960d18d6cdbdd2d4a4c0045a4ba", kill_on_drop: false }` [INFO] [stdout] 44edeaaa98431f27ba38827e6894d35ca2cca960d18d6cdbdd2d4a4c0045a4ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 42430e047eef75455d3c62a618d6d8c841c05800d597b9a43f8a8d954897f5b3 [INFO] running `Command { std: "docker" "start" "-a" "42430e047eef75455d3c62a618d6d8c841c05800d597b9a43f8a8d954897f5b3", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `calc` [INFO] [stderr] * `bin` target `eq_solve` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking eq_solve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut is_float_b: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut is_float_b: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:163:85 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:163:99 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WholeNumber` is never constructed [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `to_string_ast` is never used [INFO] [stdout] --> src/s_y.rs:622:12 [INFO] [stdout] | [INFO] [stdout] 496 | impl<'a> ShuntingYard<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn to_string_ast(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lower_upper_decomposition` is never used [INFO] [stdout] --> src/matrix.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn lower_upper_decomposition(matrix: &Vec>) -> (Vec>, Vec>, Vec>, Vec>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pivotize_matrix` is never used [INFO] [stdout] --> src/matrix.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn pivotize_matrix(matrix: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_matrix` is never used [INFO] [stdout] --> src/matrix.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn identity_matrix(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_square` is never used [INFO] [stdout] --> src/matrix.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn is_square(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_rref_compat` is never used [INFO] [stdout] --> src/matrix.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn is_rref_compat(matrix: &Vec>) -> bool { [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/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | let output = CString::new(result.to_string()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | output.unwrap().into_raw() [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: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:163:85 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:163:99 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WholeNumber` is never constructed [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string_ast` is never used [INFO] [stdout] --> src/s_y.rs:622:12 [INFO] [stdout] | [INFO] [stdout] 496 | impl<'a> ShuntingYard<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 622 | pub fn to_string_ast(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lower_upper_decomposition` is never used [INFO] [stdout] --> src/matrix.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn lower_upper_decomposition(matrix: &Vec>) -> (Vec>, Vec>, Vec>, Vec>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pivotize_matrix` is never used [INFO] [stdout] --> src/matrix.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn pivotize_matrix(matrix: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identity_matrix` is never used [INFO] [stdout] --> src/matrix.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn identity_matrix(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_square` is never used [INFO] [stdout] --> src/matrix.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | pub fn is_square(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_rref_compat` is never used [INFO] [stdout] --> src/matrix.rs:502:8 [INFO] [stdout] | [INFO] [stdout] 502 | pub fn is_rref_compat(matrix: &Vec>) -> bool { [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/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | let output = CString::new(result.to_string()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | output.unwrap().into_raw() [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] [stderr] error: could not compile `eq_solve` (lib) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eq_solve` (bin "eq_solve") due to 2 previous errors; 14 warnings emitted [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut is_float_b: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut is_float_a: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/matrix.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut is_float_b: bool; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:163:85 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:163:99 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WholeNumber` is never constructed [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | let output = CString::new(result.to_string()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | output.unwrap().into_raw() [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: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:163:85 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:163:99 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WholeNumber` is never constructed [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Token { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | let output = CString::new(result.to_string()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | output.unwrap().into_raw() [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] [stderr] error: could not compile `eq_solve` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `eq_solve` (bin "eq_solve" test) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "42430e047eef75455d3c62a618d6d8c841c05800d597b9a43f8a8d954897f5b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42430e047eef75455d3c62a618d6d8c841c05800d597b9a43f8a8d954897f5b3", kill_on_drop: false }` [INFO] [stdout] 42430e047eef75455d3c62a618d6d8c841c05800d597b9a43f8a8d954897f5b3