Experimental MCP implementation #37
Annotations
2 errors and 2 warnings
Create binary for x86_64-unknown-linux-gnu:
otel-worker-cli/src/commands/mcp.rs#L179
[clippy] reported by reviewdog 🐶
error[E0061]: this method takes 2 arguments but 0 arguments were supplied
--> otel-worker-cli/src/commands/mcp.rs:179:10
|
179 | .trace_list()
| ^^^^^^^^^^-- two arguments of type `std::option::Option<u32>` and `std::option::Option<time::OffsetDateTime>` are missing
|
note: method defined here
--> /home/runner/work/otel-worker/otel-worker/otel-worker-core/src/api/client.rs:230:18
|
230 | pub async fn trace_list(
| ^^^^^^^^^^
help: provide the arguments
|
179 | .trace_list(/* std::option::Option<u32> */, /* std::option::Option<time::OffsetDateTime> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Raw Output:
otel-worker-cli/src/commands/mcp.rs:179:20:e:error[E0061]: this method takes 2 arguments but 0 arguments were supplied
--> otel-worker-cli/src/commands/mcp.rs:179:10
|
179 | .trace_list()
| ^^^^^^^^^^-- two arguments of type `std::option::Option<u32>` and `std::option::Option<time::OffsetDateTime>` are missing
|
note: method defined here
--> /home/runner/work/otel-worker/otel-worker/otel-worker-core/src/api/client.rs:230:18
|
230 | pub async fn trace_list(
| ^^^^^^^^^^
help: provide the arguments
|
179 | .trace_list(/* std::option::Option<u32> */, /* std::option::Option<time::OffsetDateTime> */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__END__
|
Create binary for x86_64-unknown-linux-gnu
reviewdog exited with status code: 1
|
Create binary for x86_64-unknown-linux-gnu:
otel-worker-core/src/api/models/otel.rs#L82
[clippy] reported by reviewdog 🐶
warning: useless conversion to the same type: `opentelemetry_proto::tonic::trace::v1::span::Link`
--> otel-worker-core/src/api/models/otel.rs:82:63
|
82 | let links: Vec<_> = span.links.into_iter().map(Into::into).collect();
| ^^^^^^^^^^^^^^^^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
Raw Output:
otel-worker-core/src/api/models/otel.rs:82:63:w:warning: useless conversion to the same type: `opentelemetry_proto::tonic::trace::v1::span::Link`
--> otel-worker-core/src/api/models/otel.rs:82:63
|
82 | let links: Vec<_> = span.links.into_iter().map(Into::into).collect();
| ^^^^^^^^^^^^^^^^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
__END__
|
Create binary for x86_64-unknown-linux-gnu:
otel-worker-core/src/api/models/otel.rs#L106
[clippy] reported by reviewdog 🐶
warning: useless conversion to the same type: `opentelemetry_proto::tonic::trace::v1::Status`
--> otel-worker-core/src/api/models/otel.rs:106:44
|
106 | status: span.status.map(Into::into),
| ^^^^^^^^^^^^^^^^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
Raw Output:
otel-worker-core/src/api/models/otel.rs:106:44:w:warning: useless conversion to the same type: `opentelemetry_proto::tonic::trace::v1::Status`
--> otel-worker-core/src/api/models/otel.rs:106:44
|
106 | status: span.status.map(Into::into),
| ^^^^^^^^^^^^^^^^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
__END__
|