[INFO] updating cached repository https://github.com/JAD3N/mc-server [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/JAD3N/mc-server [INFO] [stderr] 5c9e1c8..728940a master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 728940a1314ad6f905db1652aa9e925333b5f78c [INFO] testing JAD3N/mc-server against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJAD3N%2Fmc-server" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JAD3N/mc-server on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/JAD3N/mc-server already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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 `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db1f5c350d55bd93e9a095368df6eced14ea99675b7d87629f5e75fc41d42a0d [INFO] running `"docker" "start" "-a" "db1f5c350d55bd93e9a095368df6eced14ea99675b7d87629f5e75fc41d42a0d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 futures-io v0.3.5 [INFO] [stderr] Compiling server v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling event-bus v0.1.0 [INFO] [stderr] Compiling async-trait v0.1.33 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling flume v0.7.1 [INFO] [stderr] Compiling mc-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `world` in `server` [INFO] [stderr] --> src/minecraft/blocks.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use server::world::level::{Block, AirBlock}; [INFO] [stderr] | ^^^^^ could not find `world` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::core` [INFO] [stderr] --> src/minecraft/blocks.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use server::core::{ResourceRegistry, RegisterEvent}; [INFO] [stderr] | ^^^^ could not find `core` in `server` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stderr] --> src/minecraft/protocol/status.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState}; [INFO] [stderr] | ^^^^^^^ could not find `network` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::core` [INFO] [stderr] --> src/minecraft/sounds.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use server::core::{ResourceRegistry, RegisterEvent, Sound}; [INFO] [stderr] | ^^^^ could not find `core` in `server` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use server::network::protocol::{ProtocolHandler, ProtocolHandlerState, Var}; [INFO] [stderr] | ^^^^^^^ could not find `network` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::server` [INFO] [stderr] --> src/minecraft/protocol/status.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use server::server::*; [INFO] [stderr] | ^^^^^^ could not find `server` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::network` [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | use server::network::WorkerRequest; [INFO] [stderr] | ^^^^^^^ could not find `network` in `server` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `network` in `server` [INFO] [stderr] --> src/minecraft/protocol/mod.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use server::network::protocol::Protocol; [INFO] [stderr] | ^^^^^^^ could not find `network` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::core` [INFO] [stderr] --> src/minecraft/protocol/mod.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use server::core::{RegisterEvent, MappedRegistry}; [INFO] [stderr] | ^^^^ could not find `core` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::core` [INFO] [stderr] --> src/main.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use server::core::Registries; [INFO] [stderr] | ^^^^ could not find `core` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `server::server` [INFO] [stderr] --> src/main.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use server::server::{ServerSettings, ServerContainer}; [INFO] [stderr] | ^^^^^^ could not find `server` in `server` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol_struct` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | protocol_struct!(StatusRequestPacket {}); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol_struct` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | protocol_struct!(PingRequestPacket { time: u64 }); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol_struct` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | protocol_struct!(StatusResponsePacket { status: ServerStatus }); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol_struct` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | protocol_struct!(PongResponsePacket { time: u64 }); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `packet` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:37:1 [INFO] [stderr] | [INFO] [stderr] 37 | packet!(StatusProtocolHandler, StatusRequestPacket, handle_status_request); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `packet` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | packet!(StatusProtocolHandler, PingRequestPacket, handle_ping_request); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `packet` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | packet!(StatusResponsePacket); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `packet` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:42:1 [INFO] [stderr] | [INFO] [stderr] 42 | packet!(PongResponsePacket); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol_struct` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | protocol_struct!(IntentionPacket { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `packet` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:39:1 [INFO] [stderr] | [INFO] [stderr] 39 | packet!(HandshakeProtocolHandler, IntentionPacket, handle_intention); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol` in this scope [INFO] [stderr] --> src/minecraft/protocol/mod.rs:10:28 [INFO] [stderr] | [INFO] [stderr] 10 | protocols.register(-1, protocol! { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `protocol` in this scope [INFO] [stderr] --> src/minecraft/protocol/mod.rs:16:27 [INFO] [stderr] | [INFO] [stderr] 16 | protocols.register(1, protocol! { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `AirBlock` [INFO] [stderr] --> src/minecraft/blocks.rs:7:49 [INFO] [stderr] | [INFO] [stderr] 7 | registry.register("minecraft:air", Box::new(AirBlock::new())); [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `AirBlock` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Block` in this scope [INFO] [stderr] --> src/minecraft/blocks.rs:4:71 [INFO] [stderr] | [INFO] [stderr] 4 | fn register_blocks(event: &mut RegisterEvent>>) { [INFO] [stderr] | - ^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | state: ProtocolHandlerState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | impl ProtocolHandler for StatusProtocolHandler { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `StatusRequestPacket` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:15:65 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn handle_status_request(&mut self, _packet: &mut StatusRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `StatusResponsePacket` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:18:32 [INFO] [stderr] | [INFO] [stderr] 18 | self.state.send_packet(StatusResponsePacket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PingRequestPacket` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:25:62 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn handle_ping_request(&mut self, packet: &mut PingRequestPacket) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PongResponsePacket` in this scope [INFO] [stderr] --> src/minecraft/protocol/status.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | self.state.send_packet(PongResponsePacket { time: packet.time })?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | state: ProtocolHandlerState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ProtocolHandler` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | impl ProtocolHandler for HandshakeProtocolHandler { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ProtocolHandlerState` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn new(state: ProtocolHandlerState) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `IntentionPacket` in this scope [INFO] [stderr] --> src/minecraft/protocol/handshake.rs:15:59 [INFO] [stderr] | [INFO] [stderr] 15 | pub async fn handle_intention(&mut self, packet: &mut IntentionPacket) -> Result<(), anyhow::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Protocol` in this scope [INFO] [stderr] --> src/minecraft/protocol/mod.rs:7:69 [INFO] [stderr] | [INFO] [stderr] 7 | fn register_protocols(event: &mut RegisterEvent>) { [INFO] [stderr] | - ^^^^^^^^ not found in this scope [INFO] [stderr] | | [INFO] [stderr] | help: you might be missing a type parameter: `` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `init` in crate `server` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | server::init(); [INFO] [stderr] | ^^^^ not found in `server` [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 10 | use crate::minecraft::blocks::init; [INFO] [stderr] | [INFO] [stderr] 10 | use crate::minecraft::init; [INFO] [stderr] | [INFO] [stderr] 10 | use crate::minecraft::items::init; [INFO] [stderr] | [INFO] [stderr] 10 | use crate::minecraft::protocol::init; [INFO] [stderr] | [INFO] [stderr] and 1 other candidate [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 38 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `mc-server`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "db1f5c350d55bd93e9a095368df6eced14ea99675b7d87629f5e75fc41d42a0d"` [INFO] running `"docker" "rm" "-f" "db1f5c350d55bd93e9a095368df6eced14ea99675b7d87629f5e75fc41d42a0d"` [INFO] [stdout] db1f5c350d55bd93e9a095368df6eced14ea99675b7d87629f5e75fc41d42a0d