[INFO] fetching crate minceraft 0.2.1... [INFO] testing minceraft-0.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate minceraft 0.2.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate minceraft 0.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v1.0.0 [INFO] [stderr] Downloaded rsa_public_encrypt_pkcs1 v0.4.0 [INFO] [stderr] Downloaded once_cell v1.11.0 [INFO] [stderr] Downloaded hematite-nbt v0.5.2 [INFO] [stderr] Downloaded cfb8 v0.7.1 [INFO] [stderr] Downloaded tokio-byteorder v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eac95761062244192f9324db1b67f1083e5d9375e6f62db4c04c6ef4dee18e24 [INFO] running `Command { std: "docker" "start" "-a" "eac95761062244192f9324db1b67f1083e5d9375e6f62db4c04c6ef4dee18e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eac95761062244192f9324db1b67f1083e5d9375e6f62db4c04c6ef4dee18e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eac95761062244192f9324db1b67f1083e5d9375e6f62db4c04c6ef4dee18e24", kill_on_drop: false }` [INFO] [stdout] eac95761062244192f9324db1b67f1083e5d9375e6f62db4c04c6ef4dee18e24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0560f0027036b35743ce9793fb0104f1f3c40f79a0abc6fe99e8fe51525d3464 [INFO] running `Command { std: "docker" "start" "-a" "0560f0027036b35743ce9793fb0104f1f3c40f79a0abc6fe99e8fe51525d3464", 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 0.97s [INFO] running `Command { std: "docker" "inspect" "0560f0027036b35743ce9793fb0104f1f3c40f79a0abc6fe99e8fe51525d3464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0560f0027036b35743ce9793fb0104f1f3c40f79a0abc6fe99e8fe51525d3464", kill_on_drop: false }` [INFO] [stdout] 0560f0027036b35743ce9793fb0104f1f3c40f79a0abc6fe99e8fe51525d3464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74032a48f6c6f75fe821ae18931b29e66287263315c0531622e6cd1d7ae243ed [INFO] running `Command { std: "docker" "start" "-a" "74032a48f6c6f75fe821ae18931b29e66287263315c0531622e6cd1d7ae243ed", 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 num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-integer v0.1.45 [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 log v0.4.17 [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 serde v1.0.137 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha1 v0.10.1 [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 rsa_public_encrypt_pkcs1 v0.4.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.2 [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[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[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[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[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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `minceraft` (example "status") due to 10 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0422, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [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] 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] [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)]` (part of `#[warn(unused)]`) 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" "74032a48f6c6f75fe821ae18931b29e66287263315c0531622e6cd1d7ae243ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74032a48f6c6f75fe821ae18931b29e66287263315c0531622e6cd1d7ae243ed", kill_on_drop: false }` [INFO] [stdout] 74032a48f6c6f75fe821ae18931b29e66287263315c0531622e6cd1d7ae243ed