devops: Add basic CI workflow #1
ci.yaml
on: pull_request
stable / fmt
19s
stable / clippy
54s
Annotations
7 errors and 10 warnings
stable / fmt
Process completed with exit code 1.
|
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
|
stable / fmt:
rig-core/src/agent.rs#L33
Diff in /home/runner/work/rig/rig/rig-core/src/agent.rs
|
stable / fmt:
rig-core/src/agent.rs#L40
Diff in /home/runner/work/rig/rig/rig-core/src/agent.rs
|
stable / fmt:
rig-core/src/agent.rs#L47
Diff in /home/runner/work/rig/rig/rig-core/src/agent.rs
|
stable / fmt:
rig-core/src/cli_chatbot.rs#L2
Diff in /home/runner/work/rig/rig/rig-core/src/cli_chatbot.rs
|
stable / fmt:
rig-core/src/completion.rs#L133
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|
stable / fmt:
rig-core/src/completion.rs#L149
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|
stable / fmt:
rig-core/src/completion.rs#L242
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|
stable / fmt:
rig-core/src/completion.rs#L249
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|
stable / fmt:
rig-core/src/completion.rs#L259
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|
stable / fmt:
rig-core/src/completion.rs#L265
Diff in /home/runner/work/rig/rig/rig-core/src/completion.rs
|