Fix all clippy lints #2013
ci.yml
on: push
Formatting
27s
Documentation
1m 16s
Typos
7s
Clippy
3m 10s
Miri Tests
1m 23s
Build Extractor
1m 54s
Dependency Graph (assets/depgraph.svg)
22s
Unused Dependencies
3m 14s
Matrix: valence-tests
Annotations
36 errors and 10 warnings
|
Documentation
Process completed with exit code 101.
|
Miri Tests:
crates/valence_nbt/src/binary.rs#L22
the trait bound `&str: std::io::Write` is not satisfied
|
Miri Tests:
crates/valence_nbt/src/binary.rs#L22
the trait bound `valence_nbt::Compound: valence_nbt::binary::ToModifiedUtf8` is not satisfied
|
Miri Tests:
crates/valence_nbt/src/binary.rs#L22
mismatched types
|
Miri Tests:
crates/valence_nbt/src/binary.rs#L36
no method named `unwrap` found for tuple `(valence_nbt::Compound<_>, _)` in the current scope
|
Miri Tests
Process completed with exit code 101.
|
Clippy:
tools/packet_inspector/build.rs#L46
variables can be used directly in the `format!` string
|
Clippy:
tools/packet_inspector/build.rs#L53
variables can be used directly in the `format!` string
|
Clippy:
crates/valence_server/src/layer/chunk/loaded.rs#L276
`&std::boxed::Box<[layer::chunk::loaded::Section]>` is not an iterator
|
Clippy:
tools/packet_inspector/build.rs#L104
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L105
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L110
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L111
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L112
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L113
`to_string()` called on a `&str`
|
Clippy:
tools/packet_inspector/build.rs#L117
`to_string()` called on a `&str`
|
Unused Dependencies:
tools/playground/src/playground.rs#L9
unreachable `pub` item
|
Unused Dependencies
Process completed with exit code 101.
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L276
`&Box<[loaded::Section]>` is not an iterator
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L393
`&Box<[loaded::Section]>` is not an iterator
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L466
`&Box<[loaded::Section]>` is not an iterator
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L689
`[loaded::Section]` is not an iterator
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L17
unused import: `valence_registry::RegistryIdx`
|
Tests (macos-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L15
unused import: `Encode`
|
Tests (macos-latest)
Process completed with exit code 101.
|
Tests (windows-latest)
The job was canceled because "macos-latest_default_stab" failed.
|
Tests (windows-latest)
The operation was canceled.
|
Tests (ubuntu-latest)
The job was canceled because "macos-latest_default_stab" failed.
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L276
`&Box<[loaded::Section]>` is not an iterator
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L393
`&Box<[loaded::Section]>` is not an iterator
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L466
`&Box<[loaded::Section]>` is not an iterator
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L689
`[loaded::Section]` is not an iterator
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L17
unused import: `valence_registry::RegistryIdx`
|
Tests (ubuntu-latest):
crates/valence_server/src/layer/chunk/loaded.rs#L15
unused import: `Encode`
|
Tests (ubuntu-latest)
The operation was canceled.
|
Typos
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/.
|
Dependency Graph (assets/depgraph.svg)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, baptiste0928/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Formatting
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/.
|
Documentation
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/.
|
Miri Tests
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/.
|
Build Extractor
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-java@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build Extractor
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Clippy
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/.
|
Unused Dependencies
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, baptiste0928/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (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/.
|