[INFO] fetching crate laurel 0.7.3... [INFO] checking laurel-0.7.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate laurel 0.7.3 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate laurel 0.7.3 [INFO] finished tweaking crates.io crate laurel 0.7.3 [INFO] tweaked toml for crates.io crate laurel 0.7.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate laurel 0.7.3 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 laurel 0.7.3 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] fddf3c2e1ea24b56a67e1740a71171577147ce667d9c612122d60af4e0a38f66 [INFO] running `Command { std: "docker" "start" "-a" "fddf3c2e1ea24b56a67e1740a71171577147ce667d9c612122d60af4e0a38f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fddf3c2e1ea24b56a67e1740a71171577147ce667d9c612122d60af4e0a38f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddf3c2e1ea24b56a67e1740a71171577147ce667d9c612122d60af4e0a38f66", kill_on_drop: false }` [INFO] [stdout] fddf3c2e1ea24b56a67e1740a71171577147ce667d9c612122d60af4e0a38f66 [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] 6ef8f945d8f3537e3da287399e021d55d87853d9b3fba474e39b1e9d1bab5972 [INFO] running `Command { std: "docker" "start" "-a" "6ef8f945d8f3537e3da287399e021d55d87853d9b3fba474e39b1e9d1bab5972", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling exacl v0.12.0 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling linux-audit-parser v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking heapless v0.8.0 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking getopts v0.2.23 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking ipnetwork v0.21.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling gperftools v0.2.0 [INFO] [stderr] Compiling divan-macros v0.1.14 [INFO] [stderr] Checking regex-lite v0.1.6 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking faster-hex v0.10.0 [INFO] [stderr] Checking syslog v7.0.0 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Checking toml v0.9.4 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking divan v0.1.14 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling laurel v0.7.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/coalesce.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 398 | pub fn state(&self) -> &State<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/procfs.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_proc_pid_stat(buf: &[u8]) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_proc_pid_stat(buf: &[u8]) -> Result, ProcFSError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/laurel/main.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | fn read_state(path: &Path, max_age: Duration) -> Option { [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] 192 | fn read_state(path: &Path, max_age: Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/coalesce.rs:398:18 [INFO] [stdout] | [INFO] [stdout] 398 | pub fn state(&self) -> &State { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 398 | pub fn state(&self) -> &State<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/procfs.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_proc_pid_stat(buf: &[u8]) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 103 | pub fn parse_proc_pid_stat(buf: &[u8]) -> Result, ProcFSError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/test.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let prefix: PathBuf = "src/testdata".parse()?; [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/test.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let prefix: PathBuf = "src/testdata".parse()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin/laurel/main.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | fn read_state(path: &Path, max_age: Duration) -> Option { [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] 192 | fn read_state(path: &Path, max_age: Duration) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `laurel` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6ef8f945d8f3537e3da287399e021d55d87853d9b3fba474e39b1e9d1bab5972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ef8f945d8f3537e3da287399e021d55d87853d9b3fba474e39b1e9d1bab5972", kill_on_drop: false }` [INFO] [stdout] 6ef8f945d8f3537e3da287399e021d55d87853d9b3fba474e39b1e9d1bab5972