[INFO] fetching crate git-repo-language-trends 0.4.0... [INFO] checking git-repo-language-trends-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate git-repo-language-trends 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate git-repo-language-trends 0.4.0 [INFO] finished tweaking crates.io crate git-repo-language-trends 0.4.0 [INFO] tweaked toml for crates.io crate git-repo-language-trends 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate git-repo-language-trends 0.4.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate git-repo-language-trends 0.4.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a1d56d5816ac03db894a354befff8c7c2d9220327903b87c21d80e7c4350ba [INFO] running `Command { std: "docker" "start" "-a" "d5a1d56d5816ac03db894a354befff8c7c2d9220327903b87c21d80e7c4350ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a1d56d5816ac03db894a354befff8c7c2d9220327903b87c21d80e7c4350ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a1d56d5816ac03db894a354befff8c7c2d9220327903b87c21d80e7c4350ba", kill_on_drop: false }` [INFO] [stdout] d5a1d56d5816ac03db894a354befff8c7c2d9220327903b87c21d80e7c4350ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6142332214d509be73c2c4540b8cf0ee4a4894a7cf278acc87236f321c6de468 [INFO] running `Command { std: "docker" "start" "-a" "6142332214d509be73c2c4540b8cf0ee4a4894a7cf278acc87236f321c6de468", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.59 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking predicates-core v1.0.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking predicates-tree v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.18+1.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking console v0.14.0 [INFO] [stderr] Checking predicates v1.0.6 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking assert_cmd v1.0.2 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking git2 v0.13.16 [INFO] [stderr] Checking git-repo-language-trends v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// For what file extensions lines will be counted. Can be specified [INFO] [stdout] 29 | | /// multiple times. Use '.ext' for regular line counting. Use .'ext1+.ext2' [INFO] [stdout] 30 | | /// syntax for auto-summation into a single column. If you specify no file [INFO] [stdout] 31 | | /// extensions, the top three extensions in the repository will be used, [INFO] [stdout] 32 | | /// based on the number of lines in files with the extensions. [INFO] [stdout] 33 | | #[structopt(name = ".ext1 .ext2+.ext3 .ext4 ... ")] [INFO] [stdout] 34 | | columns: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Optional. The commit to start parsing from. [INFO] [stdout] 45 | | #[structopt(long, default_value = "HEAD")] [INFO] [stdout] 46 | | start_commit: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repoutils.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 23 | args: &super::Args, [INFO] [stdout] 24 | ) -> Result, git2::Commit)>, git2::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ 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] 24 | ) -> Result, git2::Commit<'_>)>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-repo-language-trends` (bin "git-repo-language-trends") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// For what file extensions lines will be counted. Can be specified [INFO] [stdout] 29 | | /// multiple times. Use '.ext' for regular line counting. Use .'ext1+.ext2' [INFO] [stdout] 30 | | /// syntax for auto-summation into a single column. If you specify no file [INFO] [stdout] 31 | | /// extensions, the top three extensions in the repository will be used, [INFO] [stdout] 32 | | /// based on the number of lines in files with the extensions. [INFO] [stdout] 33 | | #[structopt(name = ".ext1 .ext2+.ext3 .ext4 ... ")] [INFO] [stdout] 34 | | columns: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Optional. The commit to start parsing from. [INFO] [stdout] 45 | | #[structopt(long, default_value = "HEAD")] [INFO] [stdout] 46 | | start_commit: String, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/repoutils.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 23 | args: &super::Args, [INFO] [stdout] 24 | ) -> Result, git2::Commit)>, git2::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ 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] 24 | ) -> Result, git2::Commit<'_>)>, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-repo-language-trends` (bin "git-repo-language-trends" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6142332214d509be73c2c4540b8cf0ee4a4894a7cf278acc87236f321c6de468", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6142332214d509be73c2c4540b8cf0ee4a4894a7cf278acc87236f321c6de468", kill_on_drop: false }` [INFO] [stdout] 6142332214d509be73c2c4540b8cf0ee4a4894a7cf278acc87236f321c6de468