[INFO] cloning repository https://github.com/Pilou97/yggit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pilou97/yggit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPilou97%2Fyggit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPilou97%2Fyggit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b94c86a191b103329984ea515bbfa5f4ffe6595 [INFO] checking Pilou97/yggit against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPilou97%2Fyggit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Pilou97/yggit [INFO] finished tweaking git repo https://github.com/Pilou97/yggit [INFO] tweaked toml for git repo https://github.com/Pilou97/yggit written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pilou97/yggit 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 git repo https://github.com/Pilou97/yggit 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 52befc0352cb4dc885d8f986ed520f61e7df34841028d65990be1758cf993edc [INFO] running `Command { std: "docker" "start" "-a" "52befc0352cb4dc885d8f986ed520f61e7df34841028d65990be1758cf993edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52befc0352cb4dc885d8f986ed520f61e7df34841028d65990be1758cf993edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52befc0352cb4dc885d8f986ed520f61e7df34841028d65990be1758cf993edc", kill_on_drop: false }` [INFO] [stdout] 52befc0352cb4dc885d8f986ed520f61e7df34841028d65990be1758cf993edc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1de5e12db86ad31f58c323ba018cfbeb8bdb9fdb864c2076135a48b2db7d2ba1 [INFO] running `Command { std: "docker" "start" "-a" "1de5e12db86ad31f58c323ba018cfbeb8bdb9fdb864c2076135a48b2db7d2ba1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking terminal-prompt v0.2.3 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rust_fzf v0.1.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Checking git2 v0.18.2 [INFO] [stderr] Checking auth-git2 v0.5.3 [INFO] [stderr] Checking yggit v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/git/git.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct EnhancedCommit { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/git/git.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | PathBuf::from_str(path).context("invalid absolute path")? [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/git/git.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn main_branch(&self) -> Option { [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] 63 | pub fn main_branch(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yggit` (bin "yggit") due to 1 previous error; 2 warnings 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/git/git.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | PathBuf::from_str(path).context("invalid absolute path")? [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/git/git.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn main_branch(&self) -> Option { [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] 63 | pub fn main_branch(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yggit` (bin "yggit" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1de5e12db86ad31f58c323ba018cfbeb8bdb9fdb864c2076135a48b2db7d2ba1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de5e12db86ad31f58c323ba018cfbeb8bdb9fdb864c2076135a48b2db7d2ba1", kill_on_drop: false }` [INFO] [stdout] 1de5e12db86ad31f58c323ba018cfbeb8bdb9fdb864c2076135a48b2db7d2ba1