[INFO] cloning repository https://github.com/danielkravets/libpealimrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielkravets/libpealimrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkravets%2Flibpealimrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielkravets%2Flibpealimrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 27c0c784879e169f6d74fc8238370c90d18e23de [INFO] checking danielkravets/libpealimrs/27c0c784879e169f6d74fc8238370c90d18e23de 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%2Fdanielkravets%2Flibpealimrs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielkravets/libpealimrs 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/danielkravets/libpealimrs [INFO] finished tweaking git repo https://github.com/danielkravets/libpealimrs [INFO] tweaked toml for git repo https://github.com/danielkravets/libpealimrs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danielkravets/libpealimrs 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 080c2b204a7746b1215340f972cd436e2596c57f04656dcd1c6180411aef7cbf [INFO] running `Command { std: "docker" "start" "-a" "080c2b204a7746b1215340f972cd436e2596c57f04656dcd1c6180411aef7cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080c2b204a7746b1215340f972cd436e2596c57f04656dcd1c6180411aef7cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080c2b204a7746b1215340f972cd436e2596c57f04656dcd1c6180411aef7cbf", kill_on_drop: false }` [INFO] [stdout] 080c2b204a7746b1215340f972cd436e2596c57f04656dcd1c6180411aef7cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8abcc46ff0ae915850b11e8c77aaf282c16ed94a044cff060d8a533aa8d51d9f [INFO] running `Command { std: "docker" "start" "-a" "8abcc46ff0ae915850b11e8c77aaf282c16ed94a044cff060d8a533aa8d51d9f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking quote v1.0.36 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking syn v2.0.60 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking multimap v0.10.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling prost-derive v0.12.5 [INFO] [stderr] Checking prost v0.12.4 [INFO] [stderr] Checking prost-types v0.12.4 [INFO] [stderr] Checking prost-build v0.12.4 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking libpealimrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/proto.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/proto.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/proto.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message` [INFO] [stdout] --> src/proto.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use prost::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_string` is never used [INFO] [stdout] --> src/prefix_tree.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Trie { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn find_string(&self, prefix: String, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_bytes` is never used [INFO] [stdout] --> src/proto.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn read_from_bytes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/proto/build.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<()> { [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/word_index.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | word.root.clone(), HashSet::from([word.url_id.clone()]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_index.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | word.word_normalized.clone(), HashSet::from([word.url_id.clone()]) //vec! {word.url_id.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libpealimrs` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `find_string` is never used [INFO] [stdout] --> src/prefix_tree.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 25 | impl Trie { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub(crate) fn find_string(&self, prefix: String, limit: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_from_bytes` is never used [INFO] [stdout] --> src/proto.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn read_from_bytes() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/proto/build.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> Result<()> { [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/word_index.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | word.root.clone(), HashSet::from([word.url_id.clone()]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/word_index.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | word.word_normalized.clone(), HashSet::from([word.url_id.clone()]) //vec! {word.url_id.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libpealimrs` (lib test) due to 3 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8abcc46ff0ae915850b11e8c77aaf282c16ed94a044cff060d8a533aa8d51d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abcc46ff0ae915850b11e8c77aaf282c16ed94a044cff060d8a533aa8d51d9f", kill_on_drop: false }` [INFO] [stdout] 8abcc46ff0ae915850b11e8c77aaf282c16ed94a044cff060d8a533aa8d51d9f