Add Dockerfiles (#56) #173
Annotations
17 errors and 5 warnings
the following explicit lifetimes could be elided: 'a:
src/world/sign.rs#L26
error: the following explicit lifetimes could be elided: 'a
--> src/world/sign.rs:26:6
|
26 | impl<'a> RawSignText<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
26 - impl<'a> RawSignText<'a> {
26 + impl RawSignText<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/world/section.rs#L352
error: the following explicit lifetimes could be elided: 'a
--> src/world/section.rs:352:6
|
352 | impl<'a> Biomes for BiomesV0<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
352 - impl<'a> Biomes for BiomesV0<'a> {
352 + impl Biomes for BiomesV0<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/world/section.rs#L297
error: the following explicit lifetimes could be elided: 'a
--> src/world/section.rs:297:6
|
297 | impl<'a> Biomes for BiomesV1_18<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
297 - impl<'a> Biomes for BiomesV1_18<'a> {
297 + impl Biomes for BiomesV1_18<'_> {
|
|
manually reimplementing `div_ceil`:
src/world/section.rs#L245
error: manually reimplementing `div_ceil`
--> src/world/section.rs:245:26
|
245 | let expected_length = (64 + biomes_per_word - 1) / biomes_per_word;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `64.div_ceil(biomes_per_word)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
|
the following explicit lifetimes could be elided: 'a:
src/world/section.rs#L191
error: the following explicit lifetimes could be elided: 'a
--> src/world/section.rs:191:6
|
191 | impl<'a> Section for SectionV0<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
191 - impl<'a> Section for SectionV0<'a> {
191 + impl Section for SectionV0<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/world/section.rs#L148
error: the following explicit lifetimes could be elided: 'a
--> src/world/section.rs:148:6
|
148 | impl<'a> Section for SectionV1_13<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
148 - impl<'a> Section for SectionV1_13<'a> {
148 + impl Section for SectionV1_13<'_> {
|
|
manually reimplementing `div_ceil`:
src/world/section.rs#L84
error: manually reimplementing `div_ceil`
--> src/world/section.rs:84:5
|
84 | (4096 + blocks_per_word - 1) / blocks_per_word
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `4096.div_ceil(blocks_per_word)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
= note: `-D clippy::manual-div-ceil` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_div_ceil)]`
|
the following explicit lifetimes could be elided: 'a:
src/world/layer.rs#L61
error: the following explicit lifetimes could be elided: 'a
--> src/world/layer.rs:61:6
|
61 | impl<'a> LayerEntry<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
61 - impl<'a> LayerEntry<'a> {
61 + impl LayerEntry<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/world/chunk.rs#L436
error: the following explicit lifetimes could be elided: 'a
--> src/world/chunk.rs:436:6
|
436 | impl<'a> FusedIterator for SectionIter<'a> {}
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
436 - impl<'a> FusedIterator for SectionIter<'a> {}
436 + impl FusedIterator for SectionIter<'_> {}
|
|
the following explicit lifetimes could be elided: 'a:
src/world/chunk.rs#L425
error: the following explicit lifetimes could be elided: 'a
--> src/world/chunk.rs:425:6
|
425 | impl<'a> ExactSizeIterator for SectionIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
425 - impl<'a> ExactSizeIterator for SectionIter<'a> {
425 + impl ExactSizeIterator for SectionIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/world/chunk.rs#L419
error: the following explicit lifetimes could be elided: 'a
--> src/world/chunk.rs:419:6
|
419 | impl<'a> DoubleEndedIterator for SectionIter<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
419 - impl<'a> DoubleEndedIterator for SectionIter<'a> {
419 + impl DoubleEndedIterator for SectionIter<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/core/tile_mipmapper.rs#L160
error: the following explicit lifetimes could be elided: 'a
--> src/core/tile_mipmapper.rs:160:6
|
160 | impl<'a> TileCollector for TileMipmapper<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
160 - impl<'a> TileCollector for TileMipmapper<'a> {
160 + impl TileCollector for TileMipmapper<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/core/tile_mipmapper.rs#L77
error: the following explicit lifetimes could be elided: 'a
--> src/core/tile_mipmapper.rs:77:6
|
77 | impl<'a, P: image::PixelWithColorType> TileMerger for MapMerger<'a, P>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
77 - impl<'a, P: image::PixelWithColorType> TileMerger for MapMerger<'a, P>
77 + impl<P: image::PixelWithColorType> TileMerger for MapMerger<'_, P>
|
|
the following explicit lifetimes could be elided: 'a:
src/core/entity_collector.rs#L37
error: the following explicit lifetimes could be elided: 'a
--> src/core/entity_collector.rs:37:6
|
37 | impl<'a> TileCollector for EntityCollector<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
37 - impl<'a> TileCollector for EntityCollector<'a> {
37 + impl TileCollector for EntityCollector<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
src/core/entity_collector.rs#L19
error: the following explicit lifetimes could be elided: 'a
--> src/core/entity_collector.rs:19:6
|
19 | impl<'a> TileMerger for EntityCollector<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
19 - impl<'a> TileMerger for EntityCollector<'a> {
19 + impl TileMerger for EntityCollector<'_> {
|
|
empty line after doc comment:
src/core/common.rs#L21
error: empty line after doc comment
--> src/core/common.rs:21:1
|
21 | / /// Increase to force regeneration of all output files
22 | |
| |_
...
27 | pub const REGION_FILE_META_VERSION: FileMetaVersion = FileMetaVersion(2);
| --------------------------------------------------- the comment documents this constant
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty line is unintentional remove it
help: if the documentation should include the empty line include it in the comment
|
22 | ///
|
|
clippy
Clippy had exited with the 101 exit code
|
fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "MinedMap-2.2.0-3-g2156bff-aarch64-apple-darwin", "MinedMap-2.2.0-3-g2156bff-i686-pc-windows-msvc", "MinedMap-2.2.0-3-g2156bff-viewer", "MinedMap-2.2.0-3-g2156bff-x86_64-apple-darwin", "MinedMap-2.2.0-3-g2156bff-x86_64-pc-windows-msvc", "MinedMap-2.2.0-3-g2156bff-x86_64-unknown-linux-gnu".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
MinedMap-2.2.0-3-g2156bff-aarch64-apple-darwin
|
4.37 MB |
|
MinedMap-2.2.0-3-g2156bff-i686-pc-windows-msvc
|
3.83 MB |
|
MinedMap-2.2.0-3-g2156bff-viewer
|
427 KB |
|
MinedMap-2.2.0-3-g2156bff-x86_64-apple-darwin
|
4.72 MB |
|
MinedMap-2.2.0-3-g2156bff-x86_64-pc-windows-msvc
|
4.81 MB |
|
MinedMap-2.2.0-3-g2156bff-x86_64-unknown-linux-gnu
|
5.45 MB |
|