[INFO] fetching crate gm-sm2 0.10.0...
[INFO] checking gm-sm2-0.10.0 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate gm-sm2 0.10.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate gm-sm2 0.10.0 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate gm-sm2 0.10.0
[INFO] finished tweaking crates.io crate gm-sm2 0.10.0
[INFO] tweaked toml for crates.io crate gm-sm2 0.10.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 93 packages to latest compatible versions
[INFO] [stderr]       Adding anes v0.1.6 (latest: v0.2.0)
[INFO] [stderr]       Adding base64 v0.21.7 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding clap v3.2.25 (latest: v4.5.4)
[INFO] [stderr]       Adding clap_lex v0.2.4 (latest: v0.7.0)
[INFO] [stderr]       Adding criterion v0.4.0 (latest: v0.5.1)
[INFO] [stderr]       Adding hashbrown v0.12.3 (latest: v0.14.5)
[INFO] [stderr]       Adding hermit-abi v0.1.19 (latest: v0.3.9)
[INFO] [stderr]       Adding hex-literal v0.3.4 (latest: v0.4.1)
[INFO] [stderr]       Adding indexmap v1.9.3 (latest: v2.2.6)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.12.1)
[INFO] [stderr]       Adding os_str_bytes v6.6.1 (latest: v7.0.0)
[INFO] [stderr]       Adding spin v0.5.2 (latest: v0.9.8)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gm-sm3 v0.10.0
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7575eff998a75ab4ab5c3d67abf9dc7754aa6b263f9000716cf72585717f5b0c
[INFO] running `Command { std: "docker" "start" "-a" "7575eff998a75ab4ab5c3d67abf9dc7754aa6b263f9000716cf72585717f5b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7575eff998a75ab4ab5c3d67abf9dc7754aa6b263f9000716cf72585717f5b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7575eff998a75ab4ab5c3d67abf9dc7754aa6b263f9000716cf72585717f5b0c", kill_on_drop: false }`
[INFO] [stdout] 7575eff998a75ab4ab5c3d67abf9dc7754aa6b263f9000716cf72585717f5b0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e97d106ac4624861ab8ca3a81256cb80f2c344873ec5c401fe0ce4e6b53b934
[INFO] running `Command { std: "docker" "start" "-a" "2e97d106ac4624861ab8ca3a81256cb80f2c344873ec5c401fe0ce4e6b53b934", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking gm-sm3 v0.10.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking gm-sm2 v0.10.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `pre_vec_gen` is never used
[INFO] [stdout]    --> src/p256_ecc.rs:467:4
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn pre_vec_gen(n: u32) -> [u32; 8] {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pre_vec_gen2` is never used
[INFO] [stdout]    --> src/p256_ecc.rs:477:4
[INFO] [stdout]     |
[INFO] [stdout] 477 | fn pre_vec_gen2(n: u32) -> [u32; 8] {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]     Checking serde_json v1.0.116
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] warning: unused import: `BenchmarkGroup`
[INFO] [stdout]  --> benches/sm2.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{BenchmarkGroup, Criterion, criterion_group, criterion_main};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModInverse`
[INFO] [stdout]  --> benches/sm2.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | use num_bigint::{ModInverse, ToBigInt};
[INFO] [stdout]   |                  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gm_sm2::FeOperation`
[INFO] [stdout]  --> benches/sm2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use gm_sm2::FeOperation;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> benches/sm2.rs:9:38
[INFO] [stdout]   |
[INFO] [stdout] 9 | use gm_sm2::p256_ecc::{P256C_PARAMS, Point};
[INFO] [stdout]   |                                      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0252]: the name `Sign` is defined multiple times
[INFO] [stdout]   --> src/montgomery.rs:81:39
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use core::num::flt2dec::Sign;
[INFO] [stdout]    |         ------------------------ previous import of the type `Sign` here
[INFO] [stdout] 81 |     use num_bigint::{BigInt, BigUint, Sign, ToBigInt};
[INFO] [stdout]    |                                       ^^^^ `Sign` reimported here
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Sign` must be defined only once in the type namespace of this module
[INFO] [stdout] help: you can use `as` to change the binding name of the import
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use num_bigint::{BigInt, BigUint, Sign as OtherSign, ToBigInt};
[INFO] [stdout]    |                                       ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `criterion::measurement::Measurement`
[INFO] [stdout]  --> benches/sm2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use criterion::measurement::Measurement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_mod_mul_mont` is never used
[INFO] [stdout]    --> benches/sm2.rs:106:4
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn bench_mod_mul_mont(c: &mut Criterion) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_mod_mul_mont_2` is never used
[INFO] [stdout]    --> benches/sm2.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn bench_mod_mul_mont_2(c: &mut Criterion) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bench_mod_mul_bigint_2` is never used
[INFO] [stdout]    --> benches/sm2.rs:142:4
[INFO] [stdout]     |
[INFO] [stdout] 142 | fn bench_mod_mul_bigint_2(c: &mut Criterion) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]   --> src/montgomery.rs:85:16
[INFO] [stdout]    |
[INFO] [stdout] 85 |     use crate::sm2::montgomery::{cus_mod, montgomery_mod, montgomery_mul_mod};
[INFO] [stdout]    |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]    --> src/operation.rs:263:16
[INFO] [stdout]     |
[INFO] [stdout] 263 |     use crate::sm2::p256_ecc::P256C_PARAMS;
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]    --> src/operation.rs:264:16
[INFO] [stdout]     |
[INFO] [stdout] 264 |     use crate::sm2::p256_pre_table::PRE_TABLE_1;
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]    --> src/p256_ecc.rs:494:16
[INFO] [stdout]     |
[INFO] [stdout] 494 |     use crate::sm2::p256_ecc::{P256C_PARAMS, Point, pre_vec_gen, pre_vec_gen2, scalar_mul};
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]    --> src/p256_ecc.rs:495:16
[INFO] [stdout]     |
[INFO] [stdout] 495 |     use crate::sm2::p256_field::FieldElement;
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `sm2` in the crate root
[INFO] [stdout]    --> src/p256_field.rs:240:16
[INFO] [stdout]     |
[INFO] [stdout] 240 |     use crate::sm2::p256_field::FieldElement;
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::sm2`
[INFO] [stdout]    --> src/operation.rs:262:16
[INFO] [stdout]     |
[INFO] [stdout] 262 |     use crate::sm2::FeOperation;
[INFO] [stdout]     |                ^^^ could not find `sm2` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Sign`
[INFO] [stdout]   --> src/montgomery.rs:81:39
[INFO] [stdout]    |
[INFO] [stdout] 81 |     use num_bigint::{BigInt, BigUint, Sign, ToBigInt};
[INFO] [stdout]    |                                       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'flt2dec': internal routines only exposed for testing
[INFO] [stdout]   --> src/montgomery.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use core::num::flt2dec::Sign;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(flt2dec)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'flt2dec': internal routines only exposed for testing
[INFO] [stdout]   --> src/montgomery.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Sign::Plus,
[INFO] [stdout]    |             ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: add `#![feature(flt2dec)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature 'flt2dec': internal routines only exposed for testing
[INFO] [stdout]    --> src/montgomery.rs:112:13
[INFO] [stdout]     |
[INFO] [stdout] 112 |             Sign::Plus,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: add `#![feature(flt2dec)]` to the crate attributes to enable
[INFO] [stdout]     = note: this compiler was built on 2024-04-23; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Plus` found for enum `core::num::flt2dec::Sign` in the current scope
[INFO] [stdout]   --> src/montgomery.rs:98:19
[INFO] [stdout]    |
[INFO] [stdout] 98 |             Sign::Plus,
[INFO] [stdout]    |                   ^^^^ variant or associated item not found in `Sign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Plus` found for enum `core::num::flt2dec::Sign` in the current scope
[INFO] [stdout]    --> src/montgomery.rs:112:19
[INFO] [stdout]     |
[INFO] [stdout] 112 |             Sign::Plus,
[INFO] [stdout]     |                   ^^^^ variant or associated item not found in `Sign`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `mod_add` found for struct `BigUint` in the current scope
[INFO] [stdout]    --> src/operation.rs:277:22
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let ret1 = x.mod_add(&y, &modulus.to_biguint());
[INFO] [stdout]     |                      ^^^^^^^ method not found in `BigUint`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:32:8
[INFO] [stdout]     |
[INFO] [stdout] 32  |     fn mod_add(&self, other: &Self, modulus: &Self) -> Self;
[INFO] [stdout]     |        ------- the method is available for `BigUint` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FeOperation` which provides `mod_add` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `mod_sub` found for struct `BigUint` in the current scope
[INFO] [stdout]    --> src/operation.rs:294:22
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let ret1 = x.mod_sub(&y, &modulus.to_biguint());
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:38:8
[INFO] [stdout]     |
[INFO] [stdout] 38  |     fn mod_sub(&self, other: &Self, modulus: &Self) -> Self;
[INFO] [stdout]     |        ------- the method is available for `BigUint` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FeOperation` which provides `mod_sub` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `mod_mul` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let ret1 = x.mod_mul(&y, &modulus.to_biguint());
[INFO] [stdout]     |                      ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `mod_mul` found for struct `BigUint` in the current scope
[INFO] [stdout]    --> src/operation.rs:311:22
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let ret1 = x.mod_mul(&y, &modulus.to_biguint());
[INFO] [stdout]     |                      ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:44:8
[INFO] [stdout]     |
[INFO] [stdout] 44  |     fn mod_mul(&self, other: &Self, modulus: &Self) -> Self;
[INFO] [stdout]     |        ------- the method is available for `BigUint` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `FeOperation` which provides `mod_mul` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `mod_sub` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 311 |         let ret1 = x.mod_sub(&y, &modulus.to_biguint());
[INFO] [stdout]     |                      ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `inv` found for struct `BigUint` in the current scope
[INFO] [stdout]    --> src/operation.rs:327:22
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let ret1 = x.inv(&modulus.to_biguint());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:47:8
[INFO] [stdout]     |
[INFO] [stdout] 47  |     fn inv(&self, modulus: &Self) -> Self;
[INFO] [stdout]     |        --- the method is available for `BigUint` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `inc` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 370 | /     fn inc(&mut self)
[INFO] [stdout] 371 | |     where
[INFO] [stdout] 372 | |         Self: Clone,
[INFO] [stdout]     | |____________________^
[INFO] [stdout] help: trait `FeOperation` which provides `inv` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0252, E0432, E0433, E0599, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0252`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gm-sm2` (lib test) due to 18 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "2e97d106ac4624861ab8ca3a81256cb80f2c344873ec5c401fe0ce4e6b53b934", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e97d106ac4624861ab8ca3a81256cb80f2c344873ec5c401fe0ce4e6b53b934", kill_on_drop: false }`
[INFO] [stdout] 2e97d106ac4624861ab8ca3a81256cb80f2c344873ec5c401fe0ce4e6b53b934
