[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] checking NullaDev/hmcode against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [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 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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] ac6416e925977ad83a34714693726710b62a0dd5a2773f290961dd382b9aab94 [INFO] running `Command { std: "docker" "start" "-a" "ac6416e925977ad83a34714693726710b62a0dd5a2773f290961dd382b9aab94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac6416e925977ad83a34714693726710b62a0dd5a2773f290961dd382b9aab94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6416e925977ad83a34714693726710b62a0dd5a2773f290961dd382b9aab94", kill_on_drop: false }` [INFO] [stdout] ac6416e925977ad83a34714693726710b62a0dd5a2773f290961dd382b9aab94 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fc156cb5ef7661ac3c701806a545b0b76d84c3791f3990aa349a40c6fc3a3b4 [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" "6fc156cb5ef7661ac3c701806a545b0b76d84c3791f3990aa349a40c6fc3a3b4", kill_on_drop: false }` [INFO] [stderr] Checking 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] [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 dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "6fc156cb5ef7661ac3c701806a545b0b76d84c3791f3990aa349a40c6fc3a3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc156cb5ef7661ac3c701806a545b0b76d84c3791f3990aa349a40c6fc3a3b4", kill_on_drop: false }` [INFO] [stdout] 6fc156cb5ef7661ac3c701806a545b0b76d84c3791f3990aa349a40c6fc3a3b4