[INFO] fetching crate fuel-crypto 0.63.0...
[INFO] testing fuel-crypto-0.63.0 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate fuel-crypto 0.63.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate fuel-crypto 0.63.0
[INFO] finished tweaking crates.io crate fuel-crypto 0.63.0
[INFO] tweaked toml for crates.io crate fuel-crypto 0.63.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate fuel-crypto 0.63.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate fuel-crypto 0.63.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37492fe88c881f5deb4b12787aca3cbf751acf335ef61547630c9d95d97de4e0
[INFO] running `Command { std: "docker" "start" "-a" "37492fe88c881f5deb4b12787aca3cbf751acf335ef61547630c9d95d97de4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37492fe88c881f5deb4b12787aca3cbf751acf335ef61547630c9d95d97de4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37492fe88c881f5deb4b12787aca3cbf751acf335ef61547630c9d95d97de4e0", kill_on_drop: false }`
[INFO] [stdout] 37492fe88c881f5deb4b12787aca3cbf751acf335ef61547630c9d95d97de4e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7bc4990531184b3080841c561ac42fbca8d4b6ea8e65c0ccb0537d34484cf247
[INFO] running `Command { std: "docker" "start" "-a" "7bc4990531184b3080841c561ac42fbca8d4b6ea8e65c0ccb0537d34484cf247", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cc v1.2.34
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling secp256k1-sys v0.10.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling fuel-derive v0.63.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling secp256k1 v0.30.0
[INFO] [stderr]    Compiling fuel-types v0.63.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling ripemd v0.1.3
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling pbkdf2 v0.12.2
[INFO] [stderr]    Compiling bs58 v0.5.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling coins-core v0.8.7
[INFO] [stderr]    Compiling coins-bip32 v0.8.7
[INFO] [stderr]    Compiling coins-bip39 v0.8.7
[INFO] [stderr]    Compiling fuel-crypto v0.63.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.12s
[INFO] running `Command { std: "docker" "inspect" "7bc4990531184b3080841c561ac42fbca8d4b6ea8e65c0ccb0537d34484cf247", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bc4990531184b3080841c561ac42fbca8d4b6ea8e65c0ccb0537d34484cf247", kill_on_drop: false }`
[INFO] [stdout] 7bc4990531184b3080841c561ac42fbca8d4b6ea8e65c0ccb0537d34484cf247
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63026e5fd9736fa518635eded27d94a669c0f9dd54d0522b83c15bcf69a45e19
[INFO] running `Command { std: "docker" "start" "-a" "63026e5fd9736fa518635eded27d94a669c0f9dd54d0522b83c15bcf69a45e19", kill_on_drop: false }`
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling clap_builder v4.5.46
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]    Compiling test-case v3.3.1
[INFO] [stderr]    Compiling secp256k1 v0.30.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling clap v4.5.46
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling k256 v0.13.4
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling coins-core v0.8.7
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling coins-bip32 v0.8.7
[INFO] [stderr]    Compiling coins-bip39 v0.8.7
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling fuel-crypto v0.63.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stdout] error[E0432]: unresolved import `fuel_crypto`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use fuel_crypto as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ no external crate `fuel_crypto`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/k256.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use rand::{
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]    --> src/secp256/backend/k1/secp256k1.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     use rand::{
[INFO] [stdout]     |         ^^^^ help: a similar path exists: `secp256k1::rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/secp256/backend/r1/p256.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/secp256/backend.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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 unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/secp256/signature_format.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |     use rand::{
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/tests/signature.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::{
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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[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 functions
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use crate::coins_bip32::ecdsa::hazmat::sign_prehashed;
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use 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 crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use coins_bip32::ecdsa::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 = encode_signature(signature, recovery_id);
[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 crate::coins_bip32::ecdsa::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use crate::secp256::signature_format::RecoveryId;
[INFO] [stdout]     |
[INFO] [stdout]  86 +     use coins_bip32::ecdsa::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 = encode_signature(signature, recovery_id);
[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 unresolved module or unlinked crate `rand`
[INFO] [stdout]   --> src/tests/mnemonic.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[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:65:19
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[cfg(all(feature = "std", feature = "random"))]
[INFO] [stdout]    |                            ------------------ the item is gated behind the `random` feature
[INFO] [stdout] 65 | pub use mnemonic::generate_mnemonic_phrase;
[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:114:22
[INFO] [stdout]     |
[INFO] [stdout] 114 |         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 `secret::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:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 143 | |         phrase: &str,
[INFO] [stdout] 144 | |         path: &str,
[INFO] [stdout] 145 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 157 |       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 `secret::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:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 143 | |         phrase: &str,
[INFO] [stdout] 144 | |         path: &str,
[INFO] [stdout] 145 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 157 |       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 `secret::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:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 143 | |         phrase: &str,
[INFO] [stdout] 144 | |         path: &str,
[INFO] [stdout] 145 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 157 |       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 `secret::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:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 143 | |         phrase: &str,
[INFO] [stdout] 144 | |         path: &str,
[INFO] [stdout] 145 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 157 |       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 `secret::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:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | /     pub fn new_from_mnemonic_phrase_with_path(
[INFO] [stdout] 143 | |         phrase: &str,
[INFO] [stdout] 144 | |         path: &str,
[INFO] [stdout] 145 | |     ) -> Result<Self, Error> {
[INFO] [stdout]     | |____________________________^
[INFO] [stdout] ...
[INFO] [stdout] 157 |       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] 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 28 previous errors
[INFO] running `Command { std: "docker" "inspect" "63026e5fd9736fa518635eded27d94a669c0f9dd54d0522b83c15bcf69a45e19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63026e5fd9736fa518635eded27d94a669c0f9dd54d0522b83c15bcf69a45e19", kill_on_drop: false }`
[INFO] [stdout] 63026e5fd9736fa518635eded27d94a669c0f9dd54d0522b83c15bcf69a45e19
