[INFO] cloning repository https://github.com/rmanosuthi/craftmine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rmanosuthi/craftmine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanosuthi%2Fcraftmine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanosuthi%2Fcraftmine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21eb39a336a7956545b10ca092ce337d01a516b2 [INFO] testing rmanosuthi/craftmine against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frmanosuthi%2Fcraftmine" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rmanosuthi/craftmine on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rmanosuthi/craftmine [INFO] finished tweaking git repo https://github.com/rmanosuthi/craftmine [INFO] tweaked toml for git repo https://github.com/rmanosuthi/craftmine written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/rmanosuthi/craftmine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.1.6 [INFO] [stderr] Downloaded hematite-nbt v0.5.0 [INFO] [stderr] Downloaded sysinfo v0.15.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e84d7a112eb10f06b6aa4801d2bc97703e831258f3c462616f087317c1d72add [INFO] running `Command { std: "docker" "start" "-a" "e84d7a112eb10f06b6aa4801d2bc97703e831258f3c462616f087317c1d72add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e84d7a112eb10f06b6aa4801d2bc97703e831258f3c462616f087317c1d72add", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84d7a112eb10f06b6aa4801d2bc97703e831258f3c462616f087317c1d72add", kill_on_drop: false }` [INFO] [stdout] e84d7a112eb10f06b6aa4801d2bc97703e831258f3c462616f087317c1d72add [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1ab9b6113dd63d4b72aac46ce8a84d9640ce0cb1c4b35dbfd90116d558b7016 [INFO] running `Command { std: "docker" "start" "-a" "a1ab9b6113dd63d4b72aac46ce8a84d9640ce0cb1c4b35dbfd90116d558b7016", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling sysinfo v0.15.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling ctrlc v3.1.6 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling structopt-derive v0.4.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling structopt v0.3.18 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling hematite-nbt v0.5.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling craftmine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `->`, `where`, or `{`, found `}` [INFO] [stdout] --> src/server/io.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_user_ev(&self, data: &InternalUserRecord) [INFO] [stdout] | ------------ while parsing this `fn` - expected one of `->`, `where`, or `{` [INFO] [stdout] 37 | } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function in `impl` without body [INFO] [stdout] --> src/server/io.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn save_user_ev(&self, data: &InternalUserRecord) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserRecord` [INFO] [stdout] --> src/server/prefix.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | UserRecord::load_or_new(&path, UserRecord { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UserRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserRecord` [INFO] [stdout] --> src/server/prefix.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | UserRecord::load_or_new(&path, def) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UserRecord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/server/io.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | clients: HashMap, Sender)> [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use crossbeam::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrefixIORequest` in this scope [INFO] [stdout] --> src/server/io.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | clients: HashMap, Sender)> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub enum PrefixIOAdminRequest { [INFO] [stdout] | ----------------------------- similarly named enum `PrefixIOAdminRequest` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 | clients: HashMap, Sender)> [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixIOAsync { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server/io.rs:7:58 [INFO] [stdout] | [INFO] [stdout] 7 | clients: HashMap, Sender)> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 | clients: HashMap, Send)> [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crossbeam::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrefixIOResult` in this scope [INFO] [stdout] --> src/server/io.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct PrefixIOAsync { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 6 | dir: PathBuf, [INFO] [stdout] 7 | clients: HashMap, Sender)> [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrefixIOUser` in this scope [INFO] [stdout] --> src/server/io.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_c_user(&self, name: &str) -> Result> {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub struct PrefixIOUsers { [INFO] [stdout] | ------------------------ similarly named struct `PrefixIOUsers` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_c_user(&self, name: &str) -> Result> {} [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 14 | impl PrefixIOAdmin { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sender` in this scope [INFO] [stdout] --> src/server/io.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | send: Sender, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | send: Send, [INFO] [stdout] | ~~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crossbeam::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::Sender; [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::Sender; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrefixIORequest` in this scope [INFO] [stdout] --> src/server/io.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum PrefixIOAdminRequest { [INFO] [stdout] | ----------------------------- similarly named enum `PrefixIOAdminRequest` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | send: Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | send: Sender, [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PrefixIOUsers { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Receiver` in this scope [INFO] [stdout] --> src/server/io.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | recv: Receiver [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ops::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use crossbeam::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::mpsc::Receiver; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::channel::oneshot::Receiver; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrefixIOResult` in this scope [INFO] [stdout] --> src/server/io.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct PrefixIOUsers { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 27 | send: Sender, [INFO] [stdout] 28 | recv: Receiver [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserOnlineUuid` in this scope [INFO] [stdout] --> src/server/io.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn load_user_uuid(&self, uuid: &UserOnlineUuid) -> Result> {} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/world/components.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | NewUser {e: Eid, rec: UserRecord, e_data: Entity}, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/world/components.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn take_user(&mut self, user: &UserRecord) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/world/components.rs:108:52 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn new_user_eid_speculative(&mut self, u: &UserRecord) -> (Eid, CgOperation) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/world/components.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct CausalGroup { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 153 | users: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/game/server.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct GameServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 16 | pub users: HashMap, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/game/server.rs:112:39 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn accept_user(&mut self, u: &UserRecord) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `pfx_io_admin` in this scope [INFO] [stdout] --> src/server/init.rs:123:53 [INFO] [stdout] | [INFO] [stdout] 123 | puid: PersistUuidAllocator::new(pfx_io_admin.new_client("puid")) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/prefix.rs:14:166 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserPrefix { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | pub fn load_or_new_online(&self, uuid: &Uuid, username: &str, cc: &ConfigCollection, puid: &mut PersistUuidAllocator, default_w_props: &WorldProperty) -> Result src/server/prefix.rs:21:40 [INFO] [stdout] | [INFO] [stdout] 21 | UserRecord::load_or_new(&path, UserRecord { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/prefix.rs:31:154 [INFO] [stdout] | [INFO] [stdout] 13 | impl UserPrefix { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn load_or_new_offline(&self, username: &str, cc: &ConfigCollection, puid: &mut PersistUuidAllocator, default_w_props: &WorldProperty) -> Result src/server/prefix.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut def = UserRecord { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UserRecord` in this scope [INFO] [stdout] --> src/server/prefix.rs:147:59 [INFO] [stdout] | [INFO] [stdout] 121 | impl ServerPrefix { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn read_or_new_user(&self, uuid: &Uuid) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `server::symbols::*` [INFO] [stdout] --> src/server/net/je.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{server::net::legacy, imports::*, server::symbols::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `SeekFrom`, `Seek`, `convert::TryFrom` [INFO] [stdout] --> src/server/net/je.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, io::{Read, Write, Cursor, Seek, SeekFrom}, convert::TryFrom}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::symbols::*` [INFO] [stdout] --> src/server/net/legacy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::server::symbols::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::JeValError` [INFO] [stdout] --> src/server/net/legacy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::JeValError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigEndian`, `LittleEndian`, `ReadBytesExt`, `WriteBytesExt` [INFO] [stdout] --> src/server/net/legacy.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use byteorder::{BigEndian, LittleEndian, ReadBytesExt, WriteBytesExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::symbols::*` [INFO] [stdout] --> src/server/net/msg.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::server::symbols::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::imports::*` [INFO] [stdout] --> src/server/net/packets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::imports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/server/net/server.rs:145:33 [INFO] [stdout] | [INFO] [stdout] 145 | ... 'streamloop: while run { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default_1_1` should have an upper camel case name [INFO] [stdout] --> src/server/net/types.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | Default_1_1 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Default1_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/server/world/components.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::symbols::*` [INFO] [stdout] --> src/server/game/mode.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::server::symbols::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/server/config/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serializer` [INFO] [stdout] --> src/server/records.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{Serialize, Deserialize, Serializer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/server/log.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::imports::*` [INFO] [stdout] --> src/server/log.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::imports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::Level` [INFO] [stdout] --> src/server/log.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::Level; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/io.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn load_user(&self, username: &str) -> Result> {} [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/io.rs:34:60 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn load_user_uuid(&self, uuid: &UserOnlineUuid) -> Result> {} [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `game::server::PersistUuidAllocator` in the current scope [INFO] [stdout] --> src/server/init.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | puid: PersistUuidAllocator::new(pfx_io_admin.new_client("puid")) [INFO] [stdout] | ^^^ function or associated item not found in `game::server::PersistUuidAllocator` [INFO] [stdout] | [INFO] [stdout] ::: src/server/game/server.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct PersistUuidAllocator {} [INFO] [stdout] | ------------------------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ProcessExt` [INFO] [stdout] candidate #2: `sysinfo::SystemExt` [INFO] [stdout] candidate #3: `ring::aead::BoundKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_online_user` found for mutable reference `&mut game::server::PersistUuidAllocator` in the current scope [INFO] [stdout] --> src/server/prefix.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | persist_id: puid.new_online_user(&uuid) [INFO] [stdout] | -----^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `game::server::PersistUuidAllocator::new_online_user` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `game::server::PersistUuidAllocator` [INFO] [stdout] --> src/server/game/server.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn new_online_user(mojang_uuid: &Uuid) -> PersistId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `new_offline_user` found for mutable reference `&mut game::server::PersistUuidAllocator` in the current scope [INFO] [stdout] --> src/server/prefix.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | persist_id: puid.new_offline_user(&username) [INFO] [stdout] | -----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this is an associated function, not a method [INFO] [stdout] | help: use associated function syntax instead: `game::server::PersistUuidAllocator::new_offline_user` [INFO] [stdout] | [INFO] [stdout] = note: found the following associated functions; to be used as methods, functions must have a `self` parameter [INFO] [stdout] note: the candidate is defined in an impl for the type `game::server::PersistUuidAllocator` [INFO] [stdout] --> src/server/game/server.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn new_offline_user(username: &str) -> PersistId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imports` [INFO] [stdout] --> src/server/net/je.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{server::net::legacy, imports::*, server::symbols::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/server/net/je.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, io::{Read, Write, Cursor, Seek, SeekFrom}, convert::TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/server/net/je.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{error::Error, io::{Read, Write, Cursor, Seek, SeekFrom}, convert::TryFrom}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::imports` [INFO] [stdout] --> src/server/net/legacy.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::imports::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::server::symbols` [INFO] [stdout] --> src/server/net/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::server::symbols::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `craftmine` due to 32 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a1ab9b6113dd63d4b72aac46ce8a84d9640ce0cb1c4b35dbfd90116d558b7016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ab9b6113dd63d4b72aac46ce8a84d9640ce0cb1c4b35dbfd90116d558b7016", kill_on_drop: false }` [INFO] [stdout] a1ab9b6113dd63d4b72aac46ce8a84d9640ce0cb1c4b35dbfd90116d558b7016