[INFO] fetching crate zkvc 0.1.0...
[INFO] testing zkvc-0.1.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate zkvc 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate zkvc 0.1.0
[INFO] finished tweaking crates.io crate zkvc 0.1.0
[INFO] tweaked toml for crates.io crate zkvc 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate zkvc 0.1.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate zkvc 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91b6d43e171debbfe0f36634d0c707ff87a903db536a83400f321926e7a7a1e1
[INFO] running `Command { std: "docker" "start" "-a" "91b6d43e171debbfe0f36634d0c707ff87a903db536a83400f321926e7a7a1e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91b6d43e171debbfe0f36634d0c707ff87a903db536a83400f321926e7a7a1e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91b6d43e171debbfe0f36634d0c707ff87a903db536a83400f321926e7a7a1e1", kill_on_drop: false }`
[INFO] [stdout] 91b6d43e171debbfe0f36634d0c707ff87a903db536a83400f321926e7a7a1e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34a9d4c73df91cb60a352670f262a023c8a900d8a96bc8a28180ee317649f315
[INFO] running `Command { std: "docker" "start" "-a" "34a9d4c73df91cb60a352670f262a023c8a900d8a96bc8a28180ee317649f315", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling ark-std v0.3.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling ark-serialize v0.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling semver-parser v0.10.3
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling ark-ec v0.3.0
[INFO] [stderr]    Compiling ark-relations v0.3.0
[INFO] [stderr]    Compiling ark-poly v0.3.0
[INFO] [stderr]    Compiling ark-snark v0.3.0
[INFO] [stderr]    Compiling ark-crypto-primitives v0.3.0
[INFO] [stderr]    Compiling ark-bls12-381 v0.3.0
[INFO] [stderr]    Compiling ark-r1cs-std v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling ark-groth16 v0.3.0
[INFO] [stderr]    Compiling actix-web v4.10.2
[INFO] [stderr]    Compiling zkvc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "34a9d4c73df91cb60a352670f262a023c8a900d8a96bc8a28180ee317649f315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34a9d4c73df91cb60a352670f262a023c8a900d8a96bc8a28180ee317649f315", kill_on_drop: false }`
[INFO] [stdout] 34a9d4c73df91cb60a352670f262a023c8a900d8a96bc8a28180ee317649f315
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1379f8852ad7a71850ae93cb430056a8f29854dae5381f00a2b31051d86b5bd
[INFO] running `Command { std: "docker" "start" "-a" "c1379f8852ad7a71850ae93cb430056a8f29854dae5381f00a2b31051d86b5bd", kill_on_drop: false }`
[INFO] [stderr]    Compiling zkvc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s
[INFO] running `Command { std: "docker" "inspect" "c1379f8852ad7a71850ae93cb430056a8f29854dae5381f00a2b31051d86b5bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1379f8852ad7a71850ae93cb430056a8f29854dae5381f00a2b31051d86b5bd", kill_on_drop: false }`
[INFO] [stdout] c1379f8852ad7a71850ae93cb430056a8f29854dae5381f00a2b31051d86b5bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 83a7c83746c6e47522f8c53db0283ce16c53325a7343292ebdc814e187922048
[INFO] running `Command { std: "docker" "start" "-a" "83a7c83746c6e47522f8c53db0283ce16c53325a7343292ebdc814e187922048", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkvc-96fc989f078395c1)
[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 zkvc
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/lib.rs - (line 59) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 108) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 59) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyCircuit` in this scope
[INFO] [stdout]   --> src/lib.rs:64:15
[INFO] [stdout]    |
[INFO] [stdout] 64 | let circuit = MyCircuit {
[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:73:2
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_59_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 73 | )?;
[INFO] [stdout]    |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 60 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_59_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 61 | use std::path::PathBuf;
[INFO] [stdout] ...
[INFO] [stdout] 73 | )?;
[INFO] [stdout] 74 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422.
[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 108) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:115:23
[INFO] [stdout]     |
[INFO] [stdout] 115 |     proving_key_path: PathBuf::from("pk.bin"),
[INFO] [stdout]     |                       ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 107 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 107 + use ark_std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]    --> src/lib.rs:116:22
[INFO] [stdout]     |
[INFO] [stdout] 116 |     proof_path: Some(PathBuf::from("proof.json")),
[INFO] [stdout]     |                      ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 107 + use std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 107 + use ark_std::path::PathBuf;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MyCircuit` in this scope
[INFO] [stdout]    --> src/lib.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 | let circuit = MyCircuit {
[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:127:66
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 127 | let response = client.generate_and_send_proof(Box::new(circuit)).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:114:53
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 114 |     server_url: Url::parse("http://127.0.0.1:65432")?,
[INFO] [stdout]     |                                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 109 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 110 | use zkvc::client::{ClientApp, ClientConfig};
[INFO] [stdout] ...
[INFO] [stdout] 127 | let response = client.generate_and_send_proof(Box::new(circuit)).await?;
[INFO] [stdout] 128 +     Ok(())
[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:120:36
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 120 | let client = ClientApp::new(config)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 109 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 110 | use zkvc::client::{ClientApp, ClientConfig};
[INFO] [stdout] ...
[INFO] [stdout] 127 | let response = client.generate_and_send_proof(Box::new(circuit)).await?;
[INFO] [stdout] 128 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, 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 133) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `arkworks_mimc`
[INFO] [stdout]    --> src/lib.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 135 | use arkworks_mimc::{
[INFO] [stdout]     |     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `arkworks_mimc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `arkworks_mimc`, use `cargo add arkworks_mimc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]    --> src/lib.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 | let public_zero = context.new_witness(|| Ok(Fr::from(0u64)))?;
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> src/lib.rs:141:45
[INFO] [stdout]     |
[INFO] [stdout] 141 | let public_zero = context.new_witness(|| Ok(Fr::from(0u64)))?;
[INFO] [stdout]     |                                             ^^ use of undeclared type `Fr`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 141 - let public_zero = context.new_witness(|| Ok(Fr::from(0u64)))?;
[INFO] [stdout] 141 + let public_zero = context.new_witness(|| Ok(Fn::from(0u64)))?;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]    --> src/lib.rs:144:14
[INFO] [stdout]     |
[INFO] [stdout] 144 |     .map(|x| context.new_witness(|| Ok(*x)))
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Fr` in this scope
[INFO] [stdout]    --> src/lib.rs:147:26
[INFO] [stdout]     |
[INFO] [stdout] 147 | let mimc_var = MiMCVar::<Fr, MIMC_7_91_BLS12_381_PARAMS>::new(
[INFO] [stdout]     |                          ^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:76:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named trait `Fn` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 147 - let mimc_var = MiMCVar::<Fr, MIMC_7_91_BLS12_381_PARAMS>::new(
[INFO] [stdout] 147 + let mimc_var = MiMCVar::<Fn, MIMC_7_91_BLS12_381_PARAMS>::new(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `context` in this scope
[INFO] [stdout]    --> src/lib.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 | let value = context.new_witness(|| Ok(Fr::from(42)))?;
[INFO] [stdout]     |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> src/lib.rs:153:39
[INFO] [stdout]     |
[INFO] [stdout] 153 | let value = context.new_witness(|| Ok(Fr::from(42)))?;
[INFO] [stdout]     |                                       ^^ use of undeclared type `Fr`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 153 - let value = context.new_witness(|| Ok(Fr::from(42)))?;
[INFO] [stdout] 153 + let value = context.new_witness(|| Ok(Fn::from(42)))?;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Fr` in this scope
[INFO] [stdout]    --> src/lib.rs:154:38
[INFO] [stdout]     |
[INFO] [stdout] 154 | let hash = MiMCNonFeistelCRHGadget::<Fr, MIMC_7_91_BLS12_381_PARAMS>::evaluate(
[INFO] [stdout]     |                                      ^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:76:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named trait `Fn` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 154 - let hash = MiMCNonFeistelCRHGadget::<Fr, MIMC_7_91_BLS12_381_PARAMS>::evaluate(
[INFO] [stdout] 154 + let hash = MiMCNonFeistelCRHGadget::<Fn, MIMC_7_91_BLS12_381_PARAMS>::evaluate(
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FpVar`
[INFO] [stdout]    --> src/lib.rs:156:6
[INFO] [stdout]     |
[INFO] [stdout] 156 |     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]     |      ^^^^^ use of undeclared type `FpVar`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_r1cs_std::fields::fp::FpVar;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Fr` in this scope
[INFO] [stdout]    --> src/lib.rs:156:14
[INFO] [stdout]     |
[INFO] [stdout] 156 |     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]     |              ^^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:76:0
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named trait `Fn` defined here
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 156 -     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout] 156 +     &FpVar::<Fn>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fr`
[INFO] [stdout]    --> src/lib.rs:156:28
[INFO] [stdout]     |
[INFO] [stdout] 156 |     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]     |                            ^^ use of undeclared type `Fr`
[INFO] [stdout]     |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 156 -     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout] 156 +     &FpVar::<Fr>::Constant(Fn::from(0u64)).to_bytes()?,
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout] 133 + use ark_bls12_381::Fr;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 79) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf`
[INFO] [stdout]   --> src/lib.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 |     verification_key_path: PathBuf::from("vk.bin"),
[INFO] [stdout]    |                            ^^^^^^^ use of undeclared type `PathBuf`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 78 + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 78 + use ark_std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout]  80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() {
[INFO] [stdout]     |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 102 | server.run().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:88:36
[INFO] [stdout]     |
[INFO] [stdout]  80 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() {
[INFO] [stdout]     |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout]  88 | let server = ServerApp::new(config)?
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]  80 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  81 | use zkvc::server::{ServerApp, ServerConfig};
[INFO] [stdout] ...
[INFO] [stdout] 102 | server.run().await?;
[INFO] [stdout] 103 +     Ok(())
[INFO] [stdout]     |
[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 25) stdout ----
[INFO] [stdout] error[E0599]: no method named `enforce_equal` found for enum `ark_r1cs_std::fields::fp::FpVar<F>` in the current scope
[INFO] [stdout]   --> src/lib.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 49 |         private_var.enforce_equal(&public_var)?;
[INFO] [stdout]    |                     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-r1cs-std-0.3.1/src/eq.rs:48:8
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn enforce_equal(&self, other: &Self) -> Result<(), SynthesisError> {
[INFO] [stdout]    |        ------------- the method is available for `ark_r1cs_std::fields::fp::FpVar<ark_ff::fields::models::Fp256<FrParameters>>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `EqGadget` which provides `enforce_equal` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 + use ark_r1cs_std::eq::EqGadget;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `enforce_not_equal` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         private_var.enforce_not_equal(&public_var)?;
[INFO] [stdout]    |                             ++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 108)
[INFO] [stdout]     src/lib.rs - (line 133)
[INFO] [stdout]     src/lib.rs - (line 25)
[INFO] [stdout]     src/lib.rs - (line 59)
[INFO] [stdout]     src/lib.rs - (line 79)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "83a7c83746c6e47522f8c53db0283ce16c53325a7343292ebdc814e187922048", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83a7c83746c6e47522f8c53db0283ce16c53325a7343292ebdc814e187922048", kill_on_drop: false }`
[INFO] [stdout] 83a7c83746c6e47522f8c53db0283ce16c53325a7343292ebdc814e187922048
