[INFO] cloning repository https://github.com/Arkko002/got [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arkko002/got" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkko002%2Fgot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkko002%2Fgot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff5d0e61fa2e0b34daa935567f34652f02252ffa [INFO] checking Arkko002/got/ff5d0e61fa2e0b34daa935567f34652f02252ffa against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArkko002%2Fgot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Arkko002/got on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Arkko002/got [INFO] finished tweaking git repo https://github.com/Arkko002/got [INFO] tweaked toml for git repo https://github.com/Arkko002/got written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Arkko002/got 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cad271c6a95325730cd72d09bbb36bcf88b4de7995955c8daa25d07be9057241 [INFO] running `Command { std: "docker" "start" "-a" "cad271c6a95325730cd72d09bbb36bcf88b4de7995955c8daa25d07be9057241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cad271c6a95325730cd72d09bbb36bcf88b4de7995955c8daa25d07be9057241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad271c6a95325730cd72d09bbb36bcf88b4de7995955c8daa25d07be9057241", kill_on_drop: false }` [INFO] [stdout] cad271c6a95325730cd72d09bbb36bcf88b4de7995955c8daa25d07be9057241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fee11e4611685cf518a939c06df0234c0e5b6923732dd5bc2aa3bd92ea08e9fa [INFO] running `Command { std: "docker" "start" "-a" "fee11e4611685cf518a939c06df0234c0e5b6923732dd5bc2aa3bd92ea08e9fa", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking got v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/objects/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/objects/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/cli/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(message: &str, source: Option>) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / Command::new("got") [INFO] [stdout] 43 | | .about("A fictional versioning CLI") [INFO] [stdout] 44 | | .subcommand_required(true) [INFO] [stdout] 45 | | .arg_required_else_help(true) [INFO] [stdout] ... | [INFO] [stdout] 50 | | .arg(arg!( "The remote to clone")) [INFO] [stdout] | | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 64 | | arg!([TYPE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 70 | | arg!([SIZE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 74 | | .arg(arg!([CONTENT]).short('p').required(false)) [INFO] [stdout] | | --------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 80 | | .arg(arg!([PATH]).num_args(0..10)) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | | .arg( [INFO] [stdout] 82 | | arg!([WRITE]) [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 90 | | arg!([STDIN]) [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 99 | | arg!([TYPE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 109 | | .arg(arg!([HASH])) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 117 | | .arg(arg!( ... "Stuff to add").value_parser(clap::value_parser!(PathBuf))), [INFO] [stdout] | | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 125 | .subcommand(Command::new("pop").arg(arg!([STASH]))) [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | .subcommand(Command::new("apply").arg(arg!([STASH]))), [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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] warning: unused variable: `source` [INFO] [stdout] --> src/cli/mod.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(message: &str, source: Option>) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectDirAndFilename` is never constructed [INFO] [stdout] --> src/db/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ObjectDirAndFilename(PathBuf, PathBuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_dir` is never read [INFO] [stdout] --> src/db/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GotDb { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | base_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hash_to_path` is never used [INFO] [stdout] --> src/db/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl GotDb { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn parse_hash_to_path(&self, hash: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decompress_object`, `content_size`, and `refs` are never used [INFO] [stdout] --> src/objects/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn decompress_object(object_compressed: String) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn content_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn refs(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectError` is never constructed [INFO] [stdout] --> src/objects/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct ObjectError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectMapper` is never used [INFO] [stdout] --> src/objects/mapper.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait ObjectMapper {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlobMapper` is never constructed [INFO] [stdout] --> src/objects/mapper.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct BlobMapper {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/mapper.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl BlobMapper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeMapper` is never constructed [INFO] [stdout] --> src/objects/mapper.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct TreeMapper {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/mapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TreeMapper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `got_dir` and `object_service` are never read [INFO] [stdout] --> src/repository/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | got_dir: PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | object_service: ObjectService, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `objects_dir` and `work_dir` are never used [INFO] [stdout] --> src/repository/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn objects_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn work_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `clap::Command` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / Command::new("got") [INFO] [stdout] 43 | | .about("A fictional versioning CLI") [INFO] [stdout] 44 | | .subcommand_required(true) [INFO] [stdout] 45 | | .arg_required_else_help(true) [INFO] [stdout] ... | [INFO] [stdout] 50 | | .arg(arg!( "The remote to clone")) [INFO] [stdout] | | ------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 64 | | arg!([TYPE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 70 | | arg!([SIZE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 74 | | .arg(arg!([CONTENT]).short('p').required(false)) [INFO] [stdout] | | --------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 80 | | .arg(arg!([PATH]).num_args(0..10)) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | | .arg( [INFO] [stdout] 82 | | arg!([WRITE]) [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 90 | | arg!([STDIN]) [INFO] [stdout] | | ------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 99 | | arg!([TYPE]) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 109 | | .arg(arg!([HASH])) [INFO] [stdout] | | ------------ [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 117 | | .arg(arg!( ... "Stuff to add").value_parser(clap::value_parser!(PathBuf))), [INFO] [stdout] | | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 125 | .subcommand(Command::new("pop").arg(arg!([STASH]))) [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | .subcommand(Command::new("apply").arg(arg!([STASH]))), [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `got` (bin "got") due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `ObjectDirAndFilename` is never constructed [INFO] [stdout] --> src/db/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct ObjectDirAndFilename(PathBuf, PathBuf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_dir` is never read [INFO] [stdout] --> src/db/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct GotDb { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | base_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_hash_to_path` is never used [INFO] [stdout] --> src/db/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 19 | impl GotDb { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn parse_hash_to_path(&self, hash: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `decompress_object`, `content_size`, and `refs` are never used [INFO] [stdout] --> src/objects/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Object { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn decompress_object(object_compressed: String) -> Object { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn content_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn refs(&self) -> &[String] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ObjectError` is never constructed [INFO] [stdout] --> src/objects/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct ObjectError; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ObjectMapper` is never used [INFO] [stdout] --> src/objects/mapper.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait ObjectMapper {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlobMapper` is never constructed [INFO] [stdout] --> src/objects/mapper.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct BlobMapper {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/mapper.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl BlobMapper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 6 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeMapper` is never constructed [INFO] [stdout] --> src/objects/mapper.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct TreeMapper {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/objects/mapper.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TreeMapper { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `got_dir` and `object_service` are never read [INFO] [stdout] --> src/repository/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Repository { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | got_dir: PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | object_service: ObjectService, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `objects_dir` and `work_dir` are never used [INFO] [stdout] --> src/repository/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Repository { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn objects_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn work_dir(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `got` (bin "got" test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fee11e4611685cf518a939c06df0234c0e5b6923732dd5bc2aa3bd92ea08e9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee11e4611685cf518a939c06df0234c0e5b6923732dd5bc2aa3bd92ea08e9fa", kill_on_drop: false }` [INFO] [stdout] fee11e4611685cf518a939c06df0234c0e5b6923732dd5bc2aa3bd92ea08e9fa