[INFO] cloning repository https://github.com/HectorIX/tcp-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorIX/tcp-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae3406bdc726c3d604969b1975eb21589d492d33 [INFO] testing HectorIX/tcp-client against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorIX/tcp-client on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HectorIX/tcp-client [INFO] finished tweaking git repo https://github.com/HectorIX/tcp-client [INFO] tweaked toml for git repo https://github.com/HectorIX/tcp-client written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/HectorIX/tcp-client already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f9224e2348d5dc1d792fc11facb2f8e4a88ff6d36f0d29f7a704a0de708ed31 [INFO] running `Command { std: "docker" "start" "-a" "6f9224e2348d5dc1d792fc11facb2f8e4a88ff6d36f0d29f7a704a0de708ed31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f9224e2348d5dc1d792fc11facb2f8e4a88ff6d36f0d29f7a704a0de708ed31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f9224e2348d5dc1d792fc11facb2f8e4a88ff6d36f0d29f7a704a0de708ed31", kill_on_drop: false }` [INFO] [stdout] 6f9224e2348d5dc1d792fc11facb2f8e4a88ff6d36f0d29f7a704a0de708ed31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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=warn" "-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" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41a06f2ce900642cbcee640068d0615e56f8ab8222d4bab9c3076bde8714de35 [INFO] running `Command { std: "docker" "start" "-a" "41a06f2ce900642cbcee640068d0615e56f8ab8222d4bab9c3076bde8714de35", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rpassword v0.4.0 [INFO] [stderr] Compiling mio v0.6.9 [INFO] [stderr] Compiling tokio-io v0.1.2 [INFO] [stderr] Compiling tokio-core v0.1.8 [INFO] [stderr] Compiling tcp-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/client_upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes_256.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes_256.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/user.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref USER: Mutex = { [INFO] [stdout] 23 | | let m = Mutex::new(User::default()); [INFO] [stdout] 24 | | m [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/user.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref USER: Mutex = { [INFO] [stdout] 23 | | let m = Mutex::new(User::default()); [INFO] [stdout] 24 | | m [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 210 | process::exit(0x0f00); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 211 | BytesMut::from("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 246 | process::exit(0x0f00); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 247 | BytesMut::from("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:20:86 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => { return format!("**Failed to write to File {}: {}", filename, e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => { return format!("\n\t**Failed. Couldn't write to {}: {}", filename, e.description());}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => { return format!("**Failed {}", e.description()) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:114:55 [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => { return format!("**Failed. {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/file_io.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => { return "**Failed".to_string().into_bytes(); }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/file_io.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(e) => { return "**Failed {}".to_string().into_bytes(); }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client_upload.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let x = file_io::read_u8(path_to_file.clone().to_string()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.04s [INFO] running `Command { std: "docker" "inspect" "41a06f2ce900642cbcee640068d0615e56f8ab8222d4bab9c3076bde8714de35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a06f2ce900642cbcee640068d0615e56f8ab8222d4bab9c3076bde8714de35", kill_on_drop: false }` [INFO] [stdout] 41a06f2ce900642cbcee640068d0615e56f8ab8222d4bab9c3076bde8714de35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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=warn" "-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" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d95d76b03300d0d1727ff9b84b28230701ac45ea4f6d31cc248929bafa4130fa [INFO] running `Command { std: "docker" "start" "-a" "d95d76b03300d0d1727ff9b84b28230701ac45ea4f6d31cc248929bafa4130fa", kill_on_drop: false }` [INFO] [stderr] Compiling tcp-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/client_upload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes_256.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes_256.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/user.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref USER: Mutex = { [INFO] [stdout] 23 | | let m = Mutex::new(User::default()); [INFO] [stdout] 24 | | m [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/user.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | static ref USER: Mutex = { [INFO] [stdout] 23 | | let m = Mutex::new(User::default()); [INFO] [stdout] 24 | | m [INFO] [stdout] 25 | | }; [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 210 | process::exit(0x0f00); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 211 | BytesMut::from("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/parser.rs:247:17 [INFO] [stdout] | [INFO] [stdout] 246 | process::exit(0x0f00); [INFO] [stdout] | --------------------- any code following this expression is unreachable [INFO] [stdout] 247 | BytesMut::from("\n") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:20:86 [INFO] [stdout] | [INFO] [stdout] 20 | Err(e) => { return format!("**Failed to write to File {}: {}", filename, e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:27:90 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => { return format!("\n\t**Failed. Couldn't write to {}: {}", filename, e.description());}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:47:53 [INFO] [stdout] | [INFO] [stdout] 47 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => { return format!("**Failed {}", e.description()) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/file_io.rs:114:55 [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => { return format!("**Failed. {}", e.description()); }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/file_io.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => { return "**Failed".to_string().into_bytes(); }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/file_io.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | Err(e) => { return "**Failed {}".to_string().into_bytes(); }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client_upload.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let x = file_io::read_u8(path_to_file.clone().to_string()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "d95d76b03300d0d1727ff9b84b28230701ac45ea4f6d31cc248929bafa4130fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95d76b03300d0d1727ff9b84b28230701ac45ea4f6d31cc248929bafa4130fa", kill_on_drop: false }` [INFO] [stdout] d95d76b03300d0d1727ff9b84b28230701ac45ea4f6d31cc248929bafa4130fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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=warn" "-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" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f81c611bd28ccf4feb15c75d8f07c7ac00ff6db13cefea26b9dfe14c3f6081de [INFO] running `Command { std: "docker" "start" "-a" "f81c611bd28ccf4feb15c75d8f07c7ac00ff6db13cefea26b9dfe14c3f6081de", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/client_upload.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/aes_256.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/aes_256.rs:61:22 [INFO] [stderr] | [INFO] [stderr] 61 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/user.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / lazy_static! { [INFO] [stderr] 21 | | [INFO] [stderr] 22 | | static ref USER: Mutex = { [INFO] [stderr] 23 | | let m = Mutex::new(User::default()); [INFO] [stderr] 24 | | m [INFO] [stderr] 25 | | }; [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parser.rs:211:17 [INFO] [stderr] | [INFO] [stderr] 210 | process::exit(0x0f00); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] 211 | BytesMut::from("\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/parser.rs:247:17 [INFO] [stderr] | [INFO] [stderr] 246 | process::exit(0x0f00); [INFO] [stderr] | --------------------- any code following this expression is unreachable [INFO] [stderr] 247 | BytesMut::from("\n") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:20:86 [INFO] [stderr] | [INFO] [stderr] 20 | Err(e) => { return format!("**Failed to write to File {}: {}", filename, e.description()); }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:27:90 [INFO] [stderr] | [INFO] [stderr] 27 | Err(e) => { return format!("\n\t**Failed. Couldn't write to {}: {}", filename, e.description());}, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:47:53 [INFO] [stderr] | [INFO] [stderr] 47 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:58:53 [INFO] [stderr] | [INFO] [stderr] 58 | Err(e) => { return format!("**Failed {}", e.description()) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:107:53 [INFO] [stderr] | [INFO] [stderr] 107 | Err(e) => { return format!("**Failed {}", e.description()); }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/file_io.rs:114:55 [INFO] [stderr] | [INFO] [stderr] 114 | Err(e) => { return format!("**Failed. {}", e.description()); }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/file_io.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | Err(e) => { return "**Failed".to_string().into_bytes(); }, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/file_io.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | Err(e) => { return "**Failed {}".to_string().into_bytes(); }, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/client_upload.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | let x = file_io::read_u8(path_to_file.clone().to_string()); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: `tcp-client` (bin "tcp-client" test) generated 17 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tcp_client-5de3e86481540795) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f81c611bd28ccf4feb15c75d8f07c7ac00ff6db13cefea26b9dfe14c3f6081de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81c611bd28ccf4feb15c75d8f07c7ac00ff6db13cefea26b9dfe14c3f6081de", kill_on_drop: false }` [INFO] [stdout] f81c611bd28ccf4feb15c75d8f07c7ac00ff6db13cefea26b9dfe14c3f6081de