use cache and reuse build and deps in the ci #22
Triggered via pull request
December 22, 2023 16:29
Status
Failure
Total duration
20m 10s
Artifacts
–
Annotations
39 errors and 5 warnings
using `clone` on type `Option<(u64, u64, Pubkey)>` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L369
error: using `clone` on type `Option<(u64, u64, Pubkey)>` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:369:25
|
369 | last_seen_key = last_key.clone();
| ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `last_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `(u64, u64, Pubkey)` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L352
error: using `clone` on type `(u64, u64, Pubkey)` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:352:28
|
352 | let expected_key = keys[i * 1000 + 999].clone();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `keys[i * 1000 + 999]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Option<(u64, u64, Pubkey)>` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L345
error: using `clone` on type `Option<(u64, u64, Pubkey)>` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:345:29
|
345 | let mut last_seen_key = last_key.clone();
| ^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `last_key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L343
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:343:30
|
343 | keys.push((4 + i, i, key.clone()));
| ^^^^^^^^^^^ help: try removing the `clone` call: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L342
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:342:34
|
342 | storage.asset_updated(i, key.clone()).unwrap();
| ^^^^^^^^^^^ help: try removing the `clone` call: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L329
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:329:31
|
329 | let expected_key = (3, 5, key.clone());
| ^^^^^^^^^^^ help: try removing the `clone` call: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L316
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:316:30
|
316 | storage.asset_updated(5, key.clone()).unwrap();
| ^^^^^^^^^^^ help: try removing the `clone` call: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L307
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:307:31
|
307 | let expected_key = (2, 2, PUBKEY_OF_TWOS.clone());
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L289
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:289:17
|
289 | (2, PUBKEY_OF_TWOS.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L288
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:288:17
|
288 | (4, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L272
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:272:31
|
272 | let expected_key = (4, 5, PUBKEY_OF_TWOS.clone());
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L264
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:264:17
|
264 | (5, PUBKEY_OF_TWOS.clone()), // seq = 4
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L263
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:263:17
|
263 | (5, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 3
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L262
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:262:17
|
262 | (2, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 2
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L261
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:261:17
|
261 | (4, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 1
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L235
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:235:31
|
235 | let expected_key = (4, 5, PUBKEY_OF_TWOS.clone());
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L223
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:223:53
|
223 | .fetch_asset_updated_keys(None, Some((4, 5, PUBKEY_OF_TWOS.clone())), 10, None)
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L212
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:212:31
|
212 | let expected_key = (1, 4, DEFAULT_PUBKEY_OF_ONES.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L203
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:203:53
|
203 | .fetch_asset_updated_keys(None, Some((1, 4, DEFAULT_PUBKEY_OF_ONES.clone())), 10, None)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L196
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:196:53
|
196 | .fetch_asset_updated_keys(None, Some((0, 2, DEFAULT_PUBKEY_OF_ONES.clone())), 10, None)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L189
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:189:17
|
189 | (5, PUBKEY_OF_TWOS.clone()), // seq = 4
| ^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `PUBKEY_OF_TWOS`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L188
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:188:17
|
188 | (5, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 3
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L187
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:187:17
|
187 | (2, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 2
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L186
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:186:17
|
186 | (4, DEFAULT_PUBKEY_OF_ONES.clone()), // seq = 1
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L172
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:172:31
|
172 | let expected_key = (2, 2, DEFAULT_PUBKEY_OF_ONES.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L167
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:167:42
|
167 | Some(HashSet::from_iter(vec![DEFAULT_PUBKEY_OF_ONES.clone()])),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L157
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:157:17
|
157 | (2, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L156
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:156:17
|
156 | (4, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L123
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:123:17
|
123 | (2, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L122
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:122:17
|
122 | (4, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L89
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:89:17
|
89 | (2, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L88
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:88:17
|
88 | (4, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L74
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:74:50
|
74 | let expected_key = encode_u64x2_pubkey(2, 2, DEFAULT_PUBKEY_OF_ONES.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L66
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:66:50
|
66 | let expected_key = encode_u64x2_pubkey(1, 4, DEFAULT_PUBKEY_OF_ONES.clone());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L59
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:59:17
|
59 | (2, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L58
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:58:17
|
58 | (4, DEFAULT_PUBKEY_OF_ONES.clone()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `DEFAULT_PUBKEY_OF_ONES`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
|
using `clone` on type `Pubkey` which implements the `Copy` trait:
rocks-db/tests/batch_client_integration_tests.rs#L21
error: using `clone` on type `Pubkey` which implements the `Copy` trait
--> rocks-db/tests/batch_client_integration_tests.rs:21:41
|
21 | storage.asset_updated(slot, pubkey.clone()).unwrap();
| ^^^^^^^^^^^^^^ help: try dereferencing it: `*pubkey`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `-D clippy::clone-on-copy` implied by `-D warnings`
|
build
could not compile `rocks-db` (test "batch_client_integration_tests") due to 38 previous errors
|
build
Clippy had exited with the 101 exit code
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1, 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/
|
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/
|