[INFO] cloning repository https://github.com/patelka2211/git2_extensions [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patelka2211/git2_extensions" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatelka2211%2Fgit2_extensions", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatelka2211%2Fgit2_extensions'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e26470476c0136c5de29b16556d8e5b556fa191 [INFO] testing patelka2211/git2_extensions against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatelka2211%2Fgit2_extensions" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patelka2211/git2_extensions [INFO] finished tweaking git repo https://github.com/patelka2211/git2_extensions [INFO] tweaked toml for git repo https://github.com/patelka2211/git2_extensions written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patelka2211/git2_extensions on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patelka2211/git2_extensions 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 anyhow v1.0.99 [INFO] [stderr] Downloaded wasi v0.14.5+wasi-0.2.4 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded wit-bindgen v0.45.1 [INFO] [stderr] Downloaded cc v1.2.36 [INFO] [stderr] Downloaded wasip2 v1.0.0+wasi-0.2.4 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb9709540b8c7d46612fd0bde00bb07483fe39268d9c8c9d3aacd813a4f76e65 [INFO] running `Command { std: "docker" "start" "-a" "bb9709540b8c7d46612fd0bde00bb07483fe39268d9c8c9d3aacd813a4f76e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9709540b8c7d46612fd0bde00bb07483fe39268d9c8c9d3aacd813a4f76e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9709540b8c7d46612fd0bde00bb07483fe39268d9c8c9d3aacd813a4f76e65", kill_on_drop: false }` [INFO] [stdout] bb9709540b8c7d46612fd0bde00bb07483fe39268d9c8c9d3aacd813a4f76e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 529e754e10304ac8f34fa0256890b15023b5a8c5a78306459c5b182ac325906f [INFO] running `Command { std: "docker" "start" "-a" "529e754e10304ac8f34fa0256890b15023b5a8c5a78306459c5b182ac325906f", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.2+1.9.1 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling git2 v0.20.2 [INFO] [stderr] Compiling git2_extensions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_extensions(&self) -> ExtendedRepository; [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] 16 | fn from_extensions(&self) -> ExtendedRepository<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_extensions(&self) -> ExtendedRepository { [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] 20 | fn from_extensions(&self) -> ExtendedRepository<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.31s [INFO] running `Command { std: "docker" "inspect" "529e754e10304ac8f34fa0256890b15023b5a8c5a78306459c5b182ac325906f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529e754e10304ac8f34fa0256890b15023b5a8c5a78306459c5b182ac325906f", kill_on_drop: false }` [INFO] [stdout] 529e754e10304ac8f34fa0256890b15023b5a8c5a78306459c5b182ac325906f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a47cd0a07cf3b7cfc7b8fc06f10c6d7238036045f410680dcce783a8374c83 [INFO] running `Command { std: "docker" "start" "-a" "41a47cd0a07cf3b7cfc7b8fc06f10c6d7238036045f410680dcce783a8374c83", kill_on_drop: false }` [INFO] [stderr] Compiling git2_extensions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_extensions(&self) -> ExtendedRepository; [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] 16 | fn from_extensions(&self) -> ExtendedRepository<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_extensions(&self) -> ExtendedRepository { [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] 20 | fn from_extensions(&self) -> ExtendedRepository<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::BranchExtensions` [INFO] [stdout] --> src/branch.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::BranchExtensions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `BranchExtensions` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> src/commit.rs:124:20 [INFO] [stdout] | [INFO] [stdout] 124 | let repo = Repository::open("./")?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 118 + use crate::Repository; [INFO] [stdout] | [INFO] [stdout] 118 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> src/commit.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | let repo = Repository::open("./")?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 118 + use crate::Repository; [INFO] [stdout] | [INFO] [stdout] 118 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_branch_list` found for struct `git2::Repository` in the current scope [INFO] [stdout] --> src/branch.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let data = repo.get_branch_list(&Some(BranchType::Remote))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `branches` with a similar name [INFO] [stdout] | [INFO] [stdout] 65 - let data = repo.get_branch_list(&Some(BranchType::Remote))?; [INFO] [stdout] 65 + let data = repo.branches(&Some(BranchType::Remote))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `git2_extensions` (lib test) due to 4 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "41a47cd0a07cf3b7cfc7b8fc06f10c6d7238036045f410680dcce783a8374c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a47cd0a07cf3b7cfc7b8fc06f10c6d7238036045f410680dcce783a8374c83", kill_on_drop: false }` [INFO] [stdout] 41a47cd0a07cf3b7cfc7b8fc06f10c6d7238036045f410680dcce783a8374c83