[INFO] cloning repository https://github.com/hyqhyq3/rust-mc-bedrock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hyqhyq3/rust-mc-bedrock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyqhyq3%2Frust-mc-bedrock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyqhyq3%2Frust-mc-bedrock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d65db75277cba7fb1ee0cbc8827056789eb8302 [INFO] testing hyqhyq3/rust-mc-bedrock against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhyqhyq3%2Frust-mc-bedrock" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hyqhyq3/rust-mc-bedrock [INFO] finished tweaking git repo https://github.com/hyqhyq3/rust-mc-bedrock [INFO] tweaked toml for git repo https://github.com/hyqhyq3/rust-mc-bedrock written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hyqhyq3/rust-mc-bedrock on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hyqhyq3/rust-mc-bedrock already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33193a55142d8657c456516545178244ae440595cb4267646d652adb4c8e5752 [INFO] running `Command { std: "docker" "start" "-a" "33193a55142d8657c456516545178244ae440595cb4267646d652adb4c8e5752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33193a55142d8657c456516545178244ae440595cb4267646d652adb4c8e5752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33193a55142d8657c456516545178244ae440595cb4267646d652adb4c8e5752", kill_on_drop: false }` [INFO] [stdout] 33193a55142d8657c456516545178244ae440595cb4267646d652adb4c8e5752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f626cecc74d4634f5b063063235f6ee5694c31c73b3b91548f3ab36624463a4c [INFO] running `Command { std: "docker" "start" "-a" "f626cecc74d4634f5b063063235f6ee5694c31c73b3b91548f3ab36624463a4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rust_mc_bedrock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/protocol/writer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GamePacket`, `PacketId`, and `RakNetPacket` [INFO] [stdout] --> src/protocol/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub use packet::{GamePacket, Packet, PacketId, RakNetPacket}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `packets::*` [INFO] [stdout] --> src/raknet/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use packets::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SubChunkFormat` and `SubChunk` [INFO] [stdout] --> src/world/mod.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | pub use chunk::{Chunk, SubChunk, SubChunkFormat}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FlatWorldGenerator` and `WorldGenerator` [INFO] [stdout] --> src/world/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | pub use generator::{WorldGenerator, FlatWorldGenerator}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BlockState` [INFO] [stdout] --> src/world/mod.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub use block::{BlockId, BlockState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] 119 | OPEN_CONNECTION_REQUEST_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 122 | OPEN_CONNECTION_REQUEST_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 125 | CONNECTION_REQUEST => self.handle_connection_request(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 126 | NEW_INCOMING_CONNECTION => self.handle_new_incoming_connection(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 127 | DISCONNECTION_NOTIFICATION => self.handle_disconnect_notification(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/raknet/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ---------------- matches any value [INFO] [stdout] ... [INFO] [stdout] 128 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UnconnectedPing` in this scope [INFO] [stdout] --> src/raknet/mod.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 181 | let ping = match UnconnectedPing::deserialize(data) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `UnconnectedPing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `UnconnectedPong` in this scope [INFO] [stdout] --> src/raknet/mod.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let pong = UnconnectedPong::with_server_info(ping.timestamp, SERVER_GUID); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `UnconnectedPong` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenConnectionRequest1` in this scope [INFO] [stdout] --> src/raknet/mod.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 216 | let request = OpenConnectionRequest1::deserialize(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OpenConnectionRequest1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenConnectionReply1` in this scope [INFO] [stdout] --> src/raknet/mod.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 234 | let reply = OpenConnectionReply1::new(SERVER_GUID, request.mtu, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OpenConnectionReply1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenConnectionRequest2` in this scope [INFO] [stdout] --> src/raknet/mod.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | let request = OpenConnectionRequest2::deserialize(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OpenConnectionRequest2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `OpenConnectionReply2` in this scope [INFO] [stdout] --> src/raknet/mod.rs:269:21 [INFO] [stdout] | [INFO] [stdout] 269 | let reply = OpenConnectionReply2::new(SERVER_GUID, addr, request.mtu, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `OpenConnectionReply2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectionRequest` in this scope [INFO] [stdout] --> src/raknet/mod.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | let request = ConnectionRequest::deserialize(data)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectionRequest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ConnectionAccepted` in this scope [INFO] [stdout] --> src/raknet/mod.rs:320:24 [INFO] [stdout] | [INFO] [stdout] 320 | let accepted = ConnectionAccepted::new(addr, 0, request.request_timestamp, accepted_timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ConnectionAccepted` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 320 - let accepted = ConnectionAccepted::new(addr, 0, request.request_timestamp, accepted_timestamp); [INFO] [stdout] 320 + let accepted = ConnectionState::new(addr, 0, request.request_timestamp, accepted_timestamp); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `UNCONNECTED_PING` [INFO] [stdout] --> src/raknet/mod.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | UNCONNECTED_PING => self.handle_unconnected_ping(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_UNCONNECTED_PING` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OPEN_CONNECTION_REQUEST_1` [INFO] [stdout] --> src/raknet/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | OPEN_CONNECTION_REQUEST_1 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OPEN_CONNECTION_REQUEST_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `OPEN_CONNECTION_REQUEST_2` [INFO] [stdout] --> src/raknet/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | OPEN_CONNECTION_REQUEST_2 => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_OPEN_CONNECTION_REQUEST_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `CONNECTION_REQUEST` [INFO] [stdout] --> src/raknet/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | CONNECTION_REQUEST => self.handle_connection_request(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_CONNECTION_REQUEST` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NEW_INCOMING_CONNECTION` [INFO] [stdout] --> src/raknet/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | NEW_INCOMING_CONNECTION => self.handle_new_incoming_connection(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NEW_INCOMING_CONNECTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DISCONNECTION_NOTIFICATION` [INFO] [stdout] --> src/raknet/mod.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | DISCONNECTION_NOTIFICATION => self.handle_disconnect_notification(data, addr).await?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_DISCONNECTION_NOTIFICATION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/chunk.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | for (i, subchunk) in self.subchunks.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/world/chunk.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 320 | for (i, biome) in self.biome_data.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ground_height` [INFO] [stdout] --> src/world/generator.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let ground_height = self.get_ground_height(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ground_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_mc_bedrock` (bin "rust_mc_bedrock") due to 8 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f626cecc74d4634f5b063063235f6ee5694c31c73b3b91548f3ab36624463a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f626cecc74d4634f5b063063235f6ee5694c31c73b3b91548f3ab36624463a4c", kill_on_drop: false }` [INFO] [stdout] f626cecc74d4634f5b063063235f6ee5694c31c73b3b91548f3ab36624463a4c