[INFO] cloning repository https://github.com/rafervi/GitRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafervi/GitRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafervi%2FGitRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafervi%2FGitRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be4f94cd546ec134de5444f91f0800bd6f020954 [INFO] checking rafervi/GitRust against try#7df376b035b3d12ff0386ad8b45b76dbe020257b for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafervi%2FGitRust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rafervi/GitRust [INFO] finished tweaking git repo https://github.com/rafervi/GitRust [INFO] tweaked toml for git repo https://github.com/rafervi/GitRust written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rafervi/GitRust on toolchain 7df376b035b3d12ff0386ad8b45b76dbe020257b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rafervi/GitRust 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" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "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 git2 v0.18.1 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96a5dd3741e5b21ae1a239cdf7db39957eff8762f273804b6962b8a9f944bef9 [INFO] running `Command { std: "docker" "start" "-a" "96a5dd3741e5b21ae1a239cdf7db39957eff8762f273804b6962b8a9f944bef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96a5dd3741e5b21ae1a239cdf7db39957eff8762f273804b6962b8a9f944bef9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a5dd3741e5b21ae1a239cdf7db39957eff8762f273804b6962b8a9f944bef9", kill_on_drop: false }` [INFO] [stdout] 96a5dd3741e5b21ae1a239cdf7db39957eff8762f273804b6962b8a9f944bef9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+7df376b035b3d12ff0386ad8b45b76dbe020257b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a425c5ed1e38a97d7ac906cfabeffe78c0466de61b9e0636bd56b17d311d023b [INFO] running `Command { std: "docker" "start" "-a" "a425c5ed1e38a97d7ac906cfabeffe78c0466de61b9e0636bd56b17d311d023b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Checking git2 v0.18.1 [INFO] [stderr] Checking GitRush v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | remote.fetch(&[branch_name], Some(&mut callbacks), None) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected `&mut FetchOptions<'_>`, found `&mut RemoteCallbacks<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut FetchOptions<'_>` [INFO] [stdout] found mutable reference `&mut RemoteCallbacks<'_>` [INFO] [stdout] help: the type constructed contains `&mut RemoteCallbacks<'_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | remote.fetch(&[branch_name], Some(&mut callbacks), None) [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | remote.fetch(&[branch_name], Some(&mut callbacks), None) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected `&mut FetchOptions<'_>`, found `&mut RemoteCallbacks<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut FetchOptions<'_>` [INFO] [stdout] found mutable reference `&mut RemoteCallbacks<'_>` [INFO] [stdout] help: the type constructed contains `&mut RemoteCallbacks<'_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:28:34 [INFO] [stdout] | [INFO] [stdout] 28 | remote.fetch(&[branch_name], Some(&mut callbacks), None) [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let analysis = repo.merge_analysis(&[&annotated_commit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&AnnotatedCommit<'_>`, found `&Object<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AnnotatedCommit<'_>` [INFO] [stdout] found reference `&git2::Object<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | let analysis = repo.merge_analysis(&[&annotated_commit]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&AnnotatedCommit<'_>`, found `&Object<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AnnotatedCommit<'_>` [INFO] [stdout] found reference `&git2::Object<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | repo.merge(&[&annotated_commit], None, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&AnnotatedCommit<'_>`, found `&Object<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AnnotatedCommit<'_>` [INFO] [stdout] found reference `&git2::Object<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | repo.merge(&[&annotated_commit], None, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `&AnnotatedCommit<'_>`, found `&Object<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&AnnotatedCommit<'_>` [INFO] [stdout] found reference `&git2::Object<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | remote.push(&[refspec], Some(&mut callbacks)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected `&mut PushOptions<'_>`, found `&mut RemoteCallbacks<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PushOptions<'_>` [INFO] [stdout] found mutable reference `&mut RemoteCallbacks<'_>` [INFO] [stdout] help: the type constructed contains `&mut RemoteCallbacks<'_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | remote.push(&[refspec], Some(&mut callbacks)) [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | remote.push(&[refspec], Some(&mut callbacks)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ expected `&mut PushOptions<'_>`, found `&mut RemoteCallbacks<'_>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut PushOptions<'_>` [INFO] [stdout] found mutable reference `&mut RemoteCallbacks<'_>` [INFO] [stdout] help: the type constructed contains `&mut RemoteCallbacks<'_>` due to the type of the argument passed [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | remote.push(&[refspec], Some(&mut callbacks)) [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/7df376b035b3d12ff0386ad8b45b76dbe020257b/library/core/src/option.rs:599:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `GitRush` (bin "GitRush") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `GitRush` (bin "GitRush" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a425c5ed1e38a97d7ac906cfabeffe78c0466de61b9e0636bd56b17d311d023b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a425c5ed1e38a97d7ac906cfabeffe78c0466de61b9e0636bd56b17d311d023b", kill_on_drop: false }` [INFO] [stdout] a425c5ed1e38a97d7ac906cfabeffe78c0466de61b9e0636bd56b17d311d023b