[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 master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [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 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba12a06e64367b0113c3dc1336e41f2b2c841fb7f311c476542e332d1414e1b9 [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" "ba12a06e64367b0113c3dc1336e41f2b2c841fb7f311c476542e332d1414e1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba12a06e64367b0113c3dc1336e41f2b2c841fb7f311c476542e332d1414e1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba12a06e64367b0113c3dc1336e41f2b2c841fb7f311c476542e332d1414e1b9", kill_on_drop: false }` [INFO] [stdout] ba12a06e64367b0113c3dc1336e41f2b2c841fb7f311c476542e332d1414e1b9 [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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c9c9ead950e94287fb09791977cedffdf6c3889873c0547e8955b9b53586926 [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" "2c9c9ead950e94287fb09791977cedffdf6c3889873c0547e8955b9b53586926", 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [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.80s [INFO] running `Command { std: "docker" "inspect" "2c9c9ead950e94287fb09791977cedffdf6c3889873c0547e8955b9b53586926", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9c9ead950e94287fb09791977cedffdf6c3889873c0547e8955b9b53586926", kill_on_drop: false }` [INFO] [stdout] 2c9c9ead950e94287fb09791977cedffdf6c3889873c0547e8955b9b53586926