Skip to content

chore(fix): documentation #421

chore(fix): documentation

chore(fix): documentation #421

Triggered via push May 18, 2024 19:52
Status Failure
Total duration 16m 20s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 47 warnings
integration-tests
Process completed with exit code 2.
unit-tests
Process completed with exit code 2.
assigning the result of `Clone::clone()` may be inefficient: src/step/referential.rs#L102
warning: assigning the result of `Clone::clone()` may be inefficient --> src/step/referential.rs:102:13 | 102 | task_referential.name = name.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `task_referential.name.clone_from(name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
`Box::new(_)` of default value: src/helper/checksum.rs#L91
warning: `Box::new(_)` of default value --> src/helper/checksum.rs:91:50 | 91 | "sha2-512" | "sha2_512" | "sha512" => Ok(Box::new(sha2::Sha512::default())), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::<sha2::Sha512>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
`Box::new(_)` of default value: src/helper/checksum.rs#L90
warning: `Box::new(_)` of default value --> src/helper/checksum.rs:90:50 | 90 | "sha2-384" | "sha2_384" | "sha384" => Ok(Box::new(sha2::Sha384::default())), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::<sha2::Sha384>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
`Box::new(_)` of default value: src/helper/checksum.rs#L89
warning: `Box::new(_)` of default value --> src/helper/checksum.rs:89:50 | 89 | "sha2-256" | "sha2_256" | "sha256" => Ok(Box::new(sha2::Sha256::default())), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::<sha2::Sha256>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
`Box::new(_)` of default value: src/helper/checksum.rs#L88
warning: `Box::new(_)` of default value --> src/helper/checksum.rs:88:50 | 88 | "sha2-224" | "sha2_224" | "sha224" => Ok(Box::new(sha2::Sha224::default())), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::<sha2::Sha224>::default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default = note: `#[warn(clippy::box_default)]` on by default
you seem to be trying to use `&Box<T>`. Consider using just `&T`: src/connector/mod.rs#L126
warning: you seem to be trying to use `&Box<T>`. Consider using just `&T` --> src/connector/mod.rs:126:34 | 126 | fn document(&self) -> Result<&Box<dyn Document>> { | ^^^^^^^^^^^^^^^^^^ help: try: `&dyn Document` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box = note: `#[warn(clippy::borrowed_box)]` on by default
large size difference between variants: src/connector/mod.rs#L46
warning: large size difference between variants --> src/connector/mod.rs:46:1 | 46 | / pub enum ConnectorType { 47 | | #[serde(rename = "in_memory")] 48 | | #[serde(alias = "mem")] 49 | | InMemory(InMemory), | | ------------------ the second-largest variant contains at least 0 bytes 50 | | #[serde(rename = "io")] 51 | | Io(Io), | | ------ the largest variant contains at least 288 bytes ... | 71 | | Psql(Psql), 72 | | } | |_^ the entire enum is at least 0 bytes | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant = note: `#[warn(clippy::large_enum_variant)]` on by default help: consider boxing the large fields to reduce the total size of the enum | 51 | Io(Box<Io>), | ~~~~~~~
very complex type used. Consider factoring parts into `type` definitions: src/connector/psql.rs#L62
warning: very complex type used. Consider factoring parts into `type` definitions --> src/connector/psql.rs:62:17 | 62 | static CLIENTS: OnceLock<Arc<Mutex<HashMap<String, Pool<Postgres>>>>> = OnceLock::new(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
assigning the result of `Clone::clone()` may be inefficient: src/connector/paginator/local/wildcard.rs#L78
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/paginator/local/wildcard.rs:78:17 | 78 | new_connector.path = path.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `new_connector.path.clone_from(&path)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
very complex type used. Consider factoring parts into `type` definitions: src/connector/local.rs#L64
warning: very complex type used. Consider factoring parts into `type` definitions --> src/connector/local.rs:64:16 | 64 | static CACHES: OnceLock<Arc<Mutex<HashMap<String, Vec<DataResult>>>>> = OnceLock::new(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
assigning the result of `Clone::clone()` may be inefficient: src/connector/bucket_select.rs#L690
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/bucket_select.rs:690:9 | 690 | bucket.parameters = connector.parameters.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `bucket.parameters.clone_from(&connector.parameters)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: src/connector/bucket_select.rs#L689
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/bucket_select.rs:689:9 | 689 | bucket.path = connector.path.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `bucket.path.clone_from(&connector.path)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: src/connector/bucket_select.rs#L688
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/bucket_select.rs:688:9 | 688 | bucket.bucket = connector.bucket.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `bucket.bucket.clone_from(&connector.bucket)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: src/connector/bucket_select.rs#L687
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/bucket_select.rs:687:9 | 687 | bucket.region = connector.region.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `bucket.region.clone_from(&connector.region)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones
assigning the result of `Clone::clone()` may be inefficient: src/connector/bucket_select.rs#L686
warning: assigning the result of `Clone::clone()` may be inefficient --> src/connector/bucket_select.rs:686:9 | 686 | bucket.endpoint = connector.endpoint.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `bucket.endpoint.clone_from(&connector.endpoint)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@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/.
lint
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/
release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
release
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
release
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/
release
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/
release
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/
release
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/
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
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/
build
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/
build
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/
build
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/
integration-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
integration-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
integration-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/
integration-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/
integration-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/
integration-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/
unit-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
unit-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
unit-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/
unit-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/
unit-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/
unit-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/
benchmark
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nelonoel/branch-name@v1.0.1, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
benchmark
The following actions uses node12 which is deprecated and will be forced to run on node16: nelonoel/branch-name@v1.0.1, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
benchmark
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/
benchmark
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/
benchmark
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/
benchmark
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/