[INFO] cloning repository https://github.com/coltonfike/nested-dkg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coltonfike/nested-dkg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d17924097cce9ed2ba37af930833daa866d6cf25 [INFO] testing coltonfike/nested-dkg/d17924097cce9ed2ba37af930833daa866d6cf25 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] finished tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] tweaked toml for git repo https://github.com/coltonfike/nested-dkg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coltonfike/nested-dkg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing coltonfike/nested-dkg/d17924097cce9ed2ba37af930833daa866d6cf25 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] finished tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] tweaked toml for git repo https://github.com/coltonfike/nested-dkg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coltonfike/nested-dkg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing coltonfike/nested-dkg/d17924097cce9ed2ba37af930833daa866d6cf25 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] finished tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] tweaked toml for git repo https://github.com/coltonfike/nested-dkg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coltonfike/nested-dkg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing coltonfike/nested-dkg/d17924097cce9ed2ba37af930833daa866d6cf25 against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] finished tweaking git repo https://github.com/coltonfike/nested-dkg [INFO] tweaked toml for git repo https://github.com/coltonfike/nested-dkg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/coltonfike/nested-dkg already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /workspace/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded features v0.10.0 [INFO] [stderr] Downloaded ic-types v0.3.0 [INFO] [stderr] Downloaded cvt v0.1.1 [INFO] [stderr] Downloaded byte-unit v3.1.4 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded enum-ordinalize v3.1.11 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded rsa v0.4.0 [INFO] [stderr] Downloaded simple_asn1 v0.5.4 [INFO] [stderr] Downloaded num-bigint-dig v0.7.0 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded pretty_assertions v1.1.0 [INFO] [stderr] Downloaded educe v0.4.19 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded candid v0.7.14 [INFO] [stderr] Downloaded mockall_derive v0.7.2 [INFO] [stderr] Downloaded bls12_381 v0.5.0 [INFO] [stderr] Downloaded mockall v0.7.2 [INFO] [stderr] Downloaded serde_with v1.12.0 [INFO] [stderr] Downloaded comparable v0.5.1 [INFO] [stderr] Downloaded comparable_derive v0.5.1 [INFO] [stderr] Downloaded miracl_core_bls12381 v4.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c1819f5960ebf632d73d00bcc292f48dfe5b8f6e2565576f50a20dd15a9cf46 [INFO] running `Command { std: "docker" "start" "-a" "9c1819f5960ebf632d73d00bcc292f48dfe5b8f6e2565576f50a20dd15a9cf46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c1819f5960ebf632d73d00bcc292f48dfe5b8f6e2565576f50a20dd15a9cf46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c1819f5960ebf632d73d00bcc292f48dfe5b8f6e2565576f50a20dd15a9cf46", kill_on_drop: false }` [INFO] [stdout] 9c1819f5960ebf632d73d00bcc292f48dfe5b8f6e2565576f50a20dd15a9cf46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f08fe4b4f8e1b9835ed51186bd103b68fc8211a5fa11c909c9ef68982cc28e1 [INFO] running `Command { std: "docker" "start" "-a" "3f08fe4b4f8e1b9835ed51186bd103b68fc8211a5fa11c909c9ef68982cc28e1", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling pretty_assertions v1.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pairing v0.20.0 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byte-unit v3.1.4 [INFO] [stderr] Compiling derive_more v0.99.8-alpha.0 (https://github.com/dfinity-lab/derive_more?branch=master#9f1b894e) [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling miracl_core_bls12381 v4.1.2 [INFO] [stderr] Compiling cvt v0.1.1 [INFO] [stderr] Compiling bls12_381 v0.5.0 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling features v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ic-constants v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling comparable_derive v0.5.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling ic-crypto-internal-sha2 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-sha v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling zeroize v1.5.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381-der v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling clap v3.1.17 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling ic-protobuf v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-base-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-transport v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling comparable v0.5.1 [INFO] [stderr] Compiling ic-error-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling serde_with v1.12.0 [INFO] [stderr] Compiling ic-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ic-types v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling phantom_newtype v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-btc-types-internal v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-ic00-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-bls12381-serde-miracl v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-tree-hash v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-bls12381-common v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-fs-ni-dkg v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-fs-ni-dkg v0.8.0 (/opt/rustwide/workdir/crates/dfinity/fs_ni_dkg) [INFO] [stderr] Compiling types v0.1.0 (/opt/rustwide/workdir/crates/types) [INFO] [stderr] Compiling networking v0.1.0 (/opt/rustwide/workdir/crates/networking) [INFO] [stderr] Compiling bivariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/bivariate-dkg) [INFO] [stderr] Compiling nidkg v0.1.0 (/opt/rustwide/workdir/crates/nidkg) [INFO] [stderr] Compiling univariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/univariate-dkg) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (/opt/rustwide/workdir/crates/dfinity/bls12_381) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 149 | fn verification_pop_data<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp::FP` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | pub use miracl_core::bls12381::fp::FP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp12::FP12` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub use miracl_core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::hmac` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | pub use miracl_core::hmac; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/polynomial/common_traits.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/bivariate.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/types.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EphemeralSecretKeyBytes` [INFO] [stdout] 27 | pub struct EphemeralSecretKeyBytes(pub [u8; EphemeralSecretKeyBytes::SIZE]); [INFO] [stdout] | ----------------------- `EphemeralSecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionSecretKey` [INFO] [stdout] 19 | #[allow(non_camel_case_types)] [INFO] [stdout] 20 | pub enum CspFsEncryptionSecretKey { [INFO] [stdout] | ------------------------ `CspFsEncryptionSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionKeySet` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stdout] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/types.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SecretKeyBytes` [INFO] [stdout] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stdout] | -------------- `SecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `G1Projective` does not implement `Borrow`, so calling `borrow` on `&G1Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 41 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 41 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `G1Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g1.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421+ #[derive(Clone)] [INFO] [stdout] 422| pub struct G1Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `G2Projective` does not implement `Borrow`, so calling `borrow` on `&G2Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 60 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 60 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `G2Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g2.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495+ #[derive(Clone)] [INFO] [stdout] 496| pub struct G2Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling optimized-univar v0.1.0 (/opt/rustwide/workdir/crates/optimized-univar) [INFO] [stderr] Compiling optimized-nidkg v0.1.0 (/opt/rustwide/workdir/crates/optimized-nidkg) [INFO] [stderr] Compiling main v0.1.0 (/opt/rustwide/workdir/crates/main) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3f08fe4b4f8e1b9835ed51186bd103b68fc8211a5fa11c909c9ef68982cc28e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f08fe4b4f8e1b9835ed51186bd103b68fc8211a5fa11c909c9ef68982cc28e1", kill_on_drop: false }` [INFO] [stdout] 3f08fe4b4f8e1b9835ed51186bd103b68fc8211a5fa11c909c9ef68982cc28e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8d58f82f4f285fa569dbe6fb5c9a27d30508217127247aad24b0923c6d3506 [INFO] running `Command { std: "docker" "start" "-a" "8d8d58f82f4f285fa569dbe6fb5c9a27d30508217127247aad24b0923c6d3506", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling wsl v0.1.0 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling ic-crypto-secrets-containers v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ff v0.11.1 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling group v0.11.0 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.11 [INFO] [stderr] Compiling ic-protobuf v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-base-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-transport v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling procfs v0.9.1 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Compiling ic-registry-common-proto v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling rsa v0.4.0 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling p256 v0.10.1 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling slog-json v2.6.1 [INFO] [stderr] Compiling webpki v0.21.4 (https://github.com/dfinity-lab/webpki?branch=v0.21.4-v3-no-extensions#3e783d8e) [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling ic-crypto-internal-csp v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling ic-crypto-internal-hmac v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-context-logger v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fe-derive v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling mockall_derive v0.7.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling opentelemetry v0.16.0 [INFO] [stderr] Compiling ic-crypto-internal-test-vectors v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling fragile v1.2.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling tracing-opentelemetry v0.15.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tarpc v0.27.2 [INFO] [stderr] Compiling ic-metrics v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-logmon v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling mockall v0.7.2 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling phantom_newtype v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-sys v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-wasm-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-btc-types-internal v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-subnet-type v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-ic00-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-provisional-whitelist v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-routing-table v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-tree-hash v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-bls12381-serde-miracl v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-bls12381-common v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-fs-ni-dkg v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling tree-deserializer v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-subnet-features v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-fs-ni-dkg v0.8.0 (/opt/rustwide/workdir/crates/dfinity/fs_ni_dkg) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-der-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-interfaces v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-config v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-tls-interfaces v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-ecdsa v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-multi-sig-bls12381 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-keys v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-types-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-ed25519 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-rsa-pkcs1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-ecdsa-secp256r1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-ecdsa-secp256k1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-tls v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-client-helpers v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-client-fake v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-registry-proto-data-provider v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-cose v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-logger v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling types v0.1.0 (/opt/rustwide/workdir/crates/types) [INFO] [stderr] Compiling ic-crypto-utils-threshold-sig v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-certified-vars v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-basic-sig-iccsa v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling networking v0.1.0 (/opt/rustwide/workdir/crates/networking) [INFO] [stderr] Compiling bivariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/bivariate-dkg) [INFO] [stderr] Compiling nidkg v0.1.0 (/opt/rustwide/workdir/crates/nidkg) [INFO] [stderr] Compiling univariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/univariate-dkg) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (/opt/rustwide/workdir/crates/dfinity/bls12_381) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 149 | fn verification_pop_data<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp::FP` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | pub use miracl_core::bls12381::fp::FP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp12::FP12` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub use miracl_core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::hmac` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | pub use miracl_core::hmac; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/polynomial/common_traits.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/bivariate.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/types.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EphemeralSecretKeyBytes` [INFO] [stdout] 27 | pub struct EphemeralSecretKeyBytes(pub [u8; EphemeralSecretKeyBytes::SIZE]); [INFO] [stdout] | ----------------------- `EphemeralSecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionSecretKey` [INFO] [stdout] 19 | #[allow(non_camel_case_types)] [INFO] [stdout] 20 | pub enum CspFsEncryptionSecretKey { [INFO] [stdout] | ------------------------ `CspFsEncryptionSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionKeySet` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stdout] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/types.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SecretKeyBytes` [INFO] [stdout] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stdout] | -------------- `SecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `G1Projective` does not implement `Borrow`, so calling `borrow` on `&G1Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 41 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 41 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `G1Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g1.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421+ #[derive(Clone)] [INFO] [stdout] 422| pub struct G1Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `G2Projective` does not implement `Borrow`, so calling `borrow` on `&G2Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 60 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 60 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `G2Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g2.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495+ #[derive(Clone)] [INFO] [stdout] 496| pub struct G2Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling optimized-univar v0.1.0 (/opt/rustwide/workdir/crates/optimized-univar) [INFO] [stderr] Compiling optimized-nidkg v0.1.0 (/opt/rustwide/workdir/crates/optimized-nidkg) [INFO] [stderr] Compiling main v0.1.0 (/opt/rustwide/workdir/crates/main) [INFO] [stderr] Compiling ic-crypto-internal-csp-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 149 | fn verification_pop_data<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp::FP` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | pub use miracl_core::bls12381::fp::FP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::bls12381::fp12::FP12` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | pub use miracl_core::bls12381::fp12::FP12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `miracl_core::hmac` [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | pub use miracl_core::hmac; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/polynomial/common_traits.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/bivariate.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg_attr(tarpaulin, skip)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/types.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EphemeralSecretKeyBytes` [INFO] [stdout] 27 | pub struct EphemeralSecretKeyBytes(pub [u8; EphemeralSecretKeyBytes::SIZE]); [INFO] [stdout] | ----------------------- `EphemeralSecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption/tests.rs:295:52 [INFO] [stdout] | [INFO] [stdout] 295 | for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to iterate over `secret_keys.zip(messages).zip(0..)` remove the call to `next` [INFO] [stdout] | [INFO] [stdout] 295 - for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stdout] 295 + for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).by_ref() { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 295 - for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stdout] 295 + if let Some(((mut secret_key, message), node_index)) = secret_keys.zip(messages).zip(0..).next() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:18:71 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Clone, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionSecretKey` [INFO] [stdout] 19 | #[allow(non_camel_case_types)] [INFO] [stdout] 20 | pub enum CspFsEncryptionSecretKey { [INFO] [stdout] | ------------------------ `CspFsEncryptionSecretKey` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_CspFsEncryptionKeySet` [INFO] [stdout] 39 | #[allow(non_camel_case_types)] [INFO] [stdout] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stdout] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:37:78 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Debug, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionKeySet` [INFO] [stdout] ... [INFO] [stdout] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stdout] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/types.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_SecretKeyBytes` [INFO] [stdout] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stdout] | -------------- `SecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> crates/dfinity/bls12_381/src/types.rs:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Zeroize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SecretKeyBytes` [INFO] [stdout] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stdout] | -------------- `SecretKeyBytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 41 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `G1Projective` does not implement `Borrow`, so calling `borrow` on `&G1Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 41 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 41 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `G1Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g1.rs:421:1 [INFO] [stdout] | [INFO] [stdout] 421+ #[derive(Clone)] [INFO] [stdout] 422| pub struct G1Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `bls12_381::G2Projective` does not implement `Borrow`, so calling `borrow` on `&bls12_381::G2Projective` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 60 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stdout] 60 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `bls12_381::G2Projective`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g2.rs:495:1 [INFO] [stdout] | [INFO] [stdout] 495+ #[derive(Clone)] [INFO] [stdout] 496| pub struct G2Projective { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:16:102 [INFO] [stdout] | [INFO] [stdout] 16 | fn debug_trait_on_public_key_bytes_works(public_key_bytes in threshold_sig_public_key_bytes()) { format!("{:?}", public_key_bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:19:113 [INFO] [stdout] | [INFO] [stdout] 19 | ...ignature_bytes: IndividualSignatureBytes) { format!("{:?}", individual_signature_bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `must_use` that must be used [INFO] [stdout] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:22:107 [INFO] [stdout] | [INFO] [stdout] 22 | ...d_signature_bytes: CombinedSignatureBytes) { format!("{:?}", combined_signature_bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8d8d58f82f4f285fa569dbe6fb5c9a27d30508217127247aad24b0923c6d3506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8d58f82f4f285fa569dbe6fb5c9a27d30508217127247aad24b0923c6d3506", kill_on_drop: false }` [INFO] [stdout] 8d8d58f82f4f285fa569dbe6fb5c9a27d30508217127247aad24b0923c6d3506 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f63de90d3bc0c34fa0ac32532f2d932148be1bfebb16c35bbd917799a2508589 [INFO] running `Command { std: "docker" "start" "-a" "f63de90d3bc0c34fa0ac32532f2d932148be1bfebb16c35bbd917799a2508589", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: skipping duplicate package `ic-types v0.1.0 (https://github.com/dfinity/ic.git#73983e05)`: [INFO] [stderr] /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/before/rs/ic-types/Cargo.toml [INFO] [stderr] in favor of /opt/rustwide/cargo-home/git/checkouts/ic-a5a9adfef36c4712/73983e0/gitlab-ci/src/gen_gitlab_cargo_pipeline/test_data/ic-types-check/after/rs/ic-types/Cargo.toml [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stderr] | [INFO] [stderr] 149 | fn verification_pop_data<'a>( [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `miracl_core::bls12381::fp::FP` [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | pub use miracl_core::bls12381::fp::FP; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `miracl_core::bls12381::fp12::FP12` [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | pub use miracl_core::bls12381::fp12::FP12; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `miracl_core::hmac` [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | pub use miracl_core::hmac; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/polynomial/common_traits.rs:23:20 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg_attr(tarpaulin, skip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/bivariate.rs:70:20 [INFO] [stderr] | [INFO] [stderr] 70 | #[cfg_attr(tarpaulin, skip)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/dkg/secp256k1/types.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_EphemeralSecretKeyBytes` [INFO] [stderr] 27 | pub struct EphemeralSecretKeyBytes(pub [u8; EphemeralSecretKeyBytes::SIZE]); [INFO] [stderr] | ----------------------- `EphemeralSecretKeyBytes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:18:71 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Clone, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionSecretKey` [INFO] [stderr] 19 | #[allow(non_camel_case_types)] [INFO] [stderr] 20 | pub enum CspFsEncryptionSecretKey { [INFO] [stderr] | ------------------------ `CspFsEncryptionSecretKey` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:37:78 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Clone, Debug, Eq, PartialEq, IntoStaticStr, Serialize, Deserialize, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_CspFsEncryptionKeySet` [INFO] [stderr] ... [INFO] [stderr] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stderr] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/types.rs:55:38 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Copy, Clone, Eq, PartialEq, Zeroize)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Zeroize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_zeroize_Zeroize_FOR_SecretKeyBytes` [INFO] [stderr] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stderr] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stderr] | -------------- `SecretKeyBytes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Zeroize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Zeroize` may come from an old version of the `zeroize_derive` crate, try updating your dependency with `cargo update -p zeroize_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:41:38 [INFO] [stderr] | [INFO] [stderr] 41 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `G1Projective` does not implement `Borrow`, so calling `borrow` on `&G1Projective` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 41 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] 41 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `G1Projective`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g1.rs:421:1 [INFO] [stderr] | [INFO] [stderr] 421+ #[derive(Clone)] [INFO] [stderr] 422| pub struct G1Projective { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:60:38 [INFO] [stderr] | [INFO] [stderr] 60 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `G2Projective` does not implement `Borrow`, so calling `borrow` on `&G2Projective` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 60 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] 60 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `G2Projective`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g2.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495+ #[derive(Clone)] [INFO] [stderr] 496| pub struct G2Projective { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ic-crypto-internal-threshold-sig-bls12381` (lib) generated 12 warnings (run `cargo fix --lib -p ic-crypto-internal-threshold-sig-bls12381` to apply 5 suggestions) [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/groth20_bls12_381/encryption/tests.rs:295:52 [INFO] [stderr] | [INFO] [stderr] 295 | for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to iterate over `secret_keys.zip(messages).zip(0..)` remove the call to `next` [INFO] [stderr] | [INFO] [stderr] 295 - for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stderr] 295 + for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).by_ref() { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 295 - for ((mut secret_key, message), node_index) in secret_keys.zip(messages).zip(0..).next() { [INFO] [stderr] 295 + if let Some(((mut secret_key, message), node_index)) = secret_keys.zip(messages).zip(0..).next() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/ni_dkg/types.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_CspFsEncryptionKeySet` [INFO] [stderr] 39 | #[allow(non_camel_case_types)] [INFO] [stderr] 40 | pub enum CspFsEncryptionKeySet { [INFO] [stderr] | --------------------- `CspFsEncryptionKeySet` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> crates/dfinity/bls12_381/src/types.rs:56:25 [INFO] [stderr] | [INFO] [stderr] 56 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stderr] | ^------------------------- [INFO] [stderr] | | [INFO] [stderr] | `Arbitrary` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_SecretKeyBytes` [INFO] [stderr] 57 | pub struct SecretKeyBytes(pub [u8; bls::FR_SIZE]); [INFO] [stderr] | -------------- `SecretKeyBytes` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/public_coefficients/advanced_ops.rs:60:38 [INFO] [stderr] | [INFO] [stderr] 60 | result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `bls12_381::G2Projective` does not implement `Borrow`, so calling `borrow` on `&bls12_381::G2Projective` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 60 - result.add_assign(&sample.borrow().mul(*coefficient)) [INFO] [stderr] 60 + result.add_assign(&sample.mul(*coefficient)) [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `bls12_381::G2Projective`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bls12_381-0.5.0/src/g2.rs:495:1 [INFO] [stderr] | [INFO] [stderr] 495+ #[derive(Clone)] [INFO] [stderr] 496| pub struct G2Projective { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:16:102 [INFO] [stderr] | [INFO] [stderr] 16 | fn debug_trait_on_public_key_bytes_works(public_key_bytes in threshold_sig_public_key_bytes()) { format!("{:?}", public_key_bytes) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:19:113 [INFO] [stderr] | [INFO] [stderr] 19 | ...ignature_bytes: IndividualSignatureBytes) { format!("{:?}", individual_signature_bytes) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `must_use` that must be used [INFO] [stderr] --> crates/dfinity/bls12_381/src/types/generic_traits/tests.rs:22:107 [INFO] [stderr] | [INFO] [stderr] 22 | ...d_signature_bytes: CombinedSignatureBytes) { format!("{:?}", combined_signature_bytes) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ic-crypto-internal-threshold-sig-bls12381` (lib test) generated 18 warnings (11 duplicates) (run `cargo fix --lib -p ic-crypto-internal-threshold-sig-bls12381 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bivariate_dkg-554af1ce81828559) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::serialize ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_crypto_internal_fs_ni_dkg-ae803ddbbd68a3c2) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.39s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test forward_secure::tests::should_allow_for_2_pow_lambda_t_updates ... ignored [INFO] [stdout] test encryption_key_pop::tests::prover_should_return_error_on_invalid_instance ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_scalars_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_empty_byte_vector ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_integers_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_empty_vectors ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_ecp_points_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_empty_strings ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_ecp2_points_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_byte_vectors_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_vectors_of_vectors_of_points ... ok [INFO] [stdout] test utils::tests::should_generate_chacha20_random_bytes ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_strings_correctly ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_structs_with_domain ... ok [INFO] [stdout] test encryption_key_pop::tests::should_verify_encryption_key_pop ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_vectors_of_points ... ok [INFO] [stdout] test random_oracles::tests::unique_hashing::should_hash_vectors_of_hashable_structs ... ok [INFO] [stdout] test encryption_key_pop::tests::verifier_should_return_error_on_invalid_proof ... ok [INFO] [stdout] test random_oracles::tests::random_oracles::should_return_distinct_hashes_on_different_domains ... ok [INFO] [stdout] test random_oracles::tests::random_oracles::should_return_distinct_scalars_on_different_domains ... ok [INFO] [stdout] test random_oracles::tests::random_oracles::should_return_distinct_ecp_points_on_different_domains ... ok [INFO] [stdout] test forward_secure::tests::should_convert_tau_to_epoch ... ok [INFO] [stdout] test forward_secure::tests::should_allow_for_32_updates ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 42.79s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/fwd.rs (/opt/rustwide/target/debug/deps/fwd-7d19ec1862ec13d6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running tests/forward_secure.rs (/opt/rustwide/target/debug/deps/forward_secure-00021b8386f10011) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test deserialize_invalid_point ... ok [INFO] [stdout] test multipairing_api_usage::multipairing_should_equal_iterated ... ok [INFO] [stdout] test fs_keys_should_be_valid ... ok [INFO] [stdout] test multipairing_api_usage::multipairing_with_precomp_should_equal_multipairing ... ok [INFO] [stdout] test integrity_check_should_return_error_on_wrong_associated_data ... ok [INFO] [stdout] test should_decrypt_correctly_for_epoch_1 ... ok [INFO] [stdout] test should_decrypt_correctly_for_epoch_0 ... ok [INFO] [stdout] test should_decrypt_correctly_for_epoch_5 ... ok [INFO] [stdout] test should_encrypt_with_empty_associated_data ... ok [INFO] [stdout] test should_decrypt_correctly_for_epoch_10 ... ok [INFO] [stdout] test baby_giant_1000 ... ok [INFO] [stdout] test baby_giant_negative ... ok [INFO] [stdout] test slightly_dishonest_dlog ... ok [INFO] [stdout] test baby_giant_big_range has been running for over 60 seconds [INFO] [stdout] test baby_giant_big_range ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 64.47s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-305c1a55118b9191) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test encrypted_chunks_should_validate_00 ... ok [INFO] [stdout] test encrypted_chunks_should_validate_01 ... ok [INFO] [stdout] test potpourri has been running for over 60 seconds [INFO] [stdout] test potpourri ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 68.71s [INFO] [stdout] [INFO] [stderr] Running tests/nizk.rs (/opt/rustwide/target/debug/deps/nizk-38c2a36b9647a2e9) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test sharing_nizk_should_fail_on_invalid_proof ... ok [INFO] [stdout] test sharing_nizk_should_fail_on_invalid_instance ... ok [INFO] [stdout] test sharing_nizk_should_verify ... ok [INFO] [stdout] test sharing_prover_should_panic_on_invalid_instance - should panic ... ok [INFO] [stdout] test sharing_prover_should_panic_on_empty_coefficients - should panic ... ok [INFO] [stdout] test chunking_prover_should_panic_on_invalid_instance - should panic ... ok [INFO] [stdout] test chunking_prover_should_panic_on_empty_chunks - should panic ... ok [INFO] [stdout] test chunking_nizk_should_fail_on_invalid_instance ... ok [INFO] [stdout] test chunking_nizk_should_fail_on_invalid_proof ... ok [INFO] [stdout] test chunking_nizk_should_verify ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_crypto_internal_threshold_sig_bls12381-093e1ebdacf80a3d) [INFO] [stdout] [INFO] [stdout] running 109 tests [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_return_error_on_malforemd_resharing_coeffs_error ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::encrypted_share_serde_should_work ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_secret_key_bytes ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_secret_key ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::public_key_representation_should_be_stable ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::public_key_serde_should_fail_for_nonstandard_points_at_infinity ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::public_key_serde_should_work_for_point_at_infinity ... ok [INFO] [stdout] test dkg::secp256k1::dh::tests::encrypted_decrypts ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::secret_key_representation_should_be_stable ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::secret_key_serde_should_work ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_complaint_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_public_key ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_encrypted_share_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_pop_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_public_key_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_secret_key_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::generic_traits::tests::should_redact_encrypted_share_bytes_debug ... ok [INFO] [stdout] test dkg::secp256k1::types::generic_traits::tests::should_redact_ephemeral_secret_key_bytes_debug ... ok [INFO] [stdout] test dkg::secp256k1::types::generic_traits::tests::should_redact_ephemeral_secret_key_debug ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::constants_should_be_compatible ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::public_key_serialisation_should_match_libsecp256k1 ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_public_key_bytes ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::test_parsing_malformed_dealing_should_fail ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::public_key_serde_should_work ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::pop_serde_should_work ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_unsupported_algorithm_id_error - should panic ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_size_error - should panic ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_invalid_threshold_error - should panic ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_resharing_failed_error - should panic ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_insufficient_dealings_error - should panic ... ok [INFO] [stdout] test api::dkg_errors::tests::create_transcript_error_conversions::should_panic_on_invalid_dealing_error - should panic ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::types::tests::should_redact_bte_node_debug ... ok [INFO] [stdout] test ni_dkg::types::tests::should_redact_csp_fs_encryption_secretkey_debug ... ok [INFO] [stdout] test test_utils::tests::proptest_select_n ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::types::tests::should_redact_fs_encryption_secret_key_debug ... ok [INFO] [stdout] test dkg::secp256k1::types::conversions::tests::serde::complaint_serde_should_work ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_pop_bytes ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::secp256k1_pop ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::keygen_should_work ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::correct_keys_should_verify ... ok [INFO] [stdout] test types::conversions::tests::proptest_secret_key_parsing_and_serialising_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::proptest_secret_key_stringifying_and_parsing_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::test_base64_snowman_is_not_valid_combined_signature ... ok [INFO] [stdout] test types::conversions::tests::test_base64_snowman_is_not_valid_individual_signature ... ok [INFO] [stdout] test types::conversions::tests::test_base64_snowman_is_not_valid_public_key ... ok [INFO] [stdout] test types::conversions::tests::test_base64_snowman_is_not_valid_secret_key ... ok [INFO] [stdout] test types::conversions::tests::test_invalid_combined_signature_fails_to_parse ... ok [INFO] [stdout] test types::conversions::tests::test_invalid_individual_signature_fails_to_parse ... ok [INFO] [stdout] test types::conversions::tests::test_invalid_public_key_fails_to_parse ... ok [INFO] [stdout] test types::conversions::tests::test_invalid_secret_key_fails_to_parse ... ok [INFO] [stdout] test types::conversions::tests::test_snowman_is_not_valid_combined_signature ... ok [INFO] [stdout] test types::conversions::tests::test_snowman_is_not_valid_individual_signature ... ok [INFO] [stdout] test types::conversions::tests::test_snowman_is_not_valid_public_key ... ok [INFO] [stdout] test types::conversions::tests::test_snowman_is_not_valid_secret_key ... ok [INFO] [stdout] test types::generic_traits::tests::debug_should_redact_secretkey_bytes ... ok [INFO] [stdout] test types::generic_traits::tests::debug_trait_on_combined_signature_bytes_works ... ok [INFO] [stdout] test types::generic_traits::tests::debug_trait_on_individual_signature_bytes_works ... ok [INFO] [stdout] test types::generic_traits::tests::debug_trait_on_public_key_bytes_works ... ok [INFO] [stdout] test types::generic_traits::tests::equality_fails_for_individual_signature_bytes ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::epoch_of_a_new_key_should_be_zero ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_constant_addition ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_constant_multiplication ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_constant_subtraction ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_polynomial_add ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_polynomial_multiplication ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_polynomial_subtract ... ok [INFO] [stdout] test types::polynomial::ops::tests::test_polynomial_sum ... ok [INFO] [stdout] test types::polynomial::tests::basic_functionality::polynomial_from_rng_works ... ok [INFO] [stdout] test types::polynomial::tests::basic_functionality::shamir_secret_sharing_scheme ... ok [INFO] [stdout] test types::generic_traits::tests::equality_fails_for_public_key_bytes ... ok [INFO] [stdout] test types::polynomial::tests::basic_functionality::test_polynomial_from_rng_produces_same_poly_from_same_seed ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::invalid_size_conversion_should_work ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::malformed_public_coefficients_bytes_should_fail_to_parse ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_coefficients_bytes_size_should_be_correct ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::wrong_pop_should_not_verify ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_coefficients_size_should_be_correct ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_bytes_for_non_empty_public_coefficients_bytes_should_be_correct ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_for_empty_public_coefficients_should_be_zero ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_for_non_empty_public_coefficients_should_be_correct ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_for_public_coefficients_should_be_correct ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_from_empty_public_coefficients_bytes_should_be_zero ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_key_from_public_coefficients_should_return_malformed_error ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::test_parsing_invalid_public_coefficients_string_should_produce_error ... ok [INFO] [stdout] test types::public_coefficients::tests::integer_polynomial_evaluation_is_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::key_is_correct ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::public_coefficients_from_polynomial_should_be_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::public_coefficients_are_correct ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::zk_proofs_should_not_verify_with_wrong_epoch ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_lagrange_coefficients_are_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::public_key_from_public_coefficients_are_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_polynomial_summation_is_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_interpolation_is_resilient_to_duplicate_points ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_public_coefficients_summation_is_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_lagrange_coefficients_at_zero_rejects_duplicate_points ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_public_interpolation_is_correct ... ok [INFO] [stdout] test types::public_coefficients::tests::public_coefficients::test_public_coefficients_multiplication_is_correct ... ok [INFO] [stdout] test dkg::secp256k1::types::arbitrary::tests::ephemeral_key_set_bytes ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::encryption_should_work ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::zk_proofs_should_verify ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::encrypted_messages_should_decrypt ... ok [INFO] [stdout] test types::conversions::tests::proptest_individual_signature_stringifying_and_parsing_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::proptest_individual_signature_parsing_and_serialising_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::proptest_combined_signature_stringifying_and_parsing_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::proptest_public_key_stringifying_and_parsing_should_be_inverse ... ok [INFO] [stdout] test types::conversions::tests::proptest_combined_signature_parsing_and_serialising_should_be_inverse ... ok [INFO] [stdout] test types::public_coefficients::conversions::tests::proptest_stringifying_and_parsing_public_coefficients_should_produce_original_new ... ok [INFO] [stdout] test types::conversions::tests::proptest_public_key_parsing_and_serialising_should_be_inverse ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::single_stepping_a_key_should_increment_current_epoch ... ok [INFO] [stdout] test ni_dkg::groth20_bls12_381::encryption::tests::decryption_should_fail_below_epoch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 109 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 38.76s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/main-d5157c0e64389d2c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/main-bc2145ee90bd31d7) [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/networking-960969f4c8aa1fce) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nidkg-3ff6625a9d9ea088) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optimized_nidkg-84f0c1b26cbce7ab) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optimized_univar-9bebfef65e200a6f) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/types-db54326a2024f415) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/univariate_dkg-75d35c7feb5c4168) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::serialize ... ok [INFO] [stderr] Doc-tests bivariate_dkg [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests ic_crypto_internal_fs_ni_dkg [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests ic_crypto_internal_threshold_sig_bls12381 [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests main [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests networking [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests nidkg [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests optimized_nidkg [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests optimized_univar [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests types [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests univariate_dkg [INFO] [stdout] [INFO] [stdout] running 0 tests [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" "f63de90d3bc0c34fa0ac32532f2d932148be1bfebb16c35bbd917799a2508589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f63de90d3bc0c34fa0ac32532f2d932148be1bfebb16c35bbd917799a2508589", kill_on_drop: false }` [INFO] [stdout] f63de90d3bc0c34fa0ac32532f2d932148be1bfebb16c35bbd917799a2508589