[INFO] cloning repository https://github.com/Vigintillionn/dna [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vigintillionn/dna" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVigintillionn%2Fdna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVigintillionn%2Fdna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f78405f4069d730f6e007bd2ddb0391d0a5b2874 [INFO] checking Vigintillionn/dna/f78405f4069d730f6e007bd2ddb0391d0a5b2874 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%2FVigintillionn%2Fdna" "/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/Vigintillionn/dna 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/Vigintillionn/dna [INFO] finished tweaking git repo https://github.com/Vigintillionn/dna [INFO] tweaked toml for git repo https://github.com/Vigintillionn/dna written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Vigintillionn/dna 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: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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] c03e9bc29360ae197d5926356365f9c4c4c8418d58719e62821948f0f00258c4 [INFO] running `Command { std: "docker" "start" "-a" "c03e9bc29360ae197d5926356365f9c4c4c8418d58719e62821948f0f00258c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c03e9bc29360ae197d5926356365f9c4c4c8418d58719e62821948f0f00258c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c03e9bc29360ae197d5926356365f9c4c4c8418d58719e62821948f0f00258c4", kill_on_drop: false }` [INFO] [stdout] c03e9bc29360ae197d5926356365f9c4c4c8418d58719e62821948f0f00258c4 [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] e268757274cc49dafd526feac625ca6d211e2f63c9252f3bc6f9fb99aba45793 [INFO] running `Command { std: "docker" "start" "-a" "e268757274cc49dafd526feac625ca6d211e2f63c9252f3bc6f9fb99aba45793", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Compiling font-kit v0.13.0 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking plotters-backend v0.3.5 (https://github.com/plotters-rs/plotters.git?branch=master#123764a8) [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking plotters-svg v0.3.5 (https://github.com/plotters-rs/plotters.git?branch=master#123764a8) [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking two_three v0.0.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v5.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking flate2 v1.0.29 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking plotters-bitmap v0.3.3 (https://github.com/plotters-rs/plotters.git?branch=master#123764a8) [INFO] [stderr] Checking freetype v0.7.2 [INFO] [stderr] Checking plotters v0.3.5 (https://github.com/plotters-rs/plotters.git?branch=master#123764a8) [INFO] [stderr] Checking plotter v0.1.0 (/opt/rustwide/workdir/plotter) [INFO] [stdout] warning: unused variable: `iterations` [INFO] [stdout] --> plotter/src/plot.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | iterations: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iterations` [INFO] [stdout] --> plotter/src/plot.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | iterations: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iterations` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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] --> plotter/src/types.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | func: Box::new(func), [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] --> plotter/src/types.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | generator: None, [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] --> plotter/src/types.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | cases: None, [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] --> plotter/src/types.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 300 | let cases: Vec<&Case> = self.algs.iter().map(|a| &a.get_cases().unwrap()[i]).collect(); [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] --> plotter/src/types.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn new(func: F, color: RGBColor, name: &str) -> Plot [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | func: Box::new(func), [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 5 previous errors; 1 warning emitted [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] --> plotter/src/types.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | func: Box::new(func), [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] --> plotter/src/types.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | generator: None, [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] --> plotter/src/types.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(name: &str, func: F) -> Algorithm [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | cases: None, [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] --> plotter/src/types.rs:300:60 [INFO] [stdout] | [INFO] [stdout] 300 | let cases: Vec<&Case> = self.algs.iter().map(|a| &a.get_cases().unwrap()[i]).collect(); [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] --> plotter/src/types.rs:360:13 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn new(func: F, color: RGBColor, name: &str) -> Plot [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | func: Box::new(func), [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 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `plotter` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `plotter` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e268757274cc49dafd526feac625ca6d211e2f63c9252f3bc6f9fb99aba45793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e268757274cc49dafd526feac625ca6d211e2f63c9252f3bc6f9fb99aba45793", kill_on_drop: false }` [INFO] [stdout] e268757274cc49dafd526feac625ca6d211e2f63c9252f3bc6f9fb99aba45793