[INFO] cloning repository https://github.com/jonhoo/codecrafters-git-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonhoo/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonhoo%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonhoo%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4d6e0a04f0b8363aa54cff52444d6519b0f82f7 [INFO] checking jonhoo/codecrafters-git-rust against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonhoo%2Fcodecrafters-git-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonhoo/codecrafters-git-rust on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonhoo/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/jonhoo/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/jonhoo/codecrafters-git-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jonhoo/codecrafters-git-rust 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9ebfff63c33bff102a25fb7eedc6da011d4bba3532340d870a60b5b75ba4190 [INFO] running `Command { std: "docker" "start" "-a" "d9ebfff63c33bff102a25fb7eedc6da011d4bba3532340d870a60b5b75ba4190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ebfff63c33bff102a25fb7eedc6da011d4bba3532340d870a60b5b75ba4190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ebfff63c33bff102a25fb7eedc6da011d4bba3532340d870a60b5b75ba4190", kill_on_drop: false }` [INFO] [stdout] d9ebfff63c33bff102a25fb7eedc6da011d4bba3532340d870a60b5b75ba4190 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa9d649e726c3d8ab7f192e43acc4bf360bc752e13a2ed55d45dbdf07fabc4a [INFO] running `Command { std: "docker" "start" "-a" "caa9d649e726c3d8ab7f192e43acc4bf360bc752e13a2ed55d45dbdf07fabc4a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Checking clap v4.0.32 [INFO] [stderr] Checking git-starter-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.76s [INFO] running `Command { std: "docker" "inspect" "caa9d649e726c3d8ab7f192e43acc4bf360bc752e13a2ed55d45dbdf07fabc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa9d649e726c3d8ab7f192e43acc4bf360bc752e13a2ed55d45dbdf07fabc4a", kill_on_drop: false }` [INFO] [stdout] caa9d649e726c3d8ab7f192e43acc4bf360bc752e13a2ed55d45dbdf07fabc4a [INFO] checking jonhoo/codecrafters-git-rust against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonhoo%2Fcodecrafters-git-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonhoo/codecrafters-git-rust on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jonhoo/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/jonhoo/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/jonhoo/codecrafters-git-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jonhoo/codecrafters-git-rust 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e13cc1a73ce6895cd35b29fdc59de2f16aa8e344efa4cb166805e3cb9b2009 [INFO] running `Command { std: "docker" "start" "-a" "c8e13cc1a73ce6895cd35b29fdc59de2f16aa8e344efa4cb166805e3cb9b2009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e13cc1a73ce6895cd35b29fdc59de2f16aa8e344efa4cb166805e3cb9b2009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e13cc1a73ce6895cd35b29fdc59de2f16aa8e344efa4cb166805e3cb9b2009", kill_on_drop: false }` [INFO] [stdout] c8e13cc1a73ce6895cd35b29fdc59de2f16aa8e344efa4cb166805e3cb9b2009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40b006d652cb734b458c7be57f92e72f73cbff53d04be0f59d64157e6b6418d0 [INFO] running `Command { std: "docker" "start" "-a" "40b006d652cb734b458c7be57f92e72f73cbff53d04be0f59d64157e6b6418d0", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Checking clap v4.0.32 [INFO] [stderr] Checking git-starter-rust v0.1.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/commands/commit_tree.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / Object { [INFO] [stdout] 45 | | kind: Kind::Commit, [INFO] [stdout] 46 | | expected_size: commit.len() as u64, [INFO] [stdout] 47 | | reader: Cursor::new(commit), [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | .write_to_objects() [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/objects.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn blob_from_file(file: impl AsRef) -> anyhow::Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let file = std::fs::File::open(file).with_context(|| format!("open {}", file.display()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | kind: Kind::Blob, [INFO] [stdout] 45 | | expected_size: stat.len(), [INFO] [stdout] 46 | | reader: file, [INFO] [stdout] 47 | | }) [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/objects.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 52 | let f = std::fs::File::open(format!(".git/objects/{}/{}", &hash[..2], &hash[2..])) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | .context("open in .git/objects")?; [INFO] [stdout] 54 | let z = ZlibDecoder::new(f); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let mut z = BufReader::new(z); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | anyhow::bail!(".git/objects file header did not start with a known type: '{header}'"); [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | _ => anyhow::bail!("what even is a '{kind}'"), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let z = z.take(size); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | kind, [INFO] [stdout] 81 | | expected_size: size, [INFO] [stdout] 82 | | reader: z, [INFO] [stdout] 83 | | }) [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] | |_________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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (bin "git-starter-rust" test) 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/commands/commit_tree.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / Object { [INFO] [stdout] 45 | | kind: Kind::Commit, [INFO] [stdout] 46 | | expected_size: commit.len() as u64, [INFO] [stdout] 47 | | reader: Cursor::new(commit), [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | .write_to_objects() [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/objects.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn blob_from_file(file: impl AsRef) -> anyhow::Result> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | let file = std::fs::File::open(file).with_context(|| format!("open {}", file.display()))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | kind: Kind::Blob, [INFO] [stdout] 45 | | expected_size: stat.len(), [INFO] [stdout] 46 | | reader: file, [INFO] [stdout] 47 | | }) [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/objects.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 52 | let f = std::fs::File::open(format!(".git/objects/{}/{}", &hash[..2], &hash[2..])) [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | .context("open in .git/objects")?; [INFO] [stdout] 54 | let z = ZlibDecoder::new(f); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let mut z = BufReader::new(z); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | anyhow::bail!(".git/objects file header did not start with a known type: '{header}'"); [INFO] [stdout] | ------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | _ => anyhow::bail!("what even is a '{kind}'"), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let z = z.take(size); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | kind, [INFO] [stdout] 81 | | expected_size: size, [INFO] [stdout] 82 | | reader: z, [INFO] [stdout] 83 | | }) [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] | |_________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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (bin "git-starter-rust") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "40b006d652cb734b458c7be57f92e72f73cbff53d04be0f59d64157e6b6418d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b006d652cb734b458c7be57f92e72f73cbff53d04be0f59d64157e6b6418d0", kill_on_drop: false }` [INFO] [stdout] 40b006d652cb734b458c7be57f92e72f73cbff53d04be0f59d64157e6b6418d0