[INFO] fetching crate miracl_amcl 3.2.5... [INFO] checking miracl_amcl-3.2.5 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate miracl_amcl 3.2.5 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate miracl_amcl 3.2.5 [INFO] finished tweaking crates.io crate miracl_amcl 3.2.5 [INFO] tweaked toml for crates.io crate miracl_amcl 3.2.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate miracl_amcl 3.2.5 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8a06699fdd934546e9cec61f1e8906f5c491647bd7ca301a5ecd2acfee315f0 [INFO] running `Command { std: "docker" "start" "-a" "a8a06699fdd934546e9cec61f1e8906f5c491647bd7ca301a5ecd2acfee315f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8a06699fdd934546e9cec61f1e8906f5c491647bd7ca301a5ecd2acfee315f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8a06699fdd934546e9cec61f1e8906f5c491647bd7ca301a5ecd2acfee315f0", kill_on_drop: false }` [INFO] [stdout] a8a06699fdd934546e9cec61f1e8906f5c491647bd7ca301a5ecd2acfee315f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2338b291b06ec489c269ad6b96b6100752aa3c9849ede79210ee279a6fbf3cc8 [INFO] running `Command { std: "docker" "start" "-a" "2338b291b06ec489c269ad6b96b6100752aa3c9849ede79210ee279a6fbf3cc8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking miracl_amcl v3.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `fp512bn` [INFO] [stdout] --> src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "fp512bn")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"fp512BN"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `fp512bn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fp256bn` [INFO] [stdout] --> src/lib.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "fp256bn")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"fp256Bn"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `fp256bn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anssi` [INFO] [stdout] --> src/lib.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "anssi")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"ansii"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `anssi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bn254CX` [INFO] [stdout] --> src/lib.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | #[cfg(feature = "bn254CX")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name (notice the capitalization): `"bn254cx"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `bn254CX` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/nhs.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | const DEGREE: usize = (1 << LGN); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - const DEGREE: usize = (1 << LGN); [INFO] [stdout] 32 + const DEGREE: usize = 1 << LGN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_SPECIAL` should have an upper camel case name [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | NOT_SPECIAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotSpecial` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_MERSENNE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | PSEUDO_MERSENNE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoMersenne` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MONTGOMERY_FRIENDLY` should have an upper camel case name [INFO] [stdout] --> src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | MONTGOMERY_FRIENDLY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MontgomeryFriendly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GENERALISED_MERSENNE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GENERALISED_MERSENNE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GeneralisedMersenne` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `D_TYPE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | D_TYPE, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `M_TYPE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | M_TYPE, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `MType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub const NLEN: usize = (1 + ((8 * MODBYTES - 1) / BASEBITS)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const NLEN: usize = (1 + ((8 * MODBYTES - 1) / BASEBITS)); [INFO] [stdout] 33 + pub const NLEN: usize = 1 + ((8 * MODBYTES - 1) / BASEBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub const BMASK: Chunk = ((1 << BASEBITS) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const BMASK: Chunk = ((1 << BASEBITS) - 1); [INFO] [stdout] 35 + pub const BMASK: Chunk = (1 << BASEBITS) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub const HBITS: usize = (BASEBITS / 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - pub const HBITS: usize = (BASEBITS / 2); [INFO] [stdout] 36 + pub const HBITS: usize = BASEBITS / 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub const HMASK: Chunk = ((1 << HBITS) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - pub const HMASK: Chunk = ((1 << HBITS) - 1); [INFO] [stdout] 37 + pub const HMASK: Chunk = (1 << HBITS) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | pub const NEXCESS: isize = (1 << ((arch::CHUNK) - BASEBITS - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const NEXCESS: isize = (1 << ((arch::CHUNK) - BASEBITS - 1)); [INFO] [stdout] 38 + pub const NEXCESS: isize = 1 << ((arch::CHUNK) - BASEBITS - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub const BIGBITS: usize = (MODBYTES * 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const BIGBITS: usize = (MODBYTES * 8); [INFO] [stdout] 39 + pub const BIGBITS: usize = MODBYTES * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./fp.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | pub const FEXCESS:i32 = (((1 as i32)< src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "fp512bn")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"fp512BN"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `fp512bn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `fp256bn` [INFO] [stdout] --> src/lib.rs:134:7 [INFO] [stdout] | [INFO] [stdout] 134 | #[cfg(feature = "fp256bn")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"fp256Bn"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `fp256bn` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `anssi` [INFO] [stdout] --> src/lib.rs:181:7 [INFO] [stdout] | [INFO] [stdout] 181 | #[cfg(feature = "anssi")] [INFO] [stdout] | ^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"ansii"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `anssi` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `bn254CX` [INFO] [stdout] --> src/lib.rs:470:7 [INFO] [stdout] | [INFO] [stdout] 470 | #[cfg(feature = "bn254CX")] [INFO] [stdout] | ^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name (notice the capitalization): `"bn254cx"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ansii`, `bls24`, `bls381`, `bls383`, `bls461`, `bls48`, `bn254`, `bn254cx`, `brainpool`, `c25519`, `c41417`, `default`, `ed25519`, `fp256Bn`, `fp512BN`, `goldilocks`, `hifive`, `nist256`, `nist384`, `nist521`, `nums256e`, `nums256w`, `nums384e`, `nums384w`, `nums512e`, `nums512w`, `rsa2048`, `rsa3072`, `rsa4096`, and `secp256k1` [INFO] [stdout] = help: consider adding `bn254CX` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/nhs.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | const DEGREE: usize = (1 << LGN); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - const DEGREE: usize = (1 << LGN); [INFO] [stdout] 32 + const DEGREE: usize = 1 << LGN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_SPECIAL` should have an upper camel case name [INFO] [stdout] --> src/types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | NOT_SPECIAL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotSpecial` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PSEUDO_MERSENNE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | PSEUDO_MERSENNE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PseudoMersenne` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MONTGOMERY_FRIENDLY` should have an upper camel case name [INFO] [stdout] --> src/types.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | MONTGOMERY_FRIENDLY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MontgomeryFriendly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GENERALISED_MERSENNE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | GENERALISED_MERSENNE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `GeneralisedMersenne` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `D_TYPE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | D_TYPE, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `M_TYPE` should have an upper camel case name [INFO] [stdout] --> src/types.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | M_TYPE, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `MType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | pub const NLEN: usize = (1 + ((8 * MODBYTES - 1) / BASEBITS)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const NLEN: usize = (1 + ((8 * MODBYTES - 1) / BASEBITS)); [INFO] [stdout] 33 + pub const NLEN: usize = 1 + ((8 * MODBYTES - 1) / BASEBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | pub const BMASK: Chunk = ((1 << BASEBITS) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 35 - pub const BMASK: Chunk = ((1 << BASEBITS) - 1); [INFO] [stdout] 35 + pub const BMASK: Chunk = (1 << BASEBITS) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | pub const HBITS: usize = (BASEBITS / 2); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - pub const HBITS: usize = (BASEBITS / 2); [INFO] [stdout] 36 + pub const HBITS: usize = BASEBITS / 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub const HMASK: Chunk = ((1 << HBITS) - 1); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 37 - pub const HMASK: Chunk = ((1 << HBITS) - 1); [INFO] [stdout] 37 + pub const HMASK: Chunk = (1 << HBITS) - 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | pub const NEXCESS: isize = (1 << ((arch::CHUNK) - BASEBITS - 1)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pub const NEXCESS: isize = (1 << ((arch::CHUNK) - BASEBITS - 1)); [INFO] [stdout] 38 + pub const NEXCESS: isize = 1 << ((arch::CHUNK) - BASEBITS - 1); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./big.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub const BIGBITS: usize = (MODBYTES * 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - pub const BIGBITS: usize = (MODBYTES * 8); [INFO] [stdout] 39 + pub const BIGBITS: usize = MODBYTES * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/./fp.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | pub const FEXCESS:i32 = (((1 as i32)< src/gcm.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const GCM_ENCRYPTING: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GCM_DECRYPTING` is never used [INFO] [stdout] --> src/gcm.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const GCM_DECRYPTING: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GCM_ENCRYPTING` is never used [INFO] [stdout] --> src/gcm.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const GCM_ENCRYPTING: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GCM_DECRYPTING` is never used [INFO] [stdout] --> src/gcm.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const GCM_DECRYPTING: usize = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "2338b291b06ec489c269ad6b96b6100752aa3c9849ede79210ee279a6fbf3cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2338b291b06ec489c269ad6b96b6100752aa3c9849ede79210ee279a6fbf3cc8", kill_on_drop: false }` [INFO] [stdout] 2338b291b06ec489c269ad6b96b6100752aa3c9849ede79210ee279a6fbf3cc8