[INFO] fetching crate benchie 0.5.0... [INFO] checking benchie-0.5.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate benchie 0.5.0 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking crates.io crate benchie 0.5.0 [INFO] finished tweaking crates.io crate benchie 0.5.0 [INFO] tweaked toml for crates.io crate benchie 0.5.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate benchie 0.5.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 benchie 0.5.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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fcccad05419e8127007b70892bacb6b8649493990d216149fb876464a7b3d9f4 [INFO] running `Command { std: "docker" "start" "-a" "fcccad05419e8127007b70892bacb6b8649493990d216149fb876464a7b3d9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcccad05419e8127007b70892bacb6b8649493990d216149fb876464a7b3d9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcccad05419e8127007b70892bacb6b8649493990d216149fb876464a7b3d9f4", kill_on_drop: false }` [INFO] [stdout] fcccad05419e8127007b70892bacb6b8649493990d216149fb876464a7b3d9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 27ebebd7c7478113f533a9a1ebf2820673f21b4e6f4d11c69bb50c27c97a3a5c [INFO] running `Command { std: "docker" "start" "-a" "27ebebd7c7478113f533a9a1ebf2820673f21b4e6f4d11c69bb50c27c97a3a5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling sysinfo v0.24.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling openssl-src v111.20.0+1.1.1o [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.12.26+1.3.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling cli-table-derive v0.4.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling serial_test_derive v0.7.0 [INFO] [stderr] Checking serial_test v0.7.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking cli-table v0.4.7 [INFO] [stderr] Checking git2 v0.13.25 [INFO] [stderr] Checking benchie v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_head_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 93 | fn read_head_commit(repo: &Repository) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/git.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_head_commit(repo: &Repository) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 93 | fn read_head_commit(repo: &Repository) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | OsString::from_str(string).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `benchie` (bin "benchie" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "27ebebd7c7478113f533a9a1ebf2820673f21b4e6f4d11c69bb50c27c97a3a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ebebd7c7478113f533a9a1ebf2820673f21b4e6f4d11c69bb50c27c97a3a5c", kill_on_drop: false }` [INFO] [stdout] 27ebebd7c7478113f533a9a1ebf2820673f21b4e6f4d11c69bb50c27c97a3a5c