Skip to content

shardtree: Use Tree constructors instead of struct creation #465

shardtree: Use Tree constructors instead of struct creation

shardtree: Use Tree constructors instead of struct creation #465

Triggered via push June 26, 2024 14:00
Status Success
Total duration 31m 58s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 6 warnings
redundant closure: shardtree/src/testing.rs#L35
error: redundant closure --> shardtree/src/testing.rs:35:27 | 35 | arb_leaf.prop_map(|value| Tree::leaf(value)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Tree::leaf` | = note: `-D clippy::redundant-closure` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
redundant closure: shardtree/src/testing.rs#L35
error: redundant closure --> shardtree/src/testing.rs:35:27 | 35 | arb_leaf.prop_map(|value| Tree::leaf(value)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `Tree::leaf` | = note: `-D clippy::redundant-closure` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
unused import: `Node`: shardtree/src/batch.rs#L11
error: unused import: `Node` --> shardtree/src/batch.rs:11:53 | 11 | IncompleteAt, LocatedPrunableTree, LocatedTree, Node, RetentionFlags, ShardTree, Tree, | ^^^^
unused import: `sync::Arc`: shardtree/src/batch.rs#L3
error: unused import: `sync::Arc` --> shardtree/src/batch.rs:3:51 | 3 | use std::{collections::BTreeMap, fmt, ops::Range, sync::Arc}; | ^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
unused import: `Node`: shardtree/src/batch.rs#L11
error: unused import: `Node` --> shardtree/src/batch.rs:11:53 | 11 | IncompleteAt, LocatedPrunableTree, LocatedTree, Node, RetentionFlags, ShardTree, Tree, | ^^^^
unused import: `sync::Arc`: shardtree/src/batch.rs#L3
error: unused import: `sync::Arc` --> shardtree/src/batch.rs:3:51 | 3 | use std::{collections::BTreeMap, fmt, ops::Range, sync::Arc}; | ^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings`
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Bitrot check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Intra-doc links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on macOS-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.