[INFO] cloning repository https://github.com/iceiix/stevenarella [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iceiix/stevenarella" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficeiix%2Fstevenarella", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficeiix%2Fstevenarella'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 815ac883389a871a888ea4436ad1af192cfeca7b [INFO] building iceiix/stevenarella against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficeiix%2Fstevenarella" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/iceiix/stevenarella [INFO] finished tweaking git repo https://github.com/iceiix/stevenarella [INFO] tweaked toml for git repo https://github.com/iceiix/stevenarella written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iceiix/stevenarella on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iceiix/stevenarella 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `stevenarella` [INFO] [stderr] * `bin` target `stevenarella` [INFO] [stderr] Updating git repository `https://github.com/iceiix/rust-clipboard` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfb8 v0.7.1 [INFO] [stderr] Downloaded simple_asn1 v0.5.4 [INFO] [stderr] Downloaded rsa_public_encrypt_pkcs1 v0.4.0 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded x11-clipboard v0.6.1 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded version-compare v0.2.1 [INFO] [stderr] Downloaded openssl-sys v0.9.111 [INFO] [stderr] Downloaded dwrote v0.11.5 [INFO] [stderr] Downloaded collision v0.20.1 [INFO] [stderr] Downloaded openssl v0.10.75 [INFO] [stderr] Downloaded xcb v1.6.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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be31c855aa6e80fea8bbb7e6e853a7f390b4bea4403959d9c010893d5f9357f1 [INFO] running `Command { std: "docker" "start" "-a" "be31c855aa6e80fea8bbb7e6e853a7f390b4bea4403959d9c010893d5f9357f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be31c855aa6e80fea8bbb7e6e853a7f390b4bea4403959d9c010893d5f9357f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be31c855aa6e80fea8bbb7e6e853a7f390b4bea4403959d9c010893d5f9357f1", kill_on_drop: false }` [INFO] [stdout] be31c855aa6e80fea8bbb7e6e853a7f390b4bea4403959d9c010893d5f9357f1 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] d58a946c739ae89d7cf48f3bf1e7b4f793dbd7a9cad3315f91401110a2d9771b [INFO] running `Command { std: "docker" "start" "-a" "d58a946c739ae89d7cf48f3bf1e7b4f793dbd7a9cad3315f91401110a2d9771b", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `stevenarella` [INFO] [stderr] * `bin` target `stevenarella` [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/wasm32-wasip1/debug/stevenarella.wasm [INFO] [stderr] | [INFO] [stderr] = note: the bin target `stevenarella` in package `stevenarella v0.0.1 (/opt/rustwide/workdir)` has the same output filename as the lib target `stevenarella` in package `stevenarella v0.0.1 (/opt/rustwide/workdir)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] warning: output filename collision at /opt/rustwide/target/wasm32-wasip1/debug/stevenarella.wasm.dwp [INFO] [stderr] | [INFO] [stderr] = note: the bin target `stevenarella` in package `stevenarella v0.0.1 (/opt/rustwide/workdir)` has the same output filename as the lib target `stevenarella` in package `stevenarella v0.0.1 (/opt/rustwide/workdir)` [INFO] [stderr] = note: this may become a hard error in the future; see [INFO] [stderr] = help: consider changing their names to be unique or compiling them separately [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.105 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.105 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.105 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.105 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling js-sys v0.3.82 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling web-sys v0.3.82 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling steven_resources v0.1.0 (/opt/rustwide/workdir/resources) [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling steven_shared v0.0.1 (/opt/rustwide/workdir/shared) [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling moxcms v0.7.9 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling collision v0.20.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling cfb8 v0.7.1 [INFO] [stderr] Compiling std_or_web v0.0.1 (/opt/rustwide/workdir/std_or_web) [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling winit v0.27.5 [INFO] [stderr] Compiling steven_protocol v0.0.1 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling steven_blocks v0.0.1 (/opt/rustwide/workdir/blocks) [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> protocol/src/protocol/mojang.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use sha1::{self, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rsa_public_encrypt_pkcs1 v0.4.0 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> blocks/src/lib.rs:1052:36 [INFO] [stdout] | [INFO] [stdout] 1052 | offsets |protocol_version| (instrument.offsets(protocol_version) [INFO] [stdout] | ^ [INFO] [stdout] 1053 | .map(|offset| offset * (25 * 2) + ((note as usize) << 1) + if powered { 0 } else { 1 })), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1052 ~ offsets |protocol_version| instrument.offsets(protocol_version) [INFO] [stdout] 1053 ~ .map(|offset| offset * (25 * 2) + ((note as usize) << 1) + if powered { 0 } else { 1 }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> blocks/src/lib.rs:1407:36 [INFO] [stdout] | [INFO] [stdout] 1407 | offsets |protocol_version| (variant.offsets(protocol_version)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1407 - offsets |protocol_version| (variant.offsets(protocol_version)), [INFO] [stdout] 1407 + offsets |protocol_version| variant.offsets(protocol_version), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling clipboard v0.5.0 (https://github.com/iceiix/rust-clipboard?rev=71089e792fd5e52f05d5b22c54bd2d206d20ec0d#71089e79) [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling stevenarella v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/render/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use image::{GenericImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/render/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/resources.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/screen/login.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/screen/login.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth` [INFO] [stdout] --> src/screen/login.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::auth; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render` [INFO] [stdout] --> src/screen/login.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::render; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/render/mod.rs:977:14 [INFO] [stdout] | [INFO] [stdout] 977 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srx` [INFO] [stdout] --> src/render/mod.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | let (stx, srx) = mpsc::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_srx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/render/mod.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | recv: mpsc::Receiver, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/render/mod.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | reply: mpsc::Sender<(String, Option)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `server_id` is assigned to, but never used [INFO] [stdout] --> src/server/mod.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (server_id, public_key, verify_token); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_server_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_pressed` [INFO] [stdout] --> src/ui/mod.rs:1539:9 [INFO] [stdout] | [INFO] [stdout] 1539 | ctrl_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let dt = last_timestamp.map_or(Duration::from_secs(0), |last_timestamp: f64| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process_skins` is never used [INFO] [stdout] --> src/render/mod.rs:1022:8 [INFO] [stdout] | [INFO] [stdout] 967 | impl TextureManager { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1022 | fn process_skins( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VANILLA_CLIENT_URL` is never used [INFO] [stdout] --> src/resources.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const VANILLA_CLIENT_URL: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_INDEX_URL` is never used [INFO] [stdout] --> src/resources.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.12/67e29e024e664064c1f04c728604f83c24cbc218/1.12.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_task` and `add_task_progress` are never used [INFO] [stdout] --> src/resources.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Manager { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | fn add_task(progress: &Arc>, name: &str, file: &str, length: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn add_task_progress(progress: &Arc>, name: &str, file: &str, prog: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressRead` is never constructed [INFO] [stdout] --> src/resources.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | struct ProgressRead<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elements` and `vars` are never read [INFO] [stdout] --> src/screen/login.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Login { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | elements: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | vars: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screen/login.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct UIElements { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | logo: ui::logo::Logo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | login_btn: ui::ButtonRef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | login_btn_text: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | login_error: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | username_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | password_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | _disclaimer: ui::TextRef, [INFO] [stdout] 43 | try_login: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | refresh: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | login_res: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | profile: mojang::Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/console/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 252 | / define_elements! { [INFO] [stdout] 253 | | Image, [INFO] [stdout] 254 | | Batch, [INFO] [stdout] 255 | | Text, [INFO] [stdout] ... | [INFO] [stdout] 258 | | TextBox, [INFO] [stdout] 259 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_elements` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/render/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use image::{GenericImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/render/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/resources.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/screen/login.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/screen/login.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth` [INFO] [stdout] --> src/screen/login.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::auth; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render` [INFO] [stdout] --> src/screen/login.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::render; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/render/mod.rs:977:14 [INFO] [stdout] | [INFO] [stdout] 977 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srx` [INFO] [stdout] --> src/render/mod.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | let (stx, srx) = mpsc::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_srx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/render/mod.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | recv: mpsc::Receiver, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/render/mod.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | reply: mpsc::Sender<(String, Option)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `server_id` is assigned to, but never used [INFO] [stdout] --> src/server/mod.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (server_id, public_key, verify_token); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_server_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_pressed` [INFO] [stdout] --> src/ui/mod.rs:1539:9 [INFO] [stdout] | [INFO] [stdout] 1539 | ctrl_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let dt = last_timestamp.map_or(Duration::from_secs(0), |last_timestamp: f64| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process_skins` is never used [INFO] [stdout] --> src/render/mod.rs:1022:8 [INFO] [stdout] | [INFO] [stdout] 967 | impl TextureManager { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1022 | fn process_skins( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VANILLA_CLIENT_URL` is never used [INFO] [stdout] --> src/resources.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const VANILLA_CLIENT_URL: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_INDEX_URL` is never used [INFO] [stdout] --> src/resources.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.12/67e29e024e664064c1f04c728604f83c24cbc218/1.12.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_task` and `add_task_progress` are never used [INFO] [stdout] --> src/resources.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Manager { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | fn add_task(progress: &Arc>, name: &str, file: &str, length: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn add_task_progress(progress: &Arc>, name: &str, file: &str, prog: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressRead` is never constructed [INFO] [stdout] --> src/resources.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | struct ProgressRead<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elements` and `vars` are never read [INFO] [stdout] --> src/screen/login.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Login { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | elements: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | vars: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screen/login.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct UIElements { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | logo: ui::logo::Logo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | login_btn: ui::ButtonRef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | login_btn_text: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | login_error: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | username_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | password_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | _disclaimer: ui::TextRef, [INFO] [stdout] 43 | try_login: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | refresh: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | login_res: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | profile: mojang::Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/console/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 252 | / define_elements! { [INFO] [stdout] 253 | | Image, [INFO] [stdout] 254 | | Batch, [INFO] [stdout] 255 | | Text, [INFO] [stdout] ... | [INFO] [stdout] 258 | | TextBox, [INFO] [stdout] 259 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_elements` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 6m 58s [INFO] running `Command { std: "docker" "inspect" "d58a946c739ae89d7cf48f3bf1e7b4f793dbd7a9cad3315f91401110a2d9771b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d58a946c739ae89d7cf48f3bf1e7b4f793dbd7a9cad3315f91401110a2d9771b", kill_on_drop: false }` [INFO] [stdout] d58a946c739ae89d7cf48f3bf1e7b4f793dbd7a9cad3315f91401110a2d9771b [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 4fd068f9dd2752005d18b2a993a7ca3b92bfa63b674ff67569bf3edc7dde3200 [INFO] running `Command { std: "docker" "start" "-a" "4fd068f9dd2752005d18b2a993a7ca3b92bfa63b674ff67569bf3edc7dde3200", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `stevenarella` [INFO] [stderr] * `bin` target `stevenarella` [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> protocol/src/protocol/mojang.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use sha1::{self, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> blocks/src/lib.rs:1052:36 [INFO] [stdout] | [INFO] [stdout] 1052 | offsets |protocol_version| (instrument.offsets(protocol_version) [INFO] [stdout] | ^ [INFO] [stdout] 1053 | .map(|offset| offset * (25 * 2) + ((note as usize) << 1) + if powered { 0 } else { 1 })), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1052 ~ offsets |protocol_version| instrument.offsets(protocol_version) [INFO] [stdout] 1053 ~ .map(|offset| offset * (25 * 2) + ((note as usize) << 1) + if powered { 0 } else { 1 }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> blocks/src/lib.rs:1407:36 [INFO] [stdout] | [INFO] [stdout] 1407 | offsets |protocol_version| (variant.offsets(protocol_version)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1407 - offsets |protocol_version| (variant.offsets(protocol_version)), [INFO] [stdout] 1407 + offsets |protocol_version| variant.offsets(protocol_version), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/render/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use image::{GenericImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/render/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/resources.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/screen/login.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/screen/login.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth` [INFO] [stdout] --> src/screen/login.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::auth; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render` [INFO] [stdout] --> src/screen/login.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::render; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/render/mod.rs:977:14 [INFO] [stdout] | [INFO] [stdout] 977 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srx` [INFO] [stdout] --> src/render/mod.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | let (stx, srx) = mpsc::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_srx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/render/mod.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | recv: mpsc::Receiver, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/render/mod.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | reply: mpsc::Sender<(String, Option)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `server_id` is assigned to, but never used [INFO] [stdout] --> src/server/mod.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (server_id, public_key, verify_token); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_server_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_pressed` [INFO] [stdout] --> src/ui/mod.rs:1539:9 [INFO] [stdout] | [INFO] [stdout] 1539 | ctrl_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let dt = last_timestamp.map_or(Duration::from_secs(0), |last_timestamp: f64| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process_skins` is never used [INFO] [stdout] --> src/render/mod.rs:1022:8 [INFO] [stdout] | [INFO] [stdout] 967 | impl TextureManager { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1022 | fn process_skins( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VANILLA_CLIENT_URL` is never used [INFO] [stdout] --> src/resources.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const VANILLA_CLIENT_URL: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_INDEX_URL` is never used [INFO] [stdout] --> src/resources.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.12/67e29e024e664064c1f04c728604f83c24cbc218/1.12.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_task` and `add_task_progress` are never used [INFO] [stdout] --> src/resources.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Manager { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | fn add_task(progress: &Arc>, name: &str, file: &str, length: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn add_task_progress(progress: &Arc>, name: &str, file: &str, prog: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressRead` is never constructed [INFO] [stdout] --> src/resources.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | struct ProgressRead<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elements` and `vars` are never read [INFO] [stdout] --> src/screen/login.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Login { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | elements: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | vars: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screen/login.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct UIElements { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | logo: ui::logo::Logo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | login_btn: ui::ButtonRef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | login_btn_text: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | login_error: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | username_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | password_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | _disclaimer: ui::TextRef, [INFO] [stdout] 43 | try_login: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | refresh: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | login_res: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | profile: mojang::Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/console/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling stevenarella v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 252 | / define_elements! { [INFO] [stdout] 253 | | Image, [INFO] [stdout] 254 | | Batch, [INFO] [stdout] 255 | | Text, [INFO] [stdout] ... | [INFO] [stdout] 258 | | TextBox, [INFO] [stdout] 259 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_elements` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/render/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use image::{GenericImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/render/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/resources.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/screen/login.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/screen/login.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth` [INFO] [stdout] --> src/screen/login.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::auth; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render` [INFO] [stdout] --> src/screen/login.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::render; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/render/mod.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use image::{GenericImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/render/mod.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | use log::{error, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/resources.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/screen/login.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/screen/login.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{self, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::auth` [INFO] [stdout] --> src/screen/login.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::auth; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render` [INFO] [stdout] --> src/screen/login.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::render; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/render/mod.rs:977:14 [INFO] [stdout] | [INFO] [stdout] 977 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srx` [INFO] [stdout] --> src/render/mod.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | let (stx, srx) = mpsc::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_srx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/render/mod.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | recv: mpsc::Receiver, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/render/mod.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | reply: mpsc::Sender<(String, Option)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `server_id` is assigned to, but never used [INFO] [stdout] --> src/server/mod.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (server_id, public_key, verify_token); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_server_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_pressed` [INFO] [stdout] --> src/ui/mod.rs:1539:9 [INFO] [stdout] | [INFO] [stdout] 1539 | ctrl_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let dt = last_timestamp.map_or(Duration::from_secs(0), |last_timestamp: f64| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process_skins` is never used [INFO] [stdout] --> src/render/mod.rs:1022:8 [INFO] [stdout] | [INFO] [stdout] 967 | impl TextureManager { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1022 | fn process_skins( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VANILLA_CLIENT_URL` is never used [INFO] [stdout] --> src/resources.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const VANILLA_CLIENT_URL: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_INDEX_URL` is never used [INFO] [stdout] --> src/resources.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.12/67e29e024e664064c1f04c728604f83c24cbc218/1.12.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_task` and `add_task_progress` are never used [INFO] [stdout] --> src/resources.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Manager { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | fn add_task(progress: &Arc>, name: &str, file: &str, length: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn add_task_progress(progress: &Arc>, name: &str, file: &str, prog: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressRead` is never constructed [INFO] [stdout] --> src/resources.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | struct ProgressRead<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elements` and `vars` are never read [INFO] [stdout] --> src/screen/login.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Login { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | elements: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | vars: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screen/login.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct UIElements { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | logo: ui::logo::Logo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | login_btn: ui::ButtonRef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | login_btn_text: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | login_error: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | username_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | password_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | _disclaimer: ui::TextRef, [INFO] [stdout] 43 | try_login: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | refresh: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | login_res: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | profile: mojang::Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/console/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 252 | / define_elements! { [INFO] [stdout] 253 | | Image, [INFO] [stdout] 254 | | Batch, [INFO] [stdout] 255 | | Text, [INFO] [stdout] ... | [INFO] [stdout] 258 | | TextBox, [INFO] [stdout] 259 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_elements` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/render/mod.rs:977:14 [INFO] [stdout] | [INFO] [stdout] 977 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srx` [INFO] [stdout] --> src/render/mod.rs:978:19 [INFO] [stdout] | [INFO] [stdout] 978 | let (stx, srx) = mpsc::channel(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_srx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `recv` [INFO] [stdout] --> src/render/mod.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | recv: mpsc::Receiver, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_recv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/render/mod.rs:1024:9 [INFO] [stdout] | [INFO] [stdout] 1024 | reply: mpsc::Sender<(String, Option)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_reply` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `server_id` is assigned to, but never used [INFO] [stdout] --> src/server/mod.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | let (server_id, public_key, verify_token); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_server_id` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `server_id` is never read [INFO] [stdout] --> src/server/mod.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | server_id = Rc::new(val.server_id); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl_pressed` [INFO] [stdout] --> src/ui/mod.rs:1539:9 [INFO] [stdout] | [INFO] [stdout] 1539 | ctrl_pressed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | let mut running = true; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/main.rs:442:21 [INFO] [stdout] | [INFO] [stdout] 442 | let dt = last_timestamp.map_or(Duration::from_secs(0), |last_timestamp: f64| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `process_skins` is never used [INFO] [stdout] --> src/render/mod.rs:1022:8 [INFO] [stdout] | [INFO] [stdout] 967 | impl TextureManager { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 1022 | fn process_skins( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VANILLA_CLIENT_URL` is never used [INFO] [stdout] --> src/resources.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | const VANILLA_CLIENT_URL: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASSET_INDEX_URL` is never used [INFO] [stdout] --> src/resources.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.12/67e29e024e664064c1f04c728604f83c24cbc218/1.12.json"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_task` and `add_task_progress` are never used [INFO] [stdout] --> src/resources.rs:462:8 [INFO] [stdout] | [INFO] [stdout] 77 | impl Manager { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 462 | fn add_task(progress: &Arc>, name: &str, file: &str, length: u64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | fn add_task_progress(progress: &Arc>, name: &str, file: &str, prog: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgressRead` is never constructed [INFO] [stdout] --> src/resources.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | struct ProgressRead<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elements` and `vars` are never read [INFO] [stdout] --> src/screen/login.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Login { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 30 | elements: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | vars: Rc, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/screen/login.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct UIElements { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 35 | logo: ui::logo::Logo, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | [INFO] [stdout] 37 | login_btn: ui::ButtonRef, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 38 | login_btn_text: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | login_error: ui::TextRef, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | username_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 41 | password_txt: ui::TextBoxRef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 42 | _disclaimer: ui::TextRef, [INFO] [stdout] 43 | try_login: Rc>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 44 | refresh: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | login_res: Option>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | profile: mojang::Profile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/console/mod.rs:181:32 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | pub fn get(&self, var: CVar) -> Ref<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ui/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 252 | / define_elements! { [INFO] [stdout] 253 | | Image, [INFO] [stdout] 254 | | Batch, [INFO] [stdout] 255 | | Text, [INFO] [stdout] ... | [INFO] [stdout] 258 | | TextBox, [INFO] [stdout] 259 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `define_elements` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | fn draw(&self, renderer: &mut render::Renderer, r: &Region, sw: f64, sh: f64, width: f64, height: f64, delta: f64) -> RefMut<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 13.42s [INFO] running `Command { std: "docker" "inspect" "4fd068f9dd2752005d18b2a993a7ca3b92bfa63b674ff67569bf3edc7dde3200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd068f9dd2752005d18b2a993a7ca3b92bfa63b674ff67569bf3edc7dde3200", kill_on_drop: false }` [INFO] [stdout] 4fd068f9dd2752005d18b2a993a7ca3b92bfa63b674ff67569bf3edc7dde3200