[INFO] fetching crate zksnark 0.0.2... [INFO] checking zksnark-0.0.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate zksnark 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate zksnark 0.0.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zksnark 0.0.2 [INFO] finished tweaking crates.io crate zksnark 0.0.2 [INFO] tweaked toml for crates.io crate zksnark 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 37 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding byteorder v0.5.3 (latest: v1.5.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crunchy v0.1.6 (latest: v0.2.2) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding itertools v0.6.5 (latest: v0.12.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quickcheck v0.7.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.2.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.7.2 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded bn v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de8ae51d5bea14c98d3050cf2888e4904e982976b06355e01bc73e1cf7c9888b [INFO] running `Command { std: "docker" "start" "-a" "de8ae51d5bea14c98d3050cf2888e4904e982976b06355e01bc73e1cf7c9888b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de8ae51d5bea14c98d3050cf2888e4904e982976b06355e01bc73e1cf7c9888b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8ae51d5bea14c98d3050cf2888e4904e982976b06355e01bc73e1cf7c9888b", kill_on_drop: false }` [INFO] [stdout] de8ae51d5bea14c98d3050cf2888e4904e982976b06355e01bc73e1cf7c9888b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff8e67922a2a64c7afb5919f16714e73ddcf6778506ae616bfbd63ea59d97507 [INFO] running `Command { std: "docker" "start" "-a" "ff8e67922a2a64c7afb5919f16714e73ddcf6778506ae616bfbd63ea59d97507", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking bigint v4.4.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking bn v0.4.3 [INFO] [stderr] Checking zksnark v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/circuit/mod.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn try_parse(&str) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | fn exp_encrypted_g1(self, Self::G1) -> Self::G1; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G1` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn exp_encrypted_g2(self, Self::G2) -> Self::G2; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn pairing(Self::G1, Self::G2) -> Self::GT; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G1` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn pairing(Self::G1, Self::G2) -> Self::GT; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stdout] warning: associated items `encrypt` and `random` are never used [INFO] [stdout] --> src/encryption.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Encryptable { [INFO] [stdout] | ----------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn encrypt(self) -> Self::Output; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn random() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detect_root` and `valid` are never used [INFO] [stdout] --> src/encryption.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EncryptProperties { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 14 | fn detect_root(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn valid(&self) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chinese_remainder` is never used [INFO] [stdout] --> src/field/mod.rs:274:4 [INFO] [stdout] | [INFO] [stdout] 274 | fn chinese_remainder(rems: &[T], moduli: &[T]) -> T [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/groth16/circuit/builder/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SubCircuitConnections { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | output: WireId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubCircuitConnections` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/groth16/circuit/mod.rs:497:20 [INFO] [stdout] | [INFO] [stdout] 497 | panic!("Under constained or malformed inputs".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 497 | panic!("{}", "Under constained or malformed inputs".to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.7.2 [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/field/mod.rs:457:28 [INFO] [stdout] | [INFO] [stdout] 457 | return (degree == poly.degree()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 457 - return (degree == poly.degree()); [INFO] [stdout] 457 + return degree == poly.degree(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAnd`, `BitOr`, `BitXor` [INFO] [stdout] --> src/groth16/circuit/builder/tests.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::{BitAnd, BitOr, BitXor}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/circuit/mod.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn try_parse(&str) -> Result; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DummyRep` is imported redundantly [INFO] [stdout] --> src/groth16/circuit/mod.rs:595:9 [INFO] [stdout] | [INFO] [stdout] 595 | use super::dummy_rep::DummyRep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 596 | use super::*; [INFO] [stdout] | -------- the item `DummyRep` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | fn exp_encrypted_g1(self, Self::G1) -> Self::G1; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G1` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn exp_encrypted_g2(self, Self::G2) -> Self::G2; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | fn pairing(Self::G1, Self::G2) -> Self::GT; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G1` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/groth16/mod.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | fn pairing(Self::G1, Self::G2) -> Self::GT; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::G2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/encryption.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Encryptable { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn encrypt(self) -> Self::Output; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detect_root` and `valid` are never used [INFO] [stdout] --> src/encryption.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait EncryptProperties { [INFO] [stdout] | ----------------- methods in this trait [INFO] [stdout] 14 | fn detect_root(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | fn valid(&self) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `output` is never read [INFO] [stdout] --> src/groth16/circuit/builder/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SubCircuitConnections { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | output: WireId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubCircuitConnections` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/groth16/circuit/mod.rs:497:20 [INFO] [stdout] | [INFO] [stdout] 497 | panic!("Under constained or malformed inputs".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 497 | panic!("{}", "Under constained or malformed inputs".to_string()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 7.36s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3, bn v0.4.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ff8e67922a2a64c7afb5919f16714e73ddcf6778506ae616bfbd63ea59d97507", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff8e67922a2a64c7afb5919f16714e73ddcf6778506ae616bfbd63ea59d97507", kill_on_drop: false }` [INFO] [stdout] ff8e67922a2a64c7afb5919f16714e73ddcf6778506ae616bfbd63ea59d97507