[INFO] fetching crate paillier 0.2.0... [INFO] testing paillier-0.2.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate paillier 0.2.0 into /workspace/builds/worker-60/source [INFO] validating manifest of crates.io crate paillier 0.2.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate paillier 0.2.0 [INFO] finished tweaking crates.io crate paillier 0.2.0 [INFO] tweaked toml for crates.io crate paillier 0.2.0 written to /workspace/builds/worker-60/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5df042f442d5c1d53d2b4911c27c0f289513eedb934f718b73352dec681202a [INFO] running `Command { std: "docker" "start" "-a" "d5df042f442d5c1d53d2b4911c27c0f289513eedb934f718b73352dec681202a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5df042f442d5c1d53d2b4911c27c0f289513eedb934f718b73352dec681202a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5df042f442d5c1d53d2b4911c27c0f289513eedb934f718b73352dec681202a", kill_on_drop: false }` [INFO] [stdout] d5df042f442d5c1d53d2b4911c27c0f289513eedb934f718b73352dec681202a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b19568dd4711f2d59783560e2e9824339eb2fdbfc7a3f23b5b197280b7ea44ac [INFO] running `Command { std: "docker" "start" "-a" "b19568dd4711f2d59783560e2e9824339eb2fdbfc7a3f23b5b197280b7ea44ac", 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] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rust-gmp v0.5.0 [INFO] [stderr] Compiling paillier v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithimpl/traits.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_zero(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/arithimpl/traits.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_even(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [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/arithimpl/traits.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | fn _from(&T) -> Self; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [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: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/encoding/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/encoding/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::arithimpl::traits::*` [INFO] [stdout] --> src/proof/range_proof_ni.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::arithimpl::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::core::*` [INFO] [stdout] --> src/proof/range_proof_ni.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::core::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RANGE_BITS` [INFO] [stdout] --> src/proof/range_proof.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RANGE_BITS` [INFO] [stdout] --> src/proof/range_proof_ni.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/keygen.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 62 - for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] 62 + for p in SMALL_PRIMES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.73s [INFO] running `Command { std: "docker" "inspect" "b19568dd4711f2d59783560e2e9824339eb2fdbfc7a3f23b5b197280b7ea44ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b19568dd4711f2d59783560e2e9824339eb2fdbfc7a3f23b5b197280b7ea44ac", kill_on_drop: false }` [INFO] [stdout] b19568dd4711f2d59783560e2e9824339eb2fdbfc7a3f23b5b197280b7ea44ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c534ac130ccbb00ed8243ca4a466d83ad4fc2c0458d0ee914687c3d6f5a04334 [INFO] running `Command { std: "docker" "start" "-a" "c534ac130ccbb00ed8243ca4a466d83ad4fc2c0458d0ee914687c3d6f5a04334", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithimpl/traits.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_zero(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/arithimpl/traits.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_even(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [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/arithimpl/traits.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | fn _from(&T) -> Self; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [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: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/encoding/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/encoding/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::arithimpl::traits::*` [INFO] [stdout] --> src/proof/range_proof_ni.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ::arithimpl::traits::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::core::*` [INFO] [stdout] --> src/proof/range_proof_ni.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ::core::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RANGE_BITS` [INFO] [stdout] --> src/proof/range_proof.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RANGE_BITS` [INFO] [stdout] --> src/proof/range_proof_ni.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/keygen.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 62 - for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] 62 + for p in SMALL_PRIMES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling paillier v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(specialization)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] = note: see issue #31844 for more information [INFO] [stdout] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/arithimpl/traits.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | fn is_zero(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [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/arithimpl/traits.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | fn is_even(&Self) -> bool; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [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/arithimpl/traits.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | fn _from(&T) -> Self; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [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: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/encoding/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/encoding/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/proof/correct_key.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | use traits::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::Serialize` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use serde::ser::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::Deserialize` [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use serde::de::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/proof/range_proof.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | let (_com, r, e) = Paillier::verifier_commit(&verifier_ek); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/keygen.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 62 | for p in SMALL_PRIMES.iter() { [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 62 - for p in SMALL_PRIMES.into_iter() { [INFO] [stdout] 62 + for p in SMALL_PRIMES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/proof/range_proof_ni.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(result.is_ok(),true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 105 | assert!(result.is_ok(),"{}", true); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.03s [INFO] running `Command { std: "docker" "inspect" "c534ac130ccbb00ed8243ca4a466d83ad4fc2c0458d0ee914687c3d6f5a04334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c534ac130ccbb00ed8243ca4a466d83ad4fc2c0458d0ee914687c3d6f5a04334", kill_on_drop: false }` [INFO] [stdout] c534ac130ccbb00ed8243ca4a466d83ad4fc2c0458d0ee914687c3d6f5a04334 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e5a78e59206586b8f387a8945dc5fb8a46539256d2bcc2b18a4b730126be36b [INFO] running `Command { std: "docker" "start" "-a" "0e5a78e59206586b8f387a8945dc5fb8a46539256d2bcc2b18a4b730126be36b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(incomplete_features)]` on by default [INFO] [stderr] = note: see issue #31844 for more information [INFO] [stderr] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/arithimpl/traits.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | fn is_zero(&Self) -> bool; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/arithimpl/traits.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | fn is_even(&Self) -> bool; [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/arithimpl/traits.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | fn _from(&T) -> Self; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::ser::Serialize` [INFO] [stderr] --> src/encoding/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::ser::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::de::Deserialize` [INFO] [stderr] --> src/encoding/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serde::de::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::arithimpl::traits::*` [INFO] [stderr] --> src/proof/range_proof_ni.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ::arithimpl::traits::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `::core::*` [INFO] [stderr] --> src/proof/range_proof_ni.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use ::core::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::ser::Serialize` [INFO] [stderr] --> src/lib.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | use serde::ser::Serialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::de::Deserialize` [INFO] [stderr] --> src/lib.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | use serde::de::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RANGE_BITS` [INFO] [stderr] --> src/proof/range_proof.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RANGE_BITS` [INFO] [stderr] --> src/proof/range_proof_ni.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | const RANGE_BITS : usize = 256; //for elliptic curves with 256bits for example [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stderr] --> src/keygen.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | for p in SMALL_PRIMES.into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 62 | for p in SMALL_PRIMES.iter() { [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 62 - for p in SMALL_PRIMES.into_iter() { [INFO] [stderr] 62 + for p in SMALL_PRIMES { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `traits::*` [INFO] [stderr] --> src/proof/correct_key.rs:194:9 [INFO] [stderr] | [INFO] [stderr] 194 | use traits::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/proof/range_proof.rs:433:24 [INFO] [stderr] | [INFO] [stderr] 433 | let (_com, r, e) = Paillier::verifier_commit(&verifier_ek); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/proof/range_proof_ni.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | assert!(result.is_ok(),true); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 105 | assert!(result.is_ok(),"{}", true); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `paillier` (lib) generated 13 warnings [INFO] [stderr] warning: `paillier` (lib test) generated 12 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.43s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/paillier-987e24ed7e0d192b) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test encoding::test_pack ... ok [INFO] [stdout] test core::tests::test_key_serialization ... ok [INFO] [stdout] test core::tests::test_failing_deserialize ... ok [INFO] [stdout] test encoding::integral::tests::test_scalar_mul_plaintext_scalar ... ok [INFO] [stdout] test core::tests::correct_multiplication ... ok [INFO] [stdout] test encoding::integral::tests::test_scalar_add_ciphertext_scalar ... ok [INFO] [stdout] test encoding::integral::tests::test_vector_add_plaintext_vector ... ok [INFO] [stdout] test core::tests::test_correct_encryption_decryption ... ok [INFO] [stdout] test encoding::integral::tests::test_vector_encrypt_decrypt ... ok [INFO] [stdout] test encoding::integral::tests::test_scalar_encrypt_decrypt ... ok [INFO] [stdout] test proof::correct_opening::tests::test_verify ... ok [INFO] [stdout] test core::tests::test_correct_opening ... ok [INFO] [stdout] test encoding::integral::tests::test_scalar_add_plaintext_scalar ... ok [INFO] [stdout] test core::tests::test_correct_keygen ... ok [INFO] [stdout] test core::tests::test_correct_addition ... ok [INFO] [stdout] test proof::range_proof_ni::tests::test_prover ... ok [INFO] [stdout] test proof::range_proof_ni::tests::test_verifier_for_incorrect_proof ... ok [INFO] [stdout] test encoding::integral::tests::test_vector_mul_plaintext_scalar ... ok [INFO] [stdout] test proof::range_proof::tests::bench_range_proof ... ok [INFO] [stdout] test proof::range_proof::tests::test_generate_encrypted_pairs ... ok [INFO] [stdout] test proof::range_proof_ni::tests::test_verifier_for_correct_proof ... ok [INFO] [stdout] test proof::range_proof::tests::test_range_proof_incorrect_proof ... ok [INFO] [stdout] test proof::correct_key::tests::test_incorrect_zk_proof ... ok [INFO] [stdout] test proof::range_proof_ni::tests::bench_range_proof ... ok [INFO] [stdout] test proof::correct_key::tests::test_correct_zk_proof ... ok [INFO] [stdout] test proof::range_proof::tests::test_generate_proof ... ok [INFO] [stdout] test proof::correct_key::tests::test_incorrect_zk_proof_2 ... ok [INFO] [stdout] test proof::range_proof::tests::test_commit_decommit ... ok [INFO] [stdout] test proof::range_proof::tests::test_range_proof_correct_proof ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.18s [INFO] [stdout] [INFO] [stderr] Doc-tests paillier [INFO] [stderr] warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(specialization)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(incomplete_features)]` on by default [INFO] [stderr] = note: see issue #31844 for more information [INFO] [stderr] = help: consider using `min_specialization` instead, which is more stable and complete [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 1 warning emitted [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e5a78e59206586b8f387a8945dc5fb8a46539256d2bcc2b18a4b730126be36b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5a78e59206586b8f387a8945dc5fb8a46539256d2bcc2b18a4b730126be36b", kill_on_drop: false }` [INFO] [stdout] 0e5a78e59206586b8f387a8945dc5fb8a46539256d2bcc2b18a4b730126be36b