[INFO] fetching crate if-changed 0.3.2... [INFO] checking if-changed-0.3.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate if-changed 0.3.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate if-changed 0.3.2 [INFO] finished tweaking crates.io crate if-changed 0.3.2 [INFO] tweaked toml for crates.io crate if-changed 0.3.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate if-changed 0.3.2 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 if-changed 0.3.2 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] d263e043ecc85cee6c5853aa3b26af6930f09d74bbb7cb3ea30183da19c53061 [INFO] running `Command { std: "docker" "start" "-a" "d263e043ecc85cee6c5853aa3b26af6930f09d74bbb7cb3ea30183da19c53061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d263e043ecc85cee6c5853aa3b26af6930f09d74bbb7cb3ea30183da19c53061", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d263e043ecc85cee6c5853aa3b26af6930f09d74bbb7cb3ea30183da19c53061", kill_on_drop: false }` [INFO] [stdout] d263e043ecc85cee6c5853aa3b26af6930f09d74bbb7cb3ea30183da19c53061 [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] 6fc9bb86af96fee29d8a913aa37c5b5ad8917be8bb1b5d83099707ce83c7db7b [INFO] running `Command { std: "docker" "start" "-a" "6fc9bb86af96fee29d8a913aa37c5b5ad8917be8bb1b5d83099707ce83c7db7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling if-changed v0.3.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking similar v2.5.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking genawaiter v0.99.1 [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn diff(&self, mut options: impl BorrowMut) -> git2::Diff { [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] 79 | fn diff(&self, mut options: impl BorrowMut) -> git2::Diff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | fn patch(&self, path: &Path) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn patch(&self, path: &Path) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> engine/git.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | yield_!(Err(PathBuf::from_str(&entry.to_str_lossy()).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> engine/git.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | .map(|pattern| PathBuf::from_str(&pattern).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | fn split_patterns(value: &[u8]) -> impl Iterator> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | fn split_patterns(value: &[u8]) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> parser.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | value: PathBuf::from_str(&pattern).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `if-changed` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | fn diff(&self, mut options: impl BorrowMut) -> git2::Diff { [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] 79 | fn diff(&self, mut options: impl BorrowMut) -> git2::Diff<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | fn patch(&self, path: &Path) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | fn patch(&self, path: &Path) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> engine/git.rs:145:29 [INFO] [stdout] | [INFO] [stdout] 145 | yield_!(Err(PathBuf::from_str(&entry.to_str_lossy()).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> engine/git.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | .map(|pattern| PathBuf::from_str(&pattern).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> engine/git.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 232 | fn split_patterns(value: &[u8]) -> impl Iterator> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | fn split_patterns(value: &[u8]) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> parser.rs:259:24 [INFO] [stdout] | [INFO] [stdout] 259 | value: PathBuf::from_str(&pattern).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `if-changed` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6fc9bb86af96fee29d8a913aa37c5b5ad8917be8bb1b5d83099707ce83c7db7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc9bb86af96fee29d8a913aa37c5b5ad8917be8bb1b5d83099707ce83c7db7b", kill_on_drop: false }` [INFO] [stdout] 6fc9bb86af96fee29d8a913aa37c5b5ad8917be8bb1b5d83099707ce83c7db7b