[INFO] fetching crate zo-abi 0.6.0-beta.1...
[INFO] testing zo-abi-0.6.0-beta.1 against 1.62.0 for beta-1.63-1
[INFO] extracting crate zo-abi 0.6.0-beta.1 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate zo-abi 0.6.0-beta.1 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zo-abi 0.6.0-beta.1
[INFO] finished tweaking crates.io crate zo-abi 0.6.0-beta.1
[INFO] tweaked toml for crates.io crate zo-abi 0.6.0-beta.1 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fixed v1.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cf9da8640ae85a9327c0d0262f52cf86969e75a7ad068322cb6c5b9a2fff9fd
[INFO] running `Command { std: "docker" "start" "-a" "4cf9da8640ae85a9327c0d0262f52cf86969e75a7ad068322cb6c5b9a2fff9fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cf9da8640ae85a9327c0d0262f52cf86969e75a7ad068322cb6c5b9a2fff9fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cf9da8640ae85a9327c0d0262f52cf86969e75a7ad068322cb6c5b9a2fff9fd", kill_on_drop: false }`
[INFO] [stdout] 4cf9da8640ae85a9327c0d0262f52cf86969e75a7ad068322cb6c5b9a2fff9fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df8d11a86d8df1e386056aa034cb56ae8994d4a7c9fc312f95c67ccdb03e45a4
[INFO] running `Command { std: "docker" "start" "-a" "df8d11a86d8df1e386056aa034cb56ae8994d4a7c9fc312f95c67ccdb03e45a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling az v1.2.0
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling fixed v1.11.0
[INFO] [stderr]    Compiling half v1.8.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling regex v1.6.0
[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]    Compiling env_logger v0.9.0
[INFO] [stderr]    Compiling solana-logger v1.9.29
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.81
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.81
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling bytemuck_derive v1.1.0
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.9.29
[INFO] [stderr]    Compiling solana-sdk-macro v1.9.29
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.81
[INFO] [stderr]    Compiling bytemuck v1.10.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.81
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling serde_bytes v0.11.6
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling crypto-common v0.1.5
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling anchor-syn v0.24.2
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling sha3 v0.9.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling solana-frozen-abi v1.9.29
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling anchor-attribute-error v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-state v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.24.2
[INFO] [stderr]    Compiling anchor-derive-accounts v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-interface v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-program v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-event v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-constant v0.24.2
[INFO] [stderr]    Compiling anchor-attribute-account v0.24.2
[INFO] [stderr]    Compiling solana-program v1.9.29
[INFO] [stderr]    Compiling anchor-lang v0.24.2
[INFO] [stderr]    Compiling zo-abi v0.6.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 51.86s
[INFO] running `Command { std: "docker" "inspect" "df8d11a86d8df1e386056aa034cb56ae8994d4a7c9fc312f95c67ccdb03e45a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df8d11a86d8df1e386056aa034cb56ae8994d4a7c9fc312f95c67ccdb03e45a4", kill_on_drop: false }`
[INFO] [stdout] df8d11a86d8df1e386056aa034cb56ae8994d4a7c9fc312f95c67ccdb03e45a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 571d5ec9b9304795fc7851bfa455f9220148892a523879d81ecf470aa59a3f5d
[INFO] running `Command { std: "docker" "start" "-a" "571d5ec9b9304795fc7851bfa455f9220148892a523879d81ecf470aa59a3f5d", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling zo-abi v0.6.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.12s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/zo_abi-ccaa12a5accd89a4)
[INFO] running `Command { std: "docker" "inspect" "571d5ec9b9304795fc7851bfa455f9220148892a523879d81ecf470aa59a3f5d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "571d5ec9b9304795fc7851bfa455f9220148892a523879d81ecf470aa59a3f5d", kill_on_drop: false }`
[INFO] [stdout] 571d5ec9b9304795fc7851bfa455f9220148892a523879d81ecf470aa59a3f5d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f76f6582a403d18efa6b69f056ee5c5f60693e3ee06fd45ed2d803b3f3a2f016
[INFO] running `Command { std: "docker" "start" "-a" "f76f6582a403d18efa6b69f056ee5c5f60693e3ee06fd45ed2d803b3f3a2f016", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.76s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zo_abi-ccaa12a5accd89a4)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_id ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests zo-abi
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 72) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_client`
[INFO] [stdout]  --> src/lib.rs:73:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_client::solana_sdk::pubkey::Pubkey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 3 | use anchor_lang::solana_sdk::pubkey::Pubkey;
[INFO] [stdout]   |     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anchor_client`
[INFO] [stdout]  --> src/lib.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anchor_client::solana_sdk::signer::keypair::read_keypair_file;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anchor_lang::solana_sdk::signer::keypair::read_keypair_file;
[INFO] [stdout]   |     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `anchor_client`
[INFO] [stdout]  --> src/lib.rs:75:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anchor_client::{Client, Cluster};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of undeclared crate or module `anchor_client`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 5 | use anchor_lang::{Client, Cluster};
[INFO] [stdout]   |     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token`
[INFO] [stdout]   --> src/lib.rs:102:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |             token_program: spl_token::ID,
[INFO] [stdout]    |                            ^^^^^^^^^ use of undeclared crate or module `spl_token`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATE_ID` in crate `zo`
[INFO] [stdout]   --> src/lib.rs:85:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let zo_state: zo::State = program.account(zo::STATE_ID).unwrap();
[INFO] [stdout]    |                                                   ^^^^^^^^ not found in `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATE_ID` in crate `zo`
[INFO] [stdout]   --> src/lib.rs:88:67
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let (zo_state_signer, _) = Pubkey::find_program_address(&[zo::STATE_ID.as_ref()], &zo::ID);
[INFO] [stdout]    |                                                                   ^^^^^^^^ not found in `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATE_ID` in crate `zo`
[INFO] [stdout]   --> src/lib.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 29 |             state: zo::STATE_ID,
[INFO] [stdout]    |                        ^^^^^^^^ not found in `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `margin`, `token_account` and `vault` in initializer of `zo_abi::accounts::Deposit`
[INFO] [stdout]   --> src/lib.rs:97:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |         .accounts(zo::accounts::Deposit {
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^ missing `margin`, `token_account` and `vault`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 25) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `self::my_program`
[INFO] [stdout]  --> src/lib.rs:30:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod my_program {
[INFO] [stdout]   |     ^^^^^^^^^^ could not find `my_program` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate`
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ could not find `__client_accounts_do_deposit` in the crate root
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AnchorSerialize` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this derive macro:
[INFO] [stdout]           anchor_lang::AnchorSerialize
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `AnchorDeserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this derive macro:
[INFO] [stdout]           anchor_lang::AnchorDeserialize
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `instruction`
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ use of undeclared crate or module `instruction`
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DoDeposit`
[INFO] [stdout]   --> src/lib.rs:33:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                                    ^^^^^^^^^ use of undeclared type `DoDeposit`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `my_program`
[INFO] [stdout]  --> src/lib.rs:30:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | mod my_program {
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `my_program`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let cpi_accounts = zo::cpi::accounts::Deposit {
[INFO] [stdout]    |                            ^^ use of undeclared crate or module `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         zo::cpi::deposit(cpi_ctx, false, amount)?;
[INFO] [stdout]    |         ^^ use of undeclared crate or module `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ID` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anchor_lang::system_program::ID;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::bpf_loader::ID;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::bpf_loader_deprecated::ID;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use solana_program::bpf_loader_upgradeable::ID;
[INFO] [stdout]   |
[INFO] [stdout]     and 21 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pubkey` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::prelude::Pubkey
[INFO] [stdout]           solana_program::pubkey::Pubkey
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ID` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::system_program::ID
[INFO] [stdout]           solana_program::bpf_loader::ID
[INFO] [stdout]           solana_program::bpf_loader_deprecated::ID
[INFO] [stdout]           solana_program::bpf_loader_upgradeable::ID
[INFO] [stdout]           solana_program::config::program::ID
[INFO] [stdout]           solana_program::ed25519_program::ID
[INFO] [stdout]           solana_program::feature::ID
[INFO] [stdout]           solana_program::incinerator::ID
[INFO] [stdout]           solana_program::secp256k1_program::ID
[INFO] [stdout]           solana_program::stake::config::ID
[INFO] [stdout]           solana_program::stake::program::ID
[INFO] [stdout]           solana_program::system_program::ID
[INFO] [stdout]           solana_program::sysvar::ID
[INFO] [stdout]           solana_program::sysvar::clock::ID
[INFO] [stdout]           solana_program::sysvar::epoch_schedule::ID
[INFO] [stdout]           solana_program::sysvar::fees::ID
[INFO] [stdout]           solana_program::sysvar::instructions::ID
[INFO] [stdout]           solana_program::sysvar::recent_blockhashes::ID
[INFO] [stdout]           solana_program::sysvar::rent::ID
[INFO] [stdout]           solana_program::sysvar::rewards::ID
[INFO] [stdout]           solana_program::sysvar::slot_hashes::ID
[INFO] [stdout]           solana_program::sysvar::slot_history::ID
[INFO] [stdout]           solana_program::sysvar::stake_history::ID
[INFO] [stdout]           solana_program::vote::program::ID
[INFO] [stdout]           zo_abi::ID
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AccountInfo` in this scope
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::prelude::AccountInfo
[INFO] [stdout]           solana_program::sysvar::slot_history::AccountInfo
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Pubkey`
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::prelude::Pubkey
[INFO] [stdout]           solana_program::pubkey::Pubkey
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rent`
[INFO] [stdout]  --> src/lib.rs:29:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing one of these items:
[INFO] [stdout]           anchor_lang::prelude::Rent
[INFO] [stdout]           solana_program::sysvar::rent::Rent
[INFO] [stdout]   = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/lib.rs:33:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use anchor_lang::prelude::Context;
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DoDeposit` in this scope
[INFO] [stdout]   --> src/lib.rs:33:36
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                      -             ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      help: you might be missing a type parameter: `<DoDeposit>`
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope
[INFO] [stdout]   --> src/lib.rs:33:64
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use solana_program::entrypoint::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use solana_program::entrypoint_deprecated::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext`
[INFO] [stdout]   --> src/lib.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let cpi_ctx = CpiContext::new(cpi_program, cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 9  |     use anchor_lang::prelude::CpiContext;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `_doctest_main_src_lib_rs_25_0::instruction::DoDeposit: AnchorSerialize` is not satisfied
[INFO] [stdout]    --> src/lib.rs:29:1
[INFO] [stdout]     |
[INFO] [stdout] 7   | #[program]
[INFO] [stdout]     | ^^^^^^^^^^ the trait `AnchorSerialize` is not implemented for `_doctest_main_src_lib_rs_25_0::instruction::DoDeposit`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `AnchorSerialize`:
[INFO] [stdout]               &T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5, T6)
[INFO] [stdout]             and 181 others
[INFO] [stdout] note: required by a bound in `InstructionData`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/anchor-lang-0.24.2/src/lib.rs:184:28
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub trait InstructionData: AnchorSerialize {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ required by this bound in `InstructionData`
[INFO] [stdout]     = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 25)
[INFO] [stdout]     src/lib.rs - (line 72)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "f76f6582a403d18efa6b69f056ee5c5f60693e3ee06fd45ed2d803b3f3a2f016", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f76f6582a403d18efa6b69f056ee5c5f60693e3ee06fd45ed2d803b3f3a2f016", kill_on_drop: false }`
[INFO] [stdout] f76f6582a403d18efa6b69f056ee5c5f60693e3ee06fd45ed2d803b3f3a2f016
