[INFO] cloning repository https://github.com/KevinMGranger/elm-vendor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KevinMGranger/elm-vendor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Felm-vendor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Felm-vendor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02a75c1875b17ef774d0152a00b997872ac95f01 [INFO] checking KevinMGranger/elm-vendor against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKevinMGranger%2Felm-vendor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KevinMGranger/elm-vendor on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KevinMGranger/elm-vendor [INFO] finished tweaking git repo https://github.com/KevinMGranger/elm-vendor [INFO] tweaked toml for git repo https://github.com/KevinMGranger/elm-vendor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KevinMGranger/elm-vendor 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/withoutboats/fehler` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ranges v0.3.3 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded serde_with v1.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9b11ea66e6b480ea0f2207fa0a15a97aab1e29b5dfd378ea12f5f48a26d1e75 [INFO] running `Command { std: "docker" "start" "-a" "a9b11ea66e6b480ea0f2207fa0a15a97aab1e29b5dfd378ea12f5f48a26d1e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9b11ea66e6b480ea0f2207fa0a15a97aab1e29b5dfd378ea12f5f48a26d1e75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b11ea66e6b480ea0f2207fa0a15a97aab1e29b5dfd378ea12f5f48a26d1e75", kill_on_drop: false }` [INFO] [stdout] a9b11ea66e6b480ea0f2207fa0a15a97aab1e29b5dfd378ea12f5f48a26d1e75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6403e9e733c35b512d7b688373ea7fda2df10047ef480af65eaa79fd93114a [INFO] running `Command { std: "docker" "start" "-a" "2e6403e9e733c35b512d7b688373ea7fda2df10047ef480af65eaa79fd93114a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking zeroize v1.4.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking ranges v0.3.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking dialoguer v0.9.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling fehler-macros v1.0.0 (https://github.com/withoutboats/fehler?rev=cc7b192f935bd27c30f1bc4ee6dd2a5aed53b900#cc7b192f) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking git2 v0.13.25 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking fehler v1.0.0 (https://github.com/withoutboats/fehler?rev=cc7b192f935bd27c30f1bc4ee6dd2a5aed53b900#cc7b192f) [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking elm-vendor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/vendoring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use git2::{self, Repository}; [INFO] [stdout] | ^^^^ the item `git2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> src/vendoring.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use git2::{self, Repository}; [INFO] [stdout] | ^^^^ the item `git2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lamdera_project` [INFO] [stdout] --> src/vendoring.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let is_lamdera_project = is_lamdera_project(&elm_vendor_json.main_deps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lamdera_project` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/vendoring.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let dependencies: HashMap = dependencies [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lamdera_project` [INFO] [stdout] --> src/vendoring.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let is_lamdera_project = is_lamdera_project(&elm_vendor_json.main_deps); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lamdera_project` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dependencies` [INFO] [stdout] --> src/vendoring.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let dependencies: HashMap = dependencies [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `stdin` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/elm_cli.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | write!(stdin, "\n")?; [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 31 | let mut stdin = child.stdin.take().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `stdin` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/elm_cli.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | write!(stdin, "\n")?; [INFO] [stdout] | ^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 31 | let mut stdin = child.stdin.take().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elm-vendor` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `elm-vendor` (lib) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e6403e9e733c35b512d7b688373ea7fda2df10047ef480af65eaa79fd93114a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6403e9e733c35b512d7b688373ea7fda2df10047ef480af65eaa79fd93114a", kill_on_drop: false }` [INFO] [stdout] 2e6403e9e733c35b512d7b688373ea7fda2df10047ef480af65eaa79fd93114a