[INFO] fetching crate gm-sm2 0.10.0...
[INFO] testing gm-sm2-0.10.0 against 1.76.0 for beta-1.77-1
[INFO] extracting crate gm-sm2 0.10.0 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate gm-sm2 0.10.0 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "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" "+1.76.0" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd992c915aeae727d146032f64445d0e9ebb5bf54a5471a2c815614dec1d0c2f
[INFO] running `Command { std: "docker" "start" "-a" "fd992c915aeae727d146032f64445d0e9ebb5bf54a5471a2c815614dec1d0c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd992c915aeae727d146032f64445d0e9ebb5bf54a5471a2c815614dec1d0c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd992c915aeae727d146032f64445d0e9ebb5bf54a5471a2c815614dec1d0c2f", kill_on_drop: false }`
[INFO] [stdout] fd992c915aeae727d146032f64445d0e9ebb5bf54a5471a2c815614dec1d0c2f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b89aa77c9721a73894650de8c35475919e351afc7cfd8880c9b98e347217dfd
[INFO] running `Command { std: "docker" "start" "-a" "7b89aa77c9721a73894650de8c35475919e351afc7cfd8880c9b98e347217dfd", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling gm-sm3 v0.10.0
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling 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]     Finished dev [unoptimized + debuginfo] target(s) in 4.94s
[INFO] running `Command { std: "docker" "inspect" "7b89aa77c9721a73894650de8c35475919e351afc7cfd8880c9b98e347217dfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b89aa77c9721a73894650de8c35475919e351afc7cfd8880c9b98e347217dfd", kill_on_drop: false }`
[INFO] [stdout] 7b89aa77c9721a73894650de8c35475919e351afc7cfd8880c9b98e347217dfd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3109c2db46bd6137bd5033bd9e20bfd113a39f16d6c937f56a72a102d1e06ab9
[INFO] running `Command { std: "docker" "start" "-a" "3109c2db46bd6137bd5033bd9e20bfd113a39f16d6c937f56a72a102d1e06ab9", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling plotters v0.3.5
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hex-literal v0.3.4
[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 ciborium-ll v0.2.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling gm-sm2 v0.10.0 (/opt/rustwide/workdir)
[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] 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] 
[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] 
[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] 
[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" "3109c2db46bd6137bd5033bd9e20bfd113a39f16d6c937f56a72a102d1e06ab9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3109c2db46bd6137bd5033bd9e20bfd113a39f16d6c937f56a72a102d1e06ab9", kill_on_drop: false }`
[INFO] [stdout] 3109c2db46bd6137bd5033bd9e20bfd113a39f16d6c937f56a72a102d1e06ab9
[INFO] testing gm-sm2-0.10.0 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate gm-sm2 0.10.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate gm-sm2 0.10.0 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 116cce5820555cef2d912451210015edf301fa3f412cb6ea1a5be7d5108b9bf0
[INFO] running `Command { std: "docker" "start" "-a" "116cce5820555cef2d912451210015edf301fa3f412cb6ea1a5be7d5108b9bf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "116cce5820555cef2d912451210015edf301fa3f412cb6ea1a5be7d5108b9bf0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "116cce5820555cef2d912451210015edf301fa3f412cb6ea1a5be7d5108b9bf0", kill_on_drop: false }`
[INFO] [stdout] 116cce5820555cef2d912451210015edf301fa3f412cb6ea1a5be7d5108b9bf0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f5b0757baa42d904fd83d96bca983590dd64577c657192d5ec23dc9b253905e9
[INFO] running `Command { std: "docker" "start" "-a" "f5b0757baa42d904fd83d96bca983590dd64577c657192d5ec23dc9b253905e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling gm-sm3 v0.10.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-iter v0.1.44
[INFO] [stderr]    Compiling 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]     Finished dev [unoptimized + debuginfo] target(s) in 3.65s
[INFO] running `Command { std: "docker" "inspect" "f5b0757baa42d904fd83d96bca983590dd64577c657192d5ec23dc9b253905e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5b0757baa42d904fd83d96bca983590dd64577c657192d5ec23dc9b253905e9", kill_on_drop: false }`
[INFO] [stdout] f5b0757baa42d904fd83d96bca983590dd64577c657192d5ec23dc9b253905e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 23d47ea42cfe069c7f1ff6f4544b76a3dbbc23a0c0ea6565d65ea20fa5d7d12f
[INFO] running `Command { std: "docker" "start" "-a" "23d47ea42cfe069c7f1ff6f4544b76a3dbbc23a0c0ea6565d65ea20fa5d7d12f", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling plotters v0.3.5
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hex-literal v0.3.4
[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 ciborium-ll v0.2.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling gm-sm2 v0.10.0 (/opt/rustwide/workdir)
[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] 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] 
[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] 
[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] 
[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" "23d47ea42cfe069c7f1ff6f4544b76a3dbbc23a0c0ea6565d65ea20fa5d7d12f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23d47ea42cfe069c7f1ff6f4544b76a3dbbc23a0c0ea6565d65ea20fa5d7d12f", kill_on_drop: false }`
[INFO] [stdout] 23d47ea42cfe069c7f1ff6f4544b76a3dbbc23a0c0ea6565d65ea20fa5d7d12f
