[INFO] cloning repository https://github.com/Stef-Gijsberts/mos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stef-Gijsberts/mos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStef-Gijsberts%2Fmos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStef-Gijsberts%2Fmos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e8a63b675eeb75b65fe6b2e07b9c33a91747309 [INFO] checking Stef-Gijsberts/mos/5e8a63b675eeb75b65fe6b2e07b9c33a91747309 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%2FStef-Gijsberts%2Fmos" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Stef-Gijsberts/mos 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/Stef-Gijsberts/mos [INFO] finished tweaking git repo https://github.com/Stef-Gijsberts/mos [INFO] tweaked toml for git repo https://github.com/Stef-Gijsberts/mos written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Stef-Gijsberts/mos 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7accb8a08445e70893ee957bfc34aeb99dd04d88be2c00da5a7479aeaf140682 [INFO] running `Command { std: "docker" "start" "-a" "7accb8a08445e70893ee957bfc34aeb99dd04d88be2c00da5a7479aeaf140682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7accb8a08445e70893ee957bfc34aeb99dd04d88be2c00da5a7479aeaf140682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7accb8a08445e70893ee957bfc34aeb99dd04d88be2c00da5a7479aeaf140682", kill_on_drop: false }` [INFO] [stdout] 7accb8a08445e70893ee957bfc34aeb99dd04d88be2c00da5a7479aeaf140682 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b67911c0aec586f68be42a05b8b79ba9e92876e7cf25f5af2f671c09a3eea2ff [INFO] running `Command { std: "docker" "start" "-a" "b67911c0aec586f68be42a05b8b79ba9e92876e7cf25f5af2f671c09a3eea2ff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking joinery v2.1.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking brownstone v1.1.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking fd-lock v3.0.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking nom-supreme v0.6.0 [INFO] [stderr] Checking nom_locate v4.0.0 (/opt/rustwide/workdir/vendor/nom_locate) [INFO] [stdout] warning: unused imports: `Copied` and `Enumerate` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | pub use std::iter::{Copied, Enumerate}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeFull` and `Range` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | pub use std::ops::{Range, RangeFrom, RangeFull, RangeTo}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | pub use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CharIndices` and `Chars` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | pub use std::str::{CharIndices, Chars, FromStr}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `String` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:86:31 [INFO] [stdout] | [INFO] [stdout] 86 | pub use std::string::{String, ToString}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::Vec` [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub use std::vec::Vec; [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] --> vendor/nom_locate/src/lib.rs:425:28 [INFO] [stdout] | [INFO] [stdout] 424 | fn from(i: T) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | Self::new_extra(i, X::default()) [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] --> vendor/nom_locate/src/lib.rs:476:15 [INFO] [stdout] | [INFO] [stdout] 471 | predicate: P, [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 476 | match self.split_at_position(predicate) { [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] --> vendor/nom_locate/src/lib.rs:569:31 [INFO] [stdout] | [INFO] [stdout] 568 | fn compare(&self, t: B) -> CompareResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 569 | self.fragment.compare(t.into().fragment) [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] --> vendor/nom_locate/src/lib.rs:574:39 [INFO] [stdout] | [INFO] [stdout] 573 | fn compare_no_case(&self, t: B) -> CompareResult { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 574 | self.fragment.compare_no_case(t.into().fragment) [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] --> vendor/nom_locate/src/lib.rs:634:20 [INFO] [stdout] | [INFO] [stdout] 609 | fn slice(&self, range: R) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 610 | let next_fragment = self.fragment.slice(range); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 621 | let consumed = self.fragment.slice(..consumed_len); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 634 | extra: self.extra.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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> vendor/nom_locate/src/lib.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn position(s: T) -> IResult [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 749 | nom::bytes::complete::take(0usize)(s) [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 6 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nom_locate` (lib) due to 7 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b67911c0aec586f68be42a05b8b79ba9e92876e7cf25f5af2f671c09a3eea2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67911c0aec586f68be42a05b8b79ba9e92876e7cf25f5af2f671c09a3eea2ff", kill_on_drop: false }` [INFO] [stdout] b67911c0aec586f68be42a05b8b79ba9e92876e7cf25f5af2f671c09a3eea2ff