[INFO] cloning repository https://github.com/ritvikos/idx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritvikos/idx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33b7a4e9410601ffe74ce9ccc40cbc2abe4bcf2a [INFO] testing ritvikos/idx against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritvikos%2Fidx" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ritvikos/idx [INFO] finished tweaking git repo https://github.com/ritvikos/idx [INFO] tweaked toml for git repo https://github.com/ritvikos/idx written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ritvikos/idx on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 126 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding hashbrown v0.14.5 (available: v0.15.4) [INFO] [stderr] Adding html2text v0.12.6 (available: v0.15.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding unicode-width v0.1.13 (available: v0.1.14) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded markup5ever v0.12.1 [INFO] [stderr] Downloaded phf_codegen v0.11.3 [INFO] [stderr] Downloaded crunchy v0.2.4 [INFO] [stderr] Downloaded string_cache_codegen v0.5.4 [INFO] [stderr] Downloaded string_cache v0.8.9 [INFO] [stderr] Downloaded oorandom v11.1.5 [INFO] [stderr] Downloaded half v2.6.0 [INFO] [stderr] Downloaded html5ever v0.27.0 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded html2text v0.12.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 351499258b439e3893df4efe44f3c40b391877f89d0c5bbd0eadd2a6fbc4dd7d [INFO] running `Command { std: "docker" "start" "-a" "351499258b439e3893df4efe44f3c40b391877f89d0c5bbd0eadd2a6fbc4dd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "351499258b439e3893df4efe44f3c40b391877f89d0c5bbd0eadd2a6fbc4dd7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "351499258b439e3893df4efe44f3c40b391877f89d0c5bbd0eadd2a6fbc4dd7d", kill_on_drop: false }` [INFO] [stdout] 351499258b439e3893df4efe44f3c40b391877f89d0c5bbd0eadd2a6fbc4dd7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fb47f04b698ce8e771dad9cb010b4228e6fd23575a9ae79e359a662e7eeec8a7 [INFO] running `Command { std: "docker" "start" "-a" "fb47f04b698ce8e771dad9cb010b4228e6fd23575a9ae79e359a662e7eeec8a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling html2text v0.12.6 [INFO] [stderr] Compiling idx v0.0.1 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> lib/src/core.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_capacity(capacity: usize, threshold: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Adjective`, `Noun`, `Punctuation`, and `Verb` are never constructed [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Pos { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Adjective, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Noun, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Punctuation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Verb, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookup` is never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lemmatizer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | lookup: Lookup>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exceptions`, `index`, and `rules` are never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Lookup> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | exceptions: Map>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | index: Map>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | rules: Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/tokenizer/html.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Html { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/core.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/index.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/index.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idx-repo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `query::Query` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | query::Query, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(file) = config.file { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let value = pipeline.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write` is never read [INFO] [stdout] --> src/cli.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ThreadConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | pub write: NonZeroUsize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/descriptor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Descriptor { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn inner(&self) -> &Document { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/engine.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl IdxFacade { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, query: Query) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "fb47f04b698ce8e771dad9cb010b4228e6fd23575a9ae79e359a662e7eeec8a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb47f04b698ce8e771dad9cb010b4228e6fd23575a9ae79e359a662e7eeec8a7", kill_on_drop: false }` [INFO] [stdout] fb47f04b698ce8e771dad9cb010b4228e6fd23575a9ae79e359a662e7eeec8a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7d00351033db9988ed2f8b71ad66156316527fa59625099238be63473a20ee69 [INFO] running `Command { std: "docker" "start" "-a" "7d00351033db9988ed2f8b71ad66156316527fa59625099238be63473a20ee69", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling html2text v0.12.6 [INFO] [stderr] Compiling idx v0.0.1 (/opt/rustwide/workdir/lib) [INFO] [stdout] warning: unused variable: `threshold` [INFO] [stdout] --> lib/src/core.rs:179:43 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn with_capacity(capacity: usize, threshold: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Adjective`, `Noun`, `Punctuation`, and `Verb` are never constructed [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | enum Pos { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 6 | Adjective, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | Noun, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Punctuation, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | Verb, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lookup` is never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lemmatizer { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | lookup: Lookup>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exceptions`, `index`, and `rules` are never read [INFO] [stdout] --> lib/src/normalizer/lemmatize.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Lookup> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | exceptions: Map>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 20 | index: Map>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | rules: Map, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> lib/src/tokenizer/html.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Html { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/core.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | pub fn iter(&self) -> EntriesIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/index.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 117 | pub fn reader(&self) -> IndexReader<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> lib/src/index.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter { [INFO] [stdout] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 129 | pub fn writer(&mut self) -> IndexWriter<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling idx-repo v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `query::Query` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | query::Query, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(file) = config.file { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let value = pipeline.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write` is never read [INFO] [stdout] --> src/cli.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ThreadConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | pub write: NonZeroUsize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/descriptor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Descriptor { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn inner(&self) -> &Document { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/engine.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl IdxFacade { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, query: Query) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::Query` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | query::Query, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(file) = config.file { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/main.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let value = pipeline.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `write` is never read [INFO] [stdout] --> src/cli.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct ThreadConfig { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | pub write: NonZeroUsize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `inner` is never used [INFO] [stdout] --> src/descriptor.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Descriptor { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn inner(&self) -> &Document { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url` and `title` are never read [INFO] [stdout] --> src/engine.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 139 | struct Webpage { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 140 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 141 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Webpage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.45s [INFO] running `Command { std: "docker" "inspect" "7d00351033db9988ed2f8b71ad66156316527fa59625099238be63473a20ee69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d00351033db9988ed2f8b71ad66156316527fa59625099238be63473a20ee69", kill_on_drop: false }` [INFO] [stdout] 7d00351033db9988ed2f8b71ad66156316527fa59625099238be63473a20ee69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a2d0323a9f4f328ca9c97a018ff47ebb6735a0b349bbed2ab34e0eafafe7b712 [INFO] running `Command { std: "docker" "start" "-a" "a2d0323a9f4f328ca9c97a018ff47ebb6735a0b349bbed2ab34e0eafafe7b712", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `threshold` [INFO] [stderr] --> lib/src/core.rs:179:43 [INFO] [stderr] | [INFO] [stderr] 179 | pub fn with_capacity(capacity: usize, threshold: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_threshold` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Adjective`, `Noun`, `Punctuation`, and `Verb` are never constructed [INFO] [stderr] --> lib/src/normalizer/lemmatize.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | enum Pos { [INFO] [stderr] | --- variants in this enum [INFO] [stderr] 6 | Adjective, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 7 | Noun, [INFO] [stderr] | ^^^^ [INFO] [stderr] 8 | Punctuation, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 9 | Verb, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `lookup` is never read [INFO] [stderr] --> lib/src/normalizer/lemmatize.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Lemmatizer { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 13 | lookup: Lookup>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `exceptions`, `index`, and `rules` are never read [INFO] [stderr] --> lib/src/normalizer/lemmatize.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct Lookup> { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 19 | exceptions: Map>, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 20 | index: Map>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 21 | rules: Map, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> lib/src/tokenizer/html.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Html { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 11 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib/src/core.rs:208:17 [INFO] [stderr] | [INFO] [stderr] 208 | pub fn iter(&self) -> EntriesIter { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 208 | pub fn iter(&self) -> EntriesIter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib/src/index.rs:117:19 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn reader(&self) -> IndexReader { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 117 | pub fn reader(&self) -> IndexReader<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> lib/src/index.rs:129:19 [INFO] [stderr] | [INFO] [stderr] 129 | pub fn writer(&mut self) -> IndexWriter { [INFO] [stderr] | ^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 129 | pub fn writer(&mut self) -> IndexWriter<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `idx` (lib) generated 8 warnings (run `cargo fix --lib -p idx` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `query::Query` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | query::Query, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file` [INFO] [stderr] --> src/main.rs:103:29 [INFO] [stderr] | [INFO] [stderr] 103 | if let Some(file) = config.file { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/main.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | let value = pipeline.clone(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: field `write` is never read [INFO] [stderr] --> src/cli.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 119 | pub struct ThreadConfig { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 122 | pub write: NonZeroUsize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ThreadConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `inner` is never used [INFO] [stderr] --> src/descriptor.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl Descriptor { [INFO] [stderr] | ------------------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub fn inner(&self) -> &Document { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/engine.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl IdxFacade { [INFO] [stderr] | ----------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn get(&self, query: Query) -> Vec { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `idx-repo` (bin "idx-bin") generated 6 warnings (run `cargo fix --bin "idx-bin"` to apply 1 suggestion) [INFO] [stderr] warning: fields `url` and `title` are never read [INFO] [stderr] --> src/engine.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 139 | struct Webpage { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 140 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 141 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Webpage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `idx-repo` (bin "idx-bin" test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/idx_bin-4f5ea5a19159043b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test engine::tests::test_indexer_and_engine_with_structure ... ok [INFO] [stderr] Running tests/basic.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/basic-4d67fcfe891b08fb) [INFO] [stdout] test engine::tests::test_indexer_and_engine_basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2d0323a9f4f328ca9c97a018ff47ebb6735a0b349bbed2ab34e0eafafe7b712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d0323a9f4f328ca9c97a018ff47ebb6735a0b349bbed2ab34e0eafafe7b712", kill_on_drop: false }` [INFO] [stdout] a2d0323a9f4f328ca9c97a018ff47ebb6735a0b349bbed2ab34e0eafafe7b712