[INFO] fetching crate wasm-utils 0.2.0... [INFO] building wasm-utils-0.2.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate wasm-utils 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate wasm-utils 0.2.0 [INFO] finished tweaking crates.io crate wasm-utils 0.2.0 [INFO] tweaked toml for crates.io crate wasm-utils 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasm-utils 0.2.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 139 packages to latest compatible versions [INFO] [stderr] Adding ark-bls12-381 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-bn254 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-crypto-primitives v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ed-on-bn254 v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-ff v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-serialize v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ark-std v0.3.0 (available: v0.5.0) [INFO] [stderr] Adding ethabi v15.0.0 (available: v18.0.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ethbloom v0.11.1 [INFO] [stderr] Downloaded ethereum-types v0.12.1 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded ark-serialize-derive v0.3.0 [INFO] [stderr] Downloaded ethabi v15.0.0 [INFO] [stderr] Downloaded arkworks-setups v1.2.2 [INFO] [stderr] Downloaded arkworks-native-gadgets v1.2.0 [INFO] [stderr] Downloaded ark-snark v0.3.0 [INFO] [stderr] Downloaded ark-relations v0.3.0 [INFO] [stderr] Downloaded ark-nonnative-field v0.3.0 [INFO] [stderr] Downloaded ark-ed-on-bn254 v0.3.0 [INFO] [stderr] Downloaded ark-bls12-381 v0.3.0 [INFO] [stderr] Downloaded arkworks-r1cs-circuits v1.2.0 [INFO] [stderr] Downloaded ark-poly v0.3.0 [INFO] [stderr] Downloaded ark-groth16 v0.3.0 [INFO] [stderr] Downloaded arkworks-r1cs-gadgets v1.2.0 [INFO] [stderr] Downloaded ark-r1cs-std v0.3.1 [INFO] [stderr] Downloaded arkworks-utils v1.0.1 [INFO] [stderr] Downloaded ark-crypto-primitives v0.3.0 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2d042eabdd6a79274783a1e035668eca3277f4cb409f1cb57f8854252b8a082 [INFO] running `Command { std: "docker" "start" "-a" "d2d042eabdd6a79274783a1e035668eca3277f4cb409f1cb57f8854252b8a082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2d042eabdd6a79274783a1e035668eca3277f4cb409f1cb57f8854252b8a082", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2d042eabdd6a79274783a1e035668eca3277f4cb409f1cb57f8854252b8a082", kill_on_drop: false }` [INFO] [stdout] d2d042eabdd6a79274783a1e035668eca3277f4cb409f1cb57f8854252b8a082 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da66940c674ac3601c35e2e2ea5f34fab3ad15d05723962af58da9e5fde59150 [INFO] running `Command { std: "docker" "start" "-a" "da66940c674ac3601c35e2e2ea5f34fab3ad15d05723962af58da9e5fde59150", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `edition2021` has been stabilized in the 1.56 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/manifest.html#the-edition-field for more information about using this feature. [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling ethbloom v0.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ethereum-types v0.12.1 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling ark-std v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ethabi v15.0.0 [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 ark-ff v0.3.0 [INFO] [stderr] Compiling ark-serialize-derive v0.3.0 [INFO] [stderr] Compiling ark-ff-macros v0.3.0 [INFO] [stderr] Compiling ark-ff-asm v0.3.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-serialize v0.3.0 [INFO] [stderr] Compiling web-sys v0.3.81 [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 arkworks-utils v1.0.1 [INFO] [stderr] Compiling ark-snark v0.3.0 [INFO] [stderr] Compiling ark-r1cs-std v0.3.1 [INFO] [stderr] Compiling ark-bn254 v0.3.0 [INFO] [stderr] Compiling ark-bls12-381 v0.3.0 [INFO] [stderr] Compiling ark-nonnative-field v0.3.0 [INFO] [stderr] Compiling ark-ed-on-bn254 v0.3.0 [INFO] [stderr] Compiling ark-crypto-primitives v0.3.0 [INFO] [stderr] Compiling arkworks-native-gadgets v1.2.0 [INFO] [stderr] Compiling ark-groth16 v0.3.0 [INFO] [stderr] Compiling arkworks-r1cs-gadgets v1.2.0 [INFO] [stderr] Compiling arkworks-r1cs-circuits v1.2.0 [INFO] [stderr] Compiling arkworks-setups v1.2.2 [INFO] [stderr] Compiling wasm-utils v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `into_repr` found for enum `Option` in the current scope [INFO] [stdout] --> src/utxo.rs:112:68 [INFO] [stdout] | [INFO] [stdout] 112 | JsUtxoInner::Bn254(bn254_utxo) => bn254_utxo.keypair.secret_key.into_repr().to_bytes_le(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the method `into_repr` exists on the type `Fp256` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ark-ff-0.3.0/src/fields/mod.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | fn into_repr(&self) -> Self::BigInt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Fp256` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 112 | JsUtxoInner::Bn254(bn254_utxo) => bn254_utxo.keypair.secret_key.expect("REASON").into_repr().to_bytes_le(), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] help: there is a method `into_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 112 - JsUtxoInner::Bn254(bn254_utxo) => bn254_utxo.keypair.secret_key.into_repr().to_bytes_le(), [INFO] [stdout] 112 + JsUtxoInner::Bn254(bn254_utxo) => bn254_utxo.keypair.secret_key.into_iter().to_bytes_le(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `nullifier` on type `&Utxo>` [INFO] [stdout] --> src/utxo.rs:133:50 [INFO] [stdout] | [INFO] [stdout] 133 | JsUtxoInner::Bn254(bn254_utxo) => &bn254_utxo.nullifier, [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `chain_id_raw`, `chain_id`, `amount`, `blinding`, `keypair` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/utxo.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|value| value.into_repr().to_bytes_le()) [INFO] [stdout] | ^^^^^ --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | .map(|value: /* Type */| value.into_repr().to_bytes_le()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-utils` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "da66940c674ac3601c35e2e2ea5f34fab3ad15d05723962af58da9e5fde59150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da66940c674ac3601c35e2e2ea5f34fab3ad15d05723962af58da9e5fde59150", kill_on_drop: false }` [INFO] [stdout] da66940c674ac3601c35e2e2ea5f34fab3ad15d05723962af58da9e5fde59150