Skip to content

Add code examples to lib.rs #557

Add code examples to lib.rs

Add code examples to lib.rs #557

Re-run triggered September 3, 2024 23:42
Status Failure
Total duration 2m 17s
Artifacts

ci.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 16 warnings
test (ubuntu-latest, stable): src/lib.rs#L29
cannot find type `PineconeClient` in this scope
test (ubuntu-latest, stable): src/lib.rs#L74
cannot find value `indexDescription` in this scope
test (ubuntu-latest, stable): src/lib.rs#L75
cannot find value `collectionDescription` in this scope
test (ubuntu-latest, stable): src/lib.rs#L66
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L68
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L70
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L71
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L72
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L140
`await` is only allowed inside `async` functions and blocks
test (ubuntu-latest, stable): src/lib.rs#L143
cannot apply unary operator `!` to type `()`
test (ubuntu-latest, stable): src/pinecone/control.rs#L314
unclosed HTML tag `DeletionProtection`
test (ubuntu-latest, stable): src/pinecone/control.rs#L315
unclosed HTML tag `i32`
test (ubuntu-latest, stable): src/pinecone/data.rs#L308
use of deprecated field `protos::QueryRequest::queries`
test (ubuntu-latest, stable): src/pinecone/data.rs#L365
use of deprecated field `protos::QueryRequest::queries`
test (ubuntu-latest, stable): src/pinecone/mod.rs#L158
fields `controller_url`, `additional_headers`, `source_tag`, and `user_agent` are never read
test (ubuntu-latest, stable): src/pinecone/data.rs#L38
field `host` is never read
test (ubuntu-latest, stable): src/pinecone/data.rs#L308
use of deprecated field `protos::QueryRequest::queries`
test (ubuntu-latest, stable): src/pinecone/data.rs#L365
use of deprecated field `protos::QueryRequest::queries`
test (ubuntu-latest, stable): src/pinecone/mod.rs#L158
fields `controller_url`, `additional_headers`, `source_tag`, and `user_agent` are never read
test (ubuntu-latest, stable): src/pinecone/data.rs#L38
field `host` is never read
test (ubuntu-latest, stable): tests/common.rs#L29
function `generate_namespace_name` is never used
test (ubuntu-latest, stable): tests/common.rs#L35
function `generate_vector` is never used
test (ubuntu-latest, stable): src/pinecone/data.rs#L663
unused import: `super::*`
test (ubuntu-latest, stable): tests/common.rs#L19
function `generate_index_name` is never used
test (ubuntu-latest, stable): tests/common.rs#L24
function `generate_collection_name` is never used
test (ubuntu-latest, stable): tests/common.rs#L51
function `get_collection` is never used