[INFO] cloning repository https://github.com/Aminstelo/co-lovekeqing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aminstelo/co-lovekeqing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAminstelo%2Fco-lovekeqing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAminstelo%2Fco-lovekeqing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ca802098a610638ce3b193196adf8d4586605f4 [INFO] checking Aminstelo/co-lovekeqing/4ca802098a610638ce3b193196adf8d4586605f4 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAminstelo%2Fco-lovekeqing" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aminstelo/co-lovekeqing on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aminstelo/co-lovekeqing [INFO] finished tweaking git repo https://github.com/Aminstelo/co-lovekeqing [INFO] tweaked toml for git repo https://github.com/Aminstelo/co-lovekeqing written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aminstelo/co-lovekeqing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded keccak v0.2.0-pre.0 [INFO] [stderr] Downloaded block-buffer v0.11.0-pre.5 [INFO] [stderr] Downloaded digest v0.11.0-pre.8 [INFO] [stderr] Downloaded const-oid v0.10.0-pre.2 [INFO] [stderr] Downloaded hybrid-array v0.2.0-rc.8 [INFO] [stderr] Downloaded sha3 v0.11.0-pre.3 [INFO] [stderr] Downloaded crypto-common v0.2.0-pre.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d11480b93d51636af13bc3e6af8beb46a84aacaf4e091057b3e708fd8a81ac6b [INFO] running `Command { std: "docker" "start" "-a" "d11480b93d51636af13bc3e6af8beb46a84aacaf4e091057b3e708fd8a81ac6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d11480b93d51636af13bc3e6af8beb46a84aacaf4e091057b3e708fd8a81ac6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d11480b93d51636af13bc3e6af8beb46a84aacaf4e091057b3e708fd8a81ac6b", kill_on_drop: false }` [INFO] [stdout] d11480b93d51636af13bc3e6af8beb46a84aacaf4e091057b3e708fd8a81ac6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4cc0daa1b20a00d119d5ed009957dc16e906aa27542ab3f03c8a32847e4427f [INFO] running `Command { std: "docker" "start" "-a" "f4cc0daa1b20a00d119d5ed009957dc16e906aa27542ab3f03c8a32847e4427f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking const-oid v0.10.0-pre.2 [INFO] [stderr] Checking keccak v0.2.0-pre.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hybrid-array v0.2.0-rc.8 [INFO] [stderr] Checking crypto-common v0.2.0-pre.5 [INFO] [stderr] Checking block-buffer v0.11.0-pre.5 [INFO] [stderr] Checking digest v0.11.0-pre.8 [INFO] [stderr] Checking sha3 v0.11.0-pre.3 [INFO] [stderr] Checking cofunc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sha3::digest::HashMarker` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sha3::digest::HashMarker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigIntRef` and `VerificationHashModulus` [INFO] [stdout] --> src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{BigIntRef, Data, Key, RawData,VerificationHashModulus}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt` and `Sign` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use num_bigint::{BigInt,Sign}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawData` [INFO] [stdout] --> src/processing.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Data, RawData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/encryption.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::{BigInt,Sign}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/validate.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::{BigInt,Sign}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigIntRef` and `HashModulus` [INFO] [stdout] --> src/validate.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{BigIntRef, Data, RawData, Key, ShardSize, HashModulus, VerificationHashModulus}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha3::digest::HashMarker` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sha3::digest::HashMarker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BigIntRef` [INFO] [stdout] --> src/lib.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{BigIntRef, Data, Key, RawData,VerificationHashModulus}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigInt` and `Sign` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use num_bigint::{BigInt,Sign}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawData` [INFO] [stdout] --> src/processing.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Data, RawData}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sign` [INFO] [stdout] --> src/validate.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use num_bigint::{BigInt,Sign}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BigIntRef` and `HashModulus` [INFO] [stdout] --> src/validate.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{BigIntRef, Data, RawData, Key, ShardSize, HashModulus, VerificationHashModulus}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aco` [INFO] [stdout] --> src/validate.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::encryption::{aco, co}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_key` is never used [INFO] [stdout] --> src/lib.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn new_key(hash_modulus: types::HashModulus,slice_size_random_range:(u64,u64)) -> Key { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `مشفرة` is never used [INFO] [stdout] --> src/lib.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn مشفرة(raw_data: &RawData,key: Key) -> Data { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Дешифриране` is never used [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn Дешифриране(cov: &Data,key: Key) -> RawData { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/cofunc_bigint.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) fn hash(x: BigIntRef, d: BigIntRef) -> BigInt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `co` is never used [INFO] [stdout] --> src/cofunc_bigint.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn co(x: BigIntRef, f: BigIntRef) -> BigInt { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aco` is never used [INFO] [stdout] --> src/cofunc_bigint.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) fn aco(x: BigIntRef, f: BigIntRef) -> BigInt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_co` is never used [INFO] [stdout] --> src/cofunc_bigint.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn hash_co(cov: BigIntRef, d: BigIntRef) -> BigInt { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_aco` is never used [INFO] [stdout] --> src/cofunc_bigint.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) fn hash_aco(x_hash:BigIntRef,d:BigIntRef ,f:BigIntRef) -> BigInt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wu8` is never used [INFO] [stdout] --> src/cofunc.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Wu8 = u8; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/cofunc.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hash(x: Wu8, d: Wu8) -> Wu8{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `co` is never used [INFO] [stdout] --> src/cofunc.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn co(x: Wu8, f: Wu8) -> Wu8{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aco` is never used [INFO] [stdout] --> src/cofunc.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn aco(x: Wu8, f: Wu8) -> Wu8{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_co` is never used [INFO] [stdout] --> src/cofunc.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn hash_co(cov: Wu8, d: Wu8) -> Wu8{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/rand_sha3.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_func` is never used [INFO] [stdout] --> src/rand_sha3.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn get_func(key : &HashFuncKey, hash_m : HashModulus) -> impl Fn(&Vec) -> BigInt { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_hash_key` is never used [INFO] [stdout] --> src/rand_sha3.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | pub(crate) fn generate_random_hash_key() -> [u8;32]{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slice_vec` is never used [INFO] [stdout] --> src/processing.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn slice_vec(data: &[T], chunk_size: usize) -> Vec<(&[T], usize)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_to_vec` is never used [INFO] [stdout] --> src/processing.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn data_to_vec(data:Data) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_u8_to_bigint` is never used [INFO] [stdout] --> src/processing.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) fn vec_u8_to_bigint(data:&[u8]) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `co` is never used [INFO] [stdout] --> src/encryption.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) fn co(data:&Data, key:Key) -> Data { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aco` is never used [INFO] [stdout] --> src/encryption.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn aco(cov :&Data,key:Key) -> Data { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `data_hash` is never used [INFO] [stdout] --> src/validate.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn data_hash(data : &RawData, chunk_size: ShardSize, co_func_d: VerificationHashModulus) -> Data{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aco_hash` is never used [INFO] [stdout] --> src/validate.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) fn aco_hash(_data_hash:Data, key:Key, verification_hash_modulus:VerificationHashModulus) -> u64{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `co_hash` is never used [INFO] [stdout] --> src/validate.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn co_hash(cov :&Data, co_func_d: VerificationHashModulus) -> u64{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HashFuncKey` is never used [INFO] [stdout] --> src/types.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) type HashFuncKey = [u8;32]; // 生成 cofunc_bigint.rs 中的函数的f参数使用的hash函数的Key [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HashModulus` is never used [INFO] [stdout] --> src/types.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) type HashModulus = u64; // 生成 cofunc_bigint.rs 中函数 f 参数使用的hash函数的模数,The modulus of the hash function that generate ... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ShardSize` is never used [INFO] [stdout] --> src/types.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type ShardSize = u8; // 数据加密时使用分片大小 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Key` is never used [INFO] [stdout] --> src/types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Key = (HashFuncKey,HashModulus,ShardSize); // HashFuncKey and HashModulus(不是验证hash函数的) and ShardSize (加密函数秘钥) ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BigIntRef` is never used [INFO] [stdout] --> src/types.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) type BigIntRef<'a> = &'a BigInt; // cofunc_bigint.rs 中函数传入类型 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> src/types.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type Data = Vec; // 加密函数参数原始数据 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawData` is never used [INFO] [stdout] --> src/types.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type RawData = Vec; // 未经过预处理的原始数据 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VerificationHashModulus` is never used [INFO] [stdout] --> src/types.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type VerificationHashModulus = u64; // validate.rs 中hash函数的模数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Дешифриране` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn Дешифриране(cov: &Data,key: Key) -> RawData { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `дешифриране` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rand_sha3.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | for i in 0..1{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Wu8` is never used [INFO] [stdout] --> src/cofunc.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type Wu8 = u8; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/cofunc.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn hash(x: Wu8, d: Wu8) -> Wu8{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `co` is never used [INFO] [stdout] --> src/cofunc.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn co(x: Wu8, f: Wu8) -> Wu8{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `aco` is never used [INFO] [stdout] --> src/cofunc.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn aco(x: Wu8, f: Wu8) -> Wu8{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_co` is never used [INFO] [stdout] --> src/cofunc.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn hash_co(cov: Wu8, d: Wu8) -> Wu8{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Дешифриране` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn Дешифриране(cov: &Data,key: Key) -> RawData { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `дешифриране` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "f4cc0daa1b20a00d119d5ed009957dc16e906aa27542ab3f03c8a32847e4427f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4cc0daa1b20a00d119d5ed009957dc16e906aa27542ab3f03c8a32847e4427f", kill_on_drop: false }` [INFO] [stdout] f4cc0daa1b20a00d119d5ed009957dc16e906aa27542ab3f03c8a32847e4427f