Skip to content

clippy: fix Vec/String warnings #1015

clippy: fix Vec/String warnings

clippy: fix Vec/String warnings #1015

Triggered via pull request February 21, 2024 15:19
Status Failure
Total duration 55s
Artifacts

ci.yml

on: pull_request
Matrix: clippy
Matrix: docs
Matrix: no-std
Matrix: rustfmt
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

57 errors and 72 warnings
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L3
unresolved import `winter_utils::boxed`
build stable no-std for wasm32-unknown-unknown: src/merkle/partial_mt/mod.rs#L406
cannot find macro `format` in this scope
build stable no-std for wasm32-unknown-unknown: src/merkle/partial_mt/mod.rs#L107
cannot find macro `vec` in this scope
build stable no-std for wasm32-unknown-unknown: src/merkle/mmr/partial.rs#L186
cannot find macro `vec` in this scope
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L23
cannot find type `Box` in this scope
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L50
cannot find type `Box` in this scope
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L51
failed to resolve: use of undeclared type `Box`
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L183
cannot find type `Box` in this scope
build stable no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L184
failed to resolve: use of undeclared type `Box`
build stable no-std for wasm32-unknown-unknown
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L3
unresolved import `winter_utils::boxed`
build nightly no-std for wasm32-unknown-unknown: src/merkle/partial_mt/mod.rs#L406
cannot find macro `format` in this scope
build nightly no-std for wasm32-unknown-unknown: src/merkle/partial_mt/mod.rs#L107
cannot find macro `vec` in this scope
build nightly no-std for wasm32-unknown-unknown: src/merkle/mmr/partial.rs#L186
cannot find macro `vec` in this scope
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L23
cannot find type `Box` in this scope
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L50
cannot find type `Box` in this scope
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L51
failed to resolve: use of undeclared type `Box`
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L183
cannot find type `Box` in this scope
build nightly no-std for wasm32-unknown-unknown: src/utils/kv_map.rs#L184
failed to resolve: use of undeclared type `Box`
build nightly no-std for wasm32-unknown-unknown
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L3
unresolved import `winter_utils::boxed`
test stable on ubuntu with --no-default-features: src/merkle/partial_mt/mod.rs#L406
cannot find macro `format` in this scope
test stable on ubuntu with --no-default-features: src/merkle/partial_mt/mod.rs#L107
cannot find macro `vec` in this scope
test stable on ubuntu with --no-default-features: src/merkle/mmr/partial.rs#L186
cannot find macro `vec` in this scope
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L23
cannot find type `Box` in this scope
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L50
cannot find type `Box` in this scope
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L51
failed to resolve: use of undeclared type `Box`
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L183
cannot find type `Box` in this scope
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L184
failed to resolve: use of undeclared type `Box`
test stable on ubuntu with --no-default-features: src/utils/kv_map.rs#L23
cannot find type `Box` in this scope
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L3
unresolved import `winter_utils::boxed`
test nightly on ubuntu with --no-default-features: src/merkle/partial_mt/mod.rs#L406
cannot find macro `format` in this scope
test nightly on ubuntu with --no-default-features: src/merkle/partial_mt/mod.rs#L107
cannot find macro `vec` in this scope
test nightly on ubuntu with --no-default-features: src/merkle/mmr/partial.rs#L186
cannot find macro `vec` in this scope
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L23
cannot find type `Box` in this scope
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L50
cannot find type `Box` in this scope
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L51
failed to resolve: use of undeclared type `Box`
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L183
cannot find type `Box` in this scope
test nightly on ubuntu with --no-default-features: src/utils/kv_map.rs#L184
failed to resolve: use of undeclared type `Box`
test nightly on ubuntu with --no-default-features
could not compile `miden-crypto` (lib) due to 9 previous errors
clippy nightly on ubuntu: src/dsa/rpo_falcon512/signature.rs#L199
the item `Felt` is imported redundantly
clippy nightly on ubuntu: src/hash/rescue/rpo/digest.rs#L325
the item `String` is imported redundantly
clippy nightly on ubuntu: src/hash/rescue/rpx/digest.rs#L314
the item `String` is imported redundantly
clippy nightly on ubuntu: src/merkle/merkle_tree.rs#L290
the item `InnerNodeInfo` is imported redundantly
clippy nightly on ubuntu: src/merkle/merkle_tree.rs#L291
the item `Word` is imported redundantly
clippy nightly on ubuntu: src/merkle/smt/full/tests.rs#L5
the item `EmptySubtreeRoots` is imported redundantly
clippy nightly on ubuntu: src/merkle/mmr/partial.rs#L615
the item `Vec` is imported redundantly
clippy nightly on ubuntu: src/merkle/partial_mt/tests.rs#L6
the item `Vec` is imported redundantly
clippy nightly on ubuntu
could not compile `miden-crypto` (lib) due to 1 previous error
clippy nightly on ubuntu
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
test stable on ubuntu with --features default,serde
could not compile `miden-crypto` (lib) due to 1 previous error
test stable on ubuntu with --features default,serde
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
test nightly on ubuntu with --features default,serde
could not compile `miden-crypto` (lib) due to 1 previous error
test nightly on ubuntu with --features default,serde
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
Verify the docs on stable: src/utils/kv_map.rs#L3
unresolved import `winter_utils::boxed`
Verify the docs on stable
could not document `miden-crypto`
Verify the docs on stable
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
rustfmt nightly on ubuntu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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 nightly on ubuntu
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 nightly on ubuntu
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 nightly on ubuntu
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 nightly on ubuntu
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 nightly on ubuntu
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 stable no-std for wasm32-unknown-unknown
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
build stable no-std for wasm32-unknown-unknown
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/
build stable no-std for wasm32-unknown-unknown
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 stable no-std for wasm32-unknown-unknown
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 stable no-std for wasm32-unknown-unknown
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 stable no-std for wasm32-unknown-unknown
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 nightly no-std for wasm32-unknown-unknown
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
build nightly no-std for wasm32-unknown-unknown
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/
build nightly no-std for wasm32-unknown-unknown
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 nightly no-std for wasm32-unknown-unknown
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 nightly no-std for wasm32-unknown-unknown
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 nightly no-std for wasm32-unknown-unknown
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/
test stable on ubuntu with --no-default-features
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
test stable on ubuntu with --no-default-features
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/
test stable on ubuntu with --no-default-features
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/
test stable on ubuntu with --no-default-features
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/
test stable on ubuntu with --no-default-features
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/
test stable on ubuntu with --no-default-features
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/
test nightly on ubuntu with --no-default-features
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
test nightly on ubuntu with --no-default-features
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/
test nightly on ubuntu with --no-default-features
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/
test nightly on ubuntu with --no-default-features
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/
test nightly on ubuntu with --no-default-features
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/
test nightly on ubuntu with --no-default-features
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 nightly on ubuntu
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
clippy nightly on ubuntu
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/
clippy nightly on ubuntu
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
clippy nightly on ubuntu
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
clippy nightly on ubuntu
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
clippy nightly on ubuntu
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 nightly on ubuntu
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 nightly on ubuntu
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 nightly on ubuntu
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/
test stable on ubuntu with --features default,serde
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
test stable on ubuntu with --features default,serde
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/
test stable on ubuntu with --features default,serde
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/
test stable on ubuntu with --features default,serde
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/
test stable on ubuntu with --features default,serde
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/
test stable on ubuntu with --features default,serde
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/
test stable on ubuntu with --features default,serde
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
test stable on ubuntu with --features default,serde
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
test stable on ubuntu with --features default,serde
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
test nightly on ubuntu with --features default,serde
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
test nightly on ubuntu with --features default,serde
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/
test nightly on ubuntu with --features default,serde
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/
test nightly on ubuntu with --features default,serde
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/
test nightly on ubuntu with --features default,serde
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/
test nightly on ubuntu with --features default,serde
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/
test nightly on ubuntu with --features default,serde
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
test nightly on ubuntu with --features default,serde: src/hash/rescue/rpo/digest.rs#L325
the item `String` is imported redundantly
test nightly on ubuntu with --features default,serde: src/hash/rescue/rpx/digest.rs#L314
the item `String` is imported redundantly
test nightly on ubuntu with --features default,serde: src/merkle/merkle_tree.rs#L290
the item `InnerNodeInfo` is imported redundantly
test nightly on ubuntu with --features default,serde: src/merkle/merkle_tree.rs#L291
the item `Word` is imported redundantly
test nightly on ubuntu with --features default,serde: src/merkle/smt/full/tests.rs#L5
the item `EmptySubtreeRoots` is imported redundantly
test nightly on ubuntu with --features default,serde: src/merkle/mmr/partial.rs#L615
the item `Vec` is imported redundantly
test nightly on ubuntu with --features default,serde
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
Verify the docs on stable
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.
Verify the docs on stable
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/
Verify the docs on stable
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
Verify the docs on stable
miden-crypto@0.9.0: Compiler version doesn't include clang or GCC: "cc" "--version"
Verify the docs on stable
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/
Verify the docs on stable
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/
Verify the docs on stable
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/
Verify the docs on stable
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/