[INFO] cloning repository https://github.com/Spospider/distri
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spospider/distri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpospider%2Fdistri", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpospider%2Fdistri'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 282d1218cca4f22f2e25db119fe3e2d8d7739483
[INFO] checking Spospider/distri against try#5d96fa0e954d77528204a1ba3b8847ec083c779b for pr-153457
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpospider%2Fdistri" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Spospider/distri
[INFO] finished tweaking git repo https://github.com/Spospider/distri
[INFO] tweaked toml for git repo https://github.com/Spospider/distri written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Spospider/distri on toolchain 5d96fa0e954d77528204a1ba3b8847ec083c779b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Spospider/distri 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" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cf59072f02b4b8c9840305a7f36e40441c2b0dd204a836b9a2544bf1f1b4776
[INFO] running `Command { std: "docker" "start" "-a" "1cf59072f02b4b8c9840305a7f36e40441c2b0dd204a836b9a2544bf1f1b4776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cf59072f02b4b8c9840305a7f36e40441c2b0dd204a836b9a2544bf1f1b4776", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cf59072f02b4b8c9840305a7f36e40441c2b0dd204a836b9a2544bf1f1b4776", kill_on_drop: false }`
[INFO] [stdout] 1cf59072f02b4b8c9840305a7f36e40441c2b0dd204a836b9a2544bf1f1b4776
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+5d96fa0e954d77528204a1ba3b8847ec083c779b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8749d721147e4d3deff58ac2513eae33d1f0fe7c9dbda1d388fa252e440f401
[INFO] running `Command { std: "docker" "start" "-a" "c8749d721147e4d3deff58ac2513eae33d1f0fe7c9dbda1d388fa252e440f401", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling xml-rs v0.8.23
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking bytemuck v1.19.0
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking allocator-api2 v0.2.20
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling anyhow v1.0.91
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking fdeflate v0.3.5
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking aligned-vec v0.5.0
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking png v0.17.14
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking spirv v0.2.0+1.5.4
[INFO] [stderr]     Checking v_frame v0.3.8
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking wgpu-types v0.17.0
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]    Compiling syn v2.0.85
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]     Checking glow v0.12.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking xcursor v0.3.8
[INFO] [stderr]     Checking gimli v0.31.1
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking tiny-skia-path v0.8.4
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking nix v0.24.3
[INFO] [stderr]     Checking nix v0.25.1
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking memmap2 v0.5.10
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking deflate v0.7.20
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking safe_arch v0.7.2
[INFO] [stderr]     Checking av1-grain v0.2.3
[INFO] [stderr]     Checking object v0.36.5
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking anstyle v1.0.9
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking imgref v1.11.0
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]     Checking wayland-commons v0.29.5
[INFO] [stderr]    Compiling serde v1.0.213
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling rustix v0.38.41
[INFO] [stderr]     Checking bitstream-io v2.5.3
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.8
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking rustc-demangle v0.1.24
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking anstream v0.6.17
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]     Checking wide v0.7.30
[INFO] [stderr]     Checking png v0.14.1
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]     Checking tiny-skia v0.8.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking owned_ttf_parser v0.25.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking ab_glyph v0.2.29
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking avif-serialize v0.8.2
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]     Checking byteorder-lite v0.1.0
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking addr2line v0.24.2
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking exr v1.72.0
[INFO] [stderr]     Checking image-webp v0.2.0
[INFO] [stderr]     Checking zune-jpeg v0.4.13
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking ultraviolet v0.9.2
[INFO] [stderr]     Checking tiff v0.9.1
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking wayland-cursor v0.29.5
[INFO] [stderr]     Checking gif v0.13.1
[INFO] [stderr]     Checking image v0.21.3
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking instant v0.1.13
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]     Checking fastrand v2.2.0
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking tempfile v3.14.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling uuid-macro-internal v1.11.0
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]     Checking profiling v1.0.16
[INFO] [stderr]     Checking tokio v1.41.0
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking engine v0.0.0
[INFO] [stderr]     Checking naga v0.13.0
[INFO] [stderr]     Checking calloop v0.10.6
[INFO] [stderr]     Checking steganography v1.0.2
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking wgpu-hal v0.17.2
[INFO] [stderr]     Checking ravif v0.11.11
[INFO] [stderr]     Checking image v0.25.4
[INFO] [stderr]     Checking wgpu-core v0.17.1
[INFO] [stderr]     Checking wgpu v0.17.2
[INFO] [stderr]     Checking pixels v0.14.0
[INFO] [stderr]     Checking sctk-adwaita v0.5.4
[INFO] [stderr]     Checking distri v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `END_OF_TRANSMISSION`
[INFO] [stdout]   --> src/cloud.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::utils::{DEFAULT_TIMEOUT, END_OF_TRANSMISSION, server_encrypt_img, send_with_retry, recv_with_timeout, recv_reliable, send...
[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: `PathBuf`
[INFO] [stdout]  --> src/peer.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CHUNK_SIZE`, `server_decrypt_img`, and `server_encrypt_img`
[INFO] [stdout]   --> src/peer.rs:16:86
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...nd_reliable, send_with_retry, server_decrypt_img, peer_decrypt_img, server_encrypt_img, CHUNK_SIZE, DEFAULT_TIMEOUT, MAX_RETRIES};
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^                    ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DynamicImage`, `ImageBuffer`, `Rgba`, and `open`
[INFO] [stdout]   --> src/utils.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     DynamicImage,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 22 |     ImageBuffer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 23 |     Rgba,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     open
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `platform::run_return::EventLoopExtRunReturn`, and `window::WindowBuilder`
[INFO] [stdout]   --> src/utils.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     event::{Event, WindowEvent},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 30 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 31 |     window::WindowBuilder,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     platform::run_return::EventLoopExtRunReturn
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/utils.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let encoded_img_to_hide = base64::encode(&img_to_hide_bytes);
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/utils.rs:66:43
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let decoded_img_bytes = match base64::decode(&encoded_message) {
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/utils.rs:132:43
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let decoded_img_bytes = match base64::decode(&encoded_message) {
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `END_OF_TRANSMISSION`
[INFO] [stdout]   --> src/cloud.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::utils::{DEFAULT_TIMEOUT, END_OF_TRANSMISSION, server_encrypt_img, send_with_retry, recv_with_timeout, recv_reliable, send...
[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: `PathBuf`
[INFO] [stdout]  --> src/peer.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CHUNK_SIZE`, `server_decrypt_img`, and `server_encrypt_img`
[INFO] [stdout]   --> src/peer.rs:16:86
[INFO] [stdout]    |
[INFO] [stdout] 16 | ...nd_reliable, send_with_retry, server_decrypt_img, peer_decrypt_img, server_encrypt_img, CHUNK_SIZE, DEFAULT_TIMEOUT, MAX_RETRIES};
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^                    ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DynamicImage`, `ImageBuffer`, `Rgba`, and `open`
[INFO] [stdout]   --> src/utils.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     DynamicImage,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 22 |     ImageBuffer,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 23 |     Rgba,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     open
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ControlFlow`, `EventLoop`, `Event`, `WindowEvent`, `platform::run_return::EventLoopExtRunReturn`, and `window::WindowBuilder`
[INFO] [stdout]   --> src/utils.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 |     event::{Event, WindowEvent},
[INFO] [stdout]    |             ^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 30 |     event_loop::{ControlFlow, EventLoop},
[INFO] [stdout]    |                  ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 31 |     window::WindowBuilder,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     platform::run_return::EventLoopExtRunReturn
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]   --> src/utils.rs:54:39
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let encoded_img_to_hide = base64::encode(&img_to_hide_bytes);
[INFO] [stdout]    |                                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/utils.rs:66:43
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let decoded_img_bytes = match base64::decode(&encoded_message) {
[INFO] [stdout]    |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/utils.rs:132:43
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let decoded_img_bytes = match base64::decode(&encoded_message) {
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cloud.rs:466:17
[INFO] [stdout]     |
[INFO] [stdout] 422 |                 Ok((packet, size, _)) => {
[INFO] [stdout]     |                 --------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 466 |                 Ok((_, _, recv_addr)) => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/cloud.rs:466:17
[INFO] [stdout]     |
[INFO] [stdout] 422 |                 Ok((packet, size, _)) => {
[INFO] [stdout]     |                 --------------------- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 466 |                 Ok((_, _, recv_addr)) => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/peer.rs:378:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 return Ok(addr.parse::<SocketAddr>()?);
[INFO] [stdout]     |                 -------------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 378 |         return Err(Box::new(std::io::Error::new(std::io::ErrorKind::Other, "No address was found")));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut pending = self.pending_approval().await;
[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: unreachable expression
[INFO] [stdout]   --> src/utils.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |       return Ok(());
[INFO] [stdout]    |       ------------- any code following this expression is unreachable
[INFO] [stdout] 86 | /     match File::create(file_path).await {
[INFO] [stdout] 87 | |         Ok(mut file) => {
[INFO] [stdout] 88 | |             file.write_all(data).await?;
[INFO] [stdout] 89 | |             println!("File saved to '{}'.", file_path);
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/peer.rs:378:9
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 return Ok(addr.parse::<SocketAddr>()?);
[INFO] [stdout]     |                 -------------------------------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 378 |         return Err(Box::new(std::io::Error::new(std::io::ErrorKind::Other, "No address was found")));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let  mut temp_file = Builder::new()
[INFO] [stdout]     |          ----^^^^^^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/client.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/client.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/client.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/peer.rs:207:13
[INFO] [stdout]     |
[INFO] [stdout] 207 |         let mut pending = self.pending_approval().await;
[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: `size`
[INFO] [stdout]    --> src/cloud.rs:707:29
[INFO] [stdout]     |
[INFO] [stdout] 707 |                 Ok((packet, size, recv_addr)) if recv_addr == addr => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_views`
[INFO] [stdout]    --> src/peer.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |     async fn encrypt_img(&self, file_name:&str, num_views:u32) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_views`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/peer.rs:179:51
[INFO] [stdout]     |
[INFO] [stdout] 179 |     async fn handle_request_msg(self: &Arc<Self>, addr:SocketAddr, json_obj:Value) {
[INFO] [stdout]     |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/peer.rs:1001:24
[INFO] [stdout]      |
[INFO] [stdout] 1001 |             if let Err(e) = async {
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/utils.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 |       return Ok(());
[INFO] [stdout]    |       ------------- any code following this expression is unreachable
[INFO] [stdout] 86 | /     match File::create(file_path).await {
[INFO] [stdout] 87 | |         Ok(mut file) => {
[INFO] [stdout] 88 | |             file.write_all(data).await?;
[INFO] [stdout] 89 | |             println!("File saved to '{}'.", file_path);
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |     }
[INFO] [stdout]    | |_____^ unreachable expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utils.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let  mut temp_file = Builder::new()
[INFO] [stdout]     |          ----^^^^^^^^^
[INFO] [stdout]     |          |
[INFO] [stdout]     |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/utils.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn write_to_file(file_path: &str, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/utils.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn write_to_file(file_path: &str, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/client.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 Err(e) => {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/client.rs:116:21
[INFO] [stdout]     |
[INFO] [stdout] 116 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/client.rs:163:21
[INFO] [stdout]     |
[INFO] [stdout] 163 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]    --> src/cloud.rs:707:29
[INFO] [stdout]     |
[INFO] [stdout] 707 |                 Ok((packet, size, recv_addr)) if recv_addr == addr => {
[INFO] [stdout]     |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `num_views`
[INFO] [stdout]    --> src/peer.rs:270:49
[INFO] [stdout]     |
[INFO] [stdout] 270 |     async fn encrypt_img(&self, file_name:&str, num_views:u32) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                                                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_views`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]    --> src/peer.rs:179:51
[INFO] [stdout]     |
[INFO] [stdout] 179 |     async fn handle_request_msg(self: &Arc<Self>, addr:SocketAddr, json_obj:Value) {
[INFO] [stdout]     |                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]     --> src/peer.rs:1001:24
[INFO] [stdout]      |
[INFO] [stdout] 1001 |             if let Err(e) = async {
[INFO] [stdout]      |                        ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_path`
[INFO] [stdout]   --> src/utils.rs:84:28
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn write_to_file(file_path: &str, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/utils.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub async fn write_to_file(file_path: &str, data: &[u8]) -> Result<(), std::io::Error> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "c8749d721147e4d3deff58ac2513eae33d1f0fe7c9dbda1d388fa252e440f401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8749d721147e4d3deff58ac2513eae33d1f0fe7c9dbda1d388fa252e440f401", kill_on_drop: false }`
[INFO] [stdout] c8749d721147e4d3deff58ac2513eae33d1f0fe7c9dbda1d388fa252e440f401
