[INFO] fetching crate mc-core 0.1.1... [INFO] testing mc-core-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate mc-core 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mc-core 0.1.1 [INFO] finished tweaking crates.io crate mc-core 0.1.1 [INFO] tweaked toml for crates.io crate mc-core 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mc-core 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding hecs v0.6.5 (available: v0.10.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded named-binary-tag v0.6.0 [INFO] [stderr] Downloaded hecs v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c56d09d64953602d1ab97d5796e6bb7908ddda4379f5d56c61379b3825294bdc [INFO] running `Command { std: "docker" "start" "-a" "c56d09d64953602d1ab97d5796e6bb7908ddda4379f5d56c61379b3825294bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c56d09d64953602d1ab97d5796e6bb7908ddda4379f5d56c61379b3825294bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c56d09d64953602d1ab97d5796e6bb7908ddda4379f5d56c61379b3825294bdc", kill_on_drop: false }` [INFO] [stdout] c56d09d64953602d1ab97d5796e6bb7908ddda4379f5d56c61379b3825294bdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25471b8b7d1685101e033c1a245a439cdbe7b5153aad689ba17c57b635326074 [INFO] running `Command { std: "docker" "start" "-a" "25471b8b7d1685101e033c1a245a439cdbe7b5153aad689ba17c57b635326074", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling named-binary-tag v0.6.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling hecs v0.6.5 [INFO] [stderr] Compiling mc-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/block/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SharedProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entities` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entity` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/anvil/region.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "25471b8b7d1685101e033c1a245a439cdbe7b5153aad689ba17c57b635326074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25471b8b7d1685101e033c1a245a439cdbe7b5153aad689ba17c57b635326074", kill_on_drop: false }` [INFO] [stdout] 25471b8b7d1685101e033c1a245a439cdbe7b5153aad689ba17c57b635326074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db1712e7f869d3a15dbb6e8096f7f72496a00e5eac8fff6f7450eee9ad394e44 [INFO] running `Command { std: "docker" "start" "-a" "db1712e7f869d3a15dbb6e8096f7f72496a00e5eac8fff6f7450eee9ad394e44", kill_on_drop: false }` [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/block/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SharedProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entities` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entity` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/anvil/region.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mc-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/block/state.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) struct SharedProperty { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | length: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entities` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_entity` is never used [INFO] [stdout] --> src/world/anvil/decode.rs:215:4 [INFO] [stdout] | [INFO] [stdout] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:319:26 [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:325:25 [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:341:35 [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/level.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/world/anvil/region.rs:222:29 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "db1712e7f869d3a15dbb6e8096f7f72496a00e5eac8fff6f7450eee9ad394e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1712e7f869d3a15dbb6e8096f7f72496a00e5eac8fff6f7450eee9ad394e44", kill_on_drop: false }` [INFO] [stdout] db1712e7f869d3a15dbb6e8096f7f72496a00e5eac8fff6f7450eee9ad394e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c28364bb38c87039b6a7f3bf36fe63d2e66471f58d7f6b3ee0c8c61388b5906f [INFO] running `Command { std: "docker" "start" "-a" "c28364bb38c87039b6a7f3bf36fe63d2e66471f58d7f6b3ee0c8c61388b5906f", kill_on_drop: false }` [INFO] [stderr] warning: field `length` is never read [INFO] [stderr] --> src/block/state.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) struct SharedProperty { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 17 | length: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SharedProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `decode_entities` is never used [INFO] [stderr] --> src/world/anvil/decode.rs:183:4 [INFO] [stderr] | [INFO] [stderr] 183 | fn decode_entities(tag_root: &CompoundTag, chunk: &mut ProtoChunk) -> Result<(), DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decode_entity` is never used [INFO] [stderr] --> src/world/anvil/decode.rs:215:4 [INFO] [stderr] | [INFO] [stderr] 215 | fn decode_entity(tag_entity: &CompoundTag, entities: &GlobalEntities, chunk: &mut ProtoChunk) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:314:22 [INFO] [stderr] | [INFO] [stderr] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 314 | pub fn get_chunk(&self, cx: i32, cz: i32) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:319:26 [INFO] [stderr] | [INFO] [stderr] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 319 | pub fn get_chunk_mut(&self, cx: i32, cz: i32) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:325:25 [INFO] [stderr] | [INFO] [stderr] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 325 | pub fn get_chunk_at(&self, x: i32, z: i32) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:331:29 [INFO] [stderr] | [INFO] [stderr] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 331 | pub fn get_chunk_at_mut(&self, x: i32, z: i32) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:336:31 [INFO] [stderr] | [INFO] [stderr] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 336 | pub fn get_chunk_at_block(&self, block_pos: BlockPos) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:341:35 [INFO] [stderr] | [INFO] [stderr] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 341 | pub fn get_chunk_at_block_mut(&self, block_pos: BlockPos) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/level.rs:408:27 [INFO] [stderr] | [INFO] [stderr] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 408 | pub fn get_entity_ref(&self, entity: Entity) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/world/anvil/region.rs:222:29 [INFO] [stderr] | [INFO] [stderr] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 222 | pub fn get_chunk_writer(&mut self, cx: i32, cz: i32, method: CompressionMethod) -> ChunkWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mc-core` (lib) generated 11 warnings (run `cargo fix --lib -p mc-core` to apply 8 suggestions) [INFO] [stderr] warning: `mc-core` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mc_core-87f81a4b5550c36c) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test util::packed::tests::iter_unpack_aligned ... ok [INFO] [stdout] test util::packed::tests::min_byte_size ... ok [INFO] [stdout] test util::packed::tests::valid_byte_size ... ok [INFO] [stdout] test util::palette::tests::valid_usage ... ok [INFO] [stdout] test world::chunk::tests::valid_heightmap ... ok [INFO] [stdout] test world::chunk::tests::valid_set_get ... ok [INFO] [stdout] test util::packed::tests::valid_usage ... ok [INFO] [stdout] test util::packed::tests::iter_pack_aligned ... ok [INFO] [stdout] test world::chunk::tests::valid_height ... ok [INFO] [stdout] test world::chunk::tests::valid_non_null_blocks_count ... ok [INFO] [stdout] test util::packed::tests::invalid_resize - should panic ... ok [INFO] [stdout] test util::packed::tests::invalid_default_value - should panic ... ok [INFO] [stdout] test util::packed::tests::invalid_byte_size - should panic ... ok [INFO] [stdout] test util::packed::tests::out_of_range_set - should panic ... ok [INFO] [stdout] test util::packed::tests::invalid_value - should panic ... ok [INFO] [stdout] test util::palette::tests::invalid_capacity - should panic ... ok [INFO] [stdout] test util::packed::tests::out_of_range_get - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests mc_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c28364bb38c87039b6a7f3bf36fe63d2e66471f58d7f6b3ee0c8c61388b5906f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c28364bb38c87039b6a7f3bf36fe63d2e66471f58d7f6b3ee0c8c61388b5906f", kill_on_drop: false }` [INFO] [stdout] c28364bb38c87039b6a7f3bf36fe63d2e66471f58d7f6b3ee0c8c61388b5906f