[INFO] fetching crate commit--cli 0.2.0... [INFO] checking commit--cli-0.2.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate commit--cli 0.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate commit--cli 0.2.0 [INFO] finished tweaking crates.io crate commit--cli 0.2.0 [INFO] tweaked toml for crates.io crate commit--cli 0.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate commit--cli 0.2.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 commit--cli 0.2.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-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c30d769fbe3820b0a2535d40f9e15bc56ce2c06406130fea4c220588ceba688 [INFO] running `Command { std: "docker" "start" "-a" "5c30d769fbe3820b0a2535d40f9e15bc56ce2c06406130fea4c220588ceba688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c30d769fbe3820b0a2535d40f9e15bc56ce2c06406130fea4c220588ceba688", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c30d769fbe3820b0a2535d40f9e15bc56ce2c06406130fea4c220588ceba688", kill_on_drop: false }` [INFO] [stdout] 5c30d769fbe3820b0a2535d40f9e15bc56ce2c06406130fea4c220588ceba688 [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 -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] e7d9b251a7c57f7c9c3b215d3c3cbdf53bc2b3c89a5d0599954c9abd1c85b28c [INFO] running `Command { std: "docker" "start" "-a" "e7d9b251a7c57f7c9c3b215d3c3cbdf53bc2b3c89a5d0599954c9abd1c85b28c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking nb-connect v1.2.0 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking block-modes v0.7.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking webbrowser v0.5.5 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling zbus_macros v1.9.1 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Compiling zvariant_derive v2.10.0 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking zvariant v2.10.0 [INFO] [stderr] Checking serde_path_to_error v0.1.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ureq v2.3.1 [INFO] [stderr] Checking oauth2 v4.1.0 [INFO] [stderr] Checking zbus v1.9.1 [INFO] [stderr] Checking git2 v0.13.25 [INFO] [stderr] Checking secret-service v2.0.1 [INFO] [stderr] Checking keyring v1.0.0 [INFO] [stderr] Checking commit--cli v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / /// A reference to identify the commit, like its hash or a tag. [INFO] [stdout] 30 | | /// Defaults to the latest commit on the current branch. [INFO] [stdout] 31 | | #[structopt(name = "ref")] [INFO] [stdout] 32 | | git_ref: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_commit(repo: &Repository, git_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 83 | fn get_commit(repo: &Repository, git_ref: Option) -> Result, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `commit--cli` (bin "git-blog" test) due to 1 previous error; 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:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | / /// A reference to identify the commit, like its hash or a tag. [INFO] [stdout] 30 | | /// Defaults to the latest commit on the current branch. [INFO] [stdout] 31 | | #[structopt(name = "ref")] [INFO] [stdout] 32 | | git_ref: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | fn get_commit(repo: &Repository, git_ref: Option) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 83 | fn get_commit(repo: &Repository, git_ref: Option) -> Result, git2::Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `commit--cli` (bin "git-blog") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e7d9b251a7c57f7c9c3b215d3c3cbdf53bc2b3c89a5d0599954c9abd1c85b28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d9b251a7c57f7c9c3b215d3c3cbdf53bc2b3c89a5d0599954c9abd1c85b28c", kill_on_drop: false }` [INFO] [stdout] e7d9b251a7c57f7c9c3b215d3c3cbdf53bc2b3c89a5d0599954c9abd1c85b28c