[INFO] cloning repository https://github.com/NullaDev/hmcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NullaDev/hmcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullaDev%2Fhmcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullaDev%2Fhmcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54ea0010ad7714ccce6597d0c9ee18631019371d [INFO] testing NullaDev/hmcode against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullaDev%2Fhmcode" "/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/NullaDev/hmcode on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NullaDev/hmcode [INFO] finished tweaking git repo https://github.com/NullaDev/hmcode [INFO] tweaked toml for git repo https://github.com/NullaDev/hmcode written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/NullaDev/hmcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 283d83ba4d48d389a2a56dac40e7e2804ef0733dc0c0cf40eaf536471ac12d1a [INFO] running `Command { std: "docker" "start" "-a" "283d83ba4d48d389a2a56dac40e7e2804ef0733dc0c0cf40eaf536471ac12d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "283d83ba4d48d389a2a56dac40e7e2804ef0733dc0c0cf40eaf536471ac12d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283d83ba4d48d389a2a56dac40e7e2804ef0733dc0c0cf40eaf536471ac12d1a", kill_on_drop: false }` [INFO] [stdout] 283d83ba4d48d389a2a56dac40e7e2804ef0733dc0c0cf40eaf536471ac12d1a [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b38580ffa6c691087d1d4ea9f05a82b06de29f9d821f09fbccb0046693de29a2 [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" "b38580ffa6c691087d1d4ea9f05a82b06de29f9d821f09fbccb0046693de29a2", kill_on_drop: false }` [INFO] [stderr] Compiling hmcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `int2bytes` [INFO] [stdout] --> src/byte_lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn int2bytes(value: i32) -> [u8; 4] { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytes2int` [INFO] [stdout] --> src/byte_lib.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn bytes2int(bytes: &[u8]) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bytes2short` [INFO] [stdout] --> src/byte_lib.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn bytes2short(bytes: &[u8]) -> i16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect` [INFO] [stdout] --> src/byte_lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(container: &mut Vec, appendence: &Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_final` [INFO] [stdout] --> src/packet_lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_final(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/packet_lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_index(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_packed_bytes` [INFO] [stdout] --> src/packet_lib.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn from_packed_bytes(data: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `restore_single_packet` [INFO] [stdout] --> src/packet_lib.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn restore_single_packet(packet: &mut HammingPacket) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_multi_packet` [INFO] [stdout] --> src/packet_lib.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn handle_multi_packet(data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_existed_pak` [INFO] [stdout] --> src/packet_lib.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn handle_existed_pak(data: &Vec) -> HammingPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:310:33 [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "b38580ffa6c691087d1d4ea9f05a82b06de29f9d821f09fbccb0046693de29a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b38580ffa6c691087d1d4ea9f05a82b06de29f9d821f09fbccb0046693de29a2", kill_on_drop: false }` [INFO] [stdout] b38580ffa6c691087d1d4ea9f05a82b06de29f9d821f09fbccb0046693de29a2 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d649a1a777ecde75631b6ec2d63a1d25222d8bb2ce25dc5cb909c4980d577391 [INFO] running `Command { std: "docker" "start" "-a" "d649a1a777ecde75631b6ec2d63a1d25222d8bb2ce25dc5cb909c4980d577391", kill_on_drop: false }` [INFO] [stderr] Compiling hmcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `connect` [INFO] [stdout] --> src/byte_lib.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn connect(container: &mut Vec, appendence: &Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_final` [INFO] [stdout] --> src/packet_lib.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_final(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_index` [INFO] [stdout] --> src/packet_lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_index(&self) -> i16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_packed_bytes` [INFO] [stdout] --> src/packet_lib.rs:135:16 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn from_packed_bytes(data: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `restore_single_packet` [INFO] [stdout] --> src/packet_lib.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn restore_single_packet(packet: &mut HammingPacket) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_multi_packet` [INFO] [stdout] --> src/packet_lib.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn handle_multi_packet(data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_existed_pak` [INFO] [stdout] --> src/packet_lib.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn handle_existed_pak(data: &Vec) -> HammingPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:97:45 [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:104:45 [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:279:33 [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/packet_lib.rs:310:33 [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => panic!(info), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => panic!("{}", info), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "d649a1a777ecde75631b6ec2d63a1d25222d8bb2ce25dc5cb909c4980d577391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d649a1a777ecde75631b6ec2d63a1d25222d8bb2ce25dc5cb909c4980d577391", kill_on_drop: false }` [INFO] [stdout] d649a1a777ecde75631b6ec2d63a1d25222d8bb2ce25dc5cb909c4980d577391 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 14a6d79b7d2b058416330a04c099346ce0e269a997c589cc1bcfee1c78f8e862 [INFO] running `Command { std: "docker" "start" "-a" "14a6d79b7d2b058416330a04c099346ce0e269a997c589cc1bcfee1c78f8e862", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `connect` [INFO] [stderr] --> src/byte_lib.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn connect(container: &mut Vec, appendence: &Vec) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_final` [INFO] [stderr] --> src/packet_lib.rs:50:16 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn is_final(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_index` [INFO] [stderr] --> src/packet_lib.rs:54:16 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn get_index(&self) -> i16 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_packed_bytes` [INFO] [stderr] --> src/packet_lib.rs:135:16 [INFO] [stderr] | [INFO] [stderr] 135 | pub fn from_packed_bytes(data: &Vec) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `restore_single_packet` [INFO] [stderr] --> src/packet_lib.rs:276:12 [INFO] [stderr] | [INFO] [stderr] 276 | pub fn restore_single_packet(packet: &mut HammingPacket) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `handle_multi_packet` [INFO] [stderr] --> src/packet_lib.rs:283:12 [INFO] [stderr] | [INFO] [stderr] 283 | pub fn handle_multi_packet(data: &Vec) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `handle_existed_pak` [INFO] [stderr] --> src/packet_lib.rs:307:12 [INFO] [stderr] | [INFO] [stderr] 307 | pub fn handle_existed_pak(data: &Vec) -> HammingPacket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:97:45 [INFO] [stderr] | [INFO] [stderr] 97 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 97 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:104:45 [INFO] [stderr] | [INFO] [stderr] 104 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 104 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:272:33 [INFO] [stderr] | [INFO] [stderr] 272 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 272 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:279:33 [INFO] [stderr] | [INFO] [stderr] 279 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 279 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:301:41 [INFO] [stderr] | [INFO] [stderr] 301 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 301 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/packet_lib.rs:310:33 [INFO] [stderr] | [INFO] [stderr] 310 | Err(info) => panic!(info), [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 310 | Err(info) => panic!("{}", info), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `hmcode` (bin "hmcode" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hmcode-41ffa74b023e2822) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test byte_lib::processor::test_bits2byte ... ok [INFO] [stdout] test byte_lib::processor::test_bytes2short ... ok [INFO] [stdout] test byte_lib::processor::test_bytes2int ... ok [INFO] [stdout] test byte_lib::processor::test_int2bytes ... ok [INFO] [stdout] test byte_lib::processor::test_short2bytes ... ok [INFO] [stdout] test byte_lib::processor::test_byte2bits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "14a6d79b7d2b058416330a04c099346ce0e269a997c589cc1bcfee1c78f8e862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14a6d79b7d2b058416330a04c099346ce0e269a997c589cc1bcfee1c78f8e862", kill_on_drop: false }` [INFO] [stdout] 14a6d79b7d2b058416330a04c099346ce0e269a997c589cc1bcfee1c78f8e862