[INFO] fetching crate poseidon-client 0.4.0...
[INFO] testing poseidon-client-0.4.0 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate poseidon-client 0.4.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate poseidon-client 0.4.0 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate poseidon-client 0.4.0
[INFO] finished tweaking crates.io crate poseidon-client 0.4.0
[INFO] tweaked toml for crates.io crate poseidon-client 0.4.0 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f396f2e710d0f978dee185713470693982f1c485b8d327181addbf83666a6018
[INFO] running `Command { std: "docker" "start" "-a" "f396f2e710d0f978dee185713470693982f1c485b8d327181addbf83666a6018", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f396f2e710d0f978dee185713470693982f1c485b8d327181addbf83666a6018", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f396f2e710d0f978dee185713470693982f1c485b8d327181addbf83666a6018", kill_on_drop: false }`
[INFO] [stdout] f396f2e710d0f978dee185713470693982f1c485b8d327181addbf83666a6018
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1215e7065456a74b9d4586712777da30d47cad4bf8f25274ba0da81ac7e5d351
[INFO] running `Command { std: "docker" "start" "-a" "1215e7065456a74b9d4586712777da30d47cad4bf8f25274ba0da81ac7e5d351", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling async-task v4.3.0
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling rustls v0.20.6
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling signature v1.5.0
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling minreq v2.6.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]    Compiling arrayvec v0.7.2
[INFO] [stderr]    Compiling arrayref v0.3.6
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling seahash v4.1.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling wasmium_errors v1.0.3
[INFO] [stderr]    Compiling bs58 v0.4.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling blake3 v1.3.1
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling async-lock v2.5.0
[INFO] [stderr]    Compiling ed25519 v1.5.2
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling polling v2.2.0
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.5
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling async-io v1.7.0
[INFO] [stderr]    Compiling blocking v1.2.0
[INFO] [stderr]    Compiling async-executor v1.4.1
[INFO] [stderr]    Compiling async-fs v1.5.0
[INFO] [stderr]    Compiling async-process v1.4.0
[INFO] [stderr]    Compiling async-net v1.6.1
[INFO] [stderr]    Compiling smol v1.2.5
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.4
[INFO] [stderr]    Compiling synstructure v0.12.6
[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.138
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling borsh-derive v0.9.3
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling borsh v0.9.3
[INFO] [stderr]    Compiling short_vec v0.1.0
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling crypto-common v0.1.5
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling poseidon-client v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 31.29s
[INFO] running `Command { std: "docker" "inspect" "1215e7065456a74b9d4586712777da30d47cad4bf8f25274ba0da81ac7e5d351", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1215e7065456a74b9d4586712777da30d47cad4bf8f25274ba0da81ac7e5d351", kill_on_drop: false }`
[INFO] [stdout] 1215e7065456a74b9d4586712777da30d47cad4bf8f25274ba0da81ac7e5d351
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 014b77c3b0ec48d4d2230ec34ebafbc9a4702674c7b4bfbaa8e66a51771e00ee
[INFO] running `Command { std: "docker" "start" "-a" "014b77c3b0ec48d4d2230ec34ebafbc9a4702674c7b4bfbaa8e66a51771e00ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling poseidon-client v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.71s
[INFO] running `Command { std: "docker" "inspect" "014b77c3b0ec48d4d2230ec34ebafbc9a4702674c7b4bfbaa8e66a51771e00ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "014b77c3b0ec48d4d2230ec34ebafbc9a4702674c7b4bfbaa8e66a51771e00ee", kill_on_drop: false }`
[INFO] [stdout] 014b77c3b0ec48d4d2230ec34ebafbc9a4702674c7b4bfbaa8e66a51771e00ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a956642a8aea351e86578077bd20c5b07ba8fcf6c52adad55430bca8d9d39016
[INFO] running `Command { std: "docker" "start" "-a" "a956642a8aea351e86578077bd20c5b07ba8fcf6c52adad55430bca8d9d39016", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poseidon_client-2070a2c8dd84c507)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests poseidon-client
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test src/lib.rs - (line 57) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 171) ... FAILED
[INFO] [stdout] test src/transactions/pda.rs - transactions::pda::PdaBuilder (line 12) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 94) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 161) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 85) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 132) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 140) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 117) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 72) ... ok
[INFO] [stdout] test src/lib.rs - (line 47) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 57) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:63:51
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_57_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | use ed25519_dalek::Keypair;
[INFO] [stdout] 4 | |
[INFO] [stdout] 5 | | // Example of the 64 bytes of both the secret key (32bytes) and
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | let keypair: Keypair = Keypair::from_bytes(&bytes)?;
[INFO] [stdout]   | |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 9 | | } _doctest_main_src_lib_rs_57_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, ed25519_dalek::ed25519::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 171) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `sign` in this scope
[INFO] [stdout]  --> src/lib.rs:175:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | let tx_resp = GetTransaction::process(sign).await?;
[INFO] [stdout]   |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:175:44
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_171_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let tx_resp = GetTransaction::process(sign).await?;
[INFO] [stdout]   |                                            ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:175:50
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_171_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | use poseidon_client::GetTransaction;
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | let base58_signature = "44stjcK4f7RC7KNCorh9gzhQagpYoT9Tq775UFtYbn5gepRocHEeXrtG2JmzgTYKCx83pfBhWHiwLa6sC7f8Ruft";
[INFO] [stdout] 7 | | let tx_resp = GetTransaction::process(sign).await?;
[INFO] [stdout]   | |                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_171_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/transactions/pda.rs - transactions::pda::PdaBuilder (line 12) stdout ----
[INFO] [stdout] error: cannot find derive macro `Serialize` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:13:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this derive macro:
[INFO] [stdout]           serde::Serialize
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:13:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: consider importing this derive macro:
[INFO] [stdout]           serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:15:22
[INFO] [stdout]   |
[INFO] [stdout] 5 |     from_public_key: PublicKey,
[INFO] [stdout]   |                      ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poseidon_client::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:16:20
[INFO] [stdout]   |
[INFO] [stdout] 6 |     to_public_key: PublicKey,
[INFO] [stdout]   |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poseidon_client::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:17:11
[INFO] [stdout]   |
[INFO] [stdout] 7 |     base: PublicKey,
[INFO] [stdout]   |           ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poseidon_client::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope
[INFO] [stdout]  --> src/transactions/pda.rs:19:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |     owner: PublicKey,
[INFO] [stdout]   |            ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 | use ed25519_dalek::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 2 | use poseidon_client::PublicKey;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 94) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `poseidon_client::PoseidonTestStore`
[INFO] [stdout]  --> src/lib.rs:95:42
[INFO] [stdout]   |
[INFO] [stdout] 4 | use poseidon_client::{SYSTEM_PROGRAM_ID, PoseidonTestStore, PdaBuilder};
[INFO] [stdout]   |                                          ^^^^^^^^^^^^^^^^^ no `PoseidonTestStore` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keypair` in this scope
[INFO] [stdout]   --> src/lib.rs:103:15
[INFO] [stdout]    |
[INFO] [stdout] 12 |     .add_from(keypair.public.to_bytes())
[INFO] [stdout]    |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keypair` in this scope
[INFO] [stdout]   --> src/lib.rs:104:15
[INFO] [stdout]    |
[INFO] [stdout] 13 |     .add_base(keypair.public.to_bytes())
[INFO] [stdout]    |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `two_year_rent` in this scope
[INFO] [stdout]   --> src/lib.rs:105:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |     .add_lamports(two_year_rent.result)
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:109:25
[INFO] [stdout]    |
[INFO] [stdout] 3  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_94_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 4  | | use poseidon_client::{SYSTEM_PROGRAM_ID, PoseidonTestStore, PdaBuilder};
[INFO] [stdout] 5  | |
[INFO] [stdout] 6  | | // Decide on the seed to create the PDA account for the program
[INFO] [stdout] ...  |
[INFO] [stdout] 18 | |     .derive_public_key()?;
[INFO] [stdout]    | |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | | let pda_instruction = pda.build()?;
[INFO] [stdout] 22 | | } _doctest_main_src_lib_rs_94_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:112:34
[INFO] [stdout]    |
[INFO] [stdout] 3  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_94_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 4  | | use poseidon_client::{SYSTEM_PROGRAM_ID, PoseidonTestStore, PdaBuilder};
[INFO] [stdout] 5  | |
[INFO] [stdout] 6  | | // Decide on the seed to create the PDA account for the program
[INFO] [stdout] ...  |
[INFO] [stdout] 21 | | let pda_instruction = pda.build()?;
[INFO] [stdout]    | |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 22 | | } _doctest_main_src_lib_rs_94_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 161) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `transaction` in this scope
[INFO] [stdout]  --> src/lib.rs:165:49
[INFO] [stdout]   |
[INFO] [stdout] 7 | let send_tx_response = rpc.prepare_transaction(&transaction)?.send().await?;
[INFO] [stdout]   |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:165:69
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let send_tx_response = rpc.prepare_transaction(&transaction)?.send().await?;
[INFO] [stdout]   |                                                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:165:61
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | use poseidon_client::{RpcClient, TxSendOutcome};
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | let mut rpc = RpcClient::new();
[INFO] [stdout] 7 | | let send_tx_response = rpc.prepare_transaction(&transaction)?.send().await?;
[INFO] [stdout]   | |                                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | let send_tx_outcome = TxSendOutcome::parse_tx(send_tx_response);
[INFO] [stdout] 9 | | } _doctest_main_src_lib_rs_161_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:165:75
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_161_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | use poseidon_client::{RpcClient, TxSendOutcome};
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | let mut rpc = RpcClient::new();
[INFO] [stdout] 7 | | let send_tx_response = rpc.prepare_transaction(&transaction)?.send().await?;
[INFO] [stdout]   | |                                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | let send_tx_outcome = TxSendOutcome::parse_tx(send_tx_response);
[INFO] [stdout] 9 | | } _doctest_main_src_lib_rs_161_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 85) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `PoseidonTestStore` in this scope
[INFO] [stdout]  --> src/lib.rs:89:58
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_85_0() {
[INFO] [stdout]   |                                                                      - help: you might be missing a type parameter: `<PoseidonTestStore>`
[INFO] [stdout] ...
[INFO] [stdout] 7 |             GetMinimumBalanceForRentExemption::process::<PoseidonTestStore>().await?;
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:89:78
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_85_0() {
[INFO] [stdout]   |                                         ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 |             GetMinimumBalanceForRentExemption::process::<PoseidonTestStore>().await?;
[INFO] [stdout]   |                                                                              ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:89:84
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_85_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | use poseidon_client::GetMinimumBalanceForRentExemption;
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | let two_year_rent =
[INFO] [stdout] 7 | |             GetMinimumBalanceForRentExemption::process::<PoseidonTestStore>().await?;
[INFO] [stdout]   | |                                                                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_85_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 132) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Commitment`
[INFO] [stdout]  --> src/lib.rs:135:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | let blockhash = GetLatestBlockhash::as_bytes(Commitment::Finalized).await?;
[INFO] [stdout]   |                                              ^^^^^^^^^^ use of undeclared type `Commitment`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:135:68
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_132_0() {
[INFO] [stdout]   |                                         ------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let blockhash = GetLatestBlockhash::as_bytes(Commitment::Finalized).await?;
[INFO] [stdout]   |                                                                    ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:135:74
[INFO] [stdout]   |
[INFO] [stdout] 3 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_132_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 4 | | use poseidon_client::GetLatestBlockhash;
[INFO] [stdout] 5 | |
[INFO] [stdout] 6 | | let blockhash = GetLatestBlockhash::as_bytes(Commitment::Finalized).await?;
[INFO] [stdout]   | |                                                                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_132_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, PoseidonError>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 140) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `message` in this scope
[INFO] [stdout]   --> src/lib.rs:148:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | message.add_recent_blockhash(blockhash);
[INFO] [stdout]    | ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `blockhash` in this scope
[INFO] [stdout]   --> src/lib.rs:148:30
[INFO] [stdout]    |
[INFO] [stdout] 11 | message.add_recent_blockhash(blockhash);
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `keypair` in this scope
[INFO] [stdout]   --> src/lib.rs:151:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | let signature = keypair.sign(&message.to_bytes()?);
[INFO] [stdout]    |                 ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `message` in this scope
[INFO] [stdout]   --> src/lib.rs:151:31
[INFO] [stdout]    |
[INFO] [stdout] 14 | let signature = keypair.sign(&message.to_bytes()?);
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `message` in this scope
[INFO] [stdout]   --> src/lib.rs:154:40
[INFO] [stdout]    |
[INFO] [stdout] 17 | let mut transaction = Transaction::new(message);
[INFO] [stdout]    |                                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:151:49
[INFO] [stdout]    |
[INFO] [stdout] 3  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_140_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 4  | | use ed25519_dalek::Signer;
[INFO] [stdout] 5  | | use poseidon_client::Transaction;
[INFO] [stdout] 6  | |
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | let signature = keypair.sign(&message.to_bytes()?);
[INFO] [stdout]    | |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 19 | | transaction.add_signature(signature.to_bytes());
[INFO] [stdout] 20 | | } _doctest_main_src_lib_rs_140_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 117) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `pda_instruction` in this scope
[INFO] [stdout]  --> src/lib.rs:122:22
[INFO] [stdout]   |
[INFO] [stdout] 8 |     .add_instruction(pda_instruction)
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `public_key_bytes` in this scope
[INFO] [stdout]  --> src/lib.rs:123:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     .add_payer(public_key_bytes)
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message`
[INFO] [stdout]   --> src/lib.rs:126:19
[INFO] [stdout]    |
[INFO] [stdout] 12 | let mut message = Message::new();
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  | use poseidon_client::Message;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:127:31
[INFO] [stdout]    |
[INFO] [stdout] 3  |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_117_0() {
[INFO] [stdout]    |  ______________________________________-
[INFO] [stdout] 4  | | use poseidon_client::MessageBuilder;
[INFO] [stdout] 5  | |
[INFO] [stdout] 6  | | let mut message_builder = MessageBuilder::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 13 | | message.build(message_builder)?;
[INFO] [stdout]    | |                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 14 | | } _doctest_main_src_lib_rs_117_0() }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]  --> src/lib.rs:48:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::rngs::OsRng;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `Keypair` in the current scope
[INFO] [stdout]  --> src/lib.rs:52:33
[INFO] [stdout]   |
[INFO] [stdout] 7 | let keypair: Keypair = Keypair::generate(&mut csprng);
[INFO] [stdout]   |                                 ^^^^^^^^ function or associated item not found in `Keypair`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 117)
[INFO] [stdout]     src/lib.rs - (line 132)
[INFO] [stdout]     src/lib.rs - (line 140)
[INFO] [stdout]     src/lib.rs - (line 161)
[INFO] [stdout]     src/lib.rs - (line 171)
[INFO] [stdout]     src/lib.rs - (line 47)
[INFO] [stdout]     src/lib.rs - (line 57)
[INFO] [stdout]     src/lib.rs - (line 85)
[INFO] [stdout]     src/lib.rs - (line 94)
[INFO] [stdout]     src/transactions/pda.rs - transactions::pda::PdaBuilder (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "a956642a8aea351e86578077bd20c5b07ba8fcf6c52adad55430bca8d9d39016", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a956642a8aea351e86578077bd20c5b07ba8fcf6c52adad55430bca8d9d39016", kill_on_drop: false }`
[INFO] [stdout] a956642a8aea351e86578077bd20c5b07ba8fcf6c52adad55430bca8d9d39016
