Skip to content

Bump aws-config from 0.54.1 to 0.56.1 #145

Bump aws-config from 0.54.1 to 0.56.1

Bump aws-config from 0.54.1 to 0.56.1 #145

Triggered via pull request August 24, 2023 08:37
Status Failure
Total duration 7m 49s
Artifacts

test.yml

on: pull_request
ubuntu / stable / minimal-versions
3m 38s
ubuntu / stable / minimal-versions
ubuntu / stable / coverage
2m 57s
ubuntu / stable / coverage
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 18 warnings
ubuntu / stable / coverage
Process completed with exit code 1.
ubuntu / stable
Process completed with exit code 101.
ubuntu / beta
The job was canceled because "stable" failed.
ubuntu / beta
The operation was canceled.
ubuntu / stable / minimal-versions
Process completed with exit code 101.
macos-latest / stable
Process completed with exit code 101.
windows-latest / stable
Process completed with exit code 1.
the borrowed expression implements the required traits: rynamodb-compliance-tracker/src/database.rs#L52
warning: the borrowed expression implements the required traits --> rynamodb-compliance-tracker/src/database.rs:52:19 | 52 | .bind(&branch) | ^^^^^^^ help: change this to: `branch` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L282
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:282:17 | 282 | let table = unlocked_manager | _________________^ 283 | | .get_table_mut(&input.table_name) 284 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L224
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:224:17 | 224 | let table = unlocked_manager | _________________^ 225 | | .get_table(&input.table_name) 226 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L199
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:199:17 | 199 | let table = unlocked_manager | _________________^ 200 | | .get_table(&input.table_name) 201 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L153
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:153:17 | 153 | let table = unlocked_manager | _________________^ 154 | | .get_table(&input.table_name) 155 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
this async expression only awaits a single future: rynamodb/src/lib.rs#L42
warning: this async expression only awaits a single future --> rynamodb/src/lib.rs:42:31 | 42 | let handle = tokio::spawn(async { server.await }); | ^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `server` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block = note: `#[warn(clippy::redundant_async_block)]` on by default
using `clone` on type `Region` which implements the `Copy` trait: rynamodb/src/table_manager.rs#L166
warning: using `clone` on type `Region` which implements the `Copy` trait --> rynamodb/src/table_manager.rs:166:24 | 166 | new.insert(region.clone(), new_tables); | ^^^^^^^^^^^^^^ help: try dereferencing it: `*region` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default
redundant guard: rynamodb/src/table/mod.rs#L156
warning: redundant guard --> rynamodb/src/table/mod.rs:156:45 | 156 | Node::Binop { op, lhs, rhs } if op == queries::Operator::And => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards help: try | 156 - Node::Binop { op, lhs, rhs } if op == queries::Operator::And => { 156 + Node::Binop { op: queries::Operator::And, lhs, rhs } => { |
redundant guard: rynamodb/src/table/mod.rs#L141
warning: redundant guard --> rynamodb/src/table/mod.rs:141:45 | 141 | Node::Binop { op, lhs, rhs } if op == queries::Operator::Eq => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `#[warn(clippy::redundant_guards)]` on by default help: try | 141 - Node::Binop { op, lhs, rhs } if op == queries::Operator::Eq => { 141 + Node::Binop { op: queries::Operator::Eq, lhs, rhs } => { |
the borrowed expression implements the required traits: rynamodb-compliance-tracker/src/database.rs#L52
warning: the borrowed expression implements the required traits --> rynamodb-compliance-tracker/src/database.rs:52:19 | 52 | .bind(&branch) | ^^^^^^^ help: change this to: `branch` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L282
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:282:17 | 282 | let table = unlocked_manager | _________________^ 283 | | .get_table_mut(&input.table_name) 284 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L224
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:224:17 | 224 | let table = unlocked_manager | _________________^ 225 | | .get_table(&input.table_name) 226 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L199
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:199:17 | 199 | let table = unlocked_manager | _________________^ 200 | | .get_table(&input.table_name) 201 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
unnecessary closure used to substitute value for `Option::None`: rynamodb/src/lib.rs#L153
warning: unnecessary closure used to substitute value for `Option::None` --> rynamodb/src/lib.rs:153:17 | 153 | let table = unlocked_manager | _________________^ 154 | | .get_table(&input.table_name) 155 | | .ok_or_else(|| ErrorResponse::ResourceNotFound { name: None })?; | |__________------------------------------------------------------------^ | | | help: use `ok_or(..)` instead: `ok_or(ErrorResponse::ResourceNotFound { name: None })` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations = note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
this async expression only awaits a single future: rynamodb/src/lib.rs#L42
warning: this async expression only awaits a single future --> rynamodb/src/lib.rs:42:31 | 42 | let handle = tokio::spawn(async { server.await }); | ^^^^^^^^^^^^^^^^^^^^^^ help: you can reduce it to: `server` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_async_block = note: `#[warn(clippy::redundant_async_block)]` on by default
using `clone` on type `Region` which implements the `Copy` trait: rynamodb/src/table_manager.rs#L166
warning: using `clone` on type `Region` which implements the `Copy` trait --> rynamodb/src/table_manager.rs:166:24 | 166 | new.insert(region.clone(), new_tables); | ^^^^^^^^^^^^^^ help: try dereferencing it: `*region` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default
redundant guard: rynamodb/src/table/mod.rs#L156
warning: redundant guard --> rynamodb/src/table/mod.rs:156:45 | 156 | Node::Binop { op, lhs, rhs } if op == queries::Operator::And => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards help: try | 156 - Node::Binop { op, lhs, rhs } if op == queries::Operator::And => { 156 + Node::Binop { op: queries::Operator::And, lhs, rhs } => { |
redundant guard: rynamodb/src/table/mod.rs#L141
warning: redundant guard --> rynamodb/src/table/mod.rs:141:45 | 141 | Node::Binop { op, lhs, rhs } if op == queries::Operator::Eq => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `#[warn(clippy::redundant_guards)]` on by default help: try | 141 - Node::Binop { op, lhs, rhs } if op == queries::Operator::Eq => { 141 + Node::Binop { op: queries::Operator::Eq, lhs, rhs } => { |