[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] checking HectorIX/tcp-client against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorIX/tcp-client on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d6368ca6f80d3a1ee7655449752a8a83dc87f048ae0bc0df8c271740ae5bfb7 [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" "5d6368ca6f80d3a1ee7655449752a8a83dc87f048ae0bc0df8c271740ae5bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d6368ca6f80d3a1ee7655449752a8a83dc87f048ae0bc0df8c271740ae5bfb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6368ca6f80d3a1ee7655449752a8a83dc87f048ae0bc0df8c271740ae5bfb7", kill_on_drop: false }` [INFO] [stdout] 5d6368ca6f80d3a1ee7655449752a8a83dc87f048ae0bc0df8c271740ae5bfb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb9364bff922e713d6bc1cc066243d217b836e80c872951f6529ab8573406afd [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" "eb9364bff922e713d6bc1cc066243d217b836e80c872951f6529ab8573406afd", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Checking cfg-if v0.1.1 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking futures v0.1.14 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking iovec v0.1.0 [INFO] [stderr] Checking net2 v0.2.29 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking bytes v0.4.4 [INFO] [stderr] Checking rpassword v0.4.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking mio v0.6.9 [INFO] [stderr] Checking tokio-io v0.1.2 [INFO] [stderr] Checking tokio-core v0.1.8 [INFO] [stderr] Checking 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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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 a macro (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 a macro (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: 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: 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: 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: 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: 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] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.60s [INFO] running `Command { std: "docker" "inspect" "eb9364bff922e713d6bc1cc066243d217b836e80c872951f6529ab8573406afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb9364bff922e713d6bc1cc066243d217b836e80c872951f6529ab8573406afd", kill_on_drop: false }` [INFO] [stdout] eb9364bff922e713d6bc1cc066243d217b836e80c872951f6529ab8573406afd