[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] checking coltonfike/nested-dkg against master#75948c8bb3bd37f1e8ee20273a04edea4c1f84f8 for pr-147984-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain 75948c8bb3bd37f1e8ee20273a04edea4c1f84f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "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] | [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] Updating git repository `https://github.com/dfinity-lab/webpki` [INFO] [stderr] Updating git repository `https://github.com/dfinity/ic.git` [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] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/dfinity-lab/derive_more` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded slog-scope v4.4.0 [INFO] [stderr] Downloaded zeroize_derive v1.3.2 [INFO] [stderr] Downloaded zeroize v1.5.3 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded clap_derive v3.1.7 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded enum-ordinalize v3.1.11 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded procfs v0.9.1 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded ctor v0.1.21 [INFO] [stderr] Downloaded num-bigint-dig v0.7.0 [INFO] [stderr] Downloaded opentelemetry v0.16.0 [INFO] [stderr] Downloaded protobuf v2.27.1 [INFO] [stderr] Downloaded num-bigint-dig v0.8.1 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.15.0 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded comparable v0.5.1 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded windows-sys v0.32.0 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded num_enum_derive v0.5.6 [INFO] [stderr] Downloaded bls12_381 v0.5.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.32.0 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded candid v0.7.14 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded tarpc v0.27.2 [INFO] [stderr] Downloaded cvt v0.1.1 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded serde_with v1.12.0 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded libm v0.2.2 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.32.0 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded wsl v0.1.0 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded parking_lot_core v0.9.1 [INFO] [stderr] Downloaded pretty_assertions v1.1.0 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded lalrpop-util v0.19.7 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded ff v0.10.1 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded lalrpop v0.19.7 [INFO] [stderr] Downloaded ed25519 v1.4.1 [INFO] [stderr] Downloaded educe v0.4.19 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded predicates v1.0.8 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded byte-unit v3.1.4 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded syn v1.0.86 [INFO] [stderr] Downloaded rsa v0.4.0 [INFO] [stderr] Downloaded arc-swap v1.5.0 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.32.0 [INFO] [stderr] Downloaded mockall_derive v0.7.2 [INFO] [stderr] Downloaded mockall v0.7.2 [INFO] [stderr] Downloaded clap v3.1.17 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded slog-term v2.9.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded features v0.10.0 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded num_enum v0.5.6 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded cpufeatures v0.2.1 [INFO] [stderr] Downloaded miracl_core_bls12381 v4.1.2 [INFO] [stderr] Downloaded getrandom v0.2.5 [INFO] [stderr] Downloaded group v0.10.0 [INFO] [stderr] Downloaded simple_asn1 v0.5.4 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded serde_derive v1.0.136 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.32.0 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded windows_i686_msvc v0.32.0 [INFO] [stderr] Downloaded redox_syscall v0.2.11 [INFO] [stderr] Downloaded paste v1.0.6 [INFO] [stderr] Downloaded quote v1.0.15 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded comparable_derive v0.5.1 [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ic-types v0.3.0 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded libsecp256k1 v0.5.0 [INFO] [stderr] Downloaded pairing v0.20.0 [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84bca6d048afcd47bd5e26ebf9b25d32cd86ca33d2034874e1c161607109cd57 [INFO] running `Command { std: "docker" "start" "-a" "84bca6d048afcd47bd5e26ebf9b25d32cd86ca33d2034874e1c161607109cd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84bca6d048afcd47bd5e26ebf9b25d32cd86ca33d2034874e1c161607109cd57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84bca6d048afcd47bd5e26ebf9b25d32cd86ca33d2034874e1c161607109cd57", kill_on_drop: false }` [INFO] [stdout] 84bca6d048afcd47bd5e26ebf9b25d32cd86ca33d2034874e1c161607109cd57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 991aa2b9357defdf28ee8020d54da4030cefeaf950ca933ba784a3bf0c480c66 [INFO] running `Command { std: "docker" "start" "-a" "991aa2b9357defdf28ee8020d54da4030cefeaf950ca933ba784a3bf0c480c66", 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] | [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 syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pretty v0.10.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking pretty_assertions v1.1.0 [INFO] [stderr] Checking byte-unit v3.1.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking cvt v0.1.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking features v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling derive_more v0.99.8-alpha.0 (https://github.com/dfinity-lab/derive_more?branch=master#9f1b894e) [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking ic-constants v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking ff v0.10.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Checking miracl_core_bls12381 v4.1.2 [INFO] [stderr] Checking group v0.10.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking pairing v0.20.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking bls12_381 v0.5.0 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking libsecp256k1-core v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking hmac-drbg v0.3.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking ic-crypto-internal-sha2 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking wsl v0.1.0 [INFO] [stderr] Checking ic-crypto-sha v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Checking ff v0.11.1 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking ed25519 v1.4.1 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking procfs v0.9.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.2.1 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.2.1 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking ic-crypto-internal-hmac v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 zeroize_derive v1.3.2 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling comparable_derive v0.5.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking zeroize v1.5.3 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking simple_asn1 v0.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking ic-crypto-internal-threshold-sig-bls12381-der v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Checking curve25519-dalek v3.2.0 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Checking binread v2.2.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking clap v3.1.17 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking webpki v0.21.4 (https://github.com/dfinity-lab/webpki?branch=v0.21.4-v3-no-extensions#3e783d8e) [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Compiling enum-ordinalize v3.1.11 [INFO] [stderr] Checking elliptic-curve v0.11.12 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Checking k256 v0.10.4 [INFO] [stderr] Compiling tarpc-plugins v0.12.0 [INFO] [stderr] Checking ic-crypto-internal-test-vectors v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling mockall_derive v0.7.2 [INFO] [stderr] Checking rsa v0.4.0 [INFO] [stderr] Checking ic-metrics v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-logmon v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [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 ic-registry-common-proto v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling ic-crypto-internal-csp v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Checking opentelemetry v0.16.0 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking mockall v0.7.2 [INFO] [stderr] Checking tracing-opentelemetry v0.15.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking comparable v0.5.1 [INFO] [stderr] Checking ic-error-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking serde_with v1.12.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking ic-crypto-secrets-containers v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking 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] Checking tokio-serde v0.8.0 [INFO] [stderr] Checking ic-context-logger v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking slog-term v2.9.0 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking slog-json v2.6.1 [INFO] [stderr] Checking tarpc v0.27.2 [INFO] [stderr] Compiling fe-derive v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking num_enum v0.5.6 [INFO] [stderr] Checking phantom_newtype v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-sys v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-wasm-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-btc-types-internal v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-subnet-type v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-ic00-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-provisional-whitelist v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-routing-table v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-tree-hash v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-bls12381-serde-miracl v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-bls12381-common v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-fs-ni-dkg v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-subnet-features v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-types v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking tree-deserializer v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-fs-ni-dkg v0.8.0 (/opt/rustwide/workdir/crates/dfinity/fs_ni_dkg) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-der-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-interfaces v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-config v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-multi-sig-bls12381 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-tls-interfaces v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-threshold-sig-ecdsa v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-keys v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-types-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-ed25519 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-ecdsa-secp256r1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-rsa-pkcs1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-ecdsa-secp256k1 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-cose v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-tls v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-client-helpers v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-proto-data-provider v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-registry-client-fake v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-logger v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking types v0.1.0 (/opt/rustwide/workdir/crates/types) [INFO] [stderr] Checking ic-crypto-utils-threshold-sig v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-certified-vars v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-internal-basic-sig-iccsa v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking networking v0.1.0 (/opt/rustwide/workdir/crates/networking) [INFO] [stderr] Checking bivariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/bivariate-dkg) [INFO] [stderr] Checking nidkg v0.1.0 (/opt/rustwide/workdir/crates/nidkg) [INFO] [stderr] Checking univariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/univariate-dkg) [INFO] [stderr] Checking ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (/opt/rustwide/workdir/crates/dfinity/bls12_381) [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: 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)]` (part of `#[warn(unused)]`) 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 151 | sender: &'a [u8], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 152 | key: (EphemeralPublicKeyBytes, EphemeralPopBytes), [INFO] [stdout] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 153 - ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] 153 + ) -> Result, DkgVerifyEphemeralError> { [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/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] Checking optimized-univar v0.1.0 (/opt/rustwide/workdir/crates/optimized-univar) [INFO] [stderr] Checking optimized-nidkg v0.1.0 (/opt/rustwide/workdir/crates/optimized-nidkg) [INFO] [stderr] Checking main v0.1.0 (/opt/rustwide/workdir/crates/main) [INFO] [stderr] Checking ic-crypto-internal-csp-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Checking ic-crypto-test-utils v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [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: 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)]` (part of `#[warn(unused)]`) 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> crates/dfinity/bls12_381/src/dkg/secp256k1/ephemeral_key.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 151 | sender: &'a [u8], [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 152 | key: (EphemeralPublicKeyBytes, EphemeralPopBytes), [INFO] [stdout] 153 | ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] | ^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 153 - ) -> Result, DkgVerifyEphemeralError> { [INFO] [stdout] 153 + ) -> Result, DkgVerifyEphemeralError> { [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/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | fn debug_trait_on_public_key_bytes_works(public_key_bytes in threshold_sig_public_key_bytes()) { let _ = format!("{:?}", public_key_bytes); } [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:19:113 [INFO] [stdout] | [INFO] [stdout] 19 | ...ignature_bytes: IndividualSignatureBytes) { format!("{:?}", individual_signature_bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | fn debug_trait_on_individual_signature_bytes_works(individual_signature_bytes: IndividualSignatureBytes) { let _ = format!("{:?}", individual_signature_bytes); } [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:22:107 [INFO] [stdout] | [INFO] [stdout] 22 | ...d_signature_bytes: CombinedSignatureBytes) { format!("{:?}", combined_signature_bytes) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | fn debug_trait_on_combined_signature_bytes_works(combined_signature_bytes: CombinedSignatureBytes) { let _ = format!("{:?}", combined_signature_bytes); } [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7, num-bigint-dig v0.8.1 [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" "991aa2b9357defdf28ee8020d54da4030cefeaf950ca933ba784a3bf0c480c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "991aa2b9357defdf28ee8020d54da4030cefeaf950ca933ba784a3bf0c480c66", kill_on_drop: false }` [INFO] [stdout] 991aa2b9357defdf28ee8020d54da4030cefeaf950ca933ba784a3bf0c480c66