[INFO] cloning repository https://github.com/jmg292/crypto_interop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jmg292/crypto_interop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg292%2Fcrypto_interop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg292%2Fcrypto_interop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3c79d1647434d814760119a8a67d727e6fea753a
[INFO] testing jmg292/crypto_interop against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjmg292%2Fcrypto_interop" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jmg292/crypto_interop on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jmg292/crypto_interop
[INFO] finished tweaking git repo https://github.com/jmg292/crypto_interop
[INFO] tweaked toml for git repo https://github.com/jmg292/crypto_interop written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jmg292/crypto_interop already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded global v0.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84887edb3d5a4b70b70c2d3964d4748bf458f4264cd5cb2f50569eab180b9bec
[INFO] running `Command { std: "docker" "start" "-a" "84887edb3d5a4b70b70c2d3964d4748bf458f4264cd5cb2f50569eab180b9bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84887edb3d5a4b70b70c2d3964d4748bf458f4264cd5cb2f50569eab180b9bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84887edb3d5a4b70b70c2d3964d4748bf458f4264cd5cb2f50569eab180b9bec", kill_on_drop: false }`
[INFO] [stdout] 84887edb3d5a4b70b70c2d3964d4748bf458f4264cd5cb2f50569eab180b9bec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a5ea6059b260b419a4d16c579c03941cd1aa40165bb6b50c72274e48159d102
[INFO] running `Command { std: "docker" "start" "-a" "6a5ea6059b260b419a4d16c579c03941cd1aa40165bb6b50c72274e48159d102", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling subtle v1.0.0
[INFO] [stderr]    Compiling subtle v2.2.3
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.8
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling zeroize v1.1.0
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling generic-array v0.14.3
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_hc v0.2.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling global v0.4.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling hmac v0.7.1
[INFO] [stderr]    Compiling sha2 v0.8.2
[INFO] [stderr]    Compiling hmac-drbg v0.2.0
[INFO] [stderr]    Compiling stream-cipher v0.4.1
[INFO] [stderr]    Compiling universal-hash v0.4.0
[INFO] [stderr]    Compiling aead v0.3.2
[INFO] [stderr]    Compiling chacha20 v0.4.3
[INFO] [stderr]    Compiling poly1305 v0.6.0
[INFO] [stderr]    Compiling chacha20poly1305 v0.5.1
[INFO] [stderr]    Compiling libsecp256k1 v0.3.5
[INFO] [stderr]    Compiling crypto_interop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `from_local_identity` is never used
[INFO] [stdout]    --> src/authentication.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl Handshake {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn from_local_identity(local_identity: LocalIdentity) -> Handshake {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/messaging/wrapper.rs:32:8
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl MessageWrapper {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 31  |
[INFO] [stdout] 32  |     fn new_private_key() -> SecretKey {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45  |     fn unwrap_public_key_string(public_key_string: &str) -> Result<PublicKey, ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     pub fn rotate_private_key(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn exchange_keys(&mut self, peer_public_key_string: &str) -> Result<(), ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_message_count(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn from_finalized_handshake(finalized_handshake: &Handshake) -> Result<MessageWrapper, ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_from_file`, `save_to_file`, and `from_file` are never used
[INFO] [stdout]    --> src/identity/objects.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl LocalIdentity {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn new_from_file(file_path: &str) -> Result<LocalIdentity, ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn save_to_file(&self, file_path: &Path) -> Result<bool, ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn from_file(file_path: &str) -> LocalIdentity {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_key_ref`, `authorize_key`, `authorize_key_string`, and `load` are never used
[INFO] [stdout]   --> src/identity/authorized_hosts.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AuthorizedHosts {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     pub fn get_key_ref(&self, fingerprint: &str) -> &RemoteIdentity {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn authorize_key(&mut self, remote_key: RemoteIdentity) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn authorize_key_string(&mut self, remote_key_string: &str) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn load(folder_path: &str) -> Result<AuthorizedHosts, ()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stdout]    |                                   ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:19:65
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stdout]    |                                                                 ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn save_public_key(file_path: &str) -> bool {
[INFO] [stdout]    |                                          ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8; 16]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:36:34
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub extern fn get_challenge() -> [u8; 16] {
[INFO] [stdout]    |                                  ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider passing a pointer to the array
[INFO] [stdout]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stdout]    |                                                 ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8; 193]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:59
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stdout]    |                                                           ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider passing a pointer to the array
[INFO] [stdout]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:46:54
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:46:76
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                                            ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:80:32
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/authentication.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stdout] 74 +                 _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/authentication.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 94 -                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stdout] 94 +                     _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/messaging/objects.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stdout] 48 +                 _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/messaging/objects.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 63 -                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stdout] 63 +                     _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.79s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "6a5ea6059b260b419a4d16c579c03941cd1aa40165bb6b50c72274e48159d102", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a5ea6059b260b419a4d16c579c03941cd1aa40165bb6b50c72274e48159d102", kill_on_drop: false }`
[INFO] [stdout] 6a5ea6059b260b419a4d16c579c03941cd1aa40165bb6b50c72274e48159d102
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b0342ab1ab9f2c34125a3bbe226daedff0a2940915fa8e3e44e67250f643371
[INFO] running `Command { std: "docker" "start" "-a" "3b0342ab1ab9f2c34125a3bbe226daedff0a2940915fa8e3e44e67250f643371", kill_on_drop: false }`
[INFO] [stderr]    Compiling crypto_interop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `from_local_identity` is never used
[INFO] [stdout]    --> src/authentication.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 21  | impl Handshake {
[INFO] [stdout]     | -------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn from_local_identity(local_identity: LocalIdentity) -> Handshake {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/messaging/wrapper.rs:32:8
[INFO] [stdout]     |
[INFO] [stdout] 30  | impl MessageWrapper {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 31  |
[INFO] [stdout] 32  |     fn new_private_key() -> SecretKey {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45  |     fn unwrap_public_key_string(public_key_string: &str) -> Result<PublicKey, ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     pub fn rotate_private_key(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn exchange_keys(&mut self, peer_public_key_string: &str) -> Result<(), ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub fn get_public_key(&self) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn get_message_count(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn from_finalized_handshake(finalized_handshake: &Handshake) -> Result<MessageWrapper, ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new_from_file`, `save_to_file`, and `from_file` are never used
[INFO] [stdout]    --> src/identity/objects.rs:169:8
[INFO] [stdout]     |
[INFO] [stdout] 145 | impl LocalIdentity {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn new_from_file(file_path: &str) -> Result<LocalIdentity, ()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 186 |     pub fn save_to_file(&self, file_path: &Path) -> Result<bool, ()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 210 |     pub fn from_file(file_path: &str) -> LocalIdentity {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `get_key_ref`, `authorize_key`, `authorize_key_string`, and `load` are never used
[INFO] [stdout]   --> src/identity/authorized_hosts.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl AuthorizedHosts {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 17 |
[INFO] [stdout] 18 |     pub fn get_key_ref(&self, fingerprint: &str) -> &RemoteIdentity {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn authorize_key(&mut self, remote_key: RemoteIdentity) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn authorize_key_string(&mut self, remote_key_string: &str) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn load(folder_path: &str) -> Result<AuthorizedHosts, ()> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stdout]    |                                   ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:19:65
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stdout]    |                                                                 ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:27:42
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn save_public_key(file_path: &str) -> bool {
[INFO] [stdout]    |                                          ^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `*const u8` and a length instead
[INFO] [stdout]    = note: string slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8; 16]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:36:34
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub extern fn get_challenge() -> [u8; 16] {
[INFO] [stdout]    |                                  ^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider passing a pointer to the array
[INFO] [stdout]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:49
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stdout]    |                                                 ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8; 193]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:41:59
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stdout]    |                                                           ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider passing a pointer to the array
[INFO] [stdout]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:46:54
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:46:76
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                                            ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:66:32
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:66:54
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:80:32
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                ^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stdout]   --> src/lib.rs:80:54
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stdout]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a raw pointer instead
[INFO] [stdout]    = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/authentication.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 74 -                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stdout] 74 +                 _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/authentication.rs:94:33
[INFO] [stdout]    |
[INFO] [stdout] 94 |                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 94 -                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stdout] 94 +                     _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/messaging/objects.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 48 -                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stdout] 48 +                 _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/messaging/objects.rs:63:33
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 63 -                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stdout] 63 +                     _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.68s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "3b0342ab1ab9f2c34125a3bbe226daedff0a2940915fa8e3e44e67250f643371", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b0342ab1ab9f2c34125a3bbe226daedff0a2940915fa8e3e44e67250f643371", kill_on_drop: false }`
[INFO] [stdout] 3b0342ab1ab9f2c34125a3bbe226daedff0a2940915fa8e3e44e67250f643371
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 2d54103401920658f11f89894d684d8762bbcd5488c432a731a3a07477ec62de
[INFO] running `Command { std: "docker" "start" "-a" "2d54103401920658f11f89894d684d8762bbcd5488c432a731a3a07477ec62de", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `from_local_identity` is never used
[INFO] [stderr]    --> src/authentication.rs:137:12
[INFO] [stderr]     |
[INFO] [stderr] 21  | impl Handshake {
[INFO] [stderr]     | -------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 137 |     pub fn from_local_identity(local_identity: LocalIdentity) -> Handshake {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/messaging/wrapper.rs:32:8
[INFO] [stderr]     |
[INFO] [stderr] 30  | impl MessageWrapper {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr] 31  |
[INFO] [stderr] 32  |     fn new_private_key() -> SecretKey {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45  |     fn unwrap_public_key_string(public_key_string: &str) -> Result<PublicKey, ()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 85  |     pub fn rotate_private_key(&mut self) {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 89  |     pub fn exchange_keys(&mut self, peer_public_key_string: &str) -> Result<(), ()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 97  |     pub fn get_public_key(&self) -> String {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn get_message_count(&self) -> u32 {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub fn from_finalized_handshake(finalized_handshake: &Handshake) -> Result<MessageWrapper, ()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new_from_file`, `save_to_file`, and `from_file` are never used
[INFO] [stderr]    --> src/identity/objects.rs:169:8
[INFO] [stderr]     |
[INFO] [stderr] 145 | impl LocalIdentity {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 169 |     fn new_from_file(file_path: &str) -> Result<LocalIdentity, ()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 186 |     pub fn save_to_file(&self, file_path: &Path) -> Result<bool, ()> {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 210 |     pub fn from_file(file_path: &str) -> LocalIdentity {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `get_key_ref`, `authorize_key`, `authorize_key_string`, and `load` are never used
[INFO] [stderr]   --> src/identity/authorized_hosts.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl AuthorizedHosts {
[INFO] [stderr]    | -------------------- associated items in this implementation
[INFO] [stderr] 17 |
[INFO] [stderr] 18 |     pub fn get_key_ref(&self, fingerprint: &str) -> &RemoteIdentity {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 30 |     pub fn authorize_key(&mut self, remote_key: RemoteIdentity) -> Result<(), ()> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn authorize_key_string(&mut self, remote_key_string: &str) -> Result<(), ()> {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 73 |     pub fn load(folder_path: &str) -> Result<AuthorizedHosts, ()> {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:19:35
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stderr]    |                                   ^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using `*const u8` and a length instead
[INFO] [stderr]    = note: string slices have no C equivalent
[INFO] [stderr]    = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:19:65
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub extern fn init(identity_file: &str, authorized_keys_folder: &str) {
[INFO] [stderr]    |                                                                 ^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using `*const u8` and a length instead
[INFO] [stderr]    = note: string slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `str`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:27:42
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub extern fn save_public_key(file_path: &str) -> bool {
[INFO] [stderr]    |                                          ^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using `*const u8` and a length instead
[INFO] [stderr]    = note: string slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8; 16]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:36:34
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub extern fn get_challenge() -> [u8; 16] {
[INFO] [stderr]    |                                  ^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider passing a pointer to the array
[INFO] [stderr]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:41:49
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stderr]    |                                                 ^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8; 193]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:41:59
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub extern fn get_challenge_response(challenge: &[u8]) -> [u8; 193] {
[INFO] [stderr]    |                                                           ^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider passing a pointer to the array
[INFO] [stderr]    = note: passing raw arrays by value is not FFI-safe
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:46:54
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                                      ^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:46:76
[INFO] [stderr]    |
[INFO] [stderr] 46 | pub extern fn finalize_challenge(challenge_response: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                                                            ^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:66:32
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                ^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:66:54
[INFO] [stderr]    |
[INFO] [stderr] 66 | pub extern fn encrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:80:32
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                ^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: `extern` fn uses type `[u8]`, which is not FFI-safe
[INFO] [stderr]   --> src/lib.rs:80:54
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub extern fn decrypt(message: &[u8], output_buffer: &mut [u8]) -> bool {
[INFO] [stderr]    |                                                      ^^^^^^^^^ not FFI-safe
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a raw pointer instead
[INFO] [stderr]    = note: slices have no C equivalent
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/authentication.rs:74:29
[INFO] [stderr]    |
[INFO] [stderr] 74 |                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 74 -                 _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stderr] 74 +                 _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/authentication.rs:94:33
[INFO] [stderr]    |
[INFO] [stderr] 94 |                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 94 -                     _ => panic!(format!("{} isn't in the range 0..193, how did this even happen?", i))
[INFO] [stderr] 94 +                     _ => panic!("{} isn't in the range 0..193, how did this even happen?", i)
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/messaging/objects.rs:48:29
[INFO] [stderr]    |
[INFO] [stderr] 48 |                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 48 -                 _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stderr] 48 +                 _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/messaging/objects.rs:63:33
[INFO] [stderr]    |
[INFO] [stderr] 63 |                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 63 -                     _ => panic!(format!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len()))
[INFO] [stderr] 63 +                     _ => panic!("{} is not a number in 0..{}.  How did this even happen?", i, Header::len())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `crypto_interop` (lib test) generated 20 warnings (run `cargo fix --lib -p crypto_interop --tests` to apply 4 suggestions)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypto_interop-1ee4c049668e0f3b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "2d54103401920658f11f89894d684d8762bbcd5488c432a731a3a07477ec62de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d54103401920658f11f89894d684d8762bbcd5488c432a731a3a07477ec62de", kill_on_drop: false }`
[INFO] [stdout] 2d54103401920658f11f89894d684d8762bbcd5488c432a731a3a07477ec62de
