[INFO] cloning repository https://github.com/Electrofruit/ZeroKnowledge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Electrofruit/ZeroKnowledge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectrofruit%2FZeroKnowledge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectrofruit%2FZeroKnowledge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d912064dba1d37ef897c8b6f49684b868b6db3e [INFO] testing Electrofruit/ZeroKnowledge against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElectrofruit%2FZeroKnowledge" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Electrofruit/ZeroKnowledge on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Electrofruit/ZeroKnowledge [INFO] finished tweaking git repo https://github.com/Electrofruit/ZeroKnowledge [INFO] tweaked toml for git repo https://github.com/Electrofruit/ZeroKnowledge written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/Electrofruit/ZeroKnowledge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db139bf2a470fa9050efd0a0f2456aac282685018b5054704ed457edf6a6e762 [INFO] running `Command { std: "docker" "start" "-a" "db139bf2a470fa9050efd0a0f2456aac282685018b5054704ed457edf6a6e762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db139bf2a470fa9050efd0a0f2456aac282685018b5054704ed457edf6a6e762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db139bf2a470fa9050efd0a0f2456aac282685018b5054704ed457edf6a6e762", kill_on_drop: false }` [INFO] [stdout] db139bf2a470fa9050efd0a0f2456aac282685018b5054704ed457edf6a6e762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d95a69b41d6ddf091802dcedced7c4cc9f562b797acec38bdbca4d7ce9eb2162 [INFO] running `Command { std: "docker" "start" "-a" "d95a69b41d6ddf091802dcedced7c4cc9f562b797acec38bdbca4d7ce9eb2162", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling zokrates_core v0.3.10 (/opt/rustwide/workdir/zokrates_core) [INFO] [stderr] Compiling reduce v0.1.2 [INFO] [stderr] Compiling zokrates_fs_resolver v0.4.1 (/opt/rustwide/workdir/zokrates_fs_resolver) [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling zokrates_stdlib v0.1.1 (/opt/rustwide/workdir/zokrates_stdlib) [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling pest v2.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling tiny-keccak v1.4.3 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling blake2-rfc v0.2.18 (https://github.com/gtank/blake2-rfc?rev=7a5b5fc99ae483a0043db7547fb79a6fa44b88a9#7a5b5fc9) [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling csv-core v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling pest_meta v2.1.1 [INFO] [stderr] Compiling from-pest v0.3.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling bincode v0.8.0 [INFO] [stderr] Compiling csv v1.0.7 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling single v1.0.0 [INFO] [stderr] Compiling zokrates_parser v0.1.0 (/opt/rustwide/workdir/zokrates_parser) [INFO] [stderr] Compiling pest-ast v0.3.3 [INFO] [stderr] Compiling ff_derive v0.4.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9) [INFO] [stderr] Compiling ff v0.5.0 (https://github.com/matterinc/ff?tag=0.5#056a13b9) [INFO] [stderr] Compiling pairing v0.16.2 (https://github.com/matterinc/pairing?tag=0.16.2#c2af46ca) [INFO] [stderr] Compiling zokrates_field v0.3.3 (/opt/rustwide/workdir/zokrates_field) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_field/src/field.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref P: BigInt = BigInt::parse_bytes( [INFO] [stdout] 23 | | b"21888242871839275222246405745257275088548364400416034343698204186575808495617", [INFO] [stdout] 24 | | 10 [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_field/src/field.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / lazy_static! { [INFO] [stdout] 22 | | static ref P: BigInt = BigInt::parse_bytes( [INFO] [stdout] 23 | | b"21888242871839275222246405745257275088548364400416034343698204186575808495617", [INFO] [stdout] 24 | | 10 [INFO] [stdout] 25 | | ) [INFO] [stdout] 26 | | .unwrap(); [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zokrates_pest_ast v0.1.0 (/opt/rustwide/workdir/zokrates_pest_ast) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bellman v0.2.0 (https://github.com/matterinc/bellman?tag=0.2.0#6e45a4b2) [INFO] [stderr] Compiling sapling-crypto v0.0.4 (https://github.com/matterinc/sapling-crypto?tag=0.0.4#6ac48e2f) [INFO] [stderr] Compiling zokrates_embed v0.1.0 (/opt/rustwide/workdir/zokrates_embed) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> zokrates_core/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(box_patterns, box_syntax)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | r#try!(write!(f, "(")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | r#try!(write!(f, ") -> (")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | r#try!(write!(f, "{}", t)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | Some(t) => r#try!(write!(f, "{}", t)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | None => r#try!(write!(f, "_")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/semantics.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | r#try!(write!(f, "Return(")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:233:21 [INFO] [stdout] | [INFO] [stdout] 233 | r#try!(write!(f, "{}", expr)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:248:17 [INFO] [stdout] | [INFO] [stdout] 248 | r#try!(write!(f, "for {:?} in {:?}..{:?} do\n", var, start, stop)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | r#try!(write!(f, "\t\t{:?}\n", l)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | r#try!(write!(f, "return ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | r#try!(write!(f, "{}", expr)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:278:17 [INFO] [stdout] | [INFO] [stdout] 278 | r#try!(write!(f, "for {} in {}..{} do\n", var, start, stop)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | r#try!(write!(f, "\t\t{}\n", l)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:286:21 [INFO] [stdout] | [INFO] [stdout] 286 | r#try!(write!(f, "{}", id)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | r#try!(write!(f, "{}(", i,)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:499:21 [INFO] [stdout] | [INFO] [stdout] 499 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:501:25 [INFO] [stdout] | [INFO] [stdout] 501 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:542:17 [INFO] [stdout] | [INFO] [stdout] 542 | r#try!(write!(f, "{}(", i,)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:546:25 [INFO] [stdout] | [INFO] [stdout] 546 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:588:17 [INFO] [stdout] | [INFO] [stdout] 588 | r#try!(write!(f, "FunctionCall({:?}, (", i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | r#try!(f.debug_list().entries(p.iter()).finish()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | r#try!(write!(f, "FunctionCall({:?}, (", i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:606:17 [INFO] [stdout] | [INFO] [stdout] 606 | r#try!(f.debug_list().entries(p.iter()).finish()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:624:17 [INFO] [stdout] | [INFO] [stdout] 624 | r#try!(write!(f, "{}(", i,)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:626:21 [INFO] [stdout] | [INFO] [stdout] 626 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:628:25 [INFO] [stdout] | [INFO] [stdout] 628 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | r#try!(write!(f, "FunctionCall({:?}, (", i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/typed_absy/mod.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | r#try!(f.debug_list().entries(p.iter()).finish()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | r#try!(write!(f, "(")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | r#try!(write!(f, ") -> (")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | r#try!(write!(f, "{}", t)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | r#try!(write!(f, "{}", t)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/types/signature.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(write!(f, "for {} in {}..{} do\n", var, start, stop)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | r#try!(write!(f, "\t\t{}\n", l)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | r#try!(write!(f, "{}", id)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 204 | r#try!(write!(f, "for {:?} in {:?}..{:?} do\n", var, start, stop)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 206 | r#try!(write!(f, "\t\t{:?}\n", l)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:262:17 [INFO] [stdout] | [INFO] [stdout] 262 | r#try!(write!(f, "{}(", i,)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:264:21 [INFO] [stdout] | [INFO] [stdout] 264 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | r#try!(write!(f, "[")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | r#try!(write!(f, "{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | r#try!(write!(f, "FunctionCall({:?}, (", i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | r#try!(f.debug_list().entries(p.iter()).finish()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:322:17 [INFO] [stdout] | [INFO] [stdout] 322 | r#try!(write!(f, "InlineArray([")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | r#try!(f.debug_list().entries(exprs.iter()).finish()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/absy/mod.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/flat_absy/mod.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | r#try!(write!(f, "{}", param)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> zokrates_core/src/flat_absy/mod.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | r#try!(write!(f, ", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / lazy_static! { [INFO] [stdout] 211 | | static ref G2_REGEX: Regex = Regex::new(r"G2\(x=Fq2\(Fq\((?P0[xX][0-9a-fA-F]{64})\) \+ Fq\((?P0[xX][0-9a-fA-F]{64})\) \* ... [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:210:5 [INFO] [stdout] | [INFO] [stdout] 210 | / lazy_static! { [INFO] [stdout] 211 | | static ref G2_REGEX: Regex = Regex::new(r"G2\(x=Fq2\(Fq\((?P0[xX][0-9a-fA-F]{64})\) \+ Fq\((?P0[xX][0-9a-fA-F]{64})\) \* ... [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / lazy_static! { [INFO] [stdout] 215 | | static ref G1_REGEX: Regex = Regex::new( [INFO] [stdout] 216 | | r"G1\(x=Fq\((?P0[xX][0-9a-fA-F]{64})\), y=Fq\((?P0[xX][0-9a-fA-F]{64})\)\)" [INFO] [stdout] 217 | | ) [INFO] [stdout] 218 | | .unwrap(); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | / lazy_static! { [INFO] [stdout] 215 | | static ref G1_REGEX: Regex = Regex::new( [INFO] [stdout] 216 | | r"G1\(x=Fq\((?P0[xX][0-9a-fA-F]{64})\), y=Fq\((?P0[xX][0-9a-fA-F]{64})\)\)" [INFO] [stdout] 217 | | ) [INFO] [stdout] 218 | | .unwrap(); [INFO] [stdout] 219 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / lazy_static! { [INFO] [stdout] 222 | | static ref FR_REGEX: Regex = Regex::new(r"Fr\((?P0[xX][0-9a-fA-F]{64})\)").unwrap(); [INFO] [stdout] 223 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> zokrates_core/src/proof_system/bn128/utils/bellman.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | / lazy_static! { [INFO] [stdout] 222 | | static ref FR_REGEX: Regex = Regex::new(r"Fr\((?P0[xX][0-9a-fA-F]{64})\)").unwrap(); [INFO] [stdout] 223 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> zokrates_core/src/standard.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | .reduce(|acc, e| FlatExpression::Add(box acc, box e)) [INFO] [stdout] | ^^^^^^ multiple `reduce` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Reduce` for the type `I` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `std::iter::Map` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 14 ~ match Reduce::reduce(v [INFO] [stdout] 15 + .into_iter() [INFO] [stdout] 16 + .map(|(key, val)| { [INFO] [stdout] 17 + FlatExpression::Mult( [INFO] [stdout] 18 + box FlatExpression::Number(T::from_bellman(val)), [INFO] [stdout] 19 + box FlatExpression::Identifier(FlatVariable::new(key)), [INFO] [stdout] ... [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 14 ~ match Iterator::reduce(v [INFO] [stdout] 15 + .into_iter() [INFO] [stdout] 16 + .map(|(key, val)| { [INFO] [stdout] 17 + FlatExpression::Mult( [INFO] [stdout] 18 + box FlatExpression::Number(T::from_bellman(val)), [INFO] [stdout] 19 + box FlatExpression::Identifier(FlatVariable::new(key)), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reduce::Reduce` [INFO] [stdout] --> zokrates_core/src/standard.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use reduce::Reduce; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 67 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zokrates_core` due to 3 previous errors; 67 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d95a69b41d6ddf091802dcedced7c4cc9f562b797acec38bdbca4d7ce9eb2162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d95a69b41d6ddf091802dcedced7c4cc9f562b797acec38bdbca4d7ce9eb2162", kill_on_drop: false }` [INFO] [stdout] d95a69b41d6ddf091802dcedced7c4cc9f562b797acec38bdbca4d7ce9eb2162