[INFO] fetching crate spring-boot-layertools 1.0.0... [INFO] checking spring-boot-layertools-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate spring-boot-layertools 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate spring-boot-layertools 1.0.0 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 spring-boot-layertools 1.0.0 [INFO] finished tweaking crates.io crate spring-boot-layertools 1.0.0 [INFO] tweaked toml for crates.io crate spring-boot-layertools 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate spring-boot-layertools 1.0.0 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-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] 2a1a786a17ec0212c29d5b5ad9e5dd4d3a94a1386ebfc7ba54bcc2ae2c736227 [INFO] running `Command { std: "docker" "start" "-a" "2a1a786a17ec0212c29d5b5ad9e5dd4d3a94a1386ebfc7ba54bcc2ae2c736227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a1a786a17ec0212c29d5b5ad9e5dd4d3a94a1386ebfc7ba54bcc2ae2c736227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1a786a17ec0212c29d5b5ad9e5dd4d3a94a1386ebfc7ba54bcc2ae2c736227", kill_on_drop: false }` [INFO] [stdout] 2a1a786a17ec0212c29d5b5ad9e5dd4d3a94a1386ebfc7ba54bcc2ae2c736227 [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] 69d1c23abe2e589de57339258acfa44a1eed2c6c3266f9049ab3a57a487c517d [INFO] running `Command { std: "docker" "start" "-a" "69d1c23abe2e589de57339258acfa44a1eed2c6c3266f9049ab3a57a487c517d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling zstd-safe v4.1.6+zstd.1.5.2 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mmarinus v0.4.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking clap v3.2.16 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Checking zstd v0.10.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.2 [INFO] [stderr] Checking spring-boot-layertools v1.0.0 (/opt/rustwide/workdir) [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/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 84 | let mut layers_idx = zip [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / YamlLoader::load_from_str(&index) [INFO] [stdout] 95 | | .with_context(|| "Failed to parse layer index")? [INFO] [stdout] 96 | | .into_iter() [INFO] [stdout] 97 | | .next() [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] | |_______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 107 | let mut layers_idx = zip [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | / YamlLoader::load_from_str(&index) [INFO] [stdout] 118 | | .with_context(|| "Failed to parse layer index")? [INFO] [stdout] 119 | | .into_iter() [INFO] [stdout] 120 | | .next() [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] | |_______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/manifest.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_reader(read: R) -> anyhow::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Self::from_lines(read.lines().take_while(|r| r.is_ok()).map(Result::unwrap)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spring-boot-layertools` (bin "spring-boot-layertools") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 84 | let mut layers_idx = zip [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | / YamlLoader::load_from_str(&index) [INFO] [stdout] 95 | | .with_context(|| "Failed to parse layer index")? [INFO] [stdout] 96 | | .into_iter() [INFO] [stdout] 97 | | .next() [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] | |_______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 107 | let mut layers_idx = zip [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | / YamlLoader::load_from_str(&index) [INFO] [stdout] 118 | | .with_context(|| "Failed to parse layer index")? [INFO] [stdout] 119 | | .into_iter() [INFO] [stdout] 120 | | .next() [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] | |_______________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/manifest.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn from_reader(read: R) -> anyhow::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | Self::from_lines(read.lines().take_while(|r| r.is_ok()).map(Result::unwrap)) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spring-boot-layertools` (bin "spring-boot-layertools" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "69d1c23abe2e589de57339258acfa44a1eed2c6c3266f9049ab3a57a487c517d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d1c23abe2e589de57339258acfa44a1eed2c6c3266f9049ab3a57a487c517d", kill_on_drop: false }` [INFO] [stdout] 69d1c23abe2e589de57339258acfa44a1eed2c6c3266f9049ab3a57a487c517d