[INFO] cloning repository https://github.com/aksappy/vecta [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aksappy/vecta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksappy%2Fvecta", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksappy%2Fvecta'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c14fed4ab51ce61e80e64f8187aecb17bbd1a653 [INFO] testing aksappy/vecta against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faksappy%2Fvecta" "/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/aksappy/vecta [INFO] finished tweaking git repo https://github.com/aksappy/vecta [INFO] tweaked toml for git repo https://github.com/aksappy/vecta written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aksappy/vecta on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/aksappy/vecta 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `vecta` which is deprecated [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded murmurhash32 v0.3.1 [INFO] [stderr] Downloaded ownedbytes v0.7.0 [INFO] [stderr] Downloaded tantivy-stacker v0.3.0 [INFO] [stderr] Downloaded census v0.4.2 [INFO] [stderr] Downloaded fastdivide v0.4.2 [INFO] [stderr] Downloaded measure_time v0.8.3 [INFO] [stderr] Downloaded levenshtein_automata v0.2.1 [INFO] [stderr] Downloaded tantivy-common v0.7.0 [INFO] [stderr] Downloaded tantivy-query-grammar v0.22.0 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded bitpacking v0.9.2 [INFO] [stderr] Downloaded oneshot v0.1.10 [INFO] [stderr] Downloaded tantivy-sstable v0.3.0 [INFO] [stderr] Downloaded clap v4.5.29 [INFO] [stderr] Downloaded uuid v1.13.1 [INFO] [stderr] Downloaded tantivy-columnar v0.3.0 [INFO] [stderr] Downloaded tantivy-bitpacker v0.6.0 [INFO] [stderr] Downloaded tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.29 [INFO] [stderr] Downloaded tantivy v0.22.0 [INFO] [stderr] Downloaded tantivy-fst v0.5.0 [INFO] [stderr] Downloaded rust-stemmers v1.2.0 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5ad88c0ba4751bfe91e2e433122cef1b1643f941196f2fd4edff84acc291cf1 [INFO] running `Command { std: "docker" "start" "-a" "d5ad88c0ba4751bfe91e2e433122cef1b1643f941196f2fd4edff84acc291cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5ad88c0ba4751bfe91e2e433122cef1b1643f941196f2fd4edff84acc291cf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5ad88c0ba4751bfe91e2e433122cef1b1643f941196f2fd4edff84acc291cf1", kill_on_drop: false }` [INFO] [stdout] d5ad88c0ba4751bfe91e2e433122cef1b1643f941196f2fd4edff84acc291cf1 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8480ba6a4af95cffa87b2b937b002b7ef10bcc179c005d51115fe1b9810c6352 [INFO] running `Command { std: "docker" "start" "-a" "8480ba6a4af95cffa87b2b937b002b7ef10bcc179c005d51115fe1b9810c6352", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `vecta` which is deprecated [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling ownedbytes v0.7.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling murmurhash32 v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling fastdivide v0.4.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling bitpacking v0.9.2 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling tantivy-query-grammar v0.22.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling tantivy-bitpacker v0.6.0 [INFO] [stderr] Compiling clap_builder v4.5.29 [INFO] [stderr] Compiling measure_time v0.8.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling census v0.4.2 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling levenshtein_automata v0.2.1 [INFO] [stderr] Compiling oneshot v0.1.10 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling lz4_flex v0.11.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling tantivy-fst v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.29 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling tantivy-tokenizer-api v0.3.0 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling tantivy-common v0.7.0 [INFO] [stderr] Compiling tantivy-stacker v0.3.0 [INFO] [stderr] Compiling tantivy-sstable v0.3.0 [INFO] [stderr] Compiling tantivy-columnar v0.3.0 [INFO] [stderr] Compiling tantivy v0.22.0 [INFO] [stderr] Compiling vecta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/indexer.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/indexer.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let doc = index_writer.add_document(doc!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `read_config` [INFO] [stdout] --> src/config.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_config(config_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `read_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `write_config` [INFO] [stdout] --> src/config.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn write_config(config: &VectaConfiguration, config_path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `write_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "8480ba6a4af95cffa87b2b937b002b7ef10bcc179c005d51115fe1b9810c6352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8480ba6a4af95cffa87b2b937b002b7ef10bcc179c005d51115fe1b9810c6352", kill_on_drop: false }` [INFO] [stdout] 8480ba6a4af95cffa87b2b937b002b7ef10bcc179c005d51115fe1b9810c6352 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b2d8b17e0fdc20bb7a57f84e4363e60c85a72b78c6d668c81bdb44898b5e5f9 [INFO] running `Command { std: "docker" "start" "-a" "9b2d8b17e0fdc20bb7a57f84e4363e60c85a72b78c6d668c81bdb44898b5e5f9", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `vecta` which is deprecated [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/indexer.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/indexer.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let doc = index_writer.add_document(doc!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vecta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `read_config` [INFO] [stdout] --> src/config.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_config(config_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `read_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `write_config` [INFO] [stdout] --> src/config.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn write_config(config: &VectaConfiguration, config_path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `write_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/indexer.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/indexer.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let doc = index_writer.add_document(doc!( [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `read_config` [INFO] [stdout] --> src/config.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_config(config_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `read_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `VectaConfiguration` is more private than the item `write_config` [INFO] [stdout] --> src/config.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn write_config(config: &VectaConfiguration, config_path: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `write_config` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/config.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | struct VectaConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "9b2d8b17e0fdc20bb7a57f84e4363e60c85a72b78c6d668c81bdb44898b5e5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2d8b17e0fdc20bb7a57f84e4363e60c85a72b78c6d668c81bdb44898b5e5f9", kill_on_drop: false }` [INFO] [stdout] 9b2d8b17e0fdc20bb7a57f84e4363e60c85a72b78c6d668c81bdb44898b5e5f9 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da1c0bd238ecf7345d78309318fd407cf15ec38cd2928a561ede489b1c4715fc [INFO] running `Command { std: "docker" "start" "-a" "da1c0bd238ecf7345d78309318fd407cf15ec38cd2928a561ede489b1c4715fc", kill_on_drop: false }` [INFO] [stderr] warning: `edition` is set on library `vecta` which is deprecated [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/indexer.rs:98:21 [INFO] [stderr] | [INFO] [stderr] 98 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `doc` [INFO] [stderr] --> src/indexer.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | let doc = index_writer.add_document(doc!( [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stderr] [INFO] [stderr] warning: type `VectaConfiguration` is more private than the item `read_config` [INFO] [stderr] --> src/config.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn read_config(config_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `read_config` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | struct VectaConfiguration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `VectaConfiguration` is more private than the item `write_config` [INFO] [stderr] --> src/config.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn write_config(config: &VectaConfiguration, config_path: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `write_config` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `VectaConfiguration` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/config.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | struct VectaConfiguration { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vecta` (lib) generated 4 warnings [INFO] [stderr] warning: `vecta` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vecta-2b390adaadae2b88) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test files::tests::test_read_and_write_bytes ... FAILED [INFO] [stdout] test files::tests::test_read_and_write_string ... FAILED [INFO] [stdout] test system::system_tests::test_get_user_home ... ok [INFO] [stdout] test files::tests::test_file_not_found ... ok [INFO] [stdout] test config::config_tests::config_should_parse_correctly ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- files::tests::test_read_and_write_bytes stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] ---- files::tests::test_read_and_write_string stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] files::tests::test_read_and_write_bytes [INFO] [stdout] files::tests::test_read_and_write_string [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "da1c0bd238ecf7345d78309318fd407cf15ec38cd2928a561ede489b1c4715fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da1c0bd238ecf7345d78309318fd407cf15ec38cd2928a561ede489b1c4715fc", kill_on_drop: false }` [INFO] [stdout] da1c0bd238ecf7345d78309318fd407cf15ec38cd2928a561ede489b1c4715fc