[INFO] cloning repository https://github.com/cascad/grepzilla [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cascad/grepzilla" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcascad%2Fgrepzilla", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcascad%2Fgrepzilla'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cb314f55a60e85a96759e14aee0df9197720b37 [INFO] testing cascad/grepzilla against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcascad%2Fgrepzilla" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cascad/grepzilla [INFO] finished tweaking git repo https://github.com/cascad/grepzilla [INFO] tweaked toml for git repo https://github.com/cascad/grepzilla written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cascad/grepzilla on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cascad/grepzilla 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru v0.16.0 [INFO] [stderr] Downloaded pcre2 v0.2.9 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded crc64fast v1.1.0 [INFO] [stderr] Downloaded clap v4.5.45 [INFO] [stderr] Downloaded croaring v2.3.1 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded io-uring v0.7.9 [INFO] [stderr] Downloaded cc v1.2.33 [INFO] [stderr] Downloaded clap_builder v4.5.44 [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded croaring-sys v4.3.5 [INFO] [stderr] Downloaded pcre2-sys v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db701bc9e8b66f3ad896200b25a6a0f72f1c20774ea9fad473fbd946f120f824 [INFO] running `Command { std: "docker" "start" "-a" "db701bc9e8b66f3ad896200b25a6a0f72f1c20774ea9fad473fbd946f120f824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db701bc9e8b66f3ad896200b25a6a0f72f1c20774ea9fad473fbd946f120f824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db701bc9e8b66f3ad896200b25a6a0f72f1c20774ea9fad473fbd946f120f824", kill_on_drop: false }` [INFO] [stdout] db701bc9e8b66f3ad896200b25a6a0f72f1c20774ea9fad473fbd946f120f824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31789de92014ee67fd286199b489fa63ad45f611b093087896d7eb610fd5ac80 [INFO] running `Command { std: "docker" "start" "-a" "31789de92014ee67fd286199b489fa63ad45f611b093087896d7eb610fd5ac80", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling crc64fast v1.1.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling lru v0.16.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling nanoid v0.4.0 [INFO] [stderr] Compiling croaring-sys v4.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling croaring v2.3.1 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling grepzilla_segment v0.1.0 (/opt/rustwide/workdir/crates/grepzilla_segment) [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stdout] warning: unused imports: `Cursor` and `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{Cursor, Read}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v2::crc::crc64_ecma` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::v2::crc::crc64_ecma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | io::{BufRead, BufReader, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/codec.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_varint(mut bytes: &[u8]) -> Option<(u64, &[u8])> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut write_uvar = |x: u64, w: &mut std::fs::File| -> anyhow::Result<()> { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields_idx` is never read [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BinSegmentReader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | fields_idx: Mmap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_len_without_crc` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn file_len_without_crc(p: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_crc64_footer` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_crc64_footer(f: &mut File) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gzctl v0.1.0 (/opt/rustwide/workdir/crates/gzctl) [INFO] [stdout] warning: unused import: `VerifyEngine` [INFO] [stdout] --> crates/gzctl/src/main.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | use grepzilla_segment::verify::{EnvVerifyFactory, VerifyEngine, VerifyFactory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling broker v0.1.0 (/opt/rustwide/workdir/crates/broker) [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> crates/broker/src/http_api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ManifestFlat` [INFO] [stdout] --> crates/broker/src/http_api.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::manifest::{ManifestFlat, ManifestStore}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/search/executor.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let mut out = match out_res { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut pin_gen = m.shards.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.72s [INFO] running `Command { std: "docker" "inspect" "31789de92014ee67fd286199b489fa63ad45f611b093087896d7eb610fd5ac80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31789de92014ee67fd286199b489fa63ad45f611b093087896d7eb610fd5ac80", kill_on_drop: false }` [INFO] [stdout] 31789de92014ee67fd286199b489fa63ad45f611b093087896d7eb610fd5ac80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55216acd26d70a3634dafafc063c21c98f46251ec47a62264e9ca10279e73db [INFO] running `Command { std: "docker" "start" "-a" "d55216acd26d70a3634dafafc063c21c98f46251ec47a62264e9ca10279e73db", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling grepzilla_segment v0.1.0 (/opt/rustwide/workdir/crates/grepzilla_segment) [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stdout] warning: unused imports: `Cursor` and `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{Cursor, Read}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v2::crc::crc64_ecma` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::v2::crc::crc64_ecma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | io::{BufRead, BufReader, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/codec.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_varint(mut bytes: &[u8]) -> Option<(u64, &[u8])> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut write_uvar = |x: u64, w: &mut std::fs::File| -> anyhow::Result<()> { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields_idx` is never read [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BinSegmentReader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | fields_idx: Mmap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_len_without_crc` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn file_len_without_crc(p: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_crc64_footer` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_crc64_footer(f: &mut File) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gzctl v0.1.0 (/opt/rustwide/workdir/crates/gzctl) [INFO] [stdout] warning: unused import: `VerifyEngine` [INFO] [stdout] --> crates/gzctl/src/main.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | use grepzilla_segment::verify::{EnvVerifyFactory, VerifyEngine, VerifyFactory}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> crates/grepzilla_segment/tests/v2_docs_roundtrip.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor` and `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | io::{Cursor, Read}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::v2::crc::crc64_ecma` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::v2::crc::crc64_ecma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling broker v0.1.0 (/opt/rustwide/workdir/crates/broker) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | io::{BufRead, BufReader, Read, Seek, SeekFrom, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> crates/broker/src/http_api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ManifestFlat` [INFO] [stdout] --> crates/broker/src/http_api.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::manifest::{ManifestFlat, ManifestStore}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/codec.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_varint(mut bytes: &[u8]) -> Option<(u64, &[u8])> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | let mut write_uvar = |x: u64, w: &mut std::fs::File| -> anyhow::Result<()> { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fields_idx` is never read [INFO] [stdout] --> crates/grepzilla_segment/src/v2/reader.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct BinSegmentReader { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | fields_idx: Mmap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_len_without_crc` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn file_len_without_crc(p: &std::path::Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/search/executor.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let mut out = match out_res { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_crc64_footer` is never used [INFO] [stdout] --> crates/grepzilla_segment/src/v2/writer.rs:383:4 [INFO] [stdout] | [INFO] [stdout] 383 | fn write_crc64_footer(f: &mut File) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs` [INFO] [stdout] --> crates/broker/src/http_api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::fs; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ManifestFlat` [INFO] [stdout] --> crates/broker/src/http_api.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::manifest::{ManifestFlat, ManifestStore}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut pin_gen = m.shards.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/search/executor.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let mut out = match out_res { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/broker/src/manifest/mod.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut pin_gen = m.shards.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn make_router_with_parallelism(parallelism: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn make_router_with_parallelism(parallelism: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn make_router_with_parallelism(parallelism: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn make_router_with_parallelism(parallelism: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `broker` (lib test); 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/e9385f9eea0221ef295a188d49d16f8f5189abf1/bin/rustc --crate-name broker --edition=2021 crates/broker/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=45b4d4a4f2fa3f79 -C extra-filename=-064dcb08469348ae --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-88c2c5723ab188c9.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c1a73bf7ca47cde7.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-ac4b956c7cdad384.rlib --extern crc32fast=/opt/rustwide/target/debug/deps/libcrc32fast-cb59b8a1512452f0.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-31a2d334ac9330d7.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-1ea75d5ed0609548.rlib --extern grepzilla_segment=/opt/rustwide/target/debug/deps/libgrepzilla_segment-f1f556d64ba25ee1.rlib --extern http_body_util=/opt/rustwide/target/debug/deps/libhttp_body_util-f2ff7a97002ec3c2.rlib --extern nanoid=/opt/rustwide/target/debug/deps/libnanoid-fa07b7b75b3851a9.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-716158612cdfffaf.rlib --extern regex=/opt/rustwide/target/debug/deps/libregex-8472ba6b36f0fffa.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-97900e3498a15579.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-a57c9c723387a11b.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-e8760d0a0f809312.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-afb7a050d646a4d4.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-0edb47a140bfb159.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-20696c9dbbff2d92.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-a80f9fcf52c0c09e.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-116e7e5dd8b1ff83.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-8669926072998fb1.rlib --extern xxhash_rust=/opt/rustwide/target/debug/deps/libxxhash_rust-a22d2a3ffbd6b157.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/croaring-sys-76f5b58eea2549e6/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `make_router_with_parallelism_and_cap` is never used [INFO] [stdout] --> crates/broker/tests/helpers.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn make_router_with_parallelism_and_cap(parallelism: usize, cap: usize) -> Router { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d55216acd26d70a3634dafafc063c21c98f46251ec47a62264e9ca10279e73db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55216acd26d70a3634dafafc063c21c98f46251ec47a62264e9ca10279e73db", kill_on_drop: false }` [INFO] [stdout] d55216acd26d70a3634dafafc063c21c98f46251ec47a62264e9ca10279e73db