[INFO] fetching crate fuel-crypto 0.43.1...
[INFO] checking fuel-crypto-0.43.1 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate fuel-crypto 0.43.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate fuel-crypto 0.43.1 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 fuel-crypto 0.43.1
[INFO] finished tweaking crates.io crate fuel-crypto 0.43.1
[INFO] tweaked toml for crates.io crate fuel-crypto 0.43.1 written to /workspace/builds/worker-7-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 146 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 bech32 v0.9.1 (latest: v0.11.0)
[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 fuel-derive v0.43.2 (latest: v0.49.0)
[INFO] [stderr]       Adding fuel-types v0.43.2 (latest: v0.49.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[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 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 radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding secp256k1 v0.26.0 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.8.1 (latest: v0.10.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[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 p256 v0.13.2
[INFO] [stderr]   Downloaded primeorder v0.13.6
[INFO] [stderr]   Downloaded sec1 v0.7.3
[INFO] [stderr]   Downloaded elliptic-curve v0.13.8
[INFO] [stderr]   Downloaded pkcs8 v0.10.2
[INFO] [stderr]   Downloaded rfc6979 v0.4.0
[INFO] [stderr]   Downloaded bech32 v0.9.1
[INFO] [stderr]   Downloaded ripemd v0.1.3
[INFO] [stderr]   Downloaded coins-core v0.8.7
[INFO] [stderr]   Downloaded pbkdf2 v0.12.2
[INFO] [stderr]   Downloaded bs58 v0.5.1
[INFO] [stderr]   Downloaded platforms v3.4.0
[INFO] [stderr]   Downloaded coins-bip39 v0.8.7
[INFO] [stderr]   Downloaded ed25519-dalek v2.1.1
[INFO] [stderr]   Downloaded curve25519-dalek v4.1.2
[INFO] [stderr]   Downloaded k256 v0.13.3
[INFO] [stderr]   Downloaded fiat-crypto v0.2.8
[INFO] [stderr]   Downloaded crypto-bigint v0.5.5
[INFO] [stderr]   Downloaded der v0.7.9
[INFO] [stderr]   Downloaded coins-bip32 v0.8.7
[INFO] [stderr]   Downloaded os_str_bytes v6.6.1
[INFO] [stderr]   Downloaded textwrap v0.16.1
[INFO] [stderr]   Downloaded fuel-types v0.43.2
[INFO] [stderr]   Downloaded group v0.13.0
[INFO] [stderr]   Downloaded curve25519-dalek-derive v0.1.1
[INFO] [stderr]   Downloaded ed25519 v2.2.3
[INFO] [stderr]   Downloaded synstructure v0.13.1
[INFO] [stderr]   Downloaded secp256k1-sys v0.8.1
[INFO] [stderr]   Downloaded fuel-derive v0.43.2
[INFO] [stderr]   Downloaded signature v2.2.0
[INFO] [stderr]   Downloaded ecdsa v0.16.9
[INFO] [stderr]   Downloaded ff v0.13.0
[INFO] [stderr]   Downloaded base16ct v0.2.0
[INFO] [stderr]   Downloaded spki v0.7.3
[INFO] [stderr]   Downloaded secp256k1 v0.26.0
[INFO] [stderr]   Downloaded const-oid v0.9.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 97d8e7face052da34aed55ff445393ffef9d9a90cc106d36a64c3510615a3895
[INFO] running `Command { std: "docker" "start" "-a" "97d8e7face052da34aed55ff445393ffef9d9a90cc106d36a64c3510615a3895", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "97d8e7face052da34aed55ff445393ffef9d9a90cc106d36a64c3510615a3895", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97d8e7face052da34aed55ff445393ffef9d9a90cc106d36a64c3510615a3895", kill_on_drop: false }`
[INFO] [stdout] 97d8e7face052da34aed55ff445393ffef9d9a90cc106d36a64c3510615a3895
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e5be9a37ce9214a26aaddf884be9311ab96220948913981761dc60cc3d03796b
[INFO] running `Command { std: "docker" "start" "-a" "e5be9a37ce9214a26aaddf884be9311ab96220948913981761dc60cc3d03796b", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking secp256k1 v0.26.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling fuel-derive v0.43.2
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking fuel-types v0.43.2
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking coins-core v0.8.7
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking coins-bip32 v0.8.7
[INFO] [stderr]     Checking coins-bip39 v0.8.7
[INFO] [stderr]     Checking fuel-crypto v0.43.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> benches/signature.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use rand::{
[INFO] [stdout]    |             ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> benches/signature.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use rand::{
[INFO] [stdout]    |             ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fuel_crypto`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use fuel_crypto as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `fuel_crypto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use rand::{
[INFO] [stdout]     |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/backend/r1/p256.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use rand::{
[INFO] [stdout]     |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/backend.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/backend/r1/p256.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use rand::{
[INFO] [stdout]    |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/signature_format.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/backend.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/tests/signature.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/signature_format.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::{
[INFO] [stdout]    |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/tests/signature.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{
[INFO] [stdout]    |     ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `fuel_crypto::SecretKey` in the current scope
[INFO] [stdout]    --> benches/signature.rs:27:30
[INFO] [stdout]     |
[INFO] [stdout] 27  |         let key = SecretKey::random(rng);
[INFO] [stdout]     |                              ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `fuel_crypto::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       fuel_crypto::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       fuel_crypto::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> /opt/rustwide/workdir/src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_prehashed` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 sign_prehashed(&signing_key, &message).expect("Couldn't sign");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use k256::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RecoveryId`
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:145:31
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let recovery_id = RecoveryId::from_byte(0).unwrap().try_into().unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `RecoveryId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]       and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_signature` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let encoded = encode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/signature_format.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout] 67  | pub fn decode_signature(mut signature: [u8; 64]) -> ([u8; 64], RecoveryId) {
[INFO] [stdout]     | -------------------------------------------------------------------------- similarly named function `decode_signature` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let encoded = decode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::encode_signature;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RecoveryId`
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:152:31
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let recovery_id = RecoveryId::from_byte(1).unwrap().try_into().unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `RecoveryId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]       and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_signature` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:153:27
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let encoded = encode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/signature_format.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout] 67  | pub fn decode_signature(mut signature: [u8; 64]) -> ([u8; 64], RecoveryId) {
[INFO] [stdout]     | -------------------------------------------------------------------------- similarly named function `decode_signature` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let encoded = decode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::encode_signature;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/tests/mnemonic.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]    |
[INFO] [stdout] 1  + use secp256k1::rand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_mnemonic_phrase` in the crate root
[INFO] [stdout]   --> src/tests/mnemonic.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let phrase = crate::generate_mnemonic_phrase(&mut rng, 12)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use mnemonic::generate_mnemonic_phrase;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&(_, _, fuel_crypto::Message)`
[INFO] [stdout]    --> benches/signature.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |b, (public, signature, message)| {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 200 |             b.iter(|| signature.verify(black_box(public), black_box(message)))
[INFO] [stdout]     |                                 ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |b, (public, signature, message): &(_, _, fuel_crypto::Message)| {
[INFO] [stdout]     |                                         +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&(_, _)`
[INFO] [stdout]    --> benches/signature.rs:237:13
[INFO] [stdout]     |
[INFO] [stdout] 237 |         |b, (signature, message)| b.iter(|| signature.recover(black_box(message))),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^                      ------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 237 |         |b, (signature, message): &(_, _)| b.iter(|| signature.recover(black_box(message))),
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `random_secret` in this scope
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let secret = random_secret(rng);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `random_secret` in this scope
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let secret = random_secret(rng);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_pubkey` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:130:36
[INFO] [stdout]     |
[INFO] [stdout] 130 |             assert_eq!(*recovered, encode_pubkey(*verifying_key));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/secp256/backend.rs:48:37
[INFO] [stdout]     |
[INFO] [stdout] 48  |             let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/secp256/signature_format.rs:93:33
[INFO] [stdout]     |
[INFO] [stdout] 93  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:25:33
[INFO] [stdout]     |
[INFO] [stdout] 25  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fuel-crypto` (bench "signature") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout] 45  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:67:29
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let secret = SecretKey::random(rng);
[INFO] [stdout]     |                             ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fuel-crypto` (lib test) due to 29 previous errors
[INFO] running `Command { std: "docker" "inspect" "e5be9a37ce9214a26aaddf884be9311ab96220948913981761dc60cc3d03796b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5be9a37ce9214a26aaddf884be9311ab96220948913981761dc60cc3d03796b", kill_on_drop: false }`
[INFO] [stdout] e5be9a37ce9214a26aaddf884be9311ab96220948913981761dc60cc3d03796b
[INFO] checking fuel-crypto-0.43.1 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate fuel-crypto 0.43.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate fuel-crypto 0.43.1 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fuel-crypto 0.43.1
[INFO] finished tweaking crates.io crate fuel-crypto 0.43.1
[INFO] tweaked toml for crates.io crate fuel-crypto 0.43.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 146 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 bech32 v0.9.1 (latest: v0.11.0)
[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 fuel-derive v0.43.2 (latest: v0.49.0)
[INFO] [stderr]       Adding fuel-types v0.43.2 (latest: v0.49.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[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 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 radium v0.7.0 (latest: v1.1.0)
[INFO] [stderr]       Adding secp256k1 v0.26.0 (latest: v0.29.0)
[INFO] [stderr]       Adding secp256k1-sys v0.8.1 (latest: v0.10.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] [stderr]       Adding wyz v0.5.1 (latest: v0.6.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 922d0898b3507119cc81db46dbb837f571b40ba29978e441b1b938f6f9e8c385
[INFO] running `Command { std: "docker" "start" "-a" "922d0898b3507119cc81db46dbb837f571b40ba29978e441b1b938f6f9e8c385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "922d0898b3507119cc81db46dbb837f571b40ba29978e441b1b938f6f9e8c385", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "922d0898b3507119cc81db46dbb837f571b40ba29978e441b1b938f6f9e8c385", kill_on_drop: false }`
[INFO] [stdout] 922d0898b3507119cc81db46dbb837f571b40ba29978e441b1b938f6f9e8c385
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01c772df62e780c0e66cfb7a424a43bc310e5cc4dcce59c39cec180655792308
[INFO] running `Command { std: "docker" "start" "-a" "01c772df62e780c0e66cfb7a424a43bc310e5cc4dcce59c39cec180655792308", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking base16ct v0.2.0
[INFO] [stderr]    Compiling semver v1.0.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking keccak v0.1.5
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling platforms v3.4.0
[INFO] [stderr]    Compiling secp256k1-sys v0.8.1
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking tap v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking either v1.11.0
[INFO] [stderr]     Checking bech32 v0.9.1
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking wyz v0.5.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking funty v2.0.0
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]    Compiling curve25519-dalek v4.1.2
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking bitvec v1.0.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ff v0.13.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking secp256k1 v0.26.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling fuel-derive v0.43.2
[INFO] [stderr]     Checking zeroize v1.7.0
[INFO] [stderr]     Checking der v0.7.9
[INFO] [stderr]     Checking fuel-types v0.43.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking pbkdf2 v0.12.2
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking ed25519-dalek v2.1.1
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking k256 v0.13.3
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking coins-core v0.8.7
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking coins-bip32 v0.8.7
[INFO] [stderr]     Checking coins-bip39 v0.8.7
[INFO] [stderr]     Checking fuel-crypto v0.43.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking criterion v0.4.0
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> benches/signature.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use rand::{
[INFO] [stdout]    |             ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> benches/signature.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         use rand::{
[INFO] [stdout]    |             ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `fuel_crypto`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use fuel_crypto as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `fuel_crypto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use rand::{
[INFO] [stdout]     |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/backend/r1/p256.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     use rand::{
[INFO] [stdout]     |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/backend.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/backend/r1/p256.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use rand::{
[INFO] [stdout]    |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/secp256/signature_format.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/backend.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/tests/signature.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/secp256/signature_format.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::{
[INFO] [stdout]    |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]   --> src/tests/signature.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{
[INFO] [stdout]    |     ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `fuel_crypto::SecretKey` in the current scope
[INFO] [stdout]    --> benches/signature.rs:27:30
[INFO] [stdout]     |
[INFO] [stdout] 27  |         let key = SecretKey::random(rng);
[INFO] [stdout]     |                              ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `fuel_crypto::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       fuel_crypto::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       fuel_crypto::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> /opt/rustwide/workdir/src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sign_prehashed` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 sign_prehashed(&signing_key, &message).expect("Couldn't sign");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use k256::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RecoveryId`
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:145:31
[INFO] [stdout]     |
[INFO] [stdout] 145 |             let recovery_id = RecoveryId::from_byte(0).unwrap().try_into().unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `RecoveryId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]       and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_signature` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let encoded = encode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/signature_format.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout] 67  | pub fn decode_signature(mut signature: [u8; 64]) -> ([u8; 64], RecoveryId) {
[INFO] [stdout]     | -------------------------------------------------------------------------- similarly named function `decode_signature` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 146 |             let encoded = decode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::encode_signature;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RecoveryId`
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:152:31
[INFO] [stdout]     |
[INFO] [stdout] 152 |             let recovery_id = RecoveryId::from_byte(1).unwrap().try_into().unwrap();
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared type `RecoveryId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]       and 2 other candidates
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_signature` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:153:27
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let encoded = encode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/signature_format.rs:67:1
[INFO] [stdout]     |
[INFO] [stdout] 67  | pub fn decode_signature(mut signature: [u8; 64]) -> ([u8; 64], RecoveryId) {
[INFO] [stdout]     | -------------------------------------------------------------------------- similarly named function `decode_signature` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a function with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 153 |             let encoded = decode_signature(signature, recovery_id);
[INFO] [stdout]     |                           ~~~~~~~~~~~~~~~~
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 86  +     use crate::secp256::signature_format::encode_signature;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/tests/mnemonic.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this crate
[INFO] [stdout]    |
[INFO] [stdout] 1  + use secp256k1::rand;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `generate_mnemonic_phrase` in the crate root
[INFO] [stdout]   --> src/tests/mnemonic.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let phrase = crate::generate_mnemonic_phrase(&mut rng, 12)
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^ not found in the crate root
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/lib.rs:57:19
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub use mnemonic::generate_mnemonic_phrase;
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&(_, _, fuel_crypto::Message)`
[INFO] [stdout]    --> benches/signature.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |b, (public, signature, message)| {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 200 |             b.iter(|| signature.verify(black_box(public), black_box(message)))
[INFO] [stdout]     |                                 ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |b, (public, signature, message): &(_, _, fuel_crypto::Message)| {
[INFO] [stdout]     |                                         +++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed for `&(_, _)`
[INFO] [stdout]    --> benches/signature.rs:237:13
[INFO] [stdout]     |
[INFO] [stdout] 237 |         |b, (signature, message)| b.iter(|| signature.recover(black_box(message))),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^                      ------- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
[INFO] [stdout]     |
[INFO] [stdout] 237 |         |b, (signature, message): &(_, _)| b.iter(|| signature.recover(black_box(message))),
[INFO] [stdout]     |                                 +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `random_secret` in this scope
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:139:22
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let secret = random_secret(rng);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `random_secret` in this scope
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:112:22
[INFO] [stdout]     |
[INFO] [stdout] 112 |         let secret = random_secret(rng);
[INFO] [stdout]     |                      ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_pubkey` in this scope
[INFO] [stdout]    --> src/secp256/backend/r1/p256.rs:130:36
[INFO] [stdout]     |
[INFO] [stdout] 130 |             assert_eq!(*recovered, encode_pubkey(*verifying_key));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/secp256/backend.rs:48:37
[INFO] [stdout]     |
[INFO] [stdout] 48  |             let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                     ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fuel-crypto` (bench "signature") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/secp256/signature_format.rs:93:33
[INFO] [stdout]     |
[INFO] [stdout] 93  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:25:33
[INFO] [stdout]     |
[INFO] [stdout] 25  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:45:33
[INFO] [stdout]     |
[INFO] [stdout] 45  |         let secret = SecretKey::random(rng);
[INFO] [stdout]     |                                 ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `random` found for struct `secret::SecretKey` in the current scope
[INFO] [stdout]    --> src/tests/signature.rs:67:29
[INFO] [stdout]     |
[INFO] [stdout] 67  |     let secret = SecretKey::random(rng);
[INFO] [stdout]     |                             ^^^^^^ function or associated item not found in `SecretKey`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/secp256/secret.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout] 35  | pub struct SecretKey(Bytes32);
[INFO] [stdout]     | -------------------- function or associated item `random` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `secret::SecretKey` consider using one of the following associated functions:
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic_phrase_with_path
[INFO] [stdout]       secret::SecretKey::new_from_mnemonic
[INFO] [stdout]    --> src/secp256/secret.rs:133:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 134 | |         phrase: &str,
[INFO] [stdout] 135 | |         path: &str,
[INFO] [stdout] 136 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 148 |       pub fn new_from_mnemonic(d: DerivationPath, m: Mnemonic<W>) -> Result<Self, Error> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following traits define an item `random`, perhaps you need to implement one of them:
[INFO] [stdout]             candidate #1: `Field`
[INFO] [stdout]             candidate #2: `Group`
[INFO] [stdout]             candidate #3: `Random`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 28 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fuel-crypto` (lib test) due to 29 previous errors
[INFO] running `Command { std: "docker" "inspect" "01c772df62e780c0e66cfb7a424a43bc310e5cc4dcce59c39cec180655792308", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01c772df62e780c0e66cfb7a424a43bc310e5cc4dcce59c39cec180655792308", kill_on_drop: false }`
[INFO] [stdout] 01c772df62e780c0e66cfb7a424a43bc310e5cc4dcce59c39cec180655792308
