[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae3406bdc726c3d604969b1975eb21589d492d33 [INFO] testing HectorIX/tcp-client against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2Ftcp-client" "/workspace/builds/worker-74/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-74/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorIX/tcp-client on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-74/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c929d7cef1bfde6b7a3b6c6fc51295ff0f46913b6d4705248862bb48882f15a [INFO] running `Command { std: "docker" "start" "-a" "4c929d7cef1bfde6b7a3b6c6fc51295ff0f46913b6d4705248862bb48882f15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c929d7cef1bfde6b7a3b6c6fc51295ff0f46913b6d4705248862bb48882f15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c929d7cef1bfde6b7a3b6c6fc51295ff0f46913b6d4705248862bb48882f15a", kill_on_drop: false }` [INFO] [stdout] 4c929d7cef1bfde6b7a3b6c6fc51295ff0f46913b6d4705248862bb48882f15a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8f03b7535a63f844271c42ef65dd6aa6832401d0747af95ad84c17369d2a6fc [INFO] running `Command { std: "docker" "start" "-a" "c8f03b7535a63f844271c42ef65dd6aa6832401d0747af95ad84c17369d2a6fc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling log v0.3.8 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling futures v0.1.14 [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 rust-crypto v0.2.36 [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 bytes v0.4.4 [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 43.17s [INFO] running `Command { std: "docker" "inspect" "c8f03b7535a63f844271c42ef65dd6aa6832401d0747af95ad84c17369d2a6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f03b7535a63f844271c42ef65dd6aa6832401d0747af95ad84c17369d2a6fc", kill_on_drop: false }` [INFO] [stdout] c8f03b7535a63f844271c42ef65dd6aa6832401d0747af95ad84c17369d2a6fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78f70954f8e50c92f891a7e83f201541ce4a47af2cb59c2b72361276eb4d0c20 [INFO] running `Command { std: "docker" "start" "-a" "78f70954f8e50c92f891a7e83f201541ce4a47af2cb59c2b72361276eb4d0c20", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 27.94s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/tcp_client-5de3e86481540795) [INFO] running `Command { std: "docker" "inspect" "78f70954f8e50c92f891a7e83f201541ce4a47af2cb59c2b72361276eb4d0c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f70954f8e50c92f891a7e83f201541ce4a47af2cb59c2b72361276eb4d0c20", kill_on_drop: false }` [INFO] [stdout] 78f70954f8e50c92f891a7e83f201541ce4a47af2cb59c2b72361276eb4d0c20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16eb8a864598932c5a6bddd348723b88989bbd4d8d78ec3aa30926fd26f1735c [INFO] running `Command { std: "docker" "start" "-a" "16eb8a864598932c5a6bddd348723b88989bbd4d8d78ec3aa30926fd26f1735c", 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.07s [INFO] [stderr] Running unittests src/main.rs (/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" "16eb8a864598932c5a6bddd348723b88989bbd4d8d78ec3aa30926fd26f1735c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eb8a864598932c5a6bddd348723b88989bbd4d8d78ec3aa30926fd26f1735c", kill_on_drop: false }` [INFO] [stdout] 16eb8a864598932c5a6bddd348723b88989bbd4d8d78ec3aa30926fd26f1735c