[INFO] fetching crate zkvc 0.1.0...
[INFO] testing zkvc-0.1.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate zkvc 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate zkvc 0.1.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4cba37365cd979d319f1510a152465bdf67d66895fab4f794ec0a1133b052a79
[INFO] running `Command { std: "docker" "start" "-a" "4cba37365cd979d319f1510a152465bdf67d66895fab4f794ec0a1133b052a79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cba37365cd979d319f1510a152465bdf67d66895fab4f794ec0a1133b052a79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cba37365cd979d319f1510a152465bdf67d66895fab4f794ec0a1133b052a79", kill_on_drop: false }`
[INFO] [stdout] 4cba37365cd979d319f1510a152465bdf67d66895fab4f794ec0a1133b052a79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd0ac090dae7c1312cd5648667d59306367fb0241453111ed5aa60bace52e46e
[INFO] running `Command { std: "docker" "start" "-a" "dd0ac090dae7c1312cd5648667d59306367fb0241453111ed5aa60bace52e46e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling ark-std v0.3.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 serde v1.0.219
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling blake2 v0.9.2
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand v0.9.1
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling ark-serialize v0.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling semver-parser v0.10.3
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling ark-ec v0.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling ark-relations v0.3.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling ark-snark v0.3.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling ark-crypto-primitives v0.3.0
[INFO] [stderr]    Compiling ark-poly v0.3.0
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling ark-groth16 v0.3.0
[INFO] [stderr]    Compiling ark-r1cs-std v0.3.1
[INFO] [stderr]    Compiling ark-bls12-381 v0.3.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[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 4m 34s
[INFO] running `Command { std: "docker" "inspect" "dd0ac090dae7c1312cd5648667d59306367fb0241453111ed5aa60bace52e46e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd0ac090dae7c1312cd5648667d59306367fb0241453111ed5aa60bace52e46e", kill_on_drop: false }`
[INFO] [stdout] dd0ac090dae7c1312cd5648667d59306367fb0241453111ed5aa60bace52e46e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9f94739ffa633fb785b1f0729b352ac4a6f2072121786722672a79b8efc3ad8
[INFO] running `Command { std: "docker" "start" "-a" "e9f94739ffa633fb785b1f0729b352ac4a6f2072121786722672a79b8efc3ad8", 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.66s
[INFO] running `Command { std: "docker" "inspect" "e9f94739ffa633fb785b1f0729b352ac4a6f2072121786722672a79b8efc3ad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9f94739ffa633fb785b1f0729b352ac4a6f2072121786722672a79b8efc3ad8", kill_on_drop: false }`
[INFO] [stdout] e9f94739ffa633fb785b1f0729b352ac4a6f2072121786722672a79b8efc3ad8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 431753f0857d4f76ee80798514e72a3d360c2aec81c330bfc830678ce3e121e7
[INFO] running `Command { std: "docker" "start" "-a" "431753f0857d4f76ee80798514e72a3d360c2aec81c330bfc830678ce3e121e7", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zkvc-0885c2b45f61ecfb)
[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 108) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 79) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 59) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 133) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 25) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 10 |     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] 2  + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 11 |     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] 2  + use std::path::PathBuf;
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 17 | 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] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 22 | 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] 4 | 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] 9 |     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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use zkvc::client::{ClientApp, ClientConfig};
[INFO] [stdout] ...
[INFO] [stdout] 22| let response = client.generate_and_send_proof(Box::new(circuit)).await?;
[INFO] [stdout] 23+     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] 4  | 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] 15 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_108_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use zkvc::client::{ClientApp, ClientConfig};
[INFO] [stdout] ...
[INFO] [stdout] 22 | let response = client.generate_and_send_proof(Box::new(circuit)).await?;
[INFO] [stdout] 23 +     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 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] 9 |     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] 2 + use std::path::PathBuf;
[INFO] [stdout]   |
[INFO] [stdout] 2 + 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] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 26 | 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] 4  | 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] 12 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use zkvc::server::{ServerApp, ServerConfig};
[INFO] [stdout] ...
[INFO] [stdout] 26 | server.run().await?;
[INFO] [stdout] 27 +     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 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] 8 | 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] 4  | 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] 17 | )?;
[INFO] [stdout]    |  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_59_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use std::path::PathBuf;
[INFO] [stdout] ...
[INFO] [stdout] 17 | )?;
[INFO] [stdout] 18 +     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 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] 4 | 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] 10 | 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] 10 | 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] 10 - let public_zero = context.new_witness(|| Ok(Fr::from(0u64)))?;
[INFO] [stdout] 10 + let public_zero = context.new_witness(|| Ok(Fn::from(0u64)))?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 13 |     .map(|x| context.new_witness(|| Ok(*x)))
[INFO] [stdout]    |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]   --> src/lib.rs:147:26
[INFO] [stdout]    |
[INFO] [stdout] 16 | let mimc_var = MiMCVar::<Fr, MIMC_7_91_BLS12_381_PARAMS>::new(
[INFO] [stdout]    |                          ^^
[INFO] [stdout]   --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Fn` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 16 - let mimc_var = MiMCVar::<Fr, MIMC_7_91_BLS12_381_PARAMS>::new(
[INFO] [stdout] 16 + 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] 2  + 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] 22 | 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] 22 | 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] 22 - let value = context.new_witness(|| Ok(Fr::from(42)))?;
[INFO] [stdout] 22 + let value = context.new_witness(|| Ok(Fn::from(42)))?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ark_bls12_381::Fr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]   --> src/lib.rs:154:38
[INFO] [stdout]    |
[INFO] [stdout] 23 | let hash = MiMCNonFeistelCRHGadget::<Fr, MIMC_7_91_BLS12_381_PARAMS>::evaluate(
[INFO] [stdout]    |                                      ^^
[INFO] [stdout]   --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Fn` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 23 - let hash = MiMCNonFeistelCRHGadget::<Fr, MIMC_7_91_BLS12_381_PARAMS>::evaluate(
[INFO] [stdout] 23 + 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] 2  + 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] 25 |     &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] 2  + use ark_r1cs_std::fields::fp::FpVar;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Fr` in this scope
[INFO] [stdout]   --> src/lib.rs:156:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]    |              ^^
[INFO] [stdout]   --> /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Fn` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 25 -     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout] 25 +     &FpVar::<Fn>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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] 25 |     &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] 25 -     &FpVar::<Fr>::Constant(Fr::from(0u64)).to_bytes()?,
[INFO] [stdout] 25 +     &FpVar::<Fr>::Constant(Fn::from(0u64)).to_bytes()?,
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 2  + 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: E0412, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[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` in the current scope
[INFO] [stdout]   --> src/lib.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 27 |         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] 2  + 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] 27 |         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" "431753f0857d4f76ee80798514e72a3d360c2aec81c330bfc830678ce3e121e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "431753f0857d4f76ee80798514e72a3d360c2aec81c330bfc830678ce3e121e7", kill_on_drop: false }`
[INFO] [stdout] 431753f0857d4f76ee80798514e72a3d360c2aec81c330bfc830678ce3e121e7
