Skip to content

API update

API update #76

Triggered via pull request May 22, 2024 14:20
Status Failure
Total duration 1m 13s
Artifacts

ci.yaml

on: pull_request
Publish on crates.io
0s
Publish on crates.io
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 16 warnings
Clippy check
no such command: `publish --dry-run`
Clippy check
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
used `unwrap()` on a `Result` value: src/builder.rs#L178
error: used `unwrap()` on a `Result` value --> src/builder.rs:178:32 | 178 | .unwrap_or_else(|| CLOUD_URL.to_string().parse().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used note: the lint level is defined here --> src/lib.rs:6:5 | 6 | clippy::unwrap_used, | ^^^^^^^^^^^^^^^^^^^
consider adding a `;` to the last statement for consistent formatting: src/builder.rs#L154
error: consider adding a `;` to the last statement for consistent formatting --> src/builder.rs:154:17 | 154 | self = self.with_url(&u)? | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self = self.with_url(&u)?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
consider adding a `;` to the last statement for consistent formatting: src/builder.rs#L149
error: consider adding a `;` to the last statement for consistent formatting --> src/builder.rs:149:17 | 149 | self = self.with_dataset(d)? | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self = self.with_dataset(d)?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
consider adding a `;` to the last statement for consistent formatting: src/builder.rs#L143
error: consider adding a `;` to the last statement for consistent formatting --> src/builder.rs:143:17 | 143 | self = self.with_token(t)? | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `self = self.with_token(t)?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned note: the lint level is defined here --> src/lib.rs:8:5 | 8 | clippy::pedantic, | ^^^^^^^^^^^^^^^^ = note: `#[deny(clippy::semicolon_if_nothing_returned)]` implied by `#[deny(clippy::pedantic)]`
this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]`: src/builder.rs#L140
error: this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]` --> src/builder.rs:140:5 | 140 | pub fn with_env(mut self) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: either add some descriptive text or remove the attribute = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]`: src/builder.rs#L88
error: this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]` --> src/builder.rs:88:5 | 88 | pub fn with_url(mut self, url: &str) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: either add some descriptive text or remove the attribute = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]`: src/builder.rs#L71
error: this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]` --> src/builder.rs:71:5 | 71 | pub fn with_token(mut self, token: impl Into<String>) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: either add some descriptive text or remove the attribute = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]`: src/builder.rs#L56
error: this function has an empty `#[must_use]` attribute, but returns a type already marked as `#[must_use]` --> src/builder.rs:56:5 | 56 | pub fn with_dataset(mut self, dataset_name: impl Into<String>) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: either add some descriptive text or remove the attribute = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use note: the lint level is defined here --> src/lib.rs:5:5 | 5 | clippy::all, | ^^^^^^^^^^^ = note: `#[deny(clippy::double_must_use)]` implied by `#[deny(clippy::all)]`
Clippy check
Clippy had exited with the 101 exit code
Clippy check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Rustfmt check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt check
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/
Rustfmt check
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/
Rustfmt check
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/
Rustfmt check
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/
Clippy check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Run tests
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/
Run tests
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/
Run tests
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/
Run tests
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/