[INFO] fetching crate git-utils 0.0.0... [INFO] testing git-utils-0.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate git-utils 0.0.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate git-utils 0.0.0 [INFO] finished tweaking crates.io crate git-utils 0.0.0 [INFO] tweaked toml for crates.io crate git-utils 0.0.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-utils 0.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding git2 v0.17.2 (available: v0.20.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded unicode-ident v1.0.24 [INFO] [stderr] Downloaded quote v1.0.45 [INFO] [stderr] Downloaded zerofrom-derive v0.1.7 [INFO] [stderr] Downloaded openssl-probe v0.1.6 [INFO] [stderr] Downloaded potential_utf v0.1.5 [INFO] [stderr] Downloaded yoke-derive v0.8.2 [INFO] [stderr] Downloaded zerofrom v0.1.7 [INFO] [stderr] Downloaded writeable v0.6.3 [INFO] [stderr] Downloaded find-msvc-tools v0.1.9 [INFO] [stderr] Downloaded yoke v0.8.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.106 [INFO] [stderr] Downloaded wit-bindgen v0.51.0 [INFO] [stderr] Downloaded cc v1.2.59 [INFO] [stderr] Downloaded zerotrie v0.2.4 [INFO] [stderr] Downloaded icu_normalizer_data v2.2.0 [INFO] [stderr] Downloaded wasip2 v1.0.2+wasi-0.2.9 [INFO] [stderr] Downloaded zerovec v0.11.6 [INFO] [stderr] Downloaded icu_properties_data v2.2.0 [INFO] [stderr] Downloaded git2 v0.17.2 [INFO] [stderr] Downloaded icu_normalizer v2.2.0 [INFO] [stderr] Downloaded icu_collections v2.2.0 [INFO] [stderr] Downloaded icu_locale_core v2.2.0 [INFO] [stderr] Downloaded syn v2.0.117 [INFO] [stderr] Downloaded icu_properties v2.2.0 [INFO] [stderr] Downloaded url v2.5.8 [INFO] [stderr] Downloaded regex-syntax v0.8.10 [INFO] [stderr] Downloaded memchr v2.8.0 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded litemap v0.8.2 [INFO] [stderr] Downloaded icu_provider v2.2.0 [INFO] [stderr] Downloaded tinystr v0.8.3 [INFO] [stderr] Downloaded zerovec-derive v0.11.3 [INFO] [stderr] Downloaded regex-automata v0.4.14 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded libc v0.2.184 [INFO] [stderr] Downloaded libz-sys v1.1.28 [INFO] [stderr] Downloaded libgit2-sys v0.15.2+1.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 641421cdde3368ee37a72a10b8fb91558ae07ba7073a794cb72e3d6e51bcc931 [INFO] running `Command { std: "docker" "start" "-a" "641421cdde3368ee37a72a10b8fb91558ae07ba7073a794cb72e3d6e51bcc931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641421cdde3368ee37a72a10b8fb91558ae07ba7073a794cb72e3d6e51bcc931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641421cdde3368ee37a72a10b8fb91558ae07ba7073a794cb72e3d6e51bcc931", kill_on_drop: false }` [INFO] [stdout] 641421cdde3368ee37a72a10b8fb91558ae07ba7073a794cb72e3d6e51bcc931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30ab16a3ea149f2b3f738d6bcc1c1565f6ad39f78e387d82710103d34580d214 [INFO] running `Command { std: "docker" "start" "-a" "30ab16a3ea149f2b3f738d6bcc1c1565f6ad39f78e387d82710103d34580d214", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libz-sys v1.1.28 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.15.2+1.6.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling git2 v0.17.2 [INFO] [stderr] Compiling git-utils v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `find_initial_commit` [INFO] [stdout] --> src/commits.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{find_initial_commit, GitResult}; [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: `Error`, `ObjectType`, and `Signature` [INFO] [stdout] --> src/commits.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use git2::{Branch, BranchType, Error, ObjectType, Oid, Repository, Signature, Sort}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Commit`, `ErrorClass`, `ErrorCode`, `IndexAddOption`, `IndexEntry`, `IndexTime`, `Index`, `ObjectType`, `RepositoryInitMode`, `RepositoryInitOptions`, and `Signature` [INFO] [stdout] --> src/rebases/mod.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | Branch, BranchType, Commit, Error, ErrorClass, ErrorCode, Index, IndexAddOption, IndexEntry, IndexTime, ObjectType, Oid, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 4 | Repository, RepositoryInitMode, RepositoryInitOptions, Signature, TreeEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, `Read`, and `ffi::OsStr` [INFO] [stdout] --> src/rebases/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fs::{File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rebases/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/rebases/mod.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_commit_oid` [INFO] [stdout] --> src/rebases/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let new_commit_oid = self.repo.commit( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_commit_oid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/rebases/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let object = entry.to_object(&self.repo)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitCleaner` is never constructed [INFO] [stdout] --> src/rebases/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GitCleaner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_max_size`, and `set_pattern` are never used [INFO] [stdout] --> src/rebases/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl GitCleaner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(project: Repository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_pattern(&mut self, pattern: &str) -> GitResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prune` and `should_remove` are never used [INFO] [stdout] --> src/rebases/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl GitCleaner { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn should_remove<'a>(&self, entry: &'a TreeEntry) -> GitResult<&'a [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_error` is never used [INFO] [stdout] --> src/errors/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn runtime_error(msg: S) -> GitResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rebases/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repos/mod.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult { [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] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.07s [INFO] running `Command { std: "docker" "inspect" "30ab16a3ea149f2b3f738d6bcc1c1565f6ad39f78e387d82710103d34580d214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ab16a3ea149f2b3f738d6bcc1c1565f6ad39f78e387d82710103d34580d214", kill_on_drop: false }` [INFO] [stdout] 30ab16a3ea149f2b3f738d6bcc1c1565f6ad39f78e387d82710103d34580d214 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea772ae3ee7ac3e710326c792f2ab201333129b8c9ee5c4badd0eedf252ad849 [INFO] running `Command { std: "docker" "start" "-a" "ea772ae3ee7ac3e710326c792f2ab201333129b8c9ee5c4badd0eedf252ad849", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `find_initial_commit` [INFO] [stdout] --> src/commits.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{find_initial_commit, GitResult}; [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: `Error`, `ObjectType`, and `Signature` [INFO] [stdout] --> src/commits.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use git2::{Branch, BranchType, Error, ObjectType, Oid, Repository, Signature, Sort}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Commit`, `ErrorClass`, `ErrorCode`, `IndexAddOption`, `IndexEntry`, `IndexTime`, `Index`, `ObjectType`, `RepositoryInitMode`, `RepositoryInitOptions`, and `Signature` [INFO] [stdout] --> src/rebases/mod.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | Branch, BranchType, Commit, Error, ErrorClass, ErrorCode, Index, IndexAddOption, IndexEntry, IndexTime, ObjectType, Oid, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 4 | Repository, RepositoryInitMode, RepositoryInitOptions, Signature, TreeEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, `Read`, and `ffi::OsStr` [INFO] [stdout] --> src/rebases/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fs::{File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rebases/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/rebases/mod.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_commit_oid` [INFO] [stdout] --> src/rebases/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let new_commit_oid = self.repo.commit( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_commit_oid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/rebases/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let object = entry.to_object(&self.repo)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitCleaner` is never constructed [INFO] [stdout] --> src/rebases/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GitCleaner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_max_size`, and `set_pattern` are never used [INFO] [stdout] --> src/rebases/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl GitCleaner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(project: Repository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_pattern(&mut self, pattern: &str) -> GitResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prune` and `should_remove` are never used [INFO] [stdout] --> src/rebases/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl GitCleaner { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn should_remove<'a>(&self, entry: &'a TreeEntry) -> GitResult<&'a [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_error` is never used [INFO] [stdout] --> src/errors/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn runtime_error(msg: S) -> GitResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rebases/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repos/mod.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult { [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] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling git-utils v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `find_initial_commit` [INFO] [stdout] --> src/commits.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{find_initial_commit, GitResult}; [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: `Error`, `ObjectType`, and `Signature` [INFO] [stdout] --> src/commits.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use git2::{Branch, BranchType, Error, ObjectType, Oid, Repository, Signature, Sort}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Commit`, `ErrorClass`, `ErrorCode`, `IndexAddOption`, `IndexEntry`, `IndexTime`, `Index`, `ObjectType`, `RepositoryInitMode`, `RepositoryInitOptions`, and `Signature` [INFO] [stdout] --> src/rebases/mod.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | Branch, BranchType, Commit, Error, ErrorClass, ErrorCode, Index, IndexAddOption, IndexEntry, IndexTime, ObjectType, Oid, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 4 | Repository, RepositoryInitMode, RepositoryInitOptions, Signature, TreeEntry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `OpenOptions`, `Read`, and `ffi::OsStr` [INFO] [stdout] --> src/rebases/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ffi::OsStr, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | fs::{File, OpenOptions}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rebases/mod.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/rebases/mod.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_commit_oid` [INFO] [stdout] --> src/rebases/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let new_commit_oid = self.repo.commit( [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_commit_oid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/rebases/mod.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | let object = entry.to_object(&self.repo)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitCleaner` is never constructed [INFO] [stdout] --> src/rebases/mod.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GitCleaner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_max_size`, and `set_pattern` are never used [INFO] [stdout] --> src/rebases/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl GitCleaner { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new(project: Repository) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_pattern(&mut self, pattern: &str) -> GitResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `prune` and `should_remove` are never used [INFO] [stdout] --> src/rebases/mod.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 55 | impl GitCleaner { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn should_remove<'a>(&self, entry: &'a TreeEntry) -> GitResult<&'a [u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `runtime_error` is never used [INFO] [stdout] --> src/errors/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn runtime_error(msg: S) -> GitResult [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rebases/mod.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repos/mod.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult { [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] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "ea772ae3ee7ac3e710326c792f2ab201333129b8c9ee5c4badd0eedf252ad849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea772ae3ee7ac3e710326c792f2ab201333129b8c9ee5c4badd0eedf252ad849", kill_on_drop: false }` [INFO] [stdout] ea772ae3ee7ac3e710326c792f2ab201333129b8c9ee5c4badd0eedf252ad849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 83d1b58c4429ba973ba27e834efc3d9833b20efe9f947dc18d9ee530b7d25b56 [INFO] running `Command { std: "docker" "start" "-a" "83d1b58c4429ba973ba27e834efc3d9833b20efe9f947dc18d9ee530b7d25b56", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `find_initial_commit` [INFO] [stderr] --> src/commits.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{find_initial_commit, GitResult}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `ObjectType`, and `Signature` [INFO] [stderr] --> src/commits.rs:2:32 [INFO] [stderr] | [INFO] [stderr] 2 | use git2::{Branch, BranchType, Error, ObjectType, Oid, Repository, Signature, Sort}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Commit`, `ErrorClass`, `ErrorCode`, `IndexAddOption`, `IndexEntry`, `IndexTime`, `Index`, `ObjectType`, `RepositoryInitMode`, `RepositoryInitOptions`, and `Signature` [INFO] [stderr] --> src/rebases/mod.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | Branch, BranchType, Commit, Error, ErrorClass, ErrorCode, Index, IndexAddOption, IndexEntry, IndexTime, ObjectType, Oid, [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 4 | Repository, RepositoryInitMode, RepositoryInitOptions, Signature, TreeEntry, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `File`, `OpenOptions`, `Read`, and `ffi::OsStr` [INFO] [stderr] --> src/rebases/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | ffi::OsStr, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | fs::{File, OpenOptions}, [INFO] [stderr] | ^^^^ ^^^^^^^^^^^ [INFO] [stderr] 10 | io::{Read, Write}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/rebases/mod.rs:10:16 [INFO] [stderr] | [INFO] [stderr] 10 | io::{Read, Write}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start` [INFO] [stderr] --> src/rebases/mod.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_commit_oid` [INFO] [stderr] --> src/rebases/mod.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | let new_commit_oid = self.repo.commit( [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_commit_oid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `object` [INFO] [stderr] --> src/rebases/mod.rs:94:13 [INFO] [stderr] | [INFO] [stderr] 94 | let object = entry.to_object(&self.repo)?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stderr] [INFO] [stderr] warning: struct `GitCleaner` is never constructed [INFO] [stderr] --> src/rebases/mod.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct GitCleaner { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set_max_size`, and `set_pattern` are never used [INFO] [stderr] --> src/rebases/mod.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl GitCleaner { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 24 | pub fn new(project: Repository) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn set_pattern(&mut self, pattern: &str) -> GitResult<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `prune` and `should_remove` are never used [INFO] [stderr] --> src/rebases/mod.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 55 | impl GitCleaner { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn should_remove<'a>(&self, entry: &'a TreeEntry) -> GitResult<&'a [u8]> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `runtime_error` is never used [INFO] [stderr] --> src/errors/mod.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn runtime_error(msg: S) -> GitResult [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rebases/mod.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 63 | fn prune(&mut self, old: &str, start: Oid, new: &str) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/repos/mod.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult { [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] 21 | pub fn find_initial_commit(repo: &Repository) -> GitResult> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `git-utils` (lib) generated 14 warnings (run `cargo fix --lib -p git-utils` to apply 9 suggestions) [INFO] [stderr] warning: `git-utils` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/git_utils-309b7a59f2625504) [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] [stderr] Running tests/main.rs (/opt/rustwide/target/debug/deps/main-eabb9125c533e5fb) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ready ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests git_utils [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" "83d1b58c4429ba973ba27e834efc3d9833b20efe9f947dc18d9ee530b7d25b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83d1b58c4429ba973ba27e834efc3d9833b20efe9f947dc18d9ee530b7d25b56", kill_on_drop: false }` [INFO] [stdout] 83d1b58c4429ba973ba27e834efc3d9833b20efe9f947dc18d9ee530b7d25b56