[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorIX/tcp-client on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-4/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded net2 v0.2.29 [INFO] [stderr] Downloaded rpassword v0.4.0 [INFO] [stderr] Downloaded redox_syscall v0.1.24 [INFO] [stderr] Downloaded lazycell v0.4.0 [INFO] [stderr] Downloaded bytes v0.4.4 [INFO] [stderr] Downloaded tokio-io v0.1.2 [INFO] [stderr] Downloaded tokio-core v0.1.8 [INFO] [stderr] Downloaded mio v0.6.9 [INFO] [stderr] Downloaded cfg-if v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01935310c692f6d143bc5e8d20da6849a679155b823286ee3dc3136f80f5b7cf [INFO] running `Command { std: "docker" "start" "-a" "01935310c692f6d143bc5e8d20da6849a679155b823286ee3dc3136f80f5b7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01935310c692f6d143bc5e8d20da6849a679155b823286ee3dc3136f80f5b7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01935310c692f6d143bc5e8d20da6849a679155b823286ee3dc3136f80f5b7cf", kill_on_drop: false }` [INFO] [stdout] 01935310c692f6d143bc5e8d20da6849a679155b823286ee3dc3136f80f5b7cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e72eed8a3d4b67801f40075ecb1e0b76b088abccc648ffac8a0293306216191 [INFO] running `Command { std: "docker" "start" "-a" "1e72eed8a3d4b67801f40075ecb1e0b76b088abccc648ffac8a0293306216191", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling futures v0.1.14 [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 iovec v0.1.0 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling rpassword v0.4.0 [INFO] [stderr] Compiling bytes v0.4.4 [INFO] [stderr] Compiling rust-crypto v0.2.36 [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 16.68s [INFO] running `Command { std: "docker" "inspect" "1e72eed8a3d4b67801f40075ecb1e0b76b088abccc648ffac8a0293306216191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e72eed8a3d4b67801f40075ecb1e0b76b088abccc648ffac8a0293306216191", kill_on_drop: false }` [INFO] [stdout] 1e72eed8a3d4b67801f40075ecb1e0b76b088abccc648ffac8a0293306216191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8abc56a2d96d04ba1f285018e5f9220357ab7d0c8bbbbe450008ff4cb65e67fb [INFO] running `Command { std: "docker" "start" "-a" "8abc56a2d96d04ba1f285018e5f9220357ab7d0c8bbbbe450008ff4cb65e67fb", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.74s [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8abc56a2d96d04ba1f285018e5f9220357ab7d0c8bbbbe450008ff4cb65e67fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8abc56a2d96d04ba1f285018e5f9220357ab7d0c8bbbbe450008ff4cb65e67fb", kill_on_drop: false }` [INFO] [stdout] 8abc56a2d96d04ba1f285018e5f9220357ab7d0c8bbbbe450008ff4cb65e67fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7725c0e2552c496bf17235c313ad39e62be50e556730e22912ae7777c3fcd45 [INFO] running `Command { std: "docker" "start" "-a" "a7725c0e2552c496bf17235c313ad39e62be50e556730e22912ae7777c3fcd45", 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: 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: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tcp_client-0abd469be844ba6e) [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" "a7725c0e2552c496bf17235c313ad39e62be50e556730e22912ae7777c3fcd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7725c0e2552c496bf17235c313ad39e62be50e556730e22912ae7777c3fcd45", kill_on_drop: false }` [INFO] [stdout] a7725c0e2552c496bf17235c313ad39e62be50e556730e22912ae7777c3fcd45