[INFO] cloning repository https://github.com/telegicloetrocongelateur/rfb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/telegicloetrocongelateur/rfb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelegicloetrocongelateur%2Frfb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelegicloetrocongelateur%2Frfb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dee328732c88dfc530b1265a4e8cc3932a07aee2 [INFO] building telegicloetrocongelateur/rfb against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelegicloetrocongelateur%2Frfb" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telegicloetrocongelateur/rfb on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/telegicloetrocongelateur/rfb [INFO] finished tweaking git repo https://github.com/telegicloetrocongelateur/rfb [INFO] tweaked toml for git repo https://github.com/telegicloetrocongelateur/rfb written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/telegicloetrocongelateur/rfb 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c22806e1a67a5e73a908697d4c63a7898832a211e67cc33ea3e5dc3ae9ac077 [INFO] running `Command { std: "docker" "start" "-a" "0c22806e1a67a5e73a908697d4c63a7898832a211e67cc33ea3e5dc3ae9ac077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c22806e1a67a5e73a908697d4c63a7898832a211e67cc33ea3e5dc3ae9ac077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c22806e1a67a5e73a908697d4c63a7898832a211e67cc33ea3e5dc3ae9ac077", kill_on_drop: false }` [INFO] [stdout] 0c22806e1a67a5e73a908697d4c63a7898832a211e67cc33ea3e5dc3ae9ac077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b183024ab0f28b1f52a27d40e94c02eb50d8e1c576da695916ae0c375f0f7b2 [INFO] running `Command { std: "docker" "start" "-a" "0b183024ab0f28b1f52a27d40e94c02eb50d8e1c576da695916ae0c375f0f7b2", kill_on_drop: false }` [INFO] [stderr] Compiling rfb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::array` [INFO] [stdout] --> src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::array; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/io.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/messages/pixel_format.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/framebuffer_update.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io::{BigEndian, DecodeFrom, EncodeTo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/set_encodings.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::{BigEndian, Decode, DecodeFrom, Encode, EncodeTo, Length}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/client.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let reason = String::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/error.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(value: TryFromIntError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/messages/security.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | 3..15 | 128 | 130..134 | 192 => RealVnc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `15_u8` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `3_u8..=15_u8` [INFO] [stdout] 36 | 16 => Tight, [INFO] [stdout] | -- this could appear to continue range `3_u8..15_u8`, but `15_u8` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_format` and `version` are never read [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pixel_format: PixelFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Endian` is never used [INFO] [stdout] --> src/io.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | trait Endian {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "0b183024ab0f28b1f52a27d40e94c02eb50d8e1c576da695916ae0c375f0f7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b183024ab0f28b1f52a27d40e94c02eb50d8e1c576da695916ae0c375f0f7b2", kill_on_drop: false }` [INFO] [stdout] 0b183024ab0f28b1f52a27d40e94c02eb50d8e1c576da695916ae0c375f0f7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f038f87406c5ac6731d1d9e1ebd636def8faa46121d556a10aa2723789a9211c [INFO] running `Command { std: "docker" "start" "-a" "f038f87406c5ac6731d1d9e1ebd636def8faa46121d556a10aa2723789a9211c", kill_on_drop: false }` [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::array` [INFO] [stdout] --> src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::array; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/io.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/messages/pixel_format.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/framebuffer_update.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io::{BigEndian, DecodeFrom, EncodeTo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/set_encodings.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::{BigEndian, Decode, DecodeFrom, Encode, EncodeTo, Length}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/client.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let reason = String::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/error.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(value: TryFromIntError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/messages/security.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | 3..15 | 128 | 130..134 | 192 => RealVnc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `15_u8` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `3_u8..=15_u8` [INFO] [stdout] 36 | 16 => Tight, [INFO] [stdout] | -- this could appear to continue range `3_u8..15_u8`, but `15_u8` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_format` and `version` are never read [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pixel_format: PixelFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Endian` is never used [INFO] [stdout] --> src/io.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | trait Endian {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.7.3 [INFO] [stderr] Compiling is-terminal v0.4.5 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling rfb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> src/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::array` [INFO] [stdout] --> src/io.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::array; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/io.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/messages/pixel_format.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/framebuffer_update.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::io::{BigEndian, DecodeFrom, EncodeTo}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigEndian` [INFO] [stdout] --> src/messages/set_encodings.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::io::{BigEndian, Decode, DecodeFrom, Encode, EncodeTo, Length}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/server.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | io::{BufRead, BufReader, BufWriter, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Encode` [INFO] [stdout] --> src/server.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | io::{DecodeFrom, Encode, EncodeTo}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/server.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | std::thread::sleep_ms(1); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/server.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | panic!("BONOJOIUJOPIUOPIHJIOUHOIUH"); [INFO] [stdout] | ------------------------------------ any code following this expression is unreachable [INFO] [stdout] 71 | [INFO] [stdout] 72 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/client.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let reason = String::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> src/client.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let framebuffer = FramebufferUpdate::decode_from(&mut reader)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/error.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | fn from(value: TryFromIntError) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple ranges are one apart [INFO] [stdout] --> src/messages/security.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | 3..15 | 128 | 130..134 | 192 => RealVnc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this range doesn't match `15_u8` because `..` is an exclusive range [INFO] [stdout] | help: use an inclusive range instead: `3_u8..=15_u8` [INFO] [stdout] 36 | 16 => Tight, [INFO] [stdout] | -- this could appear to continue range `3_u8..15_u8`, but `15_u8` isn't matched by either of them [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_contiguous_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/server.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let (stream, addr) = TcpListener::bind("0.0.0.0:5900")?.accept()?; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_format` and `version` are never read [INFO] [stdout] --> src/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 13 | pixel_format: PixelFormat, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Endian` is never used [INFO] [stdout] --> src/io.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 119 | trait Endian {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | writer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | writer.flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = writer.flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.52s [INFO] running `Command { std: "docker" "inspect" "f038f87406c5ac6731d1d9e1ebd636def8faa46121d556a10aa2723789a9211c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f038f87406c5ac6731d1d9e1ebd636def8faa46121d556a10aa2723789a9211c", kill_on_drop: false }` [INFO] [stdout] f038f87406c5ac6731d1d9e1ebd636def8faa46121d556a10aa2723789a9211c