[INFO] fetching crate bep-core 0.5.0... [INFO] testing bep-core-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bep-core 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bep-core 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bep-core 0.5.0 [INFO] tweaked toml for crates.io crate bep-core 0.5.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bep-core 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bep-core 0.5.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8a7f32072ddf966213e0e4b49f2bd05862c5cf0ed5592293b0612ae4731c80c [INFO] running `Command { std: "docker" "start" "-a" "e8a7f32072ddf966213e0e4b49f2bd05862c5cf0ed5592293b0612ae4731c80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8a7f32072ddf966213e0e4b49f2bd05862c5cf0ed5592293b0612ae4731c80c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a7f32072ddf966213e0e4b49f2bd05862c5cf0ed5592293b0612ae4731c80c", kill_on_drop: false }` [INFO] [stdout] e8a7f32072ddf966213e0e4b49f2bd05862c5cf0ed5592293b0612ae4731c80c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 170db600c201f4a2737deb9bcb35ea2a71fc7226db4ce15066b0b08d9f82aab6 [INFO] running `Command { std: "docker" "start" "-a" "170db600c201f4a2737deb9bcb35ea2a71fc7226db4ce15066b0b08d9f82aab6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling ordered-float v4.5.0 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling bep-core v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/providers/anthropic/completion.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pattern: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | directory: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/one_or_many.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vector_store/in_memory_store.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.13s [INFO] running `Command { std: "docker" "inspect" "170db600c201f4a2737deb9bcb35ea2a71fc7226db4ce15066b0b08d9f82aab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170db600c201f4a2737deb9bcb35ea2a71fc7226db4ce15066b0b08d9f82aab6", kill_on_drop: false }` [INFO] [stdout] 170db600c201f4a2737deb9bcb35ea2a71fc7226db4ce15066b0b08d9f82aab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 05db213cf16568b5a6d1bc04cfcc09c4d21ba13663b192ad435aee104c747916 [INFO] running `Command { std: "docker" "start" "-a" "05db213cf16568b5a6d1bc04cfcc09c4d21ba13663b192ad435aee104c747916", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling assert_fs v1.1.2 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling bep-core v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/providers/anthropic/completion.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pattern: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | directory: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/one_or_many.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vector_store/in_memory_store.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metadata` is never constructed [INFO] [stdout] --> src/providers/anthropic/completion.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | struct Metadata { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pattern: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/loaders/file.rs:196:20 [INFO] [stdout] | [INFO] [stdout] 196 | directory: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 197 | ) -> Result>, FileLoaderError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/one_or_many.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vector_store/in_memory_store.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "05db213cf16568b5a6d1bc04cfcc09c4d21ba13663b192ad435aee104c747916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05db213cf16568b5a6d1bc04cfcc09c4d21ba13663b192ad435aee104c747916", kill_on_drop: false }` [INFO] [stdout] 05db213cf16568b5a6d1bc04cfcc09c4d21ba13663b192ad435aee104c747916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c9f2846c4e76d408fc42e4f830aaf7b44bbb3c4bebb0b102397d932cf5d57fdc [INFO] running `Command { std: "docker" "start" "-a" "c9f2846c4e76d408fc42e4f830aaf7b44bbb3c4bebb0b102397d932cf5d57fdc", kill_on_drop: false }` [INFO] [stderr] warning: struct `Metadata` is never constructed [INFO] [stderr] --> src/providers/anthropic/completion.rs:177:8 [INFO] [stderr] | [INFO] [stderr] 177 | struct Metadata { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loaders/file.rs:175:18 [INFO] [stderr] | [INFO] [stderr] 175 | pattern: &str, [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] 176 | ) -> Result>, FileLoaderError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 176 | ) -> Result>, FileLoaderError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/loaders/file.rs:196:20 [INFO] [stderr] | [INFO] [stderr] 196 | directory: &str, [INFO] [stderr] | ^^^^ the lifetime is elided here [INFO] [stderr] 197 | ) -> Result>, FileLoaderError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 197 | ) -> Result>, FileLoaderError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/one_or_many.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/vector_store/in_memory_store.rs:70:22 [INFO] [stderr] | [INFO] [stderr] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | fn vector_search(&self, prompt_embedding: &Embedding, n: usize) -> EmbeddingRanking<'_, D> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `bep-core` (lib) generated 5 warnings (run `cargo fix --lib -p bep-core` to apply 4 suggestions) [INFO] [stderr] warning: `bep-core` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bep-3834b5a751ea1cd6) [INFO] [stdout] [INFO] [stdout] running 54 tests [INFO] [stdout] test completion::tests::test_document_display_with_metadata ... ok [INFO] [stdout] test completion::tests::test_document_display_without_metadata ... ok [INFO] [stdout] test completion::tests::test_prompt_with_context_with_documents ... ok [INFO] [stdout] test embeddings::builder::tests::test_build_multiple_and_single_text ... ok [INFO] [stdout] test embeddings::distance::tests::test_cosine_similarity ... ok [INFO] [stdout] test embeddings::distance::tests::test_dot_product ... ok [INFO] [stdout] test embeddings::builder::tests::test_build_multiple_text ... ok [INFO] [stdout] test embeddings::distance::tests::test_chebyshev_distance ... ok [INFO] [stdout] test embeddings::distance::tests::test_euclidean_distance ... ok [INFO] [stdout] test embeddings::builder::tests::test_build_string ... ok [INFO] [stdout] test embeddings::distance::tests::test_angular_distance ... ok [INFO] [stdout] test loaders::file::tests::test_file_loader ... ok [INFO] [stdout] test embeddings::distance::tests::test_manhattan_distance ... ok [INFO] [stdout] test embeddings::builder::tests::test_build_single_text ... ok [INFO] [stdout] test one_or_many::test::test ... ok [INFO] [stdout] test one_or_many::test::test_len_many ... ok [INFO] [stdout] test one_or_many::test::test_len_single ... ok [INFO] [stdout] test one_or_many::test::test_mut ... ok [INFO] [stdout] test one_or_many::test::test_mut_single ... ok [INFO] [stdout] test one_or_many::test::test_one_or_many_error ... ok [INFO] [stdout] test one_or_many::test::test_one_or_many_into_iter ... ok [INFO] [stdout] test one_or_many::test::test_one_or_many_into_iter_single ... ok [INFO] [stdout] test one_or_many::test::test_one_or_many_merge ... ok [INFO] [stdout] test pipeline::agent_ops::tests::test_lookup ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel_chain_compile_check ... ok [INFO] [stdout] test pipeline::agent_ops::tests::test_prompt ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel_macro ... ok [INFO] [stdout] test pipeline::op::tests::test_sequential_chain ... ok [INFO] [stdout] test pipeline::op::tests::test_sequential_constructor ... ok [INFO] [stdout] test one_or_many::test::test_single ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel_nested_rev ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel_pass_through ... ok [INFO] [stdout] test pipeline::parallel::tests::test_parallel_nested ... ok [INFO] [stdout] test pipeline::parallel::tests::test_try_parallel_macro_err ... ok [INFO] [stdout] test pipeline::tests::test_lookup_pipeline ... ok [INFO] [stdout] test pipeline::parallel::tests::test_sequential_and_parallel ... ok [INFO] [stdout] test pipeline::tests::test_rag_pipeline ... ok [INFO] [stdout] test pipeline::parallel::tests::test_try_parallel_macro_ok ... ok [INFO] [stdout] test pipeline::parallel::tests::test_try_parallel_chain_compile_check ... ok [INFO] [stdout] test pipeline::try_op::tests::test_and_then_constructor ... ok [INFO] [stdout] test pipeline::try_op::tests::test_map_err_chain ... ok [INFO] [stdout] test pipeline::tests::test_prompt_pipeline ... ok [INFO] [stdout] test pipeline::tests::test_prompt_pipeline_error ... ok [INFO] [stdout] test pipeline::try_op::tests::test_and_then_chain ... ok [INFO] [stdout] test pipeline::try_op::tests::test_or_else_chain ... ok [INFO] [stdout] test pipeline::try_op::tests::test_or_else_constructor ... ok [INFO] [stdout] test pipeline::try_op::tests::test_map_err_constructor ... ok [INFO] [stdout] test pipeline::try_op::tests::test_try_op ... ok [INFO] [stdout] test vector_store::in_memory_store::tests::test_multiple_embeddings ... ok [INFO] [stdout] test vector_store::in_memory_store::tests::test_single_embedding ... ok [INFO] [stdout] test vector_store::in_memory_store::tests::test_auto_ids ... ok [INFO] [stdout] test pipeline::try_op::tests::test_map_ok_chain ... ok [INFO] [stdout] test pipeline::try_op::tests::test_map_ok_constructor ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 54 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9f2846c4e76d408fc42e4f830aaf7b44bbb3c4bebb0b102397d932cf5d57fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f2846c4e76d408fc42e4f830aaf7b44bbb3c4bebb0b102397d932cf5d57fdc", kill_on_drop: false }` [INFO] [stdout] c9f2846c4e76d408fc42e4f830aaf7b44bbb3c4bebb0b102397d932cf5d57fdc