[INFO] fetching crate gm-sm2 0.10.0...
[INFO] checking gm-sm2-0.10.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[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 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gm-sm3 v0.10.0
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 867697b74cf213fa2e5fb4a7f695d4a7c5938b1fcbb272e28706cb2d84e76e59
[INFO] running `Command { std: "docker" "start" "-a" "867697b74cf213fa2e5fb4a7f695d4a7c5938b1fcbb272e28706cb2d84e76e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "867697b74cf213fa2e5fb4a7f695d4a7c5938b1fcbb272e28706cb2d84e76e59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "867697b74cf213fa2e5fb4a7f695d4a7c5938b1fcbb272e28706cb2d84e76e59", kill_on_drop: false }`
[INFO] [stdout] 867697b74cf213fa2e5fb4a7f695d4a7c5938b1fcbb272e28706cb2d84e76e59
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd1ff43653ed56a0ee35df426e6f8c943f4c70bd16854e99b780b148814f8f69
[INFO] running `Command { std: "docker" "start" "-a" "fd1ff43653ed56a0ee35df426e6f8c943f4c70bd16854e99b780b148814f8f69", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking half v2.3.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking gm-sm3 v0.10.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking plotters v0.3.5
[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]     Checking serde_json v1.0.113
[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-01-29; 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-01-29; 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-01-29; 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: the following trait is implemented but not in scope; perhaps add a `use` for 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]     |                      ^^^^^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[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]     |                      ^^^^^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[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]     |                      ^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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" "fd1ff43653ed56a0ee35df426e6f8c943f4c70bd16854e99b780b148814f8f69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd1ff43653ed56a0ee35df426e6f8c943f4c70bd16854e99b780b148814f8f69", kill_on_drop: false }`
[INFO] [stdout] fd1ff43653ed56a0ee35df426e6f8c943f4c70bd16854e99b780b148814f8f69
[INFO] checking gm-sm2-0.10.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate gm-sm2 0.10.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate gm-sm2 0.10.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f6b5e223f3c689940d05de6b82a07ec3e5ba7356202610ed45f89fbed0ac4ab
[INFO] running `Command { std: "docker" "start" "-a" "1f6b5e223f3c689940d05de6b82a07ec3e5ba7356202610ed45f89fbed0ac4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f6b5e223f3c689940d05de6b82a07ec3e5ba7356202610ed45f89fbed0ac4ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f6b5e223f3c689940d05de6b82a07ec3e5ba7356202610ed45f89fbed0ac4ab", kill_on_drop: false }`
[INFO] [stdout] 1f6b5e223f3c689940d05de6b82a07ec3e5ba7356202610ed45f89fbed0ac4ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3e55c899cb66d66e3d09ca7bdc95c736c2a9a5efd8614d43463bd88935ae7a46
[INFO] running `Command { std: "docker" "start" "-a" "3e55c899cb66d66e3d09ca7bdc95c736c2a9a5efd8614d43463bd88935ae7a46", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking half v2.3.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking gm-sm3 v0.10.0
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking plotters v0.3.5
[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]     Checking serde_json v1.0.113
[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] 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] 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: 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-01-30; 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-01-30; 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-01-30; 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: the following trait is implemented but not in scope; perhaps add a `use` for 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]     |                      ^^^^^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[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]     |                      ^^^^^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 257 +     use crate::FeOperation;
[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]     |                      ^^^ method not found in `BigUint`
[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: the following trait is implemented but not in scope; perhaps add a `use` for 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" "3e55c899cb66d66e3d09ca7bdc95c736c2a9a5efd8614d43463bd88935ae7a46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e55c899cb66d66e3d09ca7bdc95c736c2a9a5efd8614d43463bd88935ae7a46", kill_on_drop: false }`
[INFO] [stdout] 3e55c899cb66d66e3d09ca7bdc95c736c2a9a5efd8614d43463bd88935ae7a46
