[INFO] cloning repository https://github.com/FauxFaux/gitgeoff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FauxFaux/gitgeoff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fgitgeoff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fgitgeoff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce2dbe00649f2b1d7f82ae459e7c3fb475d610e6 [INFO] checking FauxFaux/gitgeoff/ce2dbe00649f2b1d7f82ae459e7c3fb475d610e6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fgitgeoff" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FauxFaux/gitgeoff on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FauxFaux/gitgeoff [INFO] finished tweaking git repo https://github.com/FauxFaux/gitgeoff [INFO] tweaked toml for git repo https://github.com/FauxFaux/gitgeoff written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FauxFaux/gitgeoff 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f6ed73dc2ce86e9650d151b8af5407a4ad9d998d8cf230bb543c9ff94cf73e5b [INFO] running `Command { std: "docker" "start" "-a" "f6ed73dc2ce86e9650d151b8af5407a4ad9d998d8cf230bb543c9ff94cf73e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6ed73dc2ce86e9650d151b8af5407a4ad9d998d8cf230bb543c9ff94cf73e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ed73dc2ce86e9650d151b8af5407a4ad9d998d8cf230bb543c9ff94cf73e5b", kill_on_drop: false }` [INFO] [stdout] f6ed73dc2ce86e9650d151b8af5407a4ad9d998d8cf230bb543c9ff94cf73e5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0a070759988536bef1745a00bdf50412375a2719b3f023b0f417dadaed6dbbc4 [INFO] running `Command { std: "docker" "start" "-a" "0a070759988536bef1745a00bdf50412375a2719b3f023b0f417dadaed6dbbc4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking grep-matcher v0.1.7 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.1.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling libz-sys v1.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking grep-searcher v0.1.13 [INFO] [stderr] Checking grep-regex v0.1.12 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking tempfile-fast v0.3.4 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking gitgeoff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `github` [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(github)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(github)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(github)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> src/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `github` [INFO] [stdout] --> src/main.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(github)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(github)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(github)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> src/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/git.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repo` [INFO] [stdout] --> src/git.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | repo: &Repository, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_repo` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/cache.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `meta_github_org` and `repo_bare` are never used [INFO] [stdout] --> src/cache.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn meta_github_org(&self, org: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn repo_bare(&self, org: &str, repo: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkdirs` is never used [INFO] [stdout] --> src/cache.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn mkdirs>(path: P) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fs_safe_component` is never used [INFO] [stdout] --> src/cache.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn fs_safe_component(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Spec { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 17 | pub url: GitUrl, [INFO] [stdout] 18 | pub tags: HashSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `html_url` is never used [INFO] [stdout] --> src/config.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Spec { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn html_url(&self) -> Result<&str, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_found` is never used [INFO] [stdout] --> src/git.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn if_found(res: Result) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_or_fetch` is never used [INFO] [stdout] --> src/git.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn clone_or_fetch(url: &str, dest: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | Sideband(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 121 | Sideband(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | Transfer([usize; 7]), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 122 | Transfer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/git_url.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl GitUrl { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 41 | pub fn as_str(&self) -> &str { [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/config.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let path = path.as_ref(); [INFO] [stdout] 52 | fs::File::open(path).with_context(|| match fs::canonicalize(path) { [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/config.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | fs::File::open(path).with_context(|| match fs::canonicalize(path) { [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/status.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|spec| -> Result<_, Error> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let repo = git2::Repository::open(dest)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok((spec, status)) [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] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/cache.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 10 | root: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `meta_github_org` and `repo_bare` are never used [INFO] [stdout] --> src/cache.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cache { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn meta_github_org(&self, org: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn repo_bare(&self, org: &str, repo: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mkdirs` is never used [INFO] [stdout] --> src/cache.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn mkdirs>(path: P) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fs_safe_component` is never used [INFO] [stdout] --> src/cache.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn fs_safe_component(path: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tags` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Spec { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 17 | pub url: GitUrl, [INFO] [stdout] 18 | pub tags: HashSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `html_url` is never used [INFO] [stdout] --> src/config.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Spec { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 22 | pub fn html_url(&self) -> Result<&str, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_found` is never used [INFO] [stdout] --> src/git.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn if_found(res: Result) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clone_or_fetch` is never used [INFO] [stdout] --> src/git.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn clone_or_fetch(url: &str, dest: &Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | Sideband(String), [INFO] [stdout] | -------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 121 | Sideband(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/git.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | Transfer([usize; 7]), [INFO] [stdout] | -------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Progress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 122 | Transfer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/git_url.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl GitUrl { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 41 | pub fn as_str(&self) -> &str { [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/config.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | fn open>(path: P) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let path = path.as_ref(); [INFO] [stdout] 52 | fs::File::open(path).with_context(|| match fs::canonicalize(path) { [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/config.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | fs::File::open(path).with_context(|| match fs::canonicalize(path) { [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/status.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 24 | .map(|spec| -> Result<_, Error> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let repo = git2::Repository::open(dest)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok((spec, status)) [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] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gitgeoff` (bin "gitgeoff") due to 4 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gitgeoff` (bin "gitgeoff" test) due to 4 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a070759988536bef1745a00bdf50412375a2719b3f023b0f417dadaed6dbbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a070759988536bef1745a00bdf50412375a2719b3f023b0f417dadaed6dbbc4", kill_on_drop: false }` [INFO] [stdout] 0a070759988536bef1745a00bdf50412375a2719b3f023b0f417dadaed6dbbc4