devops: Add basic CI workflow #2
ci.yaml
on: pull_request
stable / fmt
9s
stable / clippy
21s
Annotations
6 errors
doc list item missing indentation:
rig-core/src/lib.rs#L55
error: doc list item missing indentation
--> rig-core/src/lib.rs:55:5
|
55 | //! as a thin wrapper around a completion model (i.e.: a struct implementing the [CompletionModel](crate::completion::CompletionModel) tr...
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `-D clippy::doc-lazy-continuation` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]`
help: indent this line
|
55 | //! as a thin wrapper around a completion model (i.e.: a struct implementing the [CompletionModel](crate::completion::CompletionModel) trait).
| ++
|
doc list item missing indentation:
rig-core/src/lib.rs#L57
error: doc list item missing indentation
--> rig-core/src/lib.rs:57:5
|
57 | //! static set of context documents and tools.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
57 | //! static set of context documents and tools.
| ++
|
doc list item missing indentation:
rig-core/src/lib.rs#L59
error: doc list item missing indentation
--> rig-core/src/lib.rs:59:5
|
59 | //! containing both context documents and tools.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
59 | //! containing both context documents and tools.
| ++
|
doc list item missing indentation:
rig-core/src/completion.rs#L10
error: doc list item missing indentation
--> rig-core/src/completion.rs:10:5
|
10 | //! responses from requests.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
10 | //! responses from requests.
| ++
|
the borrowed expression implements the required traits:
rig-core/src/tool.rs#L183
error: the borrowed expression implements the required traits
--> rig-core/src/tool.rs:183:30
|
183 | serde_json::to_value(&self.context())
| ^^^^^^^^^^^^^^^ help: change this to: `self.context()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`
|
stable / clippy
Clippy has exited with exit code 101
|