[INFO] fetching crate shadowsocks-crypto 0.1.0... [INFO] testing shadowsocks-crypto-0.1.0 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] extracting crate shadowsocks-crypto 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate shadowsocks-crypto 0.1.0 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate shadowsocks-crypto 0.1.0 [INFO] finished tweaking crates.io crate shadowsocks-crypto 0.1.0 [INFO] tweaked toml for crates.io crate shadowsocks-crypto 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74a2c22bcd1acde3b1faa6ab356dd1ad45ba54d4c3c0729b6b89ad9a0f33c2e3 [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" "74a2c22bcd1acde3b1faa6ab356dd1ad45ba54d4c3c0729b6b89ad9a0f33c2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a2c22bcd1acde3b1faa6ab356dd1ad45ba54d4c3c0729b6b89ad9a0f33c2e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a2c22bcd1acde3b1faa6ab356dd1ad45ba54d4c3c0729b6b89ad9a0f33c2e3", kill_on_drop: false }` [INFO] [stdout] 74a2c22bcd1acde3b1faa6ab356dd1ad45ba54d4c3c0729b6b89ad9a0f33c2e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", 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] 526dc6b3e81a37da9980b1c8686f99693d2fbccc8695f767bbea95b743149f99 [INFO] running `Command { std: "docker" "start" "-a" "526dc6b3e81a37da9980b1c8686f99693d2fbccc8695f767bbea95b743149f99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crypto2 v0.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling shadowsocks-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl_block_cipher_with_ofb_mode!(Aes128Ofb, Aes128); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | impl_block_cipher_with_ofb_mode!(Aes192Ofb, Aes192); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | impl_block_cipher_with_ofb_mode!(Aes256Ofb, Aes256); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | impl_block_cipher_with_ofb_mode!(Camellia128Ofb, Camellia128); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | impl_block_cipher_with_ofb_mode!(Camellia192Ofb, Camellia192); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | impl_block_cipher_with_ofb_mode!(Camellia256Ofb, Camellia256); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub const MIN_KEY_LEN: usize = crypto2::streamcipher::Rc4::MIN_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MAX_KEY_LEN: usize = crypto2::streamcipher::Rc4::MAX_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MIN_KEY_LEN: usize = 1; // In bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MAX_KEY_LEN: usize = usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `key_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn key_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iv_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn iv_len(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.90s [INFO] running `Command { std: "docker" "inspect" "526dc6b3e81a37da9980b1c8686f99693d2fbccc8695f767bbea95b743149f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "526dc6b3e81a37da9980b1c8686f99693d2fbccc8695f767bbea95b743149f99", kill_on_drop: false }` [INFO] [stdout] 526dc6b3e81a37da9980b1c8686f99693d2fbccc8695f767bbea95b743149f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", 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] ab067104e8ff4b6a6114cad2957167c59a2f7e3918f543c34dce64da8b876f72 [INFO] running `Command { std: "docker" "start" "-a" "ab067104e8ff4b6a6114cad2957167c59a2f7e3918f543c34dce64da8b876f72", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl_block_cipher_with_ofb_mode!(Aes128Ofb, Aes128); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | impl_block_cipher_with_ofb_mode!(Aes192Ofb, Aes192); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | impl_block_cipher_with_ofb_mode!(Aes256Ofb, Aes256); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | impl_block_cipher_with_ofb_mode!(Camellia128Ofb, Camellia128); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | impl_block_cipher_with_ofb_mode!(Camellia192Ofb, Camellia192); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | impl_block_cipher_with_ofb_mode!(Camellia256Ofb, Camellia256); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub const MIN_KEY_LEN: usize = crypto2::streamcipher::Rc4::MIN_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MAX_KEY_LEN: usize = crypto2::streamcipher::Rc4::MAX_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MIN_KEY_LEN: usize = 1; // In bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MAX_KEY_LEN: usize = usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `key_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn key_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iv_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn iv_len(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shadowsocks-crypto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/cipher.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut cipher = Cipher::new(kind, &key, &salt); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v1/cipher.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut cipher = Cipher::new(kind, &key, &iv); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | impl_block_cipher_with_ofb_mode!(Aes128Ofb, Aes128); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | impl_block_cipher_with_ofb_mode!(Aes192Ofb, Aes192); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | impl_block_cipher_with_ofb_mode!(Aes256Ofb, Aes256); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | impl_block_cipher_with_ofb_mode!(Camellia128Ofb, Camellia128); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | impl_block_cipher_with_ofb_mode!(Camellia192Ofb, Camellia192); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `B` [INFO] [stdout] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | impl_block_cipher_with_ofb_mode!(Camellia256Ofb, Camellia256); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub const MIN_KEY_LEN: usize = crypto2::streamcipher::Rc4::MIN_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub const MAX_KEY_LEN: usize = crypto2::streamcipher::Rc4::MAX_KEY_LEN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub const MIN_KEY_LEN: usize = 1; // In bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stdout] --> src/v1/streamcipher/rc4_md5.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub const MAX_KEY_LEN: usize = usize::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `key_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn key_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iv_len` [INFO] [stdout] --> src/v1/streamcipher/mod.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn iv_len(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "ab067104e8ff4b6a6114cad2957167c59a2f7e3918f543c34dce64da8b876f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab067104e8ff4b6a6114cad2957167c59a2f7e3918f543c34dce64da8b876f72", kill_on_drop: false }` [INFO] [stdout] ab067104e8ff4b6a6114cad2957167c59a2f7e3918f543c34dce64da8b876f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", 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] 9c0124c27cae7412a66f4404af7758c78dc11ee622ca7d5c24264d682bd28c58 [INFO] running `Command { std: "docker" "start" "-a" "9c0124c27cae7412a66f4404af7758c78dc11ee622ca7d5c24264d682bd28c58", kill_on_drop: false }` [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | impl_block_cipher_with_ofb_mode!(Aes128Ofb, Aes128); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | impl_block_cipher_with_ofb_mode!(Aes192Ofb, Aes192); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | impl_block_cipher_with_ofb_mode!(Aes256Ofb, Aes256); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | impl_block_cipher_with_ofb_mode!(Camellia128Ofb, Camellia128); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | impl_block_cipher_with_ofb_mode!(Camellia192Ofb, Camellia192); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | impl_block_cipher_with_ofb_mode!(Camellia256Ofb, Camellia256); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub const MIN_KEY_LEN: usize = crypto2::streamcipher::Rc4::MIN_KEY_LEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub const MAX_KEY_LEN: usize = crypto2::streamcipher::Rc4::MAX_KEY_LEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4_md5.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub const MIN_KEY_LEN: usize = 1; // In bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4_md5.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub const MAX_KEY_LEN: usize = usize::MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `key_len` [INFO] [stderr] --> src/v1/streamcipher/mod.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn key_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iv_len` [INFO] [stderr] --> src/v1/streamcipher/mod.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn iv_len(&self) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/v1/cipher.rs:208:9 [INFO] [stderr] | [INFO] [stderr] 208 | let mut cipher = Cipher::new(kind, &key, &salt); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/v1/cipher.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | let mut cipher = Cipher::new(kind, &key, &iv); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | impl_block_cipher_with_ofb_mode!(Aes128Ofb, Aes128); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | impl_block_cipher_with_ofb_mode!(Aes192Ofb, Aes192); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | impl_block_cipher_with_ofb_mode!(Aes256Ofb, Aes256); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 96 | impl_block_cipher_with_ofb_mode!(Camellia128Ofb, Camellia128); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 97 | impl_block_cipher_with_ofb_mode!(Camellia192Ofb, Camellia192); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `B` [INFO] [stderr] --> src/v1/streamcipher/ofb.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | pub const B: usize = Self::BLOCK_LEN * 8; // The block size, in bits. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 98 | impl_block_cipher_with_ofb_mode!(Camellia256Ofb, Camellia256); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub const MIN_KEY_LEN: usize = crypto2::streamcipher::Rc4::MIN_KEY_LEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub const MAX_KEY_LEN: usize = crypto2::streamcipher::Rc4::MAX_KEY_LEN; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MIN_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4_md5.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub const MIN_KEY_LEN: usize = 1; // In bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant is never used: `MAX_KEY_LEN` [INFO] [stderr] --> src/v1/streamcipher/rc4_md5.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub const MAX_KEY_LEN: usize = usize::MAX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `key_len` [INFO] [stderr] --> src/v1/streamcipher/mod.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn key_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `iv_len` [INFO] [stderr] --> src/v1/streamcipher/mod.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn iv_len(&self) -> usize { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 14 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/shadowsocks_crypto-ee1ae9c64520c734 [INFO] [stdout] running 16 tests [INFO] [stdout] test v1::cipher::test_cipher_new ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb128_dec ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb128_enc ... ok [INFO] [stdout] test v1::streamcipher::ofb::test_aes128_ofb ... ok [INFO] [stdout] test v1::streamcipher::ctr::test_aes128_ctr_dec ... ok [INFO] [stdout] test v1::streamcipher::rc4_md5::test_rc4_md5 ... ok [INFO] [stdout] test v1::streamcipher::ctr::test_aes128_ctr_enc ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb1_enc ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb8 ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb8_enc ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb8_dec ... ok [INFO] [stdout] test v1::streamcipher::ctr::test_aes128_ctr ... ok [INFO] [stdout] test v1::streamcipher::ofb::test_aes128_ofb_enc ... ok [INFO] [stdout] test v1::streamcipher::ofb::test_aes128_ofb_dec ... ok [INFO] [stdout] test v1::streamcipher::cfb::test_aes128_cfb1_dec ... ok [INFO] [stdout] test v1::streamcipher::table::test_table ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests shadowsocks-crypto [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c0124c27cae7412a66f4404af7758c78dc11ee622ca7d5c24264d682bd28c58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0124c27cae7412a66f4404af7758c78dc11ee622ca7d5c24264d682bd28c58", kill_on_drop: false }` [INFO] [stdout] 9c0124c27cae7412a66f4404af7758c78dc11ee622ca7d5c24264d682bd28c58