Skip to content

Feat(embeddings): Embeddable derive macro #125

Feat(embeddings): Embeddable derive macro

Feat(embeddings): Embeddable derive macro #125

Triggered via pull request October 15, 2024 18:28
Status Failure
Total duration 3m 34s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
you seem to be trying to use `&Box<T>`. Consider using just `&T`: rig-core/src/embeddings/tool.rs#L18
error: you seem to be trying to use `&Box<T>`. Consider using just `&T` --> rig-core/src/embeddings/tool.rs:18:27 | 18 | pub fn try_from(tool: &Box<dyn ToolEmbeddingDyn>) -> Result<Self, EmbeddableError> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&dyn ToolEmbeddingDyn` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box = note: `-D clippy::borrowed-box` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::borrowed_box)]`
stable / clippy
Clippy has exited with exit code 101
stable / test: rig-core/src/embeddings/embeddable.rs#L151
fields `id` and `word` are never read
stable / test: rig-core/src/embeddings/embeddable.rs#L184
fields `id` and `word` are never read
stable / test: rig-core/src/embeddings/embeddable.rs#L208
fields `id` and `company` are never read
stable / test: rig-core/src/embeddings/embeddable.rs#L235
field `id` is never read
stable / test
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
stable / test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
stable / test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/