[INFO] cloning repository https://github.com/sifnoc/ark-groth16-wasm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sifnoc/ark-groth16-wasm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsifnoc%2Fark-groth16-wasm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsifnoc%2Fark-groth16-wasm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86b5a534fcda38a1b0faed74766f94b6b70f4fd2 [INFO] testing sifnoc/ark-groth16-wasm against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsifnoc%2Fark-groth16-wasm" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/sifnoc/ark-groth16-wasm [INFO] finished tweaking git repo https://github.com/sifnoc/ark-groth16-wasm [INFO] tweaked toml for git repo https://github.com/sifnoc/ark-groth16-wasm written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sifnoc/ark-groth16-wasm on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sifnoc/ark-groth16-wasm 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded wasm_sync v0.1.2 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-rayon v1.3.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.50 [INFO] [stderr] Downloaded ark-groth16 v0.4.0 [INFO] [stderr] Downloaded anyhow v1.0.95 [INFO] [stderr] Downloaded semver v1.0.24 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded ark-ec v0.4.1 [INFO] [stderr] Downloaded rust-witness v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-console-logger v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66daa03c2a1d834c540612521629e519bf3cb8e806a4dea1e5dede471e73e6c0 [INFO] running `Command { std: "docker" "start" "-a" "66daa03c2a1d834c540612521629e519bf3cb8e806a4dea1e5dede471e73e6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66daa03c2a1d834c540612521629e519bf3cb8e806a4dea1e5dede471e73e6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66daa03c2a1d834c540612521629e519bf3cb8e806a4dea1e5dede471e73e6c0", kill_on_drop: false }` [INFO] [stdout] 66daa03c2a1d834c540612521629e519bf3cb8e806a4dea1e5dede471e73e6c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 905a1bc4d8aac89e8e8a4280023adf603557c686d614df83c28db0cabab78fa8 [INFO] running `Command { std: "docker" "start" "-a" "905a1bc4d8aac89e8e8a4280023adf603557c686d614df83c28db0cabab78fa8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling rust-witness v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-relations v0.4.0 [INFO] [stderr] Compiling ark-snark v0.4.0 [INFO] [stderr] Compiling ark-ec v0.4.1 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [INFO] [stderr] Compiling ark-bn254 v0.4.0 [INFO] [stderr] Compiling ark-groth16 v0.4.0 [INFO] [stderr] Compiling ark-groth16-wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_bindgen`, use `cargo add wasm_bindgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> src/lib.rs:72:3 [INFO] [stdout] | [INFO] [stdout] 72 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:73:46 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope [INFO] [stdout] --> src/lib.rs:73:74 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | pub fn generate_groth16_proof(a: JsValue, b: JsValue) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | .map_err(|e| JsValue::from_str(&format!("Failed to parse `a`: {}", e)))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | .map_err(|e| JsValue::from_str(&format!("Failed to parse `b`: {}", e)))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | .map_err(|e| JsValue::from_str(&format!("Failed to convert `a` to input {:?}", e)))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | .map_err(|e| JsValue::from_str(&format!("Failed to convert `b` to input {:?}", e)))?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue` [INFO] [stdout] --> src/lib.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | to_value(&(a, b, c)).map_err(|e| JsValue::from_str(&format!("Serialization failed: {}", e))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `JsValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ark-groth16-wasm` (lib) due to 11 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "905a1bc4d8aac89e8e8a4280023adf603557c686d614df83c28db0cabab78fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905a1bc4d8aac89e8e8a4280023adf603557c686d614df83c28db0cabab78fa8", kill_on_drop: false }` [INFO] [stdout] 905a1bc4d8aac89e8e8a4280023adf603557c686d614df83c28db0cabab78fa8