[INFO] fetching crate shadowsocks-crypto 0.1.0... [INFO] checking shadowsocks-crypto-0.1.0 against master#b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 for pr-79470 [INFO] extracting crate shadowsocks-crypto 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate shadowsocks-crypto 0.1.0 on toolchain b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "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] 7e17a201bce545f5cfac9cfa842e67413aa1fd1257bdf9a9b5a536503a0aac17 [INFO] running `Command { std: "docker" "start" "-a" "7e17a201bce545f5cfac9cfa842e67413aa1fd1257bdf9a9b5a536503a0aac17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e17a201bce545f5cfac9cfa842e67413aa1fd1257bdf9a9b5a536503a0aac17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e17a201bce545f5cfac9cfa842e67413aa1fd1257bdf9a9b5a536503a0aac17", kill_on_drop: false }` [INFO] [stdout] 7e17a201bce545f5cfac9cfa842e67413aa1fd1257bdf9a9b5a536503a0aac17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+b7ebc6b0c1ba3c27ebb17c0b496ece778ef11e18" "check" "--frozen" "--all" "--all-targets" "--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] 95f32d39327b35f06b59c3312477d87c6c6ab8bc76db3d3fae479e59619dcd13 [INFO] running `Command { std: "docker" "start" "-a" "95f32d39327b35f06b59c3312477d87c6c6ab8bc76db3d3fae479e59619dcd13", kill_on_drop: false }` [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 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 16.90s [INFO] running `Command { std: "docker" "inspect" "95f32d39327b35f06b59c3312477d87c6c6ab8bc76db3d3fae479e59619dcd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f32d39327b35f06b59c3312477d87c6c6ab8bc76db3d3fae479e59619dcd13", kill_on_drop: false }` [INFO] [stdout] 95f32d39327b35f06b59c3312477d87c6c6ab8bc76db3d3fae479e59619dcd13