[INFO] cloning repository https://github.com/PlatONnetwork/Zokrates [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PlatONnetwork/Zokrates" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlatONnetwork%2FZokrates", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlatONnetwork%2FZokrates'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be3865e9957e4e8509b227b9c82276c1b0d3edef [INFO] checking PlatONnetwork/Zokrates against try#8832a71d49053449d3904572ee8f2c79da2104ae for pr-95953 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlatONnetwork%2FZokrates" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlatONnetwork/Zokrates on toolchain 8832a71d49053449d3904572ee8f2c79da2104ae [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8832a71d49053449d3904572ee8f2c79da2104ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PlatONnetwork/Zokrates [INFO] finished tweaking git repo https://github.com/PlatONnetwork/Zokrates [INFO] tweaked toml for git repo https://github.com/PlatONnetwork/Zokrates written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/PlatONnetwork/Zokrates already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8832a71d49053449d3904572ee8f2c79da2104ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+8832a71d49053449d3904572ee8f2c79da2104ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48cd66efdcd0a9cb56e7cfc5fba1beb9610875ab96380bc249987c4ccbc02366 [INFO] running `Command { std: "docker" "start" "-a" "48cd66efdcd0a9cb56e7cfc5fba1beb9610875ab96380bc249987c4ccbc02366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48cd66efdcd0a9cb56e7cfc5fba1beb9610875ab96380bc249987c4ccbc02366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48cd66efdcd0a9cb56e7cfc5fba1beb9610875ab96380bc249987c4ccbc02366", kill_on_drop: false }` [INFO] [stdout] 48cd66efdcd0a9cb56e7cfc5fba1beb9610875ab96380bc249987c4ccbc02366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "+8832a71d49053449d3904572ee8f2c79da2104ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ebc142dba4d7b4ab08b51810a1efd382986dbb683190eba72ceeca55148a046 [INFO] running `Command { std: "docker" "start" "-a" "0ebc142dba4d7b4ab08b51810a1efd382986dbb683190eba72ceeca55148a046", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ark-std v0.1.0 (https://github.com/arkworks-rs/utils#f6974ac7) [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Checking zokrates_common v0.1.0 (/opt/rustwide/workdir/zokrates_common) [INFO] [stderr] Checking bench-utils v0.1.0 (https://github.com/arkworks-rs/utils#f6974ac7) [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling zokrates_core v0.5.4 (/opt/rustwide/workdir/zokrates_core) [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking reduce v0.1.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking environment v0.1.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Checking zokrates_fs_resolver v0.5.1 (/opt/rustwide/workdir/zokrates_fs_resolver) [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling zokrates_test_derive v0.0.1 (/opt/rustwide/workdir/zokrates_test_derive) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling zokrates_cli v0.6.4 (/opt/rustwide/workdir/zokrates_cli) [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling zokrates_core_test v0.1.5 (/opt/rustwide/workdir/zokrates_core_test) [INFO] [stderr] Compiling zokrates_stdlib v0.1.8 (/opt/rustwide/workdir/zokrates_stdlib) [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking blake2-rfc_bellman_edition v0.0.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Compiling semver-parser v0.10.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking from-pest v0.3.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling rustc_version v0.3.0 [INFO] [stderr] Checking ff_ce v0.9.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.19 [INFO] [stderr] Compiling ark-ff v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking blake2 v0.8.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling ark-serialize-derive v0.1.1-alpha.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling ark-ff-asm v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Compiling ark-ff-macros v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking ark-serialize v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Checking zokrates_parser v0.1.6 (/opt/rustwide/workdir/zokrates_parser) [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling single v1.0.0 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling pest-ast v0.3.3 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking zokrates_pest_ast v0.1.5 (/opt/rustwide/workdir/zokrates_pest_ast) [INFO] [stderr] Checking wasm-bindgen-futures v0.4.19 [INFO] [stderr] Checking wasm-bindgen-test v0.3.19 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking bincode v0.8.0 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking csv v1.1.5 [INFO] [stderr] Compiling cargo_metadata v0.10.0 [INFO] [stderr] Compiling ff_derive_ce v0.8.0 [INFO] [stderr] Compiling skeptic v0.13.5 [INFO] [stderr] Checking ark-ec v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Checking ark-relations v0.1.0 (https://github.com/arkworks-rs/snark#0648c547) [INFO] [stderr] Checking ark-poly v0.1.0 (https://github.com/arkworks-rs/algebra#eac2dd72) [INFO] [stderr] Compiling assert_cli v0.5.4 [INFO] [stderr] Checking ff_ce v0.10.3 [INFO] [stderr] Checking ark-snark v0.1.0 (https://github.com/arkworks-rs/snark#0648c547) [INFO] [stderr] Checking pairing_ce v0.21.1 [INFO] [stderr] Checking ark-bls12-377 v0.1.0 (https://github.com/arkworks-rs/curves#7f1fcd66) [INFO] [stderr] Checking ark-bn254 v0.1.0 (https://github.com/arkworks-rs/curves#7f1fcd66) [INFO] [stderr] Checking ark-crypto-primitives v0.1.0 (https://github.com/arkworks-rs/crypto-primitives.git?branch=main#ce5cc890) [INFO] [stderr] Checking ark-bw6-761 v0.1.0 (https://github.com/arkworks-rs/curves#7f1fcd66) [INFO] [stderr] Checking ark-gm17 v0.1.0 (https://github.com/arkworks-rs/gm17#f74debdb) [INFO] [stderr] Checking bellman_ce v0.3.5 [INFO] [stderr] Checking sapling-crypto_ce v0.1.3 [INFO] [stderr] Checking zokrates_field v0.3.8 (/opt/rustwide/workdir/zokrates_field) [INFO] [stderr] Checking zokrates_embed v0.1.1 (/opt/rustwide/workdir/zokrates_embed) [INFO] [stdout] warning: field is never read: `flat_cache` [INFO] [stdout] --> zokrates_core/src/flatten/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | flat_cache: HashMap<FunctionKey<'ast>, FlatFunction<T>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Flattener` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> zokrates_core/src/flatten/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:654:45 [INFO] [stdout] | [INFO] [stdout] 654 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 655 | | "non-constant shift {} detected during static analysis", [INFO] [stdout] 656 | | e2 [INFO] [stdout] 657 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 654 ~ (_, e2) => unreachable!( [INFO] [stdout] 655 | "non-constant shift {} detected during static analysis", [INFO] [stdout] 656 | e2 [INFO] [stdout] 657 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:672:45 [INFO] [stdout] | [INFO] [stdout] 672 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 673 | | "non-constant shift {} detected during static analysis", [INFO] [stdout] 674 | | e2 [INFO] [stdout] 675 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 672 ~ (_, e2) => unreachable!( [INFO] [stdout] 673 | "non-constant shift {} detected during static analysis", [INFO] [stdout] 674 | e2 [INFO] [stdout] 675 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:846:45 [INFO] [stdout] | [INFO] [stdout] 846 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 847 | | "non-constant exponent {} detected during static analysis", [INFO] [stdout] 848 | | e2 [INFO] [stdout] 849 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 846 ~ (_, e2) => unreachable!( [INFO] [stdout] 847 | "non-constant exponent {} detected during static analysis", [INFO] [stdout] 848 | e2 [INFO] [stdout] 849 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zokrates_test v0.1.5 (/opt/rustwide/workdir/zokrates_test) [INFO] [stderr] Checking zokrates_abi v0.1.3 (/opt/rustwide/workdir/zokrates_abi) [INFO] [stdout] warning: field is never read: `flat_cache` [INFO] [stdout] --> zokrates_core/src/flatten/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | flat_cache: HashMap<FunctionKey<'ast>, FlatFunction<T>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Flattener` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> zokrates_core/src/flatten/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:654:45 [INFO] [stdout] | [INFO] [stdout] 654 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 655 | | "non-constant shift {} detected during static analysis", [INFO] [stdout] 656 | | e2 [INFO] [stdout] 657 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 654 ~ (_, e2) => unreachable!( [INFO] [stdout] 655 | "non-constant shift {} detected during static analysis", [INFO] [stdout] 656 | e2 [INFO] [stdout] 657 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:672:45 [INFO] [stdout] | [INFO] [stdout] 672 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 673 | | "non-constant shift {} detected during static analysis", [INFO] [stdout] 674 | | e2 [INFO] [stdout] 675 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 672 ~ (_, e2) => unreachable!( [INFO] [stdout] 673 | "non-constant shift {} detected during static analysis", [INFO] [stdout] 674 | e2 [INFO] [stdout] 675 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> zokrates_core/src/static_analysis/propagation.rs:846:45 [INFO] [stdout] | [INFO] [stdout] 846 | (_, e2) => unreachable!(format!( [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 847 | | "non-constant exponent {} detected during static analysis", [INFO] [stdout] 848 | | e2 [INFO] [stdout] 849 | | )), [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [INFO] [stdout] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 846 ~ (_, e2) => unreachable!( [INFO] [stdout] 847 | "non-constant exponent {} detected during static analysis", [INFO] [stdout] 848 | e2 [INFO] [stdout] 849 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> zokrates_core/src/absy/from_ast.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | absy::Module::from(ast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::convert::From::from` that must be used [INFO] [stdout] --> zokrates_core/src/absy/from_ast.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | absy::Module::from(ast); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.03s [INFO] running `Command { std: "docker" "inspect" "0ebc142dba4d7b4ab08b51810a1efd382986dbb683190eba72ceeca55148a046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ebc142dba4d7b4ab08b51810a1efd382986dbb683190eba72ceeca55148a046", kill_on_drop: false }` [INFO] [stdout] 0ebc142dba4d7b4ab08b51810a1efd382986dbb683190eba72ceeca55148a046