[INFO] fetching crate shadowsocks-crypto 0.1.0... [INFO] checking shadowsocks-crypto-0.1.0 against try#55b3f428b4fac6790b1e8492e0b91ff2d80aec7c for pr-77035 [INFO] extracting crate shadowsocks-crypto 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate shadowsocks-crypto 0.1.0 on toolchain 55b3f428b4fac6790b1e8492e0b91ff2d80aec7c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hex v0.4.2 [INFO] [stderr] Downloaded crypto2 v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] efa1530747b930bd3cd2576bf5152c664bc67cad81d4c71ce5d6f7508cdcad34 [INFO] running `Command { std: "docker" "start" "-a" "efa1530747b930bd3cd2576bf5152c664bc67cad81d4c71ce5d6f7508cdcad34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "efa1530747b930bd3cd2576bf5152c664bc67cad81d4c71ce5d6f7508cdcad34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa1530747b930bd3cd2576bf5152c664bc67cad81d4c71ce5d6f7508cdcad34", kill_on_drop: false }` [INFO] [stdout] efa1530747b930bd3cd2576bf5152c664bc67cad81d4c71ce5d6f7508cdcad34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+55b3f428b4fac6790b1e8492e0b91ff2d80aec7c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83cc8cde1c6112b5406d82b04286171e3cd7ba16070056d3f7b794cc53c41b44 [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" "83cc8cde1c6112b5406d82b04286171e3cd7ba16070056d3f7b794cc53c41b44", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking crypto2 v0.1.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking 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] [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 dev [unoptimized + debuginfo] target(s) in 17.68s [INFO] running `Command { std: "docker" "inspect" "83cc8cde1c6112b5406d82b04286171e3cd7ba16070056d3f7b794cc53c41b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83cc8cde1c6112b5406d82b04286171e3cd7ba16070056d3f7b794cc53c41b44", kill_on_drop: false }` [INFO] [stdout] 83cc8cde1c6112b5406d82b04286171e3cd7ba16070056d3f7b794cc53c41b44