[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] building coltonfike/nested-dkg against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoltonfike%2Fnested-dkg" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coltonfike/nested-dkg on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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] Updating git repository `https://github.com/dfinity-lab/webpki` [INFO] [stderr] Updating crates.io index [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 git repository `https://github.com/dfinity-lab/derive_more` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustversion v1.0.6 [INFO] [stderr] Downloaded zeroize_derive v1.3.2 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded phf_shared v0.10.0 [INFO] [stderr] Downloaded comparable v0.5.1 [INFO] [stderr] Downloaded once_cell v1.9.0 [INFO] [stderr] Downloaded utf8-ranges v1.0.4 [INFO] [stderr] Downloaded diff v0.1.12 [INFO] [stderr] Downloaded libm v0.2.2 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded tokio-openssl v0.6.3 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded base32 v0.4.0 [INFO] [stderr] Downloaded cvt v0.1.1 [INFO] [stderr] Downloaded autocfg v0.1.8 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded const-oid v0.7.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded tarpc v0.27.2 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded miniz_oxide v0.5.1 [INFO] [stderr] Downloaded der v0.5.1 [INFO] [stderr] Downloaded rsa v0.4.0 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.32.0 [INFO] [stderr] Downloaded pretty_assertions v1.1.0 [INFO] [stderr] Downloaded flate2 v1.0.23 [INFO] [stderr] Downloaded prometheus v0.12.0 [INFO] [stderr] Downloaded num-bigint-dig v0.7.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.32.0 [INFO] [stderr] Downloaded num-bigint-dig v0.8.1 [INFO] [stderr] Downloaded nix v0.23.1 [INFO] [stderr] Downloaded lalrpop v0.19.7 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded k256 v0.10.4 [INFO] [stderr] Downloaded p256 v0.10.1 [INFO] [stderr] Downloaded opentelemetry v0.16.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.15.0 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded procfs v0.9.1 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded bls12_381 v0.5.0 [INFO] [stderr] Downloaded elliptic-curve v0.11.12 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded enum-ordinalize v3.1.11 [INFO] [stderr] Downloaded tokio-serde v0.8.0 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded crypto-bigint v0.3.2 [INFO] [stderr] Downloaded ff v0.11.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.32.0 [INFO] [stderr] Downloaded group v0.11.0 [INFO] [stderr] Downloaded signature v1.4.0 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded protobuf v2.27.1 [INFO] [stderr] Downloaded base16ct v0.1.1 [INFO] [stderr] Downloaded sec1 v0.2.1 [INFO] [stderr] Downloaded ed25519 v1.4.1 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded mockall v0.7.2 [INFO] [stderr] Downloaded bumpalo v3.9.1 [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded arc-swap v1.5.0 [INFO] [stderr] Downloaded slog-term v2.9.0 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded futures-io v0.3.21 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded slog-scope v4.4.0 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded mockall_derive v0.7.2 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded clap v3.1.17 [INFO] [stderr] Downloaded educe v0.4.19 [INFO] [stderr] Downloaded fragile v1.2.0 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded wsl v0.1.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded tarpc-plugins v0.12.0 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded serde_with v1.12.0 [INFO] [stderr] Downloaded clap_derive v3.1.7 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded redox_syscall v0.2.11 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded miracl_core_bls12381 v4.1.2 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded windows-sys v0.32.0 [INFO] [stderr] Downloaded ctor v0.1.21 [INFO] [stderr] Downloaded which v4.2.4 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded candid v0.7.14 [INFO] [stderr] Downloaded prost-derive v0.9.0 [INFO] [stderr] Downloaded num_enum v0.5.6 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded getrandom v0.2.5 [INFO] [stderr] Downloaded clap_lex v0.2.0 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded features v0.10.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded ic-types v0.3.0 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded ena v0.14.0 [INFO] [stderr] Downloaded pico-args v0.4.2 [INFO] [stderr] Downloaded precomputed-hash v0.1.1 [INFO] [stderr] Downloaded dirs-sys-next v0.1.2 [INFO] [stderr] Downloaded lalrpop-util v0.19.7 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded logos-derive v0.12.0 [INFO] [stderr] Downloaded proc-macro-crate v1.1.3 [INFO] [stderr] Downloaded num_enum_derive v0.5.6 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded anyhow v1.0.55 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded pairing v0.20.0 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded parking_lot_core v0.9.1 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded textwrap v0.15.0 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded byte-unit v3.1.4 [INFO] [stderr] Downloaded comparable_derive v0.5.1 [INFO] [stderr] Downloaded output_vt100 v0.1.3 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded beef v0.5.1 [INFO] [stderr] Downloaded logos v0.12.0 [INFO] [stderr] Downloaded prost v0.9.0 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded simple_asn1 v0.5.4 [INFO] [stderr] Downloaded paste v1.0.6 [INFO] [stderr] Downloaded zeroize v1.5.3 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e56999bfc5b7c18aafc2b63cb3ff2638988ad26ade19d561d017783abdff2933 [INFO] running `Command { std: "docker" "start" "-a" "e56999bfc5b7c18aafc2b63cb3ff2638988ad26ade19d561d017783abdff2933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56999bfc5b7c18aafc2b63cb3ff2638988ad26ade19d561d017783abdff2933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56999bfc5b7c18aafc2b63cb3ff2638988ad26ade19d561d017783abdff2933", kill_on_drop: false }` [INFO] [stdout] e56999bfc5b7c18aafc2b63cb3ff2638988ad26ade19d561d017783abdff2933 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b24def94cd2d3b59b66a01c970b7cb4b0656b6ffb4ba30a5dd421dc9bb380c0 [INFO] running `Command { std: "docker" "start" "-a" "4b24def94cd2d3b59b66a01c970b7cb4b0656b6ffb4ba30a5dd421dc9bb380c0", 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 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 generic-array v0.14.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling siphasher v0.3.9 [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 quote v1.0.15 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [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 prost-build v0.9.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ff v0.10.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling group v0.10.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling libsecp256k1-core v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling pretty_assertions v1.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling pairing v0.20.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling miracl_core_bls12381 v4.1.2 [INFO] [stderr] Compiling derive_more v0.99.8-alpha.0 (https://github.com/dfinity-lab/derive_more?branch=master#9f1b894e) [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling byte-unit v3.1.4 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bls12_381 v0.5.0 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling cvt v0.1.1 [INFO] [stderr] Compiling features v0.10.0 [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 idna v0.2.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling ic-constants v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling libsecp256k1 v0.5.0 [INFO] [stderr] Compiling hmac-drbg v0.3.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.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 logos-derive v0.12.0 [INFO] [stderr] Compiling binread_derive v2.1.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 ic-crypto-internal-sha2 v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling zeroize v1.5.3 [INFO] [stderr] Compiling ic-crypto-sha v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling comparable_derive v0.5.1 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381-der v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling clap v3.1.17 [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 candid v0.7.14 [INFO] [stderr] Compiling tokio-stream v0.1.8 [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: 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: 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: 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] Compiling optimized-nidkg v0.1.0 (/opt/rustwide/workdir/crates/optimized-nidkg) [INFO] [stderr] Compiling optimized-univar v0.1.0 (/opt/rustwide/workdir/crates/optimized-univar) [INFO] [stderr] Compiling main v0.1.0 (/opt/rustwide/workdir/crates/main) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 03s [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 2` [INFO] running `Command { std: "docker" "inspect" "4b24def94cd2d3b59b66a01c970b7cb4b0656b6ffb4ba30a5dd421dc9bb380c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b24def94cd2d3b59b66a01c970b7cb4b0656b6ffb4ba30a5dd421dc9bb380c0", kill_on_drop: false }` [INFO] [stdout] 4b24def94cd2d3b59b66a01c970b7cb4b0656b6ffb4ba30a5dd421dc9bb380c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d23ec3ebd6dfe14c499660084beb7c8d5436022ce7c11dba7a6a0d2be191c9f1 [INFO] running `Command { std: "docker" "start" "-a" "d23ec3ebd6dfe14c499660084beb7c8d5436022ce7c11dba7a6a0d2be191c9f1", 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 fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling wsl v0.1.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_jitter v0.1.4 [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 lalrpop v0.19.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling rusty-fork v0.2.2 [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 thread_local v1.1.4 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [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 group v0.11.0 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling prometheus v0.12.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling signature v1.4.0 [INFO] [stderr] Compiling base16ct v0.1.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.1 [INFO] [stderr] Compiling pin-project v1.0.10 [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 flate2 v1.0.23 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling sec1 v0.2.1 [INFO] [stderr] Compiling procfs v0.9.1 [INFO] [stderr] Compiling elliptic-curve v0.11.12 [INFO] [stderr] Compiling pest_generator v2.1.3 [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 sharded-slab v0.1.4 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Compiling slog-async v2.7.0 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling ic-registry-common-proto v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling educe v0.4.19 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling slog-scope v4.4.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling slog-term v2.9.0 [INFO] [stderr] Compiling slog-json v2.6.1 [INFO] [stderr] Compiling sct v0.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 rsa v0.4.0 [INFO] [stderr] Compiling p256 v0.10.1 [INFO] [stderr] Compiling k256 v0.10.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-serde v0.8.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 ic-crypto-internal-hmac v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling fe-derive v0.1.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling opentelemetry v0.16.0 [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 normalize-line-endings v0.3.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling mockall_derive v0.7.2 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling ic-crypto-internal-test-vectors v0.8.0 (https://github.com/dfinity/ic.git#73983e05) [INFO] [stderr] Compiling predicates v1.0.8 [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 tarpc v0.27.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [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-rsa-pkcs1 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-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-crypto-internal-basic-sig-cose v0.1.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-registry-client-fake 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-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 univariate-dkg v0.1.0 (/opt/rustwide/workdir/crates/univariate-dkg) [INFO] [stderr] Compiling nidkg v0.1.0 (/opt/rustwide/workdir/crates/nidkg) [INFO] [stderr] Compiling ic-crypto-internal-threshold-sig-bls12381 v0.8.0 (/opt/rustwide/workdir/crates/dfinity/bls12_381) [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: 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: 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] Compiling optimized-nidkg v0.1.0 (/opt/rustwide/workdir/crates/optimized-nidkg) [INFO] [stderr] Compiling optimized-univar v0.1.0 (/opt/rustwide/workdir/crates/optimized-univar) [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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 2m 23s [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 3` [INFO] running `Command { std: "docker" "inspect" "d23ec3ebd6dfe14c499660084beb7c8d5436022ce7c11dba7a6a0d2be191c9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d23ec3ebd6dfe14c499660084beb7c8d5436022ce7c11dba7a6a0d2be191c9f1", kill_on_drop: false }` [INFO] [stdout] d23ec3ebd6dfe14c499660084beb7c8d5436022ce7c11dba7a6a0d2be191c9f1