Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(builder): Add tokio feature, which can be omitted #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat(builder): Add tokio feature, which can be omitted

2155e60
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

feat(builder): Add tokio feature, which can be omitted #18

feat(builder): Add tokio feature, which can be omitted
2155e60
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Jan 29, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 317 in src/builder.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unreachable call

error: unreachable call
   --> src/builder.rs:317:14
    |
317 |             .with_exporter({
    |              ^^^^^^^^^^^^^ unreachable call
...
323 |                 return exporter.with_http_client(reqwest::blocking::Client::new());
    |                 ------------------------------------------------------------------ any code following this expression is unreachable
    |
note: the lint level is defined here
   --> src/lib.rs:1:9
    |
1   | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`

Check failure on line 323 in src/builder.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

mismatched types

error[E0308]: mismatched types
   --> src/builder.rs:323:24
    |
323 |                 return exporter.with_http_client(reqwest::blocking::Client::new());
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Tracer, Error>`, found `HttpExporterBuilder`
    |
    = note: expected enum `std::result::Result<opentelemetry::sdk::trace::Tracer, error::Error>`
             found struct `opentelemetry_otlp::HttpExporterBuilder`