[INFO] fetching crate clone-solana-secp256k1-program 2.2.1... [INFO] checking clone-solana-secp256k1-program-2.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate clone-solana-secp256k1-program 2.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate clone-solana-secp256k1-program 2.2.1 [INFO] finished tweaking crates.io crate clone-solana-secp256k1-program 2.2.1 [INFO] tweaked toml for crates.io crate clone-solana-secp256k1-program 2.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clone-solana-secp256k1-program 2.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clone-solana-secp256k1-program 2.2.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clone-solana-signer v2.2.1 [INFO] [stderr] Downloaded clone-solana-keccak-hasher v2.2.1 [INFO] [stderr] Downloaded clone-solana-transaction-error v2.2.1 [INFO] [stderr] Downloaded clone-solana-seed-phrase v2.2.1 [INFO] [stderr] Downloaded clone-solana-msg v2.2.1 [INFO] [stderr] Downloaded clone-solana-signature v2.2.1 [INFO] [stderr] Downloaded clone-solana-keypair v2.2.1 [INFO] [stderr] Downloaded clone-solana-account-info v2.2.1 [INFO] [stderr] Downloaded clone-solana-program-memory v2.2.1 [INFO] [stderr] Downloaded clone-solana-serialize-utils v2.2.1 [INFO] [stderr] Downloaded clone-solana-sysvar-id v2.2.1 [INFO] [stderr] Downloaded clone-solana-instructions-sysvar v2.2.1 [INFO] [stderr] Downloaded clone-solana-program-error v2.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0958dbf0cf67e37b84a55eba4a248bfc9e1ae29d92722db42ae706f389c2c7eb [INFO] running `Command { std: "docker" "start" "-a" "0958dbf0cf67e37b84a55eba4a248bfc9e1ae29d92722db42ae706f389c2c7eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0958dbf0cf67e37b84a55eba4a248bfc9e1ae29d92722db42ae706f389c2c7eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0958dbf0cf67e37b84a55eba4a248bfc9e1ae29d92722db42ae706f389c2c7eb", kill_on_drop: false }` [INFO] [stdout] 0958dbf0cf67e37b84a55eba4a248bfc9e1ae29d92722db42ae706f389c2c7eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b210f26718d2a57277fee4fc39a0be3407720040bd1d287887df9348459eff4 [INFO] running `Command { std: "docker" "start" "-a" "5b210f26718d2a57277fee4fc39a0be3407720040bd1d287887df9348459eff4", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking clone-solana-sanitize v2.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking clone-solana-atomic-u64 v2.2.1 [INFO] [stderr] Checking five8_core v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking five8_const v0.1.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking clone-solana-msg v2.2.1 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking clone-solana-program-memory v2.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clone-solana-hash v2.2.1 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking clone-solana-decode-error v2.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clone-solana-pubkey v2.2.1 [INFO] [stderr] Checking clone-solana-instruction v2.2.1 [INFO] [stderr] Checking clone-solana-sdk-ids v2.2.1 [INFO] [stderr] Checking clone-solana-program-error v2.2.1 [INFO] [stderr] Checking clone-solana-transaction-error v2.2.1 [INFO] [stderr] Checking clone-solana-serialize-utils v2.2.1 [INFO] [stderr] Checking clone-solana-sysvar-id v2.2.1 [INFO] [stderr] Checking clone-solana-account-info v2.2.1 [INFO] [stderr] Checking clone-solana-instructions-sysvar v2.2.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clone-solana-keccak-hasher v2.2.1 [INFO] [stderr] Checking clone-solana-seed-phrase v2.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1 v0.6.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking clone-solana-logger v2.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking clone-solana-signature v2.2.1 [INFO] [stderr] Checking clone-solana-signer v2.2.1 [INFO] [stderr] Checking clone-solana-keypair v2.2.1 [INFO] [stderr] Checking clone-solana-secp256k1-program v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `clone_solana_sdk` [INFO] [stdout] --> src/lib.rs:1027:9 [INFO] [stdout] | [INFO] [stdout] 1027 | clone_solana_sdk::transaction::Transaction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clone_solana_sdk` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 1027 - clone_solana_sdk::transaction::Transaction, [INFO] [stdout] 1027 + clone_solana_msg::transaction::Transaction, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clone_solana_feature_set` [INFO] [stdout] --> src/lib.rs:1023:9 [INFO] [stdout] | [INFO] [stdout] 1023 | clone_solana_feature_set::FeatureSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clone_solana_feature_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clone_solana_feature_set`, use `cargo add clone_solana_feature_set` 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 `clone_solana_feature_set` [INFO] [stdout] --> src/lib.rs:1204:27 [INFO] [stdout] | [INFO] [stdout] 1204 | let feature_set = clone_solana_feature_set::FeatureSet::all_enabled(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `clone_solana_feature_set` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `clone_solana_feature_set`, use `cargo add clone_solana_feature_set` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PrecompileError` in this scope [INFO] [stdout] --> src/lib.rs:1035:21 [INFO] [stdout] | [INFO] [stdout] 1035 | ) -> Result<(), PrecompileError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1032 | fn test_case( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify` in this scope [INFO] [stdout] --> src/lib.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | verify(&instruction_data, &[&[0u8; 100]], &feature_set) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 912 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 913 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1021 + use libsecp256k1::verify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify` in this scope [INFO] [stdout] --> src/lib.rs:1057:13 [INFO] [stdout] | [INFO] [stdout] 1057 | verify(&instruction_data, &[&[0u8; 100]], &feature_set), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 912 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 913 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1021 + use libsecp256k1::verify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify` in this scope [INFO] [stdout] --> src/lib.rs:1186:13 [INFO] [stdout] | [INFO] [stdout] 1186 | verify(&instruction_data, &[&[0u8; 100]], &feature_set), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 912 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 913 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1021 + use libsecp256k1::verify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify` in this scope [INFO] [stdout] --> src/lib.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | verify( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:913:8 [INFO] [stdout] | [INFO] [stdout] 912 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 913 | pub fn verify( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1021 + use libsecp256k1::verify; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/lib.rs:1039:9 [INFO] [stdout] | [INFO] [stdout] 1039 | bincode::serialize_into(writer, &offsets).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` 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 `bincode` [INFO] [stdout] --> src/lib.rs:1052:9 [INFO] [stdout] | [INFO] [stdout] 1052 | bincode::serialize_into(writer, &offsets).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1058:17 [INFO] [stdout] | [INFO] [stdout] 1058 | Err(PrecompileError::InvalidInstructionDataSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1067:17 [INFO] [stdout] | [INFO] [stdout] 1067 | Err(PrecompileError::InvalidInstructionDataSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1076:17 [INFO] [stdout] | [INFO] [stdout] 1076 | Err(PrecompileError::InvalidDataOffsets) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1085:17 [INFO] [stdout] | [INFO] [stdout] 1085 | Err(PrecompileError::InvalidDataOffsets) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1098:17 [INFO] [stdout] | [INFO] [stdout] 1098 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1108:17 [INFO] [stdout] | [INFO] [stdout] 1108 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1118:17 [INFO] [stdout] | [INFO] [stdout] 1118 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1128:17 [INFO] [stdout] | [INFO] [stdout] 1128 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1140:17 [INFO] [stdout] | [INFO] [stdout] 1140 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1149:17 [INFO] [stdout] | [INFO] [stdout] 1149 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1170:17 [INFO] [stdout] | [INFO] [stdout] 1170 | Err(PrecompileError::InvalidSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/lib.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | bincode::serialize_into(writer, &offsets).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PrecompileError` [INFO] [stdout] --> src/lib.rs:1187:17 [INFO] [stdout] | [INFO] [stdout] 1187 | Err(PrecompileError::InvalidInstructionDataSize) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `PrecompileError` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:781:76 [INFO] [stdout] | [INFO] [stdout] 780 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 781 | use {clone_solana_instruction::Instruction, clone_solana_precompile_error::PrecompileError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/lib.rs:1196:13 [INFO] [stdout] | [INFO] [stdout] 1196 | bincode::serialized_size(&offsets).unwrap() as usize, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_secp256k1_instruction` in this scope [INFO] [stdout] --> src/lib.rs:1202:36 [INFO] [stdout] | [INFO] [stdout] 1202 | let mut secp_instruction = new_secp256k1_instruction(&secp_privkey, message_arr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:829:8 [INFO] [stdout] | [INFO] [stdout] 828 | #[cfg(feature = "bincode")] [INFO] [stdout] | ------------------- the item is gated behind the `bincode` feature [INFO] [stdout] 829 | pub fn new_secp256k1_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/lib.rs:1282:27 [INFO] [stdout] | [INFO] [stdout] 1282 | let offsets = bincode::serialize(&offsets).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clone-solana-secp256k1-program` (lib test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "5b210f26718d2a57277fee4fc39a0be3407720040bd1d287887df9348459eff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b210f26718d2a57277fee4fc39a0be3407720040bd1d287887df9348459eff4", kill_on_drop: false }` [INFO] [stdout] 5b210f26718d2a57277fee4fc39a0be3407720040bd1d287887df9348459eff4