[INFO] fetching crate minceraft 0.2.1... [INFO] testing minceraft-0.2.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate minceraft 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate minceraft 0.2.1 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate minceraft 0.2.1 [INFO] tweaked toml for crates.io crate minceraft 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minceraft 0.2.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minceraft 0.2.1 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9976550e681a9cdfd747541727595377e489ff22fda741a70d0f7acc66a80f5b [INFO] running `Command { std: "docker" "start" "-a" "9976550e681a9cdfd747541727595377e489ff22fda741a70d0f7acc66a80f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9976550e681a9cdfd747541727595377e489ff22fda741a70d0f7acc66a80f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9976550e681a9cdfd747541727595377e489ff22fda741a70d0f7acc66a80f5b", kill_on_drop: false }` [INFO] [stdout] 9976550e681a9cdfd747541727595377e489ff22fda741a70d0f7acc66a80f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00c05f885fd0c34e24a6a7a215a2728df0cae89cc421fabaaa3d155f3230c17d [INFO] running `Command { std: "docker" "start" "-a" "00c05f885fd0c34e24a6a7a215a2728df0cae89cc421fabaaa3d155f3230c17d", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling minceraft v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "00c05f885fd0c34e24a6a7a215a2728df0cae89cc421fabaaa3d155f3230c17d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c05f885fd0c34e24a6a7a215a2728df0cae89cc421fabaaa3d155f3230c17d", kill_on_drop: false }` [INFO] [stdout] 00c05f885fd0c34e24a6a7a215a2728df0cae89cc421fabaaa3d155f3230c17d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78bb561108dc02c27e078d6e37f57840ec8a0c835550bbee3645f53dd6678729 [INFO] running `Command { std: "docker" "start" "-a" "78bb561108dc02c27e078d6e37f57840ec8a0c835550bbee3645f53dd6678729", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling rsa_public_encrypt_pkcs1 v0.4.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling minceraft v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `minceraft` [INFO] [stdout] --> examples/status/main.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use minceraft::net::conn::Conn; [INFO] [stdout] | ^^^ could not find `net` in `minceraft` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] 4 | pub mod net; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `minceraft` [INFO] [stdout] --> examples/status/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use minceraft::net::packet::Packet; [INFO] [stdout] | ^^^ could not find `net` in `minceraft` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] 4 | pub mod net; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `def_enum` in this scope [INFO] [stdout] --> examples/status/packets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | def_enum! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packets` in this scope [INFO] [stdout] --> examples/status/packets.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | packets! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HandshakeState` in `packets` [INFO] [stdout] --> examples/status/main.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | next_state: packets::HandshakeState::Status, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `HandshakeState` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Pong` in `packets` [INFO] [stdout] --> examples/status/main.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | let pong = packets::Pong::decode(resp).unwrap(); [INFO] [stdout] | ^^^^ could not find `Pong` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Handshake` in module `packets` [INFO] [stdout] --> examples/status/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | let packet = packets::Handshake { [INFO] [stdout] | ^^^^^^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Request` in module `packets` [INFO] [stdout] --> examples/status/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | conn.send_packet(&packets::Request {}).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in `packets` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::blocking::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 18 - conn.send_packet(&packets::Request {}).unwrap(); [INFO] [stdout] 18 + conn.send_packet(&Request {}).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Response` in `packets` [INFO] [stdout] --> examples/status/main.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | let packet = packets::Response::decode(conn.read_packet().unwrap()).unwrap(); [INFO] [stdout] | ^^^^^^^^ could not find `Response` in `packets` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] 2 + use reqwest::blocking::Response; [INFO] [stdout] | [INFO] [stdout] help: if you import `Response`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let packet = packets::Response::decode(conn.read_packet().unwrap()).unwrap(); [INFO] [stdout] 20 + let packet = Response::decode(conn.read_packet().unwrap()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Ping` in module `packets` [INFO] [stdout] --> examples/status/main.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | let packet = packets::Ping { payload: timestamp }; [INFO] [stdout] | ^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minceraft::*` [INFO] [stdout] --> examples/status/packets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use minceraft::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `minceraft::net` [INFO] [stdout] --> examples/login/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use minceraft::net; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `net` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(feature = "net")] [INFO] [stdout] | --------------- the item is gated behind the `net` feature [INFO] [stdout] 4 | pub mod net; [INFO] [stdout] | ^^^ [INFO] [stdout] help: consider importing one of these modules instead [INFO] [stdout] | [INFO] [stdout] 2 - use minceraft::net; [INFO] [stdout] 2 + use std::net; [INFO] [stdout] | [INFO] [stdout] 2 - use minceraft::net; [INFO] [stdout] 2 + use std::os::linux::net; [INFO] [stdout] | [INFO] [stdout] 2 - use minceraft::net; [INFO] [stdout] 2 + use std::os::unix::net; [INFO] [stdout] | [INFO] [stdout] 2 - use minceraft::net; [INFO] [stdout] 2 + use core::net; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `minceraft::auth` [INFO] [stdout] --> examples/login/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use minceraft::auth; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `auth` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(feature = "auth")] [INFO] [stdout] | ---------------- the item is gated behind the `auth` feature [INFO] [stdout] 2 | pub mod auth; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `def_enum` in this scope [INFO] [stdout] --> examples/login/packets.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | def_enum! { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `packets` in this scope [INFO] [stdout] --> examples/login/packets.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | packets! { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `HandshakeState` in `packets` [INFO] [stdout] --> examples/login/main.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | next_state: packets::HandshakeState::Login, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `HandshakeState` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Disconnect` in `packets` [INFO] [stdout] --> examples/login/main.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | packets::Disconnect::ID => { [INFO] [stdout] | ^^^^^^^^^^ could not find `Disconnect` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Disconnect` in `packets` [INFO] [stdout] --> examples/login/main.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | let packet = packets::Disconnect::decode(packet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ could not find `Disconnect` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EncryptionRequest` in `packets` [INFO] [stdout] --> examples/login/main.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | packets::EncryptionRequest::ID => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `EncryptionRequest` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minceraft` (example "status") due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `EncryptionRequest` in `packets` [INFO] [stdout] --> examples/login/main.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | let packet = packets::EncryptionRequest::decode(packet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `EncryptionRequest` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LoginSuccess` in `packets` [INFO] [stdout] --> examples/login/main.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | packets::LoginSuccess::ID => { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `LoginSuccess` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `LoginSuccess` in `packets` [INFO] [stdout] --> examples/login/main.rs:111:39 [INFO] [stdout] | [INFO] [stdout] 111 | let packet = packets::LoginSuccess::decode(packet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `LoginSuccess` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SetCompression` in `packets` [INFO] [stdout] --> examples/login/main.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | packets::SetCompression::ID => { [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `SetCompression` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SetCompression` in `packets` [INFO] [stdout] --> examples/login/main.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | let packet = packets::SetCompression::decode(packet).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `SetCompression` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KeepAlive` in `packets` [INFO] [stdout] --> examples/login/main.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | if packet.id == packets::KeepAlive::ID { [INFO] [stdout] | ^^^^^^^^^ could not find `KeepAlive` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KeepAlive` in `packets` [INFO] [stdout] --> examples/login/main.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | let packet = packets::KeepAlive::decode(packet).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `KeepAlive` in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Handshake` in module `packets` [INFO] [stdout] --> examples/login/main.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | let packet = packets::Handshake { [INFO] [stdout] | ^^^^^^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoginStart` in module `packets` [INFO] [stdout] --> examples/login/main.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | conn.send_packet(&packets::LoginStart { name: auth.name }) [INFO] [stdout] | ^^^^^^^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EncryptionResponse` in module `packets` [INFO] [stdout] --> examples/login/main.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | conn.send_packet(&packets::EncryptionResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KeepAlive` in module `packets` [INFO] [stdout] --> examples/login/main.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | conn.send_packet(&packets::KeepAlive { [INFO] [stdout] | ^^^^^^^^^ not found in `packets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `minceraft::*` [INFO] [stdout] --> examples/login/packets.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use minceraft::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `minceraft` (example "login") due to 19 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "78bb561108dc02c27e078d6e37f57840ec8a0c835550bbee3645f53dd6678729", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bb561108dc02c27e078d6e37f57840ec8a0c835550bbee3645f53dd6678729", kill_on_drop: false }` [INFO] [stdout] 78bb561108dc02c27e078d6e37f57840ec8a0c835550bbee3645f53dd6678729