[INFO] fetching crate zo-abi 0.6.0...
[INFO] testing zo-abi-0.6.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate zo-abi 0.6.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate zo-abi 0.6.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zo-abi 0.6.0
[INFO] finished tweaking crates.io crate zo-abi 0.6.0
[INFO] tweaked toml for crates.io crate zo-abi 0.6.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 150 packages to latest compatible versions
[INFO] [stderr]       Adding ahash v0.7.8 (latest: v0.8.11)
[INFO] [stderr]       Adding anchor-attribute-access-control v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-account v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-constant v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-error v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-event v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-interface v0.25.0 (latest: v0.26.0)
[INFO] [stderr]       Adding anchor-attribute-program v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-state v0.25.0 (latest: v0.26.0)
[INFO] [stderr]       Adding anchor-derive-accounts v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-lang v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-syn v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding base64 v0.12.3 (latest: v0.22.1)
[INFO] [stderr]       Adding base64 v0.13.1 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding bitmaps v2.1.0 (latest: v3.2.1)
[INFO] [stderr]       Adding block-buffer v0.9.0 (latest: v0.10.4)
[INFO] [stderr]       Adding borsh v0.9.3 (latest: v1.5.0)
[INFO] [stderr]       Adding borsh-derive v0.9.3 (latest: v1.5.0)
[INFO] [stderr]       Adding borsh-derive-internal v0.9.3 (latest: v0.10.3)
[INFO] [stderr]       Adding borsh-schema-derive-internal v0.9.3 (latest: v0.10.3)
[INFO] [stderr]       Adding bs58 v0.3.1 (latest: v0.5.1)
[INFO] [stderr]       Adding bs58 v0.4.0 (latest: v0.5.1)
[INFO] [stderr]       Adding console_log v0.2.2 (latest: v1.0.0)
[INFO] [stderr]       Adding crypto-mac v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding curve25519-dalek v3.2.1 (latest: v4.1.2)
[INFO] [stderr]       Adding digest v0.9.0 (latest: v0.10.7)
[INFO] [stderr]       Adding fixed v1.11.0 (latest: v1.27.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.15)
[INFO] [stderr]       Adding half v1.8.3 (latest: v2.4.1)
[INFO] [stderr]       Adding hashbrown v0.11.2 (latest: v0.14.5)
[INFO] [stderr]       Adding heck v0.3.3 (latest: v0.5.0)
[INFO] [stderr]       Adding hmac v0.8.1 (latest: v0.12.1)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding libsecp256k1 v0.6.0 (latest: v0.7.1)
[INFO] [stderr]       Adding libsecp256k1-core v0.2.2 (latest: v0.3.0)
[INFO] [stderr]       Adding libsecp256k1-gen-ecmult v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding libsecp256k1-gen-genmult v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding memmap2 v0.5.10 (latest: v0.9.4)
[INFO] [stderr]       Adding num-derive v0.3.3 (latest: v0.4.2)
[INFO] [stderr]       Adding proc-macro-crate v0.1.5 (latest: v3.1.0)
[INFO] [stderr]       Adding proc-macro2-diagnostics v0.9.1 (latest: v0.10.1)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding sha2 v0.9.9 (latest: v0.10.8)
[INFO] [stderr]       Adding sized-chunks v0.6.5 (latest: v0.7.0)
[INFO] [stderr]       Adding solana-frozen-abi v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-frozen-abi-macro v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-program v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-sdk-macro v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml v0.5.11 (latest: v0.8.13)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding yansi v0.5.1 (latest: v1.0.1)
[INFO] [stderr]       Adding zeroize v1.3.0 (latest: v1.7.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 42ade5c46dba7d12311eb6d95f5d9b95c1069e4eea427f857bacc1a7e76d4d4b
[INFO] running `Command { std: "docker" "start" "-a" "42ade5c46dba7d12311eb6d95f5d9b95c1069e4eea427f857bacc1a7e76d4d4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "42ade5c46dba7d12311eb6d95f5d9b95c1069e4eea427f857bacc1a7e76d4d4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42ade5c46dba7d12311eb6d95f5d9b95c1069e4eea427f857bacc1a7e76d4d4b", kill_on_drop: false }`
[INFO] [stdout] 42ade5c46dba7d12311eb6d95f5d9b95c1069e4eea427f857bacc1a7e76d4d4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02a91b6105b7db3f82edfecfb5511314b6077adc35bb7fe3eefaf075fbf3668c
[INFO] running `Command { std: "docker" "start" "-a" "02a91b6105b7db3f82edfecfb5511314b6077adc35bb7fe3eefaf075fbf3668c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.10.41
[INFO] [stderr]    Compiling solana-frozen-abi v1.10.41
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling solana-program v1.10.41
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling fixed v1.11.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[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 wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling bytemuck_derive v1.6.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling solana-sdk-macro v1.10.41
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling anchor-syn v0.25.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling anchor-attribute-account v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-interface v0.25.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-state v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-constant v0.25.0
[INFO] [stderr]    Compiling anchor-lang v0.25.0
[INFO] [stderr]    Compiling zo-abi v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.10s
[INFO] running `Command { std: "docker" "inspect" "02a91b6105b7db3f82edfecfb5511314b6077adc35bb7fe3eefaf075fbf3668c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02a91b6105b7db3f82edfecfb5511314b6077adc35bb7fe3eefaf075fbf3668c", kill_on_drop: false }`
[INFO] [stdout] 02a91b6105b7db3f82edfecfb5511314b6077adc35bb7fe3eefaf075fbf3668c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d2173ad8e78a3f0d46bc8c04c9ce76dc87256621c85d77c02e85b2d70e2b5033
[INFO] running `Command { std: "docker" "start" "-a" "d2173ad8e78a3f0d46bc8c04c9ce76dc87256621c85d77c02e85b2d70e2b5033", kill_on_drop: false }`
[INFO] [stderr]    Compiling zo-abi v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s
[INFO] running `Command { std: "docker" "inspect" "d2173ad8e78a3f0d46bc8c04c9ce76dc87256621c85d77c02e85b2d70e2b5033", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d2173ad8e78a3f0d46bc8c04c9ce76dc87256621c85d77c02e85b2d70e2b5033", kill_on_drop: false }`
[INFO] [stdout] d2173ad8e78a3f0d46bc8c04c9ce76dc87256621c85d77c02e85b2d70e2b5033
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a3b38c5ab49f753514663a8c63ceaed3a36f1006dbfd39fcb7a23bf19c71f49f
[INFO] running `Command { std: "docker" "start" "-a" "a3b38c5ab49f753514663a8c63ceaed3a36f1006dbfd39fcb7a23bf19c71f49f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zo_abi-56796a569e89b5d5)
[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.01s
[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:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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:75:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 5 | 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:76:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | use anchor_lang::{Client, Cluster};
[INFO] [stdout]   |     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATE_ID` in crate `zo`
[INFO] [stdout]   --> src/lib.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:89:67
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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:100:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |             state: zo::STATE_ID,
[INFO] [stdout]    |                        ^^^^^^^^ not found in `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token`
[INFO] [stdout]   --> src/lib.rs:103:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |             token_program: spl_token::ID,
[INFO] [stdout]    |                            ^^^^^^^^^ use of undeclared crate or module `spl_token`
[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:98:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |         .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:31:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ use of undeclared type `Pubkey`
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ use of undeclared type `Rent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:34:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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] 10 +     use anchor_lang::prelude::Context;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DoDeposit` in this scope
[INFO] [stdout]   --> src/lib.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn do_deposit<DoDeposit>(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope
[INFO] [stdout]   --> src/lib.rs:34:64
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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] 10 +     use solana_program::entrypoint::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use solana_program::entrypoint_deprecated::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let cpi_accounts = zo::cpi::accounts::Deposit {
[INFO] [stdout]    |                            ^^ use of undeclared crate or module `zo`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use zo_abi::accounts;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `accounts`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 14 -         let cpi_accounts = zo::cpi::accounts::Deposit {
[INFO] [stdout] 14 +         let cpi_accounts = accounts::Deposit {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext`
[INFO] [stdout]   --> src/lib.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let cpi_ctx = CpiContext::new(cpi_program, cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 +     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:34:12
[INFO] [stdout]     |
[INFO] [stdout] 12  |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[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 193 others
[INFO] [stdout] note: required by a bound in `InstructionData`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.25.0/src/lib.rs:185:28
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub trait InstructionData: AnchorSerialize {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ required by this bound in `InstructionData`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `IdlInstruction` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ variant or associated item not found in `IdlInstruction`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[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: trait `BorshDeserialize` which provides `deserialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::AnchorDeserialize;
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `serialize` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | serialize
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Ctor` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `Ctor<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlCreateBuffer` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlCreateBuffer<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlAccounts` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlAccounts<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlSetBuffer` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlSetBuffer<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_deserialize_unchecked` found for struct `IdlAccount` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlAccount`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[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: trait `AccountDeserialize` which provides `try_deserialize_unchecked` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::AccountDeserialize;
[INFO] [stdout]   |
[INFO] [stdout] help: there is an associated function `try_deserialize` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | try_deserialize
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DoDeposit`
[INFO] [stdout]   --> src/lib.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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:31:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod my_program {
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `my_program`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_to_vec` found for reference `&_doctest_main_src_lib_rs_25_0::instruction::DoDeposit` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ method not found in `&DoDeposit`
[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 `try_to_vec`, perhaps you need to implement it:
[INFO] [stdout]           candidate #1: `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: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599.
[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.37s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a3b38c5ab49f753514663a8c63ceaed3a36f1006dbfd39fcb7a23bf19c71f49f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3b38c5ab49f753514663a8c63ceaed3a36f1006dbfd39fcb7a23bf19c71f49f", kill_on_drop: false }`
[INFO] [stdout] a3b38c5ab49f753514663a8c63ceaed3a36f1006dbfd39fcb7a23bf19c71f49f
[INFO] testing zo-abi-0.6.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate zo-abi 0.6.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate zo-abi 0.6.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate zo-abi 0.6.0
[INFO] finished tweaking crates.io crate zo-abi 0.6.0
[INFO] tweaked toml for crates.io crate zo-abi 0.6.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 150 packages to latest compatible versions
[INFO] [stderr]       Adding ahash v0.7.8 (latest: v0.8.11)
[INFO] [stderr]       Adding anchor-attribute-access-control v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-account v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-constant v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-error v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-event v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-interface v0.25.0 (latest: v0.26.0)
[INFO] [stderr]       Adding anchor-attribute-program v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-attribute-state v0.25.0 (latest: v0.26.0)
[INFO] [stderr]       Adding anchor-derive-accounts v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-lang v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding anchor-syn v0.25.0 (latest: v0.30.0)
[INFO] [stderr]       Adding base64 v0.12.3 (latest: v0.22.1)
[INFO] [stderr]       Adding base64 v0.13.1 (latest: v0.22.1)
[INFO] [stderr]       Adding bitflags v1.3.2 (latest: v2.5.0)
[INFO] [stderr]       Adding bitmaps v2.1.0 (latest: v3.2.1)
[INFO] [stderr]       Adding block-buffer v0.9.0 (latest: v0.10.4)
[INFO] [stderr]       Adding borsh v0.9.3 (latest: v1.5.0)
[INFO] [stderr]       Adding borsh-derive v0.9.3 (latest: v1.5.0)
[INFO] [stderr]       Adding borsh-derive-internal v0.9.3 (latest: v0.10.3)
[INFO] [stderr]       Adding borsh-schema-derive-internal v0.9.3 (latest: v0.10.3)
[INFO] [stderr]       Adding bs58 v0.3.1 (latest: v0.5.1)
[INFO] [stderr]       Adding bs58 v0.4.0 (latest: v0.5.1)
[INFO] [stderr]       Adding console_log v0.2.2 (latest: v1.0.0)
[INFO] [stderr]       Adding crypto-mac v0.8.0 (latest: v0.11.1)
[INFO] [stderr]       Adding curve25519-dalek v3.2.1 (latest: v4.1.2)
[INFO] [stderr]       Adding digest v0.9.0 (latest: v0.10.7)
[INFO] [stderr]       Adding fixed v1.11.0 (latest: v1.27.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding getrandom v0.1.16 (latest: v0.2.15)
[INFO] [stderr]       Adding half v1.8.3 (latest: v2.4.1)
[INFO] [stderr]       Adding hashbrown v0.11.2 (latest: v0.14.5)
[INFO] [stderr]       Adding heck v0.3.3 (latest: v0.5.0)
[INFO] [stderr]       Adding hmac v0.8.1 (latest: v0.12.1)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding libsecp256k1 v0.6.0 (latest: v0.7.1)
[INFO] [stderr]       Adding libsecp256k1-core v0.2.2 (latest: v0.3.0)
[INFO] [stderr]       Adding libsecp256k1-gen-ecmult v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding libsecp256k1-gen-genmult v0.2.1 (latest: v0.3.0)
[INFO] [stderr]       Adding memmap2 v0.5.10 (latest: v0.9.4)
[INFO] [stderr]       Adding num-derive v0.3.3 (latest: v0.4.2)
[INFO] [stderr]       Adding proc-macro-crate v0.1.5 (latest: v3.1.0)
[INFO] [stderr]       Adding proc-macro2-diagnostics v0.9.1 (latest: v0.10.1)
[INFO] [stderr]       Adding rand v0.7.3 (latest: v0.8.5)
[INFO] [stderr]       Adding rand_chacha v0.2.2 (latest: v0.3.1)
[INFO] [stderr]       Adding rand_core v0.5.1 (latest: v0.6.4)
[INFO] [stderr]       Adding rand_hc v0.2.0 (latest: v0.3.2)
[INFO] [stderr]       Adding sha2 v0.9.9 (latest: v0.10.8)
[INFO] [stderr]       Adding sized-chunks v0.6.5 (latest: v0.7.0)
[INFO] [stderr]       Adding solana-frozen-abi v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-frozen-abi-macro v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-program v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding solana-sdk-macro v1.10.41 (latest: v1.18.14)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml v0.5.11 (latest: v0.8.13)
[INFO] [stderr]       Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding yansi v0.5.1 (latest: v1.0.1)
[INFO] [stderr]       Adding zeroize v1.3.0 (latest: v1.7.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 89de6cfe0657ffa853e3fc628b82d36fff1c1e0764ad6a65c28620d23f75480b
[INFO] running `Command { std: "docker" "start" "-a" "89de6cfe0657ffa853e3fc628b82d36fff1c1e0764ad6a65c28620d23f75480b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "89de6cfe0657ffa853e3fc628b82d36fff1c1e0764ad6a65c28620d23f75480b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89de6cfe0657ffa853e3fc628b82d36fff1c1e0764ad6a65c28620d23f75480b", kill_on_drop: false }`
[INFO] [stdout] 89de6cfe0657ffa853e3fc628b82d36fff1c1e0764ad6a65c28620d23f75480b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8e0fa527f1ac71a5daaab1ae9fd0803d0f2b8dae23e2beb949bfcf606b647e7
[INFO] running `Command { std: "docker" "start" "-a" "b8e0fa527f1ac71a5daaab1ae9fd0803d0f2b8dae23e2beb949bfcf606b647e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.9.1
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling bs58 v0.3.1
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling feature-probe v0.1.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling im v15.1.0
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling bv v0.11.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling rand_xoshiro v0.6.0
[INFO] [stderr]    Compiling arrayref v0.3.7
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling constant_time_eq v0.3.0
[INFO] [stderr]    Compiling solana-frozen-abi-macro v1.10.41
[INFO] [stderr]    Compiling solana-frozen-abi v1.10.41
[INFO] [stderr]    Compiling solana-program v1.10.41
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling az v1.2.1
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling keccak v0.1.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling fixed v1.11.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling half v1.8.3
[INFO] [stderr]    Compiling bitmaps v2.1.0
[INFO] [stderr]    Compiling blake3 v1.5.1
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling libsecp256k1-core v0.2.2
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling sized-chunks v0.6.5
[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 regex-automata v0.4.6
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling bytemuck_derive v1.6.1
[INFO] [stderr]    Compiling borsh-schema-derive-internal v0.9.3
[INFO] [stderr]    Compiling borsh-derive-internal v0.9.3
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling solana-sdk-macro v1.10.41
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling bytemuck v1.16.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hmac-drbg v0.3.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling anchor-syn v0.25.0
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling anchor-attribute-constant v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-error v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-event v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-state v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-access-control v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-account v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-program v0.25.0
[INFO] [stderr]    Compiling anchor-attribute-interface v0.25.0
[INFO] [stderr]    Compiling anchor-derive-accounts v0.25.0
[INFO] [stderr]    Compiling anchor-lang v0.25.0
[INFO] [stderr]    Compiling zo-abi v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.94s
[INFO] running `Command { std: "docker" "inspect" "b8e0fa527f1ac71a5daaab1ae9fd0803d0f2b8dae23e2beb949bfcf606b647e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8e0fa527f1ac71a5daaab1ae9fd0803d0f2b8dae23e2beb949bfcf606b647e7", kill_on_drop: false }`
[INFO] [stdout] b8e0fa527f1ac71a5daaab1ae9fd0803d0f2b8dae23e2beb949bfcf606b647e7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7bae4e6da21a66376802208a61d8e86fc6c18c445f647574770b078b9510a172
[INFO] running `Command { std: "docker" "start" "-a" "7bae4e6da21a66376802208a61d8e86fc6c18c445f647574770b078b9510a172", kill_on_drop: false }`
[INFO] [stderr]    Compiling zo-abi v0.6.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.65s
[INFO] running `Command { std: "docker" "inspect" "7bae4e6da21a66376802208a61d8e86fc6c18c445f647574770b078b9510a172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bae4e6da21a66376802208a61d8e86fc6c18c445f647574770b078b9510a172", kill_on_drop: false }`
[INFO] [stdout] 7bae4e6da21a66376802208a61d8e86fc6c18c445f647574770b078b9510a172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] eb25632a8045639bd1ea6bd006c2493b8505f1fb90023885130be8d6d3d41ccc
[INFO] running `Command { std: "docker" "start" "-a" "eb25632a8045639bd1ea6bd006c2493b8505f1fb90023885130be8d6d3d41ccc", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zo_abi-56796a569e89b5d5)
[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.01s
[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:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 4 | 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:75:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | 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] 5 | 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:76:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | 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] 6 | use anchor_lang::{Client, Cluster};
[INFO] [stdout]   |     ~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `STATE_ID` in crate `zo`
[INFO] [stdout]   --> src/lib.rs:86:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:89:67
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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:100:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |             state: zo::STATE_ID,
[INFO] [stdout]    |                        ^^^^^^^^ not found in `zo`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `spl_token`
[INFO] [stdout]   --> src/lib.rs:103:28
[INFO] [stdout]    |
[INFO] [stdout] 33 |             token_program: spl_token::ID,
[INFO] [stdout]    |                            ^^^^^^^^^ use of undeclared crate or module `spl_token`
[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:98:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |         .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:31:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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 crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ use of undeclared type `Pubkey`
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ use of undeclared type `Rent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: 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:34:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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] 10 +     use anchor_lang::prelude::Context;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use std::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DoDeposit` in this scope
[INFO] [stdout]   --> src/lib.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn do_deposit<DoDeposit>(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[INFO] [stdout]    |                      +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ProgramResult` in this scope
[INFO] [stdout]   --> src/lib.rs:34:64
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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] 10 +     use solana_program::entrypoint::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use solana_program::entrypoint_deprecated::ProgramResult;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `zo`
[INFO] [stdout]   --> src/lib.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |         let cpi_accounts = zo::cpi::accounts::Deposit {
[INFO] [stdout]    |                            ^^ use of undeclared crate or module `zo`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 10 +     use zo_abi::accounts;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `accounts`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 14 -         let cpi_accounts = zo::cpi::accounts::Deposit {
[INFO] [stdout] 14 +         let cpi_accounts = accounts::Deposit {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CpiContext`
[INFO] [stdout]   --> src/lib.rs:46:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let cpi_ctx = CpiContext::new(cpi_program, cpi_accounts);
[INFO] [stdout]    |                       ^^^^^^^^^^ use of undeclared type `CpiContext`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 +     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:34:12
[INFO] [stdout]     |
[INFO] [stdout] 12  |     pub fn do_deposit(ctx: Context<DoDeposit>, amount: u64) -> ProgramResult {
[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 193 others
[INFO] [stdout] note: required by a bound in `InstructionData`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anchor-lang-0.25.0/src/lib.rs:185:28
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub trait InstructionData: AnchorSerialize {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^ required by this bound in `InstructionData`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `deserialize` found for enum `IdlInstruction` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ variant or associated item not found in `IdlInstruction`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[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: trait `BorshDeserialize` which provides `deserialize` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::AnchorDeserialize;
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `serialize` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | serialize
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `Ctor` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `Ctor<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlCreateBuffer` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlCreateBuffer<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlAccounts` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlAccounts<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_accounts` found for struct `IdlSetBuffer` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlSetBuffer<'_>`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `try_into` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/convert/mod.rs:611:5
[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: trait `Accounts` which provides `try_accounts` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::Accounts;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `try_deserialize_unchecked` found for struct `IdlAccount` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ function or associated item not found in `IdlAccount`
[INFO] [stdout]   |
[INFO] [stdout]   = help: items from traits can only be used if the trait is in scope
[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: trait `AccountDeserialize` which provides `try_deserialize_unchecked` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]   |
[INFO] [stdout] 8 + use anchor_lang::AccountDeserialize;
[INFO] [stdout]   |
[INFO] [stdout] help: there is an associated function `try_deserialize` with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 | try_deserialize
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DoDeposit`
[INFO] [stdout]   --> src/lib.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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:31:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod my_program {
[INFO] [stdout]   |     ^^^^^^^^^^ use of undeclared crate or module `my_program`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_to_vec` found for reference `&_doctest_main_src_lib_rs_25_0::instruction::DoDeposit` in the current scope
[INFO] [stdout]  --> src/lib.rs:30:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[program]
[INFO] [stdout]   | ^^^^^^^^^^ method not found in `&DoDeposit`
[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 `try_to_vec`, perhaps you need to implement it:
[INFO] [stdout]           candidate #1: `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: aborting due to 27 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0425, E0432, E0433, E0599.
[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.41s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "eb25632a8045639bd1ea6bd006c2493b8505f1fb90023885130be8d6d3d41ccc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb25632a8045639bd1ea6bd006c2493b8505f1fb90023885130be8d6d3d41ccc", kill_on_drop: false }`
[INFO] [stdout] eb25632a8045639bd1ea6bd006c2493b8505f1fb90023885130be8d6d3d41ccc
