[INFO] cloning repository https://github.com/JoshuaRadin37/secure_com [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoshuaRadin37/secure_com" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fsecure_com", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fsecure_com'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04121a62179a2a72781939926a8a0de582e821f3 [INFO] checking JoshuaRadin37/secure_com against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoshuaRadin37%2Fsecure_com" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoshuaRadin37/secure_com on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JoshuaRadin37/secure_com [INFO] finished tweaking git repo https://github.com/JoshuaRadin37/secure_com [INFO] tweaked toml for git repo https://github.com/JoshuaRadin37/secure_com written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/JoshuaRadin37/secure_com already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e3a7261b264a170a78b50a292746dec07e8c5f9dbb6bae05ab7cce087d5318bc [INFO] running `Command { std: "docker" "start" "-a" "e3a7261b264a170a78b50a292746dec07e8c5f9dbb6bae05ab7cce087d5318bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3a7261b264a170a78b50a292746dec07e8c5f9dbb6bae05ab7cce087d5318bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a7261b264a170a78b50a292746dec07e8c5f9dbb6bae05ab7cce087d5318bc", kill_on_drop: false }` [INFO] [stdout] e3a7261b264a170a78b50a292746dec07e8c5f9dbb6bae05ab7cce087d5318bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abb138e8607ba8009092313c4b1d70b6d3014008b59d345cafc24308d773e908 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "abb138e8607ba8009092313c4b1d70b6d3014008b59d345cafc24308d773e908", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking readwrite v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking pipe v0.4.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking secure_communication v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/encryption/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AESReader`, `AESWriter` [INFO] [stdout] --> src/encryption/mod.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::encryption::aes::aes_stream::{AESReader, AESWriter}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::string::FromUtf8Error` [INFO] [stdout] --> src/encryption/./aes_stream.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | use std::string::FromUtf8Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AESReader`, `AESWriter` [INFO] [stdout] --> src/handshake.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::encryption::aes::aes_stream::{AESWriter, AESReader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RSAKeys` [INFO] [stdout] --> src/handshake.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encryption::rsa::{RSAWriter, RSAKeys, RSAKeysGenerator, RSAReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handshake_start` [INFO] [stdout] --> src/handshake.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::encryption::unsecure::{send_public_key, receive_public_key, handshake_start}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/handshake.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/handshake.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | use std::net::{TcpStream, TcpListener, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/encryption/mod.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{BufRead, BufReader, BufWriter, Read, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AESReader`, `AESWriter` [INFO] [stdout] --> src/encryption/mod.rs:10:42 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::encryption::aes::aes_stream::{AESReader, AESWriter}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AESReader`, `AESWriter` [INFO] [stdout] --> src/handshake.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::encryption::aes::aes_stream::{AESWriter, AESReader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RSAKeys` [INFO] [stdout] --> src/handshake.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::encryption::rsa::{RSAWriter, RSAKeys, RSAKeysGenerator, RSAReader}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handshake_start` [INFO] [stdout] --> src/handshake.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::encryption::unsecure::{send_public_key, receive_public_key, handshake_start}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/encryption/rsa.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | if let (Some(n), Some(e)) = (captures.get(1), captures.get(2)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/encryption/rsa.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | if let (Some(n), Some(e)) = (captures.get(1), captures.get(2)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/encryption/mod.rs:124:76 [INFO] [stdout] | [INFO] [stdout] 124 | ...Read>(server_nonce: &String, writer: &mut RSAWriter<W>, reader: &mut RSAReader<R>) -> std::io::Result<bool> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/encryption/./aes_stream.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let length = reader.read_to_string(&mut string).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/encryption/rsa.rs:152:26 [INFO] [stdout] | [INFO] [stdout] 152 | if let (Some(n), Some(e)) = (captures.get(1), captures.get(2)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/encryption/rsa.rs:152:35 [INFO] [stdout] | [INFO] [stdout] 152 | if let (Some(n), Some(e)) = (captures.get(1), captures.get(2)) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/encryption/mod.rs:124:76 [INFO] [stdout] | [INFO] [stdout] 124 | ...Read>(server_nonce: &String, writer: &mut RSAWriter<W>, reader: &mut RSAReader<R>) -> std::io::Result<bool> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/encryption/rsa.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | parent: &'a RSAKeys, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/encryption/rsa.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | parent: &'a RSAKeys, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.67s [INFO] running `Command { std: "docker" "inspect" "abb138e8607ba8009092313c4b1d70b6d3014008b59d345cafc24308d773e908", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abb138e8607ba8009092313c4b1d70b6d3014008b59d345cafc24308d773e908", kill_on_drop: false }` [INFO] [stdout] abb138e8607ba8009092313c4b1d70b6d3014008b59d345cafc24308d773e908