[INFO] cloning repository https://github.com/ducks/gir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ducks/gir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Fgir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Fgir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0093a8243c9275c5bf139a4362e49995117a2616 [INFO] checking ducks/gir against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fducks%2Fgir" "/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/ducks/gir [INFO] finished tweaking git repo https://github.com/ducks/gir [INFO] tweaked toml for git repo https://github.com/ducks/gir written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ducks/gir on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ducks/gir 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e7cd3ab3f3e0c6c61cbc4fa8ca8ca4bbf5748293ca55b4107256e29e350dadf [INFO] running `Command { std: "docker" "start" "-a" "5e7cd3ab3f3e0c6c61cbc4fa8ca8ca4bbf5748293ca55b4107256e29e350dadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e7cd3ab3f3e0c6c61cbc4fa8ca8ca4bbf5748293ca55b4107256e29e350dadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7cd3ab3f3e0c6c61cbc4fa8ca8ca4bbf5748293ca55b4107256e29e350dadf", kill_on_drop: false }` [INFO] [stdout] 5e7cd3ab3f3e0c6c61cbc4fa8ca8ca4bbf5748293ca55b4107256e29e350dadf [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 745c7935d6dc2fccf53203b56b98c9e744ef108ed0d652a725a7670d874a001d [INFO] running `Command { std: "docker" "start" "-a" "745c7935d6dc2fccf53203b56b98c9e744ef108ed0d652a725a7670d874a001d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling hashbrown v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking dlv-list v0.2.2 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling proc-macro-error v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.9 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.2 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking ordered-multimap v0.2.4 [INFO] [stderr] Checking rust-ini v0.15.2 [INFO] [stderr] Checking structopt v0.3.9 [INFO] [stderr] Checking gir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/repo.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn repo_path(&self, path: PathBuf) -> PathBuf { [INFO] [stdout] | --------- ^^^^^^^ expected `PathBuf`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `path` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn repo_path(&self, path: PathBuf) -> PathBuf { [INFO] [stdout] 57 ~ path [INFO] [stdout] 58 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/repo.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn repo_path(&self, path: PathBuf) -> PathBuf { [INFO] [stdout] | --------- ^^^^^^^ expected `PathBuf`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `path` [INFO] [stdout] | [INFO] [stdout] 56 | pub fn repo_path(&self, path: PathBuf) -> PathBuf { [INFO] [stdout] 57 ~ path [INFO] [stdout] 58 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut git_dir = &mut current_dir; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut config_path = &mut current_dir; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut git_dir = &mut current_dir; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/repo.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut config_path = &mut current_dir; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [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 `gir` (lib test) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gir` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "745c7935d6dc2fccf53203b56b98c9e744ef108ed0d652a725a7670d874a001d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745c7935d6dc2fccf53203b56b98c9e744ef108ed0d652a725a7670d874a001d", kill_on_drop: false }` [INFO] [stdout] 745c7935d6dc2fccf53203b56b98c9e744ef108ed0d652a725a7670d874a001d