[INFO] fetching crate solana-message 3.0.1... [INFO] testing solana-message-3.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate solana-message 3.0.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate solana-message 3.0.1 [INFO] finished tweaking crates.io crate solana-message 3.0.1 [INFO] tweaked toml for crates.io crate solana-message 3.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate solana-message 3.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate solana-message 3.0.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01c2833a50946cf6edb2d7770bc157cb0ce3a2d54c95cd248cadfacbed02241b [INFO] running `Command { std: "docker" "start" "-a" "01c2833a50946cf6edb2d7770bc157cb0ce3a2d54c95cd248cadfacbed02241b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01c2833a50946cf6edb2d7770bc157cb0ce3a2d54c95cd248cadfacbed02241b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01c2833a50946cf6edb2d7770bc157cb0ce3a2d54c95cd248cadfacbed02241b", kill_on_drop: false }` [INFO] [stdout] 01c2833a50946cf6edb2d7770bc157cb0ce3a2d54c95cd248cadfacbed02241b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 383db8986eaa96fdd93fa4c567fff595f4e22cf76cdf09b5e91076643f6cec86 [INFO] running `Command { std: "docker" "start" "-a" "383db8986eaa96fdd93fa4c567fff595f4e22cf76cdf09b5e91076643f6cec86", kill_on_drop: false }` [INFO] [stderr] Compiling five8_core v0.1.1 [INFO] [stderr] Compiling solana-sanitize v3.0.0 [INFO] [stderr] Compiling solana-atomic-u64 v3.0.0 [INFO] [stderr] Compiling solana-program-error v3.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling solana-instruction-error v2.0.0 [INFO] [stderr] Compiling five8 v0.2.1 [INFO] [stderr] Compiling five8_const v0.1.3 [INFO] [stderr] Compiling solana-transaction-error v3.0.0 [INFO] [stderr] Compiling solana-hash v3.0.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling solana-sha256-hasher v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-message v3.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "383db8986eaa96fdd93fa4c567fff595f4e22cf76cdf09b5e91076643f6cec86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "383db8986eaa96fdd93fa4c567fff595f4e22cf76cdf09b5e91076643f6cec86", kill_on_drop: false }` [INFO] [stdout] 383db8986eaa96fdd93fa4c567fff595f4e22cf76cdf09b5e91076643f6cec86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f309cd89cbb7adb276f258d3c67baa22cf178c0c08730de9bfe5fa3a81d286e7 [INFO] running `Command { std: "docker" "start" "-a" "f309cd89cbb7adb276f258d3c67baa22cf178c0c08730de9bfe5fa3a81d286e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling borsh v1.5.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling solana-slot-hashes v3.0.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling solana-msg v3.0.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling solana-fee-calculator v3.0.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.5 [INFO] [stderr] Compiling solana-sdk-macro v3.0.0 [INFO] [stderr] Compiling solana-clock v3.0.0 [INFO] [stderr] Compiling solana-address v1.0.0 [INFO] [stderr] Compiling solana-pubkey v3.0.0 [INFO] [stderr] Compiling solana-instruction v3.0.0 [INFO] [stderr] Compiling solana-sdk-ids v3.0.0 [INFO] [stderr] Compiling solana-nonce v3.0.0 [INFO] [stderr] Compiling solana-system-interface v2.0.0 [INFO] [stderr] Compiling solana-address-lookup-table-interface v3.0.0 [INFO] [stderr] Compiling solana-message v3.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/inline_nonce.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | bincode::deserialize(&ADVANCE_NONCE_DATA).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[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/legacy.rs:630:34 [INFO] [stdout] | [INFO] [stdout] 630 | CompiledInstruction::new(2, &0, vec![1]) [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/legacy.rs:634:34 [INFO] [stdout] | [INFO] [stdout] 634 | CompiledInstruction::new(3, &0, vec![0]) [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/legacy.rs:638:34 [INFO] [stdout] | [INFO] [stdout] 638 | CompiledInstruction::new(2, &0, vec![0]) [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/legacy.rs:739:54 [INFO] [stdout] | [INFO] [stdout] 739 | let instructions = vec![CompiledInstruction::new(2, &(), vec![0, 1])]; [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/legacy.rs:756:54 [INFO] [stdout] | [INFO] [stdout] 756 | let instructions = vec![CompiledInstruction::new(2, &(), vec![0, 1])]; [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/legacy.rs:774:13 [INFO] [stdout] | [INFO] [stdout] 774 | bincode::serialized_size(&MessageHeader::default()).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[E0599]: no method named `hash` found for struct `legacy::Message` in the current scope [INFO] [stdout] --> src/legacy.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Message { [INFO] [stdout] | ------------------ method `hash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 806 | message.hash(), [INFO] [stdout] | ^^^^ method not found in `legacy::Message` [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 trait defines an item `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::hash::Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:517:34 [INFO] [stdout] | [INFO] [stdout] 517 | CompiledInstruction::new(3, &(), vec![2, 0]), [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:518:34 [INFO] [stdout] | [INFO] [stdout] 518 | CompiledInstruction::new(3, &(), vec![0, 1]), [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:519:34 [INFO] [stdout] | [INFO] [stdout] 519 | CompiledInstruction::new(3, &(), vec![0, 0]), [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:633:49 [INFO] [stdout] | [INFO] [stdout] 633 | let loader_instr = CompiledInstruction::new(2, &(), vec![0, 1]); [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:634:57 [INFO] [stdout] | [INFO] [stdout] 634 | let mock_secp256k1_instr = CompiledInstruction::new(3, &[1u8; 10], vec![]); [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `compiled_instruction::CompiledInstruction` in the current scope [INFO] [stdout] --> src/sanitized.rs:635:55 [INFO] [stdout] | [INFO] [stdout] 635 | let mock_ed25519_instr = CompiledInstruction::new(4, &[5u8; 10], vec![]); [INFO] [stdout] | ^^^ function or associated item not found in `compiled_instruction::CompiledInstruction` [INFO] [stdout] | [INFO] [stdout] ::: src/compiled_instruction.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct CompiledInstruction { [INFO] [stdout] | ------------------------------ function or associated item `new` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `compiled_instruction::CompiledInstruction`, consider using `compiled_instruction::CompiledInstruction::new_from_raw_parts` which returns `compiled_instruction::CompiledInstruction` [INFO] [stdout] --> src/compiled_instruction.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new_from_raw_parts(program_id_index: u8, data: Vec, accounts: Vec) -> Self { [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 `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `crypto_common::KeyInit` [INFO] [stdout] candidate #2: `crypto_common::KeyIvInit` [INFO] [stdout] candidate #3: `curve25519_dalek::traits::VartimePrecomputedMultiscalarMul` [INFO] [stdout] candidate #4: `digest::VariableOutput` [INFO] [stdout] candidate #5: `digest::core_api::VariableOutputCore` [INFO] [stdout] candidate #6: `digest::digest::Digest` [INFO] [stdout] candidate #7: `itertools::adaptors::coalesce::CountItem` [INFO] [stdout] candidate #8: `typenum::marker_traits::Bit` [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `non_bpf_modules::versions::v0::Message` in the current scope [INFO] [stdout] --> src/versions/v0/mod.rs:654:28 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Message { [INFO] [stdout] | ------------------ method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 654 | assert_eq!(message.serialize(), versioned_msg.serialize()); [INFO] [stdout] | ^^^^^^^^^ method not found in `non_bpf_modules::versions::v0::Message` [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 `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bincode::config::Options` [INFO] [stdout] candidate #2: `borsh::ser::BorshSerialize` [INFO] [stdout] candidate #3: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for enum `non_bpf_modules::versions::VersionedMessage` in the current scope [INFO] [stdout] --> src/versions/v0/mod.rs:654:55 [INFO] [stdout] | [INFO] [stdout] 654 | assert_eq!(message.serialize(), versioned_msg.serialize()); [INFO] [stdout] | ^^^^^^^^^ method not found in `non_bpf_modules::versions::VersionedMessage` [INFO] [stdout] | [INFO] [stdout] ::: src/versions/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum VersionedMessage { [INFO] [stdout] | ------------------------- method `serialize` not found for this enum [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 `serialize`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bincode::config::Options` [INFO] [stdout] candidate #2: `borsh::ser::BorshSerialize` [INFO] [stdout] candidate #3: `serde::ser::Serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/versions/mod.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | let bytes = bincode::serialize(&message).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/versions/mod.rs:367:31 [INFO] [stdout] | [INFO] [stdout] 367 | assert_eq!(bytes, bincode::serialize(&wrapped_message).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/versions/mod.rs:369:53 [INFO] [stdout] | [INFO] [stdout] 369 | let message_from_bytes: LegacyMessage = bincode::deserialize(&bytes).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/versions/mod.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 371 | bincode::deserialize(&bytes).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[E0277]: the trait bound `legacy::Message: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/versions/mod.rs:379:48 [INFO] [stdout] | [INFO] [stdout] 379 | let string = serde_json::to_string(&message).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `legacy::Message` [INFO] [stdout] --> src/legacy.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `legacy::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 139 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `legacy::Message: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/versions/mod.rs:380:54 [INFO] [stdout] | [INFO] [stdout] 380 | let message_from_string: LegacyMessage = serde_json::from_str(&string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `legacy::Message` [INFO] [stdout] --> src/legacy.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Message { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `legacy::Message` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 148 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> src/versions/mod.rs:414:21 [INFO] [stdout] | [INFO] [stdout] 414 | let bytes = bincode::serialize(&message).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/versions/mod.rs:415:52 [INFO] [stdout] | [INFO] [stdout] 415 | let message_from_bytes: VersionedMessage = bincode::deserialize(&bytes).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[E0277]: the trait bound `non_bpf_modules::versions::VersionedMessage: serde::ser::Serialize` is not satisfied [INFO] [stdout] --> src/versions/mod.rs:418:44 [INFO] [stdout] | [INFO] [stdout] 418 | let string = serde_json::to_string(&message).unwrap(); [INFO] [stdout] | --------------------- ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::ser::Serialize` is not implemented for `non_bpf_modules::versions::VersionedMessage` [INFO] [stdout] --> src/versions/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum VersionedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `non_bpf_modules::versions::VersionedMessage` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::ser::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 139 others [INFO] [stdout] note: required by a bound in `serde_json::to_string` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/ser.rs:2239:17 [INFO] [stdout] | [INFO] [stdout] 2237 | pub fn to_string(value: &T) -> Result [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 2238 | where [INFO] [stdout] 2239 | T: ?Sized + Serialize, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `non_bpf_modules::versions::VersionedMessage: serde::de::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/versions/mod.rs:419:53 [INFO] [stdout] | [INFO] [stdout] 419 | let message_from_string: VersionedMessage = serde_json::from_str(&string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `serde::de::Deserialize<'_>` is not implemented for `non_bpf_modules::versions::VersionedMessage` [INFO] [stdout] --> src/versions/mod.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum VersionedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `non_bpf_modules::versions::VersionedMessage` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::de::Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 148 others [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.139/src/de.rs:2699:8 [INFO] [stdout] | [INFO] [stdout] 2697 | pub fn from_str<'a, T>(s: &'a str) -> Result [INFO] [stdout] | -------- required by a bound in this function [INFO] [stdout] 2698 | where [INFO] [stdout] 2699 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana-message` (lib test) due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "f309cd89cbb7adb276f258d3c67baa22cf178c0c08730de9bfe5fa3a81d286e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f309cd89cbb7adb276f258d3c67baa22cf178c0c08730de9bfe5fa3a81d286e7", kill_on_drop: false }` [INFO] [stdout] f309cd89cbb7adb276f258d3c67baa22cf178c0c08730de9bfe5fa3a81d286e7