[INFO] cloning repository https://github.com/perryqh/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/perryqh/codecrafters-git-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperryqh%2Fcodecrafters-git-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperryqh%2Fcodecrafters-git-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89a9a1f233bc83400bbe5172f521655eece15f74 [INFO] checking perryqh/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%2Fperryqh%2Fcodecrafters-git-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perryqh/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/perryqh/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/perryqh/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/perryqh/codecrafters-git-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/perryqh/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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d8ca86b3a2aa9e4690a1486f71fbd010361f95c489408a3c4b686da37578dfea [INFO] running `Command { std: "docker" "start" "-a" "d8ca86b3a2aa9e4690a1486f71fbd010361f95c489408a3c4b686da37578dfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8ca86b3a2aa9e4690a1486f71fbd010361f95c489408a3c4b686da37578dfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ca86b3a2aa9e4690a1486f71fbd010361f95c489408a3c4b686da37578dfea", kill_on_drop: false }` [INFO] [stdout] d8ca86b3a2aa9e4690a1486f71fbd010361f95c489408a3c4b686da37578dfea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] ca30d2405fb780e3bba8caafae20b74bed55d94f60043b6f26b560db9474917d [INFO] running `Command { std: "docker" "start" "-a" "ca30d2405fb780e3bba8caafae20b74bed55d94f60043b6f26b560db9474917d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking tempfile v3.10.1 [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] warning: unused import: `build_git_from_fixture` [INFO] [stdout] --> src/git.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | build_git_from_fixture, build_simple_app_git, build_test_git, write_to_git_objects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_url` [INFO] [stdout] --> src/git.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn clone(&mut self, repo_url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_test_git` is never used [INFO] [stdout] --> src/test.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn build_test_git() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_simple_app_git` is never used [INFO] [stdout] --> src/test.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn build_simple_app_git() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_git_from_fixture` is never used [INFO] [stdout] --> src/test.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn build_git_from_fixture(fixture: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_git_objects` is never used [INFO] [stdout] --> src/test.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn write_to_git_objects( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_url` [INFO] [stdout] --> src/git.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn clone(&mut self, repo_url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.21s [INFO] running `Command { std: "docker" "inspect" "ca30d2405fb780e3bba8caafae20b74bed55d94f60043b6f26b560db9474917d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca30d2405fb780e3bba8caafae20b74bed55d94f60043b6f26b560db9474917d", kill_on_drop: false }` [INFO] [stdout] ca30d2405fb780e3bba8caafae20b74bed55d94f60043b6f26b560db9474917d [INFO] checking perryqh/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%2Fperryqh%2Fcodecrafters-git-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perryqh/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/perryqh/codecrafters-git-rust [INFO] finished tweaking git repo https://github.com/perryqh/codecrafters-git-rust [INFO] tweaked toml for git repo https://github.com/perryqh/codecrafters-git-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/perryqh/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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cd8ac6980a043b7d09fcfa6fbe9e8c34cb0d0d401e116f136d9f3d9f5164900e [INFO] running `Command { std: "docker" "start" "-a" "cd8ac6980a043b7d09fcfa6fbe9e8c34cb0d0d401e116f136d9f3d9f5164900e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd8ac6980a043b7d09fcfa6fbe9e8c34cb0d0d401e116f136d9f3d9f5164900e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8ac6980a043b7d09fcfa6fbe9e8c34cb0d0d401e116f136d9f3d9f5164900e", kill_on_drop: false }` [INFO] [stdout] cd8ac6980a043b7d09fcfa6fbe9e8c34cb0d0d401e116f136d9f3d9f5164900e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 0c418744c560d219f2dd483e9aaf6c62a978f872764ed467cbdfa55d7bc8dc0e [INFO] running `Command { std: "docker" "start" "-a" "0c418744c560d219f2dd483e9aaf6c62a978f872764ed467cbdfa55d7bc8dc0e", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rustix v0.36.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Checking adler v1.0.2 [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 fastrand v2.0.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking tempfile v3.10.1 [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] warning: unused import: `build_git_from_fixture` [INFO] [stdout] --> src/git.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | build_git_from_fixture, build_simple_app_git, build_test_git, write_to_git_objects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo_url` [INFO] [stdout] --> src/git.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn clone(&mut self, repo_url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_test_git` is never used [INFO] [stdout] --> src/test.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn build_test_git() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_simple_app_git` is never used [INFO] [stdout] --> src/test.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn build_simple_app_git() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_git_from_fixture` is never used [INFO] [stdout] --> src/test.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn build_git_from_fixture(fixture: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_to_git_objects` is never used [INFO] [stdout] --> src/test.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn write_to_git_objects( [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/object.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 64 | 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] 65 | [INFO] [stdout] 66 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 67 | | object_type: ObjectType::Blob, [INFO] [stdout] 68 | | expected_size: stat.len(), [INFO] [stdout] 69 | | reader: file, [INFO] [stdout] 70 | | }) [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/object.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 74 | let f = std::fs::File::open(dot_git_path.join(format!( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | 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] 81 | 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] 91 | 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] 97 | _ => anyhow::bail!("unknown object_type '{object_type}'"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | 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] 104 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | object_type, [INFO] [stdout] 106 | | expected_size: size, [INFO] [stdout] 107 | | reader: z, [INFO] [stdout] 108 | | }) [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 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `repo_url` [INFO] [stdout] --> src/git.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn clone(&mut self, repo_url: &str) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_repo_url` [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] --> src/object.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 61 | 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] 64 | 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] 65 | [INFO] [stdout] 66 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 67 | | object_type: ObjectType::Blob, [INFO] [stdout] 68 | | expected_size: stat.len(), [INFO] [stdout] 69 | | reader: file, [INFO] [stdout] 70 | | }) [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/object.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 74 | let f = std::fs::File::open(dot_git_path.join(format!( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | 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] 81 | 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] 91 | 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] 97 | _ => anyhow::bail!("unknown object_type '{object_type}'"), [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | 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] 104 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 105 | | object_type, [INFO] [stdout] 106 | | expected_size: size, [INFO] [stdout] 107 | | reader: z, [INFO] [stdout] 108 | | }) [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 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-starter-rust` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c418744c560d219f2dd483e9aaf6c62a978f872764ed467cbdfa55d7bc8dc0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c418744c560d219f2dd483e9aaf6c62a978f872764ed467cbdfa55d7bc8dc0e", kill_on_drop: false }` [INFO] [stdout] 0c418744c560d219f2dd483e9aaf6c62a978f872764ed467cbdfa55d7bc8dc0e