Use sudo #195
ci.yml
on: push
Matrix: Test
Lint
4m 5s
Coverage
9m 9s
Dependency Security Audit
1m 2s
Matrix: Test feature sets
Accept
0s
Annotations
83 warnings
Test feature sets
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test feature sets
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test feature sets (mimalloc)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Dependency Security Audit
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/audit-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Dependency Security Audit
2 warnings found!
|
Dependency Security Audit
Unknown warning kind unsound found, please, file a bug
|
Dependency Security Audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Dependency Security Audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Dependency Security Audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Dependency Security Audit
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc,metered-allocator)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test feature sets (mimalloc,metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc,metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc,metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (mimalloc,metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (metered-allocator)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test feature sets (metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test feature sets (metered-allocator)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
variables can be used directly in the `format!` string:
src/lib.rs#L147
warning: variables can be used directly in the `format!` string
--> src/lib.rs:147:17
|
147 | eprintln!("Error: {}", err);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
147 - eprintln!("Error: {}", err);
147 + eprintln!("Error: {err}");
|
|
variables can be used directly in the `format!` string:
src/lib.rs#L113
warning: variables can be used directly in the `format!` string
--> src/lib.rs:113:13
|
113 | eprintln!("Error: {}", err);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
113 - eprintln!("Error: {}", err);
113 + eprintln!("Error: {err}");
|
|
variables can be used directly in the `format!` string:
src/lib.rs#L147
warning: variables can be used directly in the `format!` string
--> src/lib.rs:147:17
|
147 | eprintln!("Error: {}", err);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
147 - eprintln!("Error: {}", err);
147 + eprintln!("Error: {err}");
|
|
variables can be used directly in the `format!` string:
src/lib.rs#L113
warning: variables can be used directly in the `format!` string
--> src/lib.rs:113:13
|
113 | eprintln!("Error: {}", err);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
113 - eprintln!("Error: {}", err);
113 + eprintln!("Error: {err}");
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L156
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:156:35
|
156 | self.record_debug(field, &format_args!("{}", value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
156 - self.record_debug(field, &format_args!("{}", value));
156 + self.record_debug(field, &format_args!("{value}"));
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L149
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:149:39
|
149 | self.record_debug(field, &format_args!("{}", value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
149 - self.record_debug(field, &format_args!("{}", value));
149 + self.record_debug(field, &format_args!("{value}"));
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L139
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:139:23
|
139 | self.result = write!(self.writer, "{}{:?}", padding, value);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
139 - self.result = write!(self.writer, "{}{:?}", padding, value);
139 + self.result = write!(self.writer, "{padding}{value:?}");
|
|
variables can be used directly in the `format!` string:
src/trace/span_formatter.rs#L64
warning: variables can be used directly in the `format!` string
--> src/trace/span_formatter.rs:64:62
|
64 | "time.idle" => self.time_idle = Some(format!("{:?}", value)),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
64 - "time.idle" => self.time_idle = Some(format!("{:?}", value)),
64 + "time.idle" => self.time_idle = Some(format!("{value:?}")),
|
|
variables can be used directly in the `format!` string:
src/trace/span_formatter.rs#L63
warning: variables can be used directly in the `format!` string
--> src/trace/span_formatter.rs:63:62
|
63 | "time.busy" => self.time_busy = Some(format!("{:?}", value)),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
63 - "time.busy" => self.time_busy = Some(format!("{:?}", value)),
63 + "time.busy" => self.time_busy = Some(format!("{value:?}")),
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L166
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:166:52
|
166 | log_map.serialize_entry("SpanId", &format_args!("{:016x}", span_id))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
166 - log_map.serialize_entry("SpanId", &format_args!("{:016x}", span_id))?;
166 + log_map.serialize_entry("SpanId", &format_args!("{span_id:016x}"))?;
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L163
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:163:53
|
163 | log_map.serialize_entry("TraceId", &format_args!("{:032x}", trace_id))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
163 - log_map.serialize_entry("TraceId", &format_args!("{:032x}", trace_id))?;
163 + log_map.serialize_entry("TraceId", &format_args!("{trace_id:032x}"))?;
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L161
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:161:51
|
161 | log_map.serialize_entry("Timestamp", &format_args!("{}", timestamp))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
161 - log_map.serialize_entry("Timestamp", &format_args!("{}", timestamp))?;
161 + log_map.serialize_entry("Timestamp", &format_args!("{timestamp}"))?;
|
|
the borrowed expression implements the required traits:
src/trace/otlp_format.rs#L120
warning: the borrowed expression implements the required traits
--> src/trace/otlp_format.rs:120:43
|
120 | let fields = serde_json::to_value(&event.field_map()).map_err(|_| Error)?;
| ^^^^^^^^^^^^^^^^^^ help: change this to: `event.field_map()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/trace/mod.rs:1:9
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]`
|
temporary with significant `Drop` can be early dropped:
src/trace/open_telemetry.rs#L126
warning: temporary with significant `Drop` can be early dropped
--> src/trace/open_telemetry.rs:126:17
|
110 | if let Some(url) = &self.trace_otlp {
| _____________________________________________-
111 | | use opentelemetry_otlp::{new_exporter, new_pipeline, Protocol, WithExportConfig};
112 | |
113 | | let protocol = match url.scheme() {
... |
126 | | let exporter = new_exporter()
| | ^^^^^^^^
... |
140 | | .boxed())
141 | | } else {
| |_________- temporary `exporter` is currently being dropped at the end of its contained scope
|
= note: this might lead to unnecessary resource contention
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_tightening
note: the lint level is defined here
--> src/trace/mod.rs:1:55
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^
= note: `#[warn(clippy::significant_drop_tightening)]` implied by `#[warn(clippy::nursery)]`
help: merge the temporary construction with its single usage
|
126 ~
127 + let tracer = new_exporter()
128 + .tonic()
129 + .with_endpoint(url.to_string())
130 + .with_protocol(protocol)
131 + .with_timeout(Duration::from_secs(3)).;
|
help: remove separated single usage
|
132 - let tracer = new_pipeline()
133 - .tracing()
134 - .with_exporter(exporter)
135 - .with_trace_config(trace_config)
136 - .install_batch(Tokio)?;
132 +
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L156
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:156:35
|
156 | self.record_debug(field, &format_args!("{}", value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
156 - self.record_debug(field, &format_args!("{}", value));
156 + self.record_debug(field, &format_args!("{value}"));
|
|
variables can be used directly in the `format!` string:
src/trace/open_telemetry.rs#L58
warning: variables can be used directly in the `format!` string
--> src/trace/open_telemetry.rs:58:24
|
58 | .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{}`", s))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
note: the lint level is defined here
--> src/trace/mod.rs:1:22
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^^
help: change this to
|
58 - .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{}`", s))?;
58 + .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{s}`"))?;
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L149
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:149:39
|
149 | self.record_debug(field, &format_args!("{}", value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
149 - self.record_debug(field, &format_args!("{}", value));
149 + self.record_debug(field, &format_args!("{value}"));
|
|
variables can be used directly in the `format!` string:
src/trace/tiny_log_fmt.rs#L139
warning: variables can be used directly in the `format!` string
--> src/trace/tiny_log_fmt.rs:139:23
|
139 | self.result = write!(self.writer, "{}{:?}", padding, value);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
139 - self.result = write!(self.writer, "{}{:?}", padding, value);
139 + self.result = write!(self.writer, "{padding}{value:?}");
|
|
variables can be used directly in the `format!` string:
src/trace/span_formatter.rs#L64
warning: variables can be used directly in the `format!` string
--> src/trace/span_formatter.rs:64:62
|
64 | "time.idle" => self.time_idle = Some(format!("{:?}", value)),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
64 - "time.idle" => self.time_idle = Some(format!("{:?}", value)),
64 + "time.idle" => self.time_idle = Some(format!("{value:?}")),
|
|
variables can be used directly in the `format!` string:
src/trace/span_formatter.rs#L63
warning: variables can be used directly in the `format!` string
--> src/trace/span_formatter.rs:63:62
|
63 | "time.busy" => self.time_busy = Some(format!("{:?}", value)),
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
63 - "time.busy" => self.time_busy = Some(format!("{:?}", value)),
63 + "time.busy" => self.time_busy = Some(format!("{value:?}")),
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L166
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:166:52
|
166 | log_map.serialize_entry("SpanId", &format_args!("{:016x}", span_id))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
166 - log_map.serialize_entry("SpanId", &format_args!("{:016x}", span_id))?;
166 + log_map.serialize_entry("SpanId", &format_args!("{span_id:016x}"))?;
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L163
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:163:53
|
163 | log_map.serialize_entry("TraceId", &format_args!("{:032x}", trace_id))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
163 - log_map.serialize_entry("TraceId", &format_args!("{:032x}", trace_id))?;
163 + log_map.serialize_entry("TraceId", &format_args!("{trace_id:032x}"))?;
|
|
variables can be used directly in the `format!` string:
src/trace/otlp_format.rs#L161
warning: variables can be used directly in the `format!` string
--> src/trace/otlp_format.rs:161:51
|
161 | log_map.serialize_entry("Timestamp", &format_args!("{}", timestamp))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
161 - log_map.serialize_entry("Timestamp", &format_args!("{}", timestamp))?;
161 + log_map.serialize_entry("Timestamp", &format_args!("{timestamp}"))?;
|
|
the borrowed expression implements the required traits:
src/trace/otlp_format.rs#L120
warning: the borrowed expression implements the required traits
--> src/trace/otlp_format.rs:120:43
|
120 | let fields = serde_json::to_value(&event.field_map()).map_err(|_| Error)?;
| ^^^^^^^^^^^^^^^^^^ help: change this to: `event.field_map()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> src/trace/mod.rs:1:9
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::needless_borrow)]` implied by `#[warn(clippy::all)]`
|
temporary with significant `Drop` can be early dropped:
src/trace/open_telemetry.rs#L126
warning: temporary with significant `Drop` can be early dropped
--> src/trace/open_telemetry.rs:126:17
|
110 | if let Some(url) = &self.trace_otlp {
| _____________________________________________-
111 | | use opentelemetry_otlp::{new_exporter, new_pipeline, Protocol, WithExportConfig};
112 | |
113 | | let protocol = match url.scheme() {
... |
126 | | let exporter = new_exporter()
| | ^^^^^^^^
... |
140 | | .boxed())
141 | | } else {
| |_________- temporary `exporter` is currently being dropped at the end of its contained scope
|
= note: this might lead to unnecessary resource contention
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_tightening
note: the lint level is defined here
--> src/trace/mod.rs:1:55
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^
= note: `#[warn(clippy::significant_drop_tightening)]` implied by `#[warn(clippy::nursery)]`
help: merge the temporary construction with its single usage
|
126 ~
127 + let tracer = new_exporter()
128 + .tonic()
129 + .with_endpoint(url.to_string())
130 + .with_protocol(protocol)
131 + .with_timeout(Duration::from_secs(3)).;
|
help: remove separated single usage
|
132 - let tracer = new_pipeline()
133 - .tracing()
134 - .with_exporter(exporter)
135 - .with_trace_config(trace_config)
136 - .install_batch(Tokio)?;
132 +
|
|
variables can be used directly in the `format!` string:
src/trace/open_telemetry.rs#L58
warning: variables can be used directly in the `format!` string
--> src/trace/open_telemetry.rs:58:24
|
58 | .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{}`", s))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
note: the lint level is defined here
--> src/trace/mod.rs:1:22
|
1 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^^
help: change this to
|
58 - .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{}`", s))?;
58 + .ok_or_else(|| format!("invalid KEY=value: no `=` found in `{s}`"))?;
|
|
variables can be used directly in the `format!` string:
src/build.rs#L110
warning: variables can be used directly in the `format!` string
--> src/build.rs:110:55
|
110 | fs::read_to_string(&ref_path).with_context(|| format!("Error reading {}", ref_path_str))?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
110 - fs::read_to_string(&ref_path).with_context(|| format!("Error reading {}", ref_path_str))?
110 + fs::read_to_string(&ref_path).with_context(|| format!("Error reading {ref_path_str}"))?
|
|
variables can be used directly in the `format!` string:
src/build.rs#L109
warning: variables can be used directly in the `format!` string
--> src/build.rs:109:9
|
109 | println!("cargo:rerun-if-changed={}", ref_path_str);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
109 - println!("cargo:rerun-if-changed={}", ref_path_str);
109 + println!("cargo:rerun-if-changed={ref_path_str}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L43
warning: variables can be used directly in the `format!` string
--> src/build.rs:43:9
|
43 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
43 - eprintln!("Warning: {}", e);
43 + eprintln!("Warning: {e}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L30
warning: variables can be used directly in the `format!` string
--> src/build.rs:30:13
|
30 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
30 - eprintln!("Warning: {}", e);
30 + eprintln!("Warning: {e}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L23
warning: variables can be used directly in the `format!` string
--> src/build.rs:23:9
|
23 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
note: the lint level is defined here
--> src/lib.rs:8:22
|
8 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]`
help: change this to
|
23 - eprintln!("Warning: {}", e);
23 + eprintln!("Warning: {e}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L110
warning: variables can be used directly in the `format!` string
--> src/build.rs:110:55
|
110 | fs::read_to_string(&ref_path).with_context(|| format!("Error reading {}", ref_path_str))?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
110 - fs::read_to_string(&ref_path).with_context(|| format!("Error reading {}", ref_path_str))?
110 + fs::read_to_string(&ref_path).with_context(|| format!("Error reading {ref_path_str}"))?
|
|
variables can be used directly in the `format!` string:
src/build.rs#L109
warning: variables can be used directly in the `format!` string
--> src/build.rs:109:9
|
109 | println!("cargo:rerun-if-changed={}", ref_path_str);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
109 - println!("cargo:rerun-if-changed={}", ref_path_str);
109 + println!("cargo:rerun-if-changed={ref_path_str}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L43
warning: variables can be used directly in the `format!` string
--> src/build.rs:43:9
|
43 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
43 - eprintln!("Warning: {}", e);
43 + eprintln!("Warning: {e}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L30
warning: variables can be used directly in the `format!` string
--> src/build.rs:30:13
|
30 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
help: change this to
|
30 - eprintln!("Warning: {}", e);
30 + eprintln!("Warning: {e}");
|
|
variables can be used directly in the `format!` string:
src/build.rs#L23
warning: variables can be used directly in the `format!` string
--> src/build.rs:23:9
|
23 | eprintln!("Warning: {}", e);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
note: the lint level is defined here
--> src/lib.rs:8:22
|
8 | #![warn(clippy::all, clippy::pedantic, clippy::cargo, clippy::nursery)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::uninlined_format_args)]` implied by `#[warn(clippy::pedantic)]`
help: change this to
|
23 - eprintln!("Warning: {}", e);
23 + eprintln!("Warning: {e}");
|
|
Lint
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (nightly)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coverage
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Test (stable)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|