[INFO] fetching crate git-repos 0.1.0... [INFO] testing git-repos-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate git-repos 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate git-repos 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate git-repos 0.1.0 [INFO] tweaked toml for crates.io crate git-repos 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-repos 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate git-repos 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nill v0.1.1 [INFO] [stderr] Downloaded outdir-tempdir v0.2.0 [INFO] [stderr] Downloaded openssl-src v300.3.2+3.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8867136b7ac10f108f29e6ec6eab1b7d951b0d307b903de25f06440bd891add5 [INFO] running `Command { std: "docker" "start" "-a" "8867136b7ac10f108f29e6ec6eab1b7d951b0d307b903de25f06440bd891add5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8867136b7ac10f108f29e6ec6eab1b7d951b0d307b903de25f06440bd891add5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8867136b7ac10f108f29e6ec6eab1b7d951b0d307b903de25f06440bd891add5", kill_on_drop: false }` [INFO] [stdout] 8867136b7ac10f108f29e6ec6eab1b7d951b0d307b903de25f06440bd891add5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1ba5e62a55417e04a712fd1db067edef6b971605885ff689eefb32e44157b7 [INFO] running `Command { std: "docker" "start" "-a" "ff1ba5e62a55417e04a712fd1db067edef6b971605885ff689eefb32e44157b7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling git-repos v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling parse_link_header v0.4.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling url-escape v0.1.1 [INFO] [stderr] Compiling nill v0.1.1 [INFO] [stderr] Compiling comfy-table v7.1.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/table.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{config, path, repo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worktree_setup_default` is never used [INFO] [stdout] --> src/config.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn worktree_setup_default() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectResponse` is never used [INFO] [stdout] --> src/provider/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ProjectResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:611:27 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:619:28 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 682 | ) -> Result { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 682 | ) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:690:30 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:696:26 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:966:38 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1045:24 [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1387:19 [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1410:21 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1428:21 [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RemoteProvider`, `config::ConfigTrees`, `find_in_tree`, `output::*`, `path`, `self`, and `token::AuthToken` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config::ConfigTrees, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | find_in_tree, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | output::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | token::AuthToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Provider` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | Find::Config(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | Find::Remote(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | fn sync_repos(args: Sync) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | fn show_repos(args: Show) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "ff1ba5e62a55417e04a712fd1db067edef6b971605885ff689eefb32e44157b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1ba5e62a55417e04a712fd1db067edef6b971605885ff689eefb32e44157b7", kill_on_drop: false }` [INFO] [stdout] ff1ba5e62a55417e04a712fd1db067edef6b971605885ff689eefb32e44157b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20d1f562328ddfa75deb02b5ddf9ee30ef11531f714668a1e3bce2b5e087bdce [INFO] running `Command { std: "docker" "start" "-a" "20d1f562328ddfa75deb02b5ddf9ee30ef11531f714668a1e3bce2b5e087bdce", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling outdir-tempdir v0.2.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling ureq v2.10.1 [INFO] [stderr] Compiling git-repos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/table.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{config, path, repo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/table.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{config, path, repo}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worktree_setup_default` is never used [INFO] [stdout] --> src/config.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn worktree_setup_default() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectResponse` is never used [INFO] [stdout] --> src/provider/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ProjectResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:611:27 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:619:28 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 682 | ) -> Result { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 682 | ) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:690:30 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:696:26 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:966:38 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1045:24 [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1387:19 [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1410:21 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1428:21 [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `worktree_setup_default` is never used [INFO] [stdout] --> src/config.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn worktree_setup_default() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProjectResponse` is never used [INFO] [stdout] --> src/provider/mod.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum ProjectResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn head_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:611:27 [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 611 | pub fn local_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:619:28 [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result, String> { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 619 | pub fn remote_branches(&self) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 682 | ) -> Result { [INFO] [stdout] | ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 682 | ) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:690:30 [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 690 | pub fn find_local_branch(&self, name: &str) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:696:26 [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:966:38 [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:996:27 [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 996 | pub fn default_branch(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1045:24 [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result, String> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result>, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1375:25 [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1375 | pub(self) fn author(&self) -> git2::Signature<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1387:19 [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1387 | pub fn commit(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1410:21 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn upstream(&self) -> Result, String> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repo.rs:1428:21 [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1428 | fn as_reference(&self) -> &git2::Reference<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RemoteProvider`, `config::ConfigTrees`, `find_in_tree`, `output::*`, `path`, `self`, and `token::AuthToken` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config::ConfigTrees, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | find_in_tree, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | output::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | token::AuthToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Provider` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | Find::Config(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | Find::Remote(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | fn sync_repos(args: Sync) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | fn show_repos(args: Show) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `process` [INFO] [stdout] --> src/main.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{path::Path, process}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RemoteProvider`, `config::ConfigTrees`, `find_in_tree`, `output::*`, `path`, `self`, and `token::AuthToken` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | config::ConfigTrees, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | find_in_tree, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | output::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | token::AuthToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Provider` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | Find::Config(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> src/main.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | Find::Remote(opts) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | fn sync_repos(args: Sync) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:341:15 [INFO] [stdout] | [INFO] [stdout] 341 | fn show_repos(args: Show) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.48s [INFO] running `Command { std: "docker" "inspect" "20d1f562328ddfa75deb02b5ddf9ee30ef11531f714668a1e3bce2b5e087bdce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d1f562328ddfa75deb02b5ddf9ee30ef11531f714668a1e3bce2b5e087bdce", kill_on_drop: false }` [INFO] [stdout] 20d1f562328ddfa75deb02b5ddf9ee30ef11531f714668a1e3bce2b5e087bdce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2816da54a7aaf9aa47f7a1d78057dc8d371625f62e0e4b3ebb73b83e1a15223 [INFO] running `Command { std: "docker" "start" "-a" "c2816da54a7aaf9aa47f7a1d78057dc8d371625f62e0e4b3ebb73b83e1a15223", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `path` [INFO] [stderr] --> src/table.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use super::{config, path, repo}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `worktree_setup_default` is never used [INFO] [stderr] --> src/config.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn worktree_setup_default() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `ProjectResponse` is never used [INFO] [stderr] --> src/provider/mod.rs:25:6 [INFO] [stderr] | [INFO] [stderr] 25 | enum ProjectResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:543:24 [INFO] [stderr] | [INFO] [stderr] 543 | pub fn head_branch(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 543 | pub fn head_branch(&self) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:611:27 [INFO] [stderr] | [INFO] [stderr] 611 | pub fn local_branches(&self) -> Result, String> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 611 | pub fn local_branches(&self) -> Result>, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:619:28 [INFO] [stderr] | [INFO] [stderr] 619 | pub fn remote_branches(&self) -> Result, String> { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 619 | pub fn remote_branches(&self) -> Result>, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:679:9 [INFO] [stderr] | [INFO] [stderr] 679 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 682 | ) -> Result { [INFO] [stderr] | ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 682 | ) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:690:30 [INFO] [stderr] | [INFO] [stderr] 690 | pub fn find_local_branch(&self, name: &str) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 690 | pub fn find_local_branch(&self, name: &str) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:696:26 [INFO] [stderr] | [INFO] [stderr] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 696 | pub fn create_branch(&self, name: &str, target: &Commit) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:966:38 [INFO] [stderr] | [INFO] [stderr] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result, String> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 966 | pub fn get_remote_default_branch(&self, remote_name: &str) -> Result>, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:996:27 [INFO] [stderr] | [INFO] [stderr] 996 | pub fn default_branch(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 996 | pub fn default_branch(&self) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:1045:24 [INFO] [stderr] | [INFO] [stderr] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result, String> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1045 | pub fn find_remote(&self, remote_name: &str) -> Result>, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:1375:25 [INFO] [stderr] | [INFO] [stderr] 1375 | pub(self) fn author(&self) -> git2::Signature { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1375 | pub(self) fn author(&self) -> git2::Signature<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:1387:19 [INFO] [stderr] | [INFO] [stderr] 1387 | pub fn commit(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1387 | pub fn commit(&self) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:1410:21 [INFO] [stderr] | [INFO] [stderr] 1410 | pub fn upstream(&self) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1410 | pub fn upstream(&self) -> Result, String> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repo.rs:1428:21 [INFO] [stderr] | [INFO] [stderr] 1428 | fn as_reference(&self) -> &git2::Reference { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1428 | fn as_reference(&self) -> &git2::Reference<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `git-repos` (lib) generated 17 warnings (run `cargo fix --lib -p git-repos` to apply 14 suggestions) [INFO] [stderr] warning: unused import: `process` [INFO] [stderr] --> src/main.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{path::Path, process}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RemoteProvider`, `config::ConfigTrees`, `find_in_tree`, `output::*`, `path`, `self`, and `token::AuthToken` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | config::ConfigTrees, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | find_in_tree, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 13 | output::*, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | path, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 16 | token::AuthToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Provider` [INFO] [stderr] --> src/main.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | provider::{self, Provider, RemoteProvider}, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/main.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | Find::Config(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `opts` [INFO] [stderr] --> src/main.rs:155:22 [INFO] [stderr] | [INFO] [stderr] 155 | Find::Remote(opts) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:218:15 [INFO] [stderr] | [INFO] [stderr] 218 | fn sync_repos(args: Sync) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/main.rs:341:15 [INFO] [stderr] | [INFO] [stderr] 341 | fn show_repos(args: Show) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: `git-repos` (bin "git-repos") generated 7 warnings (run `cargo fix --bin "git-repos"` to apply 2 suggestions) [INFO] [stderr] warning: `git-repos` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: `git-repos` (bin "git-repos" test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_repos-602e01e0036c2236) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_repos-9f00ff22344c695b) [INFO] [stdout] running 3 tests [INFO] [stderr] Running tests/helpers.rs (/opt/rustwide/target/debug/deps/helpers-308b60612c580387) [INFO] [stdout] test repo::tests::remote_type ... ok [INFO] [stderr] Running tests/repo.rs (/opt/rustwide/target/debug/deps/repo-e2ce58b4402ff09d) [INFO] [stdout] test repo::tests::repo_check_fullname ... ok [INFO] [stdout] test worktree::tests::invalid_worktree_names ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test open_empty_repo ... ok [INFO] [stdout] test create_repo ... ok [INFO] [stderr] Doc-tests git_repos [INFO] [stdout] test create_repo_with_worktree ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c2816da54a7aaf9aa47f7a1d78057dc8d371625f62e0e4b3ebb73b83e1a15223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2816da54a7aaf9aa47f7a1d78057dc8d371625f62e0e4b3ebb73b83e1a15223", kill_on_drop: false }` [INFO] [stdout] c2816da54a7aaf9aa47f7a1d78057dc8d371625f62e0e4b3ebb73b83e1a15223