[INFO] cloning repository https://github.com/JAD3N/mc-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JAD3N/mc-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce1ad57f2417f722d6c00ae21fdc3cd0efdadd7a [INFO] checking JAD3N/mc-server against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JAD3N/mc-server on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JAD3N/mc-server [INFO] removed path dependency server from git repo https://github.com/JAD3N/mc-server [INFO] finished tweaking git repo https://github.com/JAD3N/mc-server [INFO] tweaked toml for git repo https://github.com/JAD3N/mc-server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/JAD3N/mc-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ee2b74af962f25d5f10f14474b489e073bd68c816174a85c8cbf77f3bd6de39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2ee2b74af962f25d5f10f14474b489e073bd68c816174a85c8cbf77f3bd6de39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ee2b74af962f25d5f10f14474b489e073bd68c816174a85c8cbf77f3bd6de39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee2b74af962f25d5f10f14474b489e073bd68c816174a85c8cbf77f3bd6de39", kill_on_drop: false }` [INFO] [stdout] 2ee2b74af962f25d5f10f14474b489e073bd68c816174a85c8cbf77f3bd6de39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cfb417817b91945edf4670c1180e84ec372023edfd3784d6ec2472d110dc815 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1cfb417817b91945edf4670c1180e84ec372023edfd3784d6ec2472d110dc815", kill_on_drop: false }` [INFO] [stderr] warning: dependency (server) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking server v0.1.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking event-bus v0.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking flume v0.7.2 [INFO] [stderr] Checking mc-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `world` in `server` [INFO] [stdout] --> src/minecraft/blocks.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::world::level::{Block, AirBlock}; [INFO] [stdout] | ^^^^^ could not find `world` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/blocks.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `world` in `server` [INFO] [stdout] --> src/minecraft/blocks.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::world::level::{Block, AirBlock}; [INFO] [stdout] | ^^^^^ could not find `world` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/blocks.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/status.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState}; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/sounds.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent, Sound}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState, Var}; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::server` [INFO] [stdout] --> src/minecraft/protocol/status.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::server::*; [INFO] [stdout] | ^^^^^^ could not find `server` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::network` [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::network::WorkerRequest; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use server::network::protocol::Protocol; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/protocol/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use server::core::{RegisterEvent, MappedRegistry}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use server::core::Registries; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::server` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use server::server::{ServerSettings, ServerContainer}; [INFO] [stdout] | ^^^^^^ could not find `server` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/status.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState}; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/sounds.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::core::{ResourceRegistry, RegisterEvent, Sound}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState, Var}; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::server` [INFO] [stdout] --> src/minecraft/protocol/status.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::server::*; [INFO] [stdout] | ^^^^^^ could not find `server` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::network` [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use server::network::WorkerRequest; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stdout] --> src/minecraft/protocol/mod.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use server::network::protocol::Protocol; [INFO] [stdout] | ^^^^^^^ could not find `network` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/minecraft/protocol/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use server::core::{RegisterEvent, MappedRegistry}; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::core` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use server::core::Registries; [INFO] [stdout] | ^^^^ could not find `core` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `server::server` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use server::server::{ServerSettings, ServerContainer}; [INFO] [stdout] | ^^^^^^ could not find `server` in `server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | protocols.register(-1, protocol! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | protocols.register(1, protocol! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | protocol_struct!(StatusRequestPacket {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | protocol_struct!(PingRequestPacket { time: u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | protocols.register(-1, protocol! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | protocol_struct!(StatusResponsePacket { status: ServerStatus }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | protocols.register(1, protocol! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | protocol_struct!(PongResponsePacket { time: u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | protocol_struct!(StatusRequestPacket {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | packet!(StatusProtocolHandler, StatusRequestPacket, handle_status_request); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | protocol_struct!(PingRequestPacket { time: u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | protocol_struct!(StatusResponsePacket { status: ServerStatus }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | packet!(StatusProtocolHandler, PingRequestPacket, handle_ping_request); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | protocol_struct!(PongResponsePacket { time: u64 }); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | packet!(StatusResponsePacket); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | packet!(StatusProtocolHandler, StatusRequestPacket, handle_status_request); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | packet!(PongResponsePacket); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | packet!(StatusProtocolHandler, PingRequestPacket, handle_ping_request); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | protocol_struct!(IntentionPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | packet!(StatusResponsePacket); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | packet!(HandshakeProtocolHandler, IntentionPacket, handle_intention); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | packet!(PongResponsePacket); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `protocol_struct` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | protocol_struct!(IntentionPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packet` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | packet!(HandshakeProtocolHandler, IntentionPacket, handle_intention); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AirBlock` [INFO] [stdout] --> src/minecraft/blocks.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | registry.register("minecraft:air", Box::new(AirBlock::new())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AirBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AirBlock` [INFO] [stdout] --> src/minecraft/blocks.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | registry.register("minecraft:air", Box::new(AirBlock::new())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `AirBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Block` in this scope [INFO] [stdout] --> src/minecraft/blocks.rs:4:71 [INFO] [stdout] | [INFO] [stdout] 4 | fn register_blocks(event: &mut RegisterEvent>>) { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Block` in this scope [INFO] [stdout] --> src/minecraft/blocks.rs:4:71 [INFO] [stdout] | [INFO] [stdout] 4 | fn register_blocks(event: &mut RegisterEvent>>) { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | state: ProtocolHandlerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | state: ProtocolHandlerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProtocolHandler for StatusProtocolHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProtocolHandler for StatusProtocolHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusRequestPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn handle_status_request(&mut self, _packet: &mut StatusRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusRequestPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:15:65 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn handle_status_request(&mut self, _packet: &mut StatusRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusResponsePacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | self.state.send_packet(StatusResponsePacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StatusResponsePacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | self.state.send_packet(StatusResponsePacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingRequestPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn handle_ping_request(&mut self, packet: &mut PingRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PingRequestPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn handle_ping_request(&mut self, packet: &mut PingRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PongResponsePacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | self.state.send_packet(PongResponsePacket { time: packet.time })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PongResponsePacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/status.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | self.state.send_packet(PongResponsePacket { time: packet.time })?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | state: ProtocolHandlerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | state: ProtocolHandlerState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProtocolHandler for HandshakeProtocolHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl ProtocolHandler for HandshakeProtocolHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntentionPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn handle_intention(&mut self, packet: &mut IntentionPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntentionPacket` in this scope [INFO] [stdout] --> src/minecraft/protocol/handshake.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn handle_intention(&mut self, packet: &mut IntentionPacket) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | fn register_protocols(event: &mut RegisterEvent>) { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Protocol` in this scope [INFO] [stdout] --> src/minecraft/protocol/mod.rs:7:69 [INFO] [stdout] | [INFO] [stdout] 7 | fn register_protocols(event: &mut RegisterEvent>) { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in crate `server` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | server::init(); [INFO] [stdout] | ^^^^ not found in `server` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::minecraft::init; [INFO] [stdout] | [INFO] [stdout] 10 | use crate::minecraft::protocol::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in crate `server` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | server::init(); [INFO] [stdout] | ^^^^ not found in `server` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::minecraft::init; [INFO] [stdout] | [INFO] [stdout] 10 | use crate::minecraft::protocol::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 38 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mc-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1cfb417817b91945edf4670c1180e84ec372023edfd3784d6ec2472d110dc815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cfb417817b91945edf4670c1180e84ec372023edfd3784d6ec2472d110dc815", kill_on_drop: false }` [INFO] [stdout] 1cfb417817b91945edf4670c1180e84ec372023edfd3784d6ec2472d110dc815