[INFO] fetching crate shadowsocks-crypto 0.1.0... [INFO] checking shadowsocks-crypto-0.1.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate shadowsocks-crypto 0.1.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate shadowsocks-crypto 0.1.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 43e679021c927cc6d13e3f0a5f2f2b4ad0dd84b146019655aa3b1e5ea4b37841 [INFO] running `Command { std: "docker" "start" "-a" "43e679021c927cc6d13e3f0a5f2f2b4ad0dd84b146019655aa3b1e5ea4b37841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43e679021c927cc6d13e3f0a5f2f2b4ad0dd84b146019655aa3b1e5ea4b37841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e679021c927cc6d13e3f0a5f2f2b4ad0dd84b146019655aa3b1e5ea4b37841", kill_on_drop: false }` [INFO] [stdout] 43e679021c927cc6d13e3f0a5f2f2b4ad0dd84b146019655aa3b1e5ea4b37841 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d15ee5d5f343c4c43ec3ea7b5a0a9a120c49229136d3a6597756b7f566057bb [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" "3d15ee5d5f343c4c43ec3ea7b5a0a9a120c49229136d3a6597756b7f566057bb", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking crypto2 v0.1.1 [INFO] [stderr] Checking hex v0.4.2 [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: 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] [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 14.83s [INFO] running `Command { std: "docker" "inspect" "3d15ee5d5f343c4c43ec3ea7b5a0a9a120c49229136d3a6597756b7f566057bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d15ee5d5f343c4c43ec3ea7b5a0a9a120c49229136d3a6597756b7f566057bb", kill_on_drop: false }` [INFO] [stdout] 3d15ee5d5f343c4c43ec3ea7b5a0a9a120c49229136d3a6597756b7f566057bb