Oct 21 20:37:41.653 INFO checking Riamse/otters against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 20:37:41.653 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-1/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 21 20:37:42.172 INFO blam! ca4a85d1c68b9ff21cb09df4341c7ade460382b55b0fc12a601ef8d3a377eb40 Oct 21 20:37:42.180 INFO running `"docker" "start" "-a" "ca4a85d1c68b9ff21cb09df4341c7ade460382b55b0fc12a601ef8d3a377eb40"` Oct 21 20:37:42.984 INFO kablam! usermod: no changes Oct 21 20:37:43.088 INFO kablam! Checking rust-gmp v0.5.0 Oct 21 20:37:43.092 INFO kablam! Checking rust-crypto v0.2.36 Oct 21 20:37:49.012 INFO kablam! Checking otr v0.1.0 (/source/otr) Oct 21 20:37:49.012 INFO kablam! Checking otters v0.1.0 (/source/otters) Oct 21 20:37:50.265 INFO kablam! warning: unused import: `std` Oct 21 20:37:50.265 INFO kablam! --> otr/src/math/dsa.rs:1:5 Oct 21 20:37:50.266 INFO kablam! | Oct 21 20:37:50.266 INFO kablam! 1 | use std; Oct 21 20:37:50.266 INFO kablam! | ^^^ Oct 21 20:37:50.266 INFO kablam! | Oct 21 20:37:50.267 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 20:37:50.267 INFO kablam! Oct 21 20:37:50.267 INFO kablam! warning: unused import: `crypto::digest::Digest` Oct 21 20:37:50.267 INFO kablam! --> otr/src/math/dsa.rs:3:5 Oct 21 20:37:50.268 INFO kablam! | Oct 21 20:37:50.268 INFO kablam! 3 | use crypto::digest::Digest; Oct 21 20:37:50.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.269 INFO kablam! Oct 21 20:37:50.269 INFO kablam! warning: unused import: `crypto::sha2::Sha256` Oct 21 20:37:50.269 INFO kablam! --> otr/src/math/dsa.rs:4:5 Oct 21 20:37:50.269 INFO kablam! | Oct 21 20:37:50.270 INFO kablam! 4 | use crypto::sha2::Sha256; Oct 21 20:37:50.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.270 INFO kablam! Oct 21 20:37:50.271 INFO kablam! warning: unused import: `super::super::ake` Oct 21 20:37:50.271 INFO kablam! --> otr/src/math/dsa.rs:7:5 Oct 21 20:37:50.271 INFO kablam! | Oct 21 20:37:50.271 INFO kablam! 7 | use super::super::ake; Oct 21 20:37:50.272 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.272 INFO kablam! Oct 21 20:37:50.272 INFO kablam! warning: unused imports: `aes`, `mpi` Oct 21 20:37:50.272 INFO kablam! --> otr/src/math/dsa.rs:8:13 Oct 21 20:37:50.273 INFO kablam! | Oct 21 20:37:50.273 INFO kablam! 8 | use super::{aes, mpi}; Oct 21 20:37:50.273 INFO kablam! | ^^^ ^^^ Oct 21 20:37:50.274 INFO kablam! Oct 21 20:37:50.849 INFO kablam! warning: function is never used: `encrypt` Oct 21 20:37:50.849 INFO kablam! --> otr/src/math/aes.rs:13:1 Oct 21 20:37:50.849 INFO kablam! | Oct 21 20:37:50.849 INFO kablam! 13 | pub fn encrypt(stuff: &[u8], key: &[u8]) -> Vec { Oct 21 20:37:50.849 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.849 INFO kablam! | Oct 21 20:37:50.849 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 20:37:50.849 INFO kablam! Oct 21 20:37:50.849 INFO kablam! warning: function is never used: `decrypt` Oct 21 20:37:50.849 INFO kablam! --> otr/src/math/aes.rs:17:1 Oct 21 20:37:50.849 INFO kablam! | Oct 21 20:37:50.849 INFO kablam! 17 | pub fn decrypt(stuff: &[u8], key: &[u8]) -> Vec { Oct 21 20:37:50.849 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.849 INFO kablam! Oct 21 20:37:50.849 INFO kablam! warning: struct is never constructed: `Aes128Ctr` Oct 21 20:37:50.849 INFO kablam! --> otr/src/math/aes.rs:21:1 Oct 21 20:37:50.849 INFO kablam! | Oct 21 20:37:50.849 INFO kablam! 21 | struct Aes128Ctr { Oct 21 20:37:50.849 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 21 20:37:50.849 INFO kablam! Oct 21 20:37:50.849 INFO kablam! warning: method is never used: `new` Oct 21 20:37:50.849 INFO kablam! --> otr/src/math/aes.rs:26:5 Oct 21 20:37:50.849 INFO kablam! | Oct 21 20:37:50.849 INFO kablam! 26 | fn new(key: &[u8]) -> Aes128Ctr { Oct 21 20:37:50.849 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.849 INFO kablam! Oct 21 20:37:50.849 INFO kablam! warning: method is never used: `encrypt` Oct 21 20:37:50.849 INFO kablam! --> otr/src/math/aes.rs:32:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 32 | fn encrypt(&mut self, stuff: &[u8]) -> Result, crypto::symmetriccipher::SymmetricCipherError> { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `decrypt` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/aes.rs:51:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 51 | fn decrypt(&mut self, stuff: &[u8]) -> Result, crypto::symmetriccipher::SymmetricCipherError> { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: constant item is never used: `P` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:13:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 13 | / pub const P: &'static str = "\ Oct 21 20:37:50.850 INFO kablam! 14 | | FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1\ Oct 21 20:37:50.850 INFO kablam! 15 | | 29024E088A67CC74020BBEA63B139B22514A08798E3404DD\ Oct 21 20:37:50.850 INFO kablam! 16 | | EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245\ Oct 21 20:37:50.850 INFO kablam! ... | Oct 21 20:37:50.850 INFO kablam! 20 | | 83655D23DCA3AD961C62F356208552BB9ED529077096966D\ Oct 21 20:37:50.850 INFO kablam! 21 | | 670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF"; Oct 21 20:37:50.850 INFO kablam! | |__________________________________________________^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: constant item is never used: `G` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:23:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 23 | pub const G: &'static str = "2"; Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: struct is never constructed: `DhKeypair` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:27:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 27 | pub struct DhKeypair { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: variant is never constructed: `PubkeyInvalid` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:36:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 36 | PubkeyInvalid, Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `new` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:41:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 41 | pub fn new() -> Result { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `commit_aes` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:61:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 61 | pub fn commit_aes(&self) -> Vec { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `commit_sha` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:68:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 68 | pub fn commit_sha(&self) -> [u8; 32] { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `make_secret` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/diffie_hellman.rs:79:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 79 | pub fn make_secret(&self, other_pubkey: &Mpz) -> Result { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: function is never used: `random_prime` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/dsa.rs:10:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 10 | pub fn random_prime(bytes: usize) -> Mpz { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: function is never used: `is_prime` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/dsa.rs:14:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 14 | pub fn is_prime(n: &Mpz) -> bool { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: struct is never constructed: `Dsa` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/dsa.rs:56:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 56 | pub struct Dsa { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: method is never used: `new` Oct 21 20:37:50.850 INFO kablam! --> otr/src/math/dsa.rs:65:5 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 65 | fn new() -> Dsa { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: struct is never constructed: `AkeKeys` Oct 21 20:37:50.850 INFO kablam! --> otr/src/ake.rs:11:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.850 INFO kablam! 11 | pub struct AkeKeys { Oct 21 20:37:50.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.850 INFO kablam! Oct 21 20:37:50.850 INFO kablam! warning: struct is never constructed: `AkeSession` Oct 21 20:37:50.850 INFO kablam! --> otr/src/ake.rs:22:1 Oct 21 20:37:50.850 INFO kablam! | Oct 21 20:37:50.851 INFO kablam! 22 | pub struct AkeSession<'a> { Oct 21 20:37:50.851 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.851 INFO kablam! Oct 21 20:37:50.851 INFO kablam! warning: method is never used: `new` Oct 21 20:37:50.851 INFO kablam! --> otr/src/ake.rs:30:5 Oct 21 20:37:50.851 INFO kablam! | Oct 21 20:37:50.851 INFO kablam! 30 | pub fn new(dh_keypair: &'a dh::DhKeypair, other_pubkey: Mpz, secret: Mpz) -> AkeSession { Oct 21 20:37:50.851 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.851 INFO kablam! Oct 21 20:37:50.851 INFO kablam! warning: method is never used: `generate_auth_keys` Oct 21 20:37:50.851 INFO kablam! --> otr/src/ake.rs:36:5 Oct 21 20:37:50.851 INFO kablam! | Oct 21 20:37:50.851 INFO kablam! 36 | fn generate_auth_keys(secret: &Mpz) -> AkeKeys { Oct 21 20:37:50.851 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.851 INFO kablam! Oct 21 20:37:50.900 INFO kablam! warning: unused import: `std` Oct 21 20:37:50.900 INFO kablam! --> otr/src/math/dsa.rs:1:5 Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! 1 | use std; Oct 21 20:37:50.900 INFO kablam! | ^^^ Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 20:37:50.900 INFO kablam! Oct 21 20:37:50.900 INFO kablam! warning: unused import: `crypto::digest::Digest` Oct 21 20:37:50.900 INFO kablam! --> otr/src/math/dsa.rs:3:5 Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! 3 | use crypto::digest::Digest; Oct 21 20:37:50.900 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.900 INFO kablam! Oct 21 20:37:50.900 INFO kablam! warning: unused import: `crypto::sha2::Sha256` Oct 21 20:37:50.900 INFO kablam! --> otr/src/math/dsa.rs:4:5 Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! 4 | use crypto::sha2::Sha256; Oct 21 20:37:50.900 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.900 INFO kablam! Oct 21 20:37:50.900 INFO kablam! warning: unused import: `super::super::ake` Oct 21 20:37:50.900 INFO kablam! --> otr/src/math/dsa.rs:7:5 Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! 7 | use super::super::ake; Oct 21 20:37:50.900 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 21 20:37:50.900 INFO kablam! Oct 21 20:37:50.900 INFO kablam! warning: unused imports: `aes`, `mpi` Oct 21 20:37:50.900 INFO kablam! --> otr/src/math/dsa.rs:8:13 Oct 21 20:37:50.900 INFO kablam! | Oct 21 20:37:50.900 INFO kablam! 8 | use super::{aes, mpi}; Oct 21 20:37:50.900 INFO kablam! | ^^^ ^^^ Oct 21 20:37:50.900 INFO kablam! Oct 21 20:37:51.104 INFO kablam! warning: unused variable: `p` Oct 21 20:37:51.104 INFO kablam! --> otr/src/math/dsa.rs:112:13 Oct 21 20:37:51.104 INFO kablam! | Oct 21 20:37:51.104 INFO kablam! 112 | let p = random_prime(4); Oct 21 20:37:51.104 INFO kablam! | ^ help: consider using `_p` instead Oct 21 20:37:51.104 INFO kablam! | Oct 21 20:37:51.104 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 21 20:37:51.104 INFO kablam! Oct 21 20:37:51.152 INFO kablam! warning: field is never used: `dh_keypair` Oct 21 20:37:51.152 INFO kablam! --> otr/src/ake.rs:23:5 Oct 21 20:37:51.152 INFO kablam! | Oct 21 20:37:51.152 INFO kablam! 23 | dh_keypair: &'a dh::DhKeypair, Oct 21 20:37:51.152 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 20:37:51.152 INFO kablam! | Oct 21 20:37:51.152 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 20:37:51.152 INFO kablam! Oct 21 20:37:51.152 INFO kablam! warning: field is never used: `other_pubkey` Oct 21 20:37:51.152 INFO kablam! --> otr/src/ake.rs:24:5 Oct 21 20:37:51.152 INFO kablam! | Oct 21 20:37:51.152 INFO kablam! 24 | other_pubkey: Mpz, Oct 21 20:37:51.152 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 21 20:37:51.152 INFO kablam! Oct 21 20:37:51.152 INFO kablam! warning: field is never used: `secret` Oct 21 20:37:51.152 INFO kablam! --> otr/src/ake.rs:25:5 Oct 21 20:37:51.152 INFO kablam! | Oct 21 20:37:51.152 INFO kablam! 25 | secret: Mpz, Oct 21 20:37:51.152 INFO kablam! | ^^^^^^^^^^^ Oct 21 20:37:51.152 INFO kablam! Oct 21 20:37:51.192 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 8.17s Oct 21 20:37:51.193 INFO kablam! su: No module specific data is present Oct 21 20:37:51.733 INFO running `"docker" "rm" "-f" "ca4a85d1c68b9ff21cb09df4341c7ade460382b55b0fc12a601ef8d3a377eb40"` Oct 21 20:37:52.012 INFO blam! ca4a85d1c68b9ff21cb09df4341c7ade460382b55b0fc12a601ef8d3a377eb40