[INFO] cloning repository https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinicius-de-Morais%2Ftcp-chat-encryption-cybersec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinicius-de-Morais%2Ftcp-chat-encryption-cybersec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c2538ee3352cbd1e093062db79a893ec23a8bd3 [INFO] checking Vinicius-de-Morais/tcp-chat-encryption-cybersec against try#39605810efb1a0d52f955bfba9e4eec7a01d5deb for pr-153692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVinicius-de-Morais%2Ftcp-chat-encryption-cybersec" "/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/Vinicius-de-Morais/tcp-chat-encryption-cybersec [INFO] finished tweaking git repo https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec [INFO] tweaked toml for git repo https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec on toolchain 39605810efb1a0d52f955bfba9e4eec7a01d5deb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Vinicius-de-Morais/tcp-chat-encryption-cybersec 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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3edf5d7680947e0befe73df0f9f7d3b0aa7cc53236ddd23f5a5ef3300f3c69e [INFO] running `Command { std: "docker" "start" "-a" "c3edf5d7680947e0befe73df0f9f7d3b0aa7cc53236ddd23f5a5ef3300f3c69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3edf5d7680947e0befe73df0f9f7d3b0aa7cc53236ddd23f5a5ef3300f3c69e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3edf5d7680947e0befe73df0f9f7d3b0aa7cc53236ddd23f5a5ef3300f3c69e", kill_on_drop: false }` [INFO] [stdout] c3edf5d7680947e0befe73df0f9f7d3b0aa7cc53236ddd23f5a5ef3300f3c69e [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" "+39605810efb1a0d52f955bfba9e4eec7a01d5deb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9db8e6a6373bd3c09865e52dc8bdbfae7cfb550c9eed555550d99a5f9b4bd7f7 [INFO] running `Command { std: "docker" "start" "-a" "9db8e6a6373bd3c09865e52dc8bdbfae7cfb550c9eed555550d99a5f9b4bd7f7", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tcp-chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/server.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_client(mut stream: TcpStream, clients: Clients) { [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: variable does not need to be mutable [INFO] [stdout] --> src/bin/server.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_client(mut stream: TcpStream, clients: Clients) { [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 import: `des` [INFO] [stdout] --> src/bin/ciphers/des/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ciphers::{des, Cipher}; [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: `StringBit` [INFO] [stdout] --> src/bin/ciphers/des/cipher.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | ciphers::des::bit::{Bit, Bitwise, ShiftLeft, StringBit, ToInteger}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/ciphers/playfair/helper.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn unique(self: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::write` [INFO] [stdout] --> src/bin/ciphers/cesar/cipher.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use std::fmt::write; [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: `des` [INFO] [stdout] --> src/bin/ciphers/des/mod.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ciphers::{des, Cipher}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StringBit` [INFO] [stdout] --> src/bin/ciphers/des/cipher.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | ciphers::des::bit::{Bit, Bitwise, ShiftLeft, StringBit, ToInteger}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ciphers/monoalphabetic/cipher.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter type does not contain `Self` [INFO] [stdout] --> src/bin/ciphers/playfair/helper.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | fn unique(self: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #140611 [INFO] [stdout] = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserInput` is never constructed [INFO] [stdout] --> src/bin/client.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum InputEvent { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 42 | UserInput(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encrypt` and `decrypt` are never used [INFO] [stdout] --> src/bin/ciphers/cesar/cipher.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cesar { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn encrypt(&self, plaintext: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn decrypt(&self, ciphertext: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_plaintext` and `to_ciphertext` are never used [INFO] [stdout] --> src/bin/ciphers/monoalphabetic/cipher.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Monoalphabetic { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 8 | fn to_plaintext(&mut self, ciphertext: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn to_ciphertext(&mut self, plaintext: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passkey` and `key` are never read [INFO] [stdout] --> src/bin/ciphers/rc4/cipher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rc4 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 6 | passkey: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `swap` is never used [INFO] [stdout] --> src/bin/ciphers/rc4/cipher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Rc4 { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn swap(mut vec: Vec, pos_a: usize, pos_b: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/bin/ciphers/rc4_bortoli/cipher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | S: [u8; 256], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vT` should have a snake case name [INFO] [stdout] --> src/bin/ciphers/rc4_bortoli/cipher.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut vT = [0u8; 256]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp-chat` (bin "client") due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `UserInput` is never constructed [INFO] [stdout] --> src/bin/client.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | enum InputEvent { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 42 | UserInput(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encrypt` and `decrypt` are never used [INFO] [stdout] --> src/bin/ciphers/cesar/cipher.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cesar { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn encrypt(&self, plaintext: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn decrypt(&self, ciphertext: &String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_plaintext` and `to_ciphertext` are never used [INFO] [stdout] --> src/bin/ciphers/monoalphabetic/cipher.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl Monoalphabetic { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 8 | fn to_plaintext(&mut self, ciphertext: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn to_ciphertext(&mut self, plaintext: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `passkey` and `key` are never read [INFO] [stdout] --> src/bin/ciphers/rc4/cipher.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Rc4 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 6 | passkey: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | key: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `swap` is never used [INFO] [stdout] --> src/bin/ciphers/rc4/cipher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Rc4 { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn swap(mut vec: Vec, pos_a: usize, pos_b: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `S` should have a snake case name [INFO] [stdout] --> src/bin/ciphers/rc4_bortoli/cipher.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | S: [u8; 256], [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vT` should have a snake case name [INFO] [stdout] --> src/bin/ciphers/rc4_bortoli/cipher.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut vT = [0u8; 256]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tcp-chat` (bin "client" test) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9db8e6a6373bd3c09865e52dc8bdbfae7cfb550c9eed555550d99a5f9b4bd7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db8e6a6373bd3c09865e52dc8bdbfae7cfb550c9eed555550d99a5f9b4bd7f7", kill_on_drop: false }` [INFO] [stdout] 9db8e6a6373bd3c09865e52dc8bdbfae7cfb550c9eed555550d99a5f9b4bd7f7