[INFO] cloning repository https://github.com/MAranich/function_calculator_rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MAranich/function_calculator_rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAranich%2Ffunction_calculator_rusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMAranich%2Ffunction_calculator_rusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04fb70d1de7547ea5086727a16835b3515209f59 [INFO] checking MAranich/function_calculator_rusty/04fb70d1de7547ea5086727a16835b3515209f59 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%2FMAranich%2Ffunction_calculator_rusty" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MAranich/function_calculator_rusty 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/MAranich/function_calculator_rusty [INFO] finished tweaking git repo https://github.com/MAranich/function_calculator_rusty [INFO] tweaked toml for git repo https://github.com/MAranich/function_calculator_rusty written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MAranich/function_calculator_rusty already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 59e3bb0aafd1088e65949dcadcb7d2c0e95bfca018414b9ec75bbaa0838fd69e [INFO] running `Command { std: "docker" "start" "-a" "59e3bb0aafd1088e65949dcadcb7d2c0e95bfca018414b9ec75bbaa0838fd69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59e3bb0aafd1088e65949dcadcb7d2c0e95bfca018414b9ec75bbaa0838fd69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e3bb0aafd1088e65949dcadcb7d2c0e95bfca018414b9ec75bbaa0838fd69e", kill_on_drop: false }` [INFO] [stdout] 59e3bb0aafd1088e65949dcadcb7d2c0e95bfca018414b9ec75bbaa0838fd69e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b9a1dd11154a7588fbb3ecec7a5d147ed6bdc5dc7daf6470e1e44ee74490dbeb [INFO] running `Command { std: "docker" "start" "-a" "b9a1dd11154a7588fbb3ecec7a5d147ed6bdc5dc7daf6470e1e44ee74490dbeb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking function_calculator_rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/main.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `integer_sqrt::IntegerSquareRoot` [INFO] [stdout] --> src/datastructures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use integer_sqrt::IntegerSquareRoot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `integer_sqrt::IntegerSquareRoot` [INFO] [stdout] --> src/datastructures.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use integer_sqrt::IntegerSquareRoot; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/datastructures.rs:1306:17 [INFO] [stdout] | [INFO] [stdout] 1304 | break 'clos simplified; [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 1305 | [INFO] [stdout] 1306 | / match simplified { [INFO] [stdout] 1307 | | Ok(ast) => ast.join_terms(), [INFO] [stdout] 1308 | | Err(e) => Err(e), [INFO] [stdout] 1309 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/datastructures.rs:1306:17 [INFO] [stdout] | [INFO] [stdout] 1304 | break 'clos simplified; [INFO] [stdout] | ---------------------- any code following this expression is unreachable [INFO] [stdout] 1305 | [INFO] [stdout] 1306 | / match simplified { [INFO] [stdout] 1307 | | Ok(ast) => ast.join_terms(), [INFO] [stdout] 1308 | | Err(e) => Err(e), [INFO] [stdout] 1309 | | } [INFO] [stdout] | |_________________^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sub_to_neg` is never used [INFO] [stdout] --> src/datastructures.rs:1454:8 [INFO] [stdout] | [INFO] [stdout] 820 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | fn sub_to_neg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `WANT_TO_DERIVE` should have a snake case name [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let WANT_TO_DERIVE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `want_to_derive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PRINT_DGB_STATEMENTS` should have a snake case name [INFO] [stdout] --> src/datastructures.rs:1044:13 [INFO] [stdout] | [INFO] [stdout] 1044 | let PRINT_DGB_STATEMENTS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_dgb_statements` [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/datastructures.rs:1371:32 [INFO] [stdout] | [INFO] [stdout] 1371 | .position(|ch| ast.borrow().equal(&ch.borrow())) [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/datastructures.rs:1371:52 [INFO] [stdout] | [INFO] [stdout] 1371 | .position(|ch| ast.borrow().equal(&ch.borrow())) [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/processing.rs:437:48 [INFO] [stdout] | [INFO] [stdout] 437 | .for_each(|ch| derive_substituter(&mut ch.borrow_mut())); [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sub_to_neg` is never used [INFO] [stdout] --> src/datastructures.rs:1454:8 [INFO] [stdout] | [INFO] [stdout] 820 | impl AST { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | fn sub_to_neg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `function_calculator_rusty` (bin "function_calculator_rusty" test) due to 4 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `WANT_TO_DERIVE` should have a snake case name [INFO] [stdout] --> src/main.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | let WANT_TO_DERIVE: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `want_to_derive` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PRINT_DGB_STATEMENTS` should have a snake case name [INFO] [stdout] --> src/datastructures.rs:1044:13 [INFO] [stdout] | [INFO] [stdout] 1044 | let PRINT_DGB_STATEMENTS: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_dgb_statements` [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/datastructures.rs:1371:32 [INFO] [stdout] | [INFO] [stdout] 1371 | .position(|ch| ast.borrow().equal(&ch.borrow())) [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/datastructures.rs:1371:52 [INFO] [stdout] | [INFO] [stdout] 1371 | .position(|ch| ast.borrow().equal(&ch.borrow())) [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/processing.rs:437:48 [INFO] [stdout] | [INFO] [stdout] 437 | .for_each(|ch| derive_substituter(&mut ch.borrow_mut())); [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `function_calculator_rusty` (bin "function_calculator_rusty") due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b9a1dd11154a7588fbb3ecec7a5d147ed6bdc5dc7daf6470e1e44ee74490dbeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a1dd11154a7588fbb3ecec7a5d147ed6bdc5dc7daf6470e1e44ee74490dbeb", kill_on_drop: false }` [INFO] [stdout] b9a1dd11154a7588fbb3ecec7a5d147ed6bdc5dc7daf6470e1e44ee74490dbeb