[INFO] fetching crate rsnltk 0.1.3... [INFO] checking rsnltk-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rsnltk 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rsnltk 0.1.3 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 crates.io crate rsnltk 0.1.3 [INFO] finished tweaking crates.io crate rsnltk 0.1.3 [INFO] tweaked toml for crates.io crate rsnltk 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate rsnltk 0.1.3 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-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] ec7d9bd02bb2b49fc7df43b18b9174031ad811214c738b4938029d24e39e9132 [INFO] running `Command { std: "docker" "start" "-a" "ec7d9bd02bb2b49fc7df43b18b9174031ad811214c738b4938029d24e39e9132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec7d9bd02bb2b49fc7df43b18b9174031ad811214c738b4938029d24e39e9132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7d9bd02bb2b49fc7df43b18b9174031ad811214c738b4938029d24e39e9132", kill_on_drop: false }` [INFO] [stdout] ec7d9bd02bb2b49fc7df43b18b9174031ad811214c738b4938029d24e39e9132 [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] 36e8d1b44c7c1c11e9be79672cdbca297c96c0a89650f321f170014d345ec7f8 [INFO] running `Command { std: "docker" "start" "-a" "36e8d1b44c7c1c11e9be79672cdbca297c96c0a89650f321f170014d345ec7f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling pyo3-build-config v0.15.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking word2vec v0.3.3 [INFO] [stderr] Checking yn v0.1.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking whatlang v0.12.0 [INFO] [stderr] Compiling pyo3 v0.15.1 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.15.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Compiling pyo3-macros v0.15.1 [INFO] [stderr] Checking natural v0.4.0 [INFO] [stderr] Checking rsnltk v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/native/word2vec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/native/token.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::native::word2vec::*` [INFO] [stdout] --> src/native/token.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::native::word2vec::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/native/segmentation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/native/segmentation.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | use std::fs::{File, read_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/native/segmentation.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/native/segmentation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_dir` [INFO] [stdout] --> src/native/segmentation.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | use std::fs::{File, read_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/native/segmentation.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 256 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srtr` [INFO] [stdout] --> src/api/natural.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let srtr="My dog has fleas."; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srtr` [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/native/token.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut s="hello world!"; [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/native/segmentation.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tot_fmm=forward.len(); [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/native/segmentation.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut tot_bmm=backward.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/native/word2vec.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/native/token.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/native/summarizer.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | d if d < 0 => vec1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` 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/native/segmentation.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn _read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | where P: AsRef, { [INFO] [stdout] 261 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok(io::BufReader::new(file).lines()) [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] = 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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rsnltk` (lib test) due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/native/segmentation.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tot_fmm=forward.len(); [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/native/segmentation.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut tot_bmm=backward.len(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/native/word2vec.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn main(){ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/native/token.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/native/summarizer.rs:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | d if d < 0 => vec1, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` 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/native/segmentation.rs:262:8 [INFO] [stdout] | [INFO] [stdout] 259 | pub fn _read_lines

(filename: P) -> io::Result>> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 260 | where P: AsRef, { [INFO] [stdout] 261 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Ok(io::BufReader::new(file).lines()) [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] = 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] [stderr] error: could not compile `rsnltk` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36e8d1b44c7c1c11e9be79672cdbca297c96c0a89650f321f170014d345ec7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e8d1b44c7c1c11e9be79672cdbca297c96c0a89650f321f170014d345ec7f8", kill_on_drop: false }` [INFO] [stdout] 36e8d1b44c7c1c11e9be79672cdbca297c96c0a89650f321f170014d345ec7f8