[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 master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNullaDev%2Fhmcode" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NullaDev/hmcode on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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-3/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" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a851ac9e048b58f2ed1fc7a3c5fc5ed02b5360a196382f1ff27753616cf55271 [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" "a851ac9e048b58f2ed1fc7a3c5fc5ed02b5360a196382f1ff27753616cf55271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a851ac9e048b58f2ed1fc7a3c5fc5ed02b5360a196382f1ff27753616cf55271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a851ac9e048b58f2ed1fc7a3c5fc5ed02b5360a196382f1ff27753616cf55271", kill_on_drop: false }` [INFO] [stdout] a851ac9e048b58f2ed1fc7a3c5fc5ed02b5360a196382f1ff27753616cf55271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 254285041f506e9a20b19c379b611730ec791eaea4ceb59ce1bf566f509d782a [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" "254285041f506e9a20b19c379b611730ec791eaea4ceb59ce1bf566f509d782a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => std::panic::panic_any(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 0.87s [INFO] running `Command { std: "docker" "inspect" "254285041f506e9a20b19c379b611730ec791eaea4ceb59ce1bf566f509d782a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "254285041f506e9a20b19c379b611730ec791eaea4ceb59ce1bf566f509d782a", kill_on_drop: false }` [INFO] [stdout] 254285041f506e9a20b19c379b611730ec791eaea4ceb59ce1bf566f509d782a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e85bf2a423aa127e7593324a9c880e63e0dfcc18700bdced1b37ef1d5c013a7 [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" "1e85bf2a423aa127e7593324a9c880e63e0dfcc18700bdced1b37ef1d5c013a7", 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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 97 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 104 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 272 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 279 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 301 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 310 | Err(info) => std::panic::panic_any(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 0.90s [INFO] running `Command { std: "docker" "inspect" "1e85bf2a423aa127e7593324a9c880e63e0dfcc18700bdced1b37ef1d5c013a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e85bf2a423aa127e7593324a9c880e63e0dfcc18700bdced1b37ef1d5c013a7", kill_on_drop: false }` [INFO] [stdout] 1e85bf2a423aa127e7593324a9c880e63e0dfcc18700bdced1b37ef1d5c013a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1783edf6b1e5eafa81cd073284d05e5b18856662fdda5f45509980b176ac1538 [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" "1783edf6b1e5eafa81cd073284d05e5b18856662fdda5f45509980b176ac1538", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 97 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 104 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 272 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 279 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 301 | Err(info) => std::panic::panic_any(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] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 310 | Err(info) => std::panic::panic_any(info), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hmcode-5853acfcdb15ae2d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test byte_lib::processor::test_bits2byte ... ok [INFO] [stdout] test byte_lib::processor::test_bytes2int ... ok [INFO] [stdout] test byte_lib::processor::test_bytes2short ... ok [INFO] [stdout] test byte_lib::processor::test_int2bytes ... ok [INFO] [stdout] test byte_lib::processor::test_byte2bits ... ok [INFO] [stdout] test byte_lib::processor::test_short2bytes ... 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" "1783edf6b1e5eafa81cd073284d05e5b18856662fdda5f45509980b176ac1538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1783edf6b1e5eafa81cd073284d05e5b18856662fdda5f45509980b176ac1538", kill_on_drop: false }` [INFO] [stdout] 1783edf6b1e5eafa81cd073284d05e5b18856662fdda5f45509980b176ac1538