[INFO] fetching crate sonnerie 0.9.1... [INFO] checking sonnerie-0.9.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sonnerie 0.9.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sonnerie 0.9.1 [INFO] finished tweaking crates.io crate sonnerie 0.9.1 [INFO] tweaked toml for crates.io crate sonnerie 0.9.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sonnerie 0.9.1 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 sonnerie 0.9.1 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 5f92577bbbe79af6bda22df8ffa4710e87163b608906aa8ecc01944b39bb4039 [INFO] running `Command { std: "docker" "start" "-a" "5f92577bbbe79af6bda22df8ffa4710e87163b608906aa8ecc01944b39bb4039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f92577bbbe79af6bda22df8ffa4710e87163b608906aa8ecc01944b39bb4039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f92577bbbe79af6bda22df8ffa4710e87163b608906aa8ecc01944b39bb4039", kill_on_drop: false }` [INFO] [stdout] 5f92577bbbe79af6bda22df8ffa4710e87163b608906aa8ecc01944b39bb4039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 2b162a30c455de38d99e0a97cd22f8ca0344febd27a68f5200c2832404736cbf [INFO] running `Command { std: "docker" "start" "-a" "2b162a30c455de38d99e0a97cd22f8ca0344febd27a68f5200c2832404736cbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling static_init_macro v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling static_init v1.0.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking sorted-vec v0.8.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking min-max-heap v1.3.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking escape_string v0.1.2 [INFO] [stderr] Checking range_union_find v0.4.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Compiling lz4-sys v1.9.5 [INFO] [stderr] Checking lending-cell v0.1.1 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tempfile-fast v0.3.4 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling concat-idents v1.1.5 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking choice-string v0.0.1 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper v0.14.29 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking lines_from_request v0.3.1 [INFO] [stderr] Checking lz4 v1.25.0 [INFO] [stderr] Checking shardio v0.8.2 [INFO] [stderr] Checking sonnerie v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn first(&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] 165 | pub(crate) fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) fn scan_from(&self, pos: usize) -> 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] 169 | pub(crate) fn scan_from(&self, pos: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) fn find_after(&self, cmp: impl Fn(&str) -> std::cmp::Ordering) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) fn find_after(&self, cmp: impl Fn(&str) -> std::cmp::Ordering) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/sonnerie-serve.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req: Request| { [INFO] [stdout] 56 | | let srv = srv.clone(); [INFO] [stdout] 57 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] 68 | | } [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, Infallible> [INFO] [stdout] --> src/bin/sonnerie-serve.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req: Request| { [INFO] [stdout] 56 | | let srv = srv.clone(); [INFO] [stdout] 57 | | async move { [INFO] [stdout] 58 | | let srv = srv.clone(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sonnerie` (bin "sonnerie-serve" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/bin/sonnerie-serve.rs:54:14 [INFO] [stdout] | [INFO] [stdout] 54 | async move { [INFO] [stdout] | ____________________^ [INFO] [stdout] 55 | | Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req: Request| { [INFO] [stdout] 56 | | let srv = srv.clone(); [INFO] [stdout] 57 | | async move { [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] 68 | | } [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, Infallible> [INFO] [stdout] --> src/bin/sonnerie-serve.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | / Ok::<_, std::convert::Infallible>(hyper::service::service_fn(move |req: Request| { [INFO] [stdout] 56 | | let srv = srv.clone(); [INFO] [stdout] 57 | | async move { [INFO] [stdout] 58 | | let srv = srv.clone(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckOnDrop` is never constructed [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | struct CheckOnDrop(Child, BufWriter); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | (Some(a), None, None) => filter_parallel!(db.get_range(a..)), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `filter_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckOnDrop` is never constructed [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | struct CheckOnDrop(Child, BufWriter); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | (None, Some(b), None) => filter_parallel!(db.get_range(..b)), [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `filter_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckOnDrop` is never constructed [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | struct CheckOnDrop(Child, BufWriter); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | (Some(a), Some(b), None) => filter_parallel!(db.get_range(a..b)), [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `filter_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CheckOnDrop` is never constructed [INFO] [stdout] --> src/main.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | struct CheckOnDrop(Child, BufWriter); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 324 | filter_parallel!(db.get_filter(&w)); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `filter_parallel` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sonnerie` (bin "sonnerie-serve") due to 2 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | pub(crate) fn first(&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] 165 | pub(crate) fn first(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | pub(crate) fn scan_from(&self, pos: usize) -> 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] 169 | pub(crate) fn scan_from(&self, pos: usize) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/segment_reader.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) fn find_after(&self, cmp: impl Fn(&str) -> std::cmp::Ordering) -> 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 238 | pub(crate) fn find_after(&self, cmp: impl Fn(&str) -> std::cmp::Ordering) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2b162a30c455de38d99e0a97cd22f8ca0344febd27a68f5200c2832404736cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b162a30c455de38d99e0a97cd22f8ca0344febd27a68f5200c2832404736cbf", kill_on_drop: false }` [INFO] [stdout] 2b162a30c455de38d99e0a97cd22f8ca0344febd27a68f5200c2832404736cbf