[INFO] cloning repository https://github.com/ldoublewood/ceremonyclient [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ldoublewood/ceremonyclient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldoublewood%2Fceremonyclient", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldoublewood%2Fceremonyclient'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c567a04c1a6a644cc152889f8b278b6f0a81a0b [INFO] testing ldoublewood/ceremonyclient against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fldoublewood%2Fceremonyclient" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ldoublewood/ceremonyclient on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ldoublewood/ceremonyclient [INFO] finished tweaking git repo https://github.com/ldoublewood/ceremonyclient [INFO] tweaked toml for git repo https://github.com/ldoublewood/ceremonyclient written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ldoublewood/ceremonyclient 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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "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 crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_build v0.25.3 [INFO] [stderr] Downloaded uniffi_macros v0.25.3 [INFO] [stderr] Downloaded uniffi_udl v0.25.3 [INFO] [stderr] Downloaded uniffi v0.25.3 [INFO] [stderr] Downloaded uniffi_checksum_derive v0.25.3 [INFO] [stderr] Downloaded uniffi_testing v0.25.3 [INFO] [stderr] Downloaded weedle2 v4.0.0 [INFO] [stderr] Downloaded uniffi_meta v0.25.3 [INFO] [stderr] Downloaded oneshot-uniffi v0.1.6 [INFO] [stderr] Downloaded uniffi_bindgen v0.25.3 [INFO] [stderr] Downloaded uniffi_core v0.25.3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 342a05e6d0b26cf5b2fac98f6572c37341bdf61f5999cb799dc9276ddcf4479d [INFO] running `Command { std: "docker" "start" "-a" "342a05e6d0b26cf5b2fac98f6572c37341bdf61f5999cb799dc9276ddcf4479d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "342a05e6d0b26cf5b2fac98f6572c37341bdf61f5999cb799dc9276ddcf4479d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "342a05e6d0b26cf5b2fac98f6572c37341bdf61f5999cb799dc9276ddcf4479d", kill_on_drop: false }` [INFO] [stdout] 342a05e6d0b26cf5b2fac98f6572c37341bdf61f5999cb799dc9276ddcf4479d [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8dc16237c48fa4cc601d1e1d70288fa80b0db0d263a0eb57d5a39097f44f6f6 [INFO] running `Command { std: "docker" "start" "-a" "e8dc16237c48fa4cc601d1e1d70288fa80b0db0d263a0eb57d5a39097f44f6f6", 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] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling oneshot-uniffi v0.1.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling weedle2 v4.0.0 [INFO] [stderr] Compiling classgroup v0.1.0 (/opt/rustwide/workdir/crates/classgroup) [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> crates/classgroup/build.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | panic!("unsupported target {target}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 14 | panic!("unsupported target {target}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 14 | panic!("{}", "unsupported target {target}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stdout] warning: unexpected `cfg` condition name: `none` [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(none)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(none)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/classgroup/src/gmp/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/mod.rs:379:38 [INFO] [stdout] | [INFO] [stdout] 379 | let mut s = Clone::clone(self.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `GmpClassGroup` does not implement `Borrow`, so calling `borrow` on `&GmpClassGroup` 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] 379 - let mut s = Clone::clone(self.borrow()); [INFO] [stdout] 379 + let mut s = Clone::clone(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `GmpClassGroup`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Clone)] [INFO] [stdout] 32 | pub struct GmpClassGroup { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `usize` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:28 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stdout] | ----------------------------------------------------------- `__gmpz_sizeinbase` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(&'a Mpz, i32) -> usize` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_export` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn __gmpz_export( [INFO] [stdout] 58 | | rop: *mut c_void, [INFO] [stdout] 59 | | countp: *mut size_t, [INFO] [stdout] 60 | | order: c_int, [INFO] [stdout] ... | [INFO] [stdout] 64 | | op: &Mpz, [INFO] [stdout] 65 | | ) -> *mut c_void; [INFO] [stdout] | |____________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stdout] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stdout] | |__________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'a Mpz) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling uniffi_checksum_derive v0.25.3 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling uniffi_meta v0.25.3 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling goblin v0.6.1 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling uniffi_core v0.25.3 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling cargo_metadata v0.15.4 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling uniffi_testing v0.25.3 [INFO] [stderr] Compiling uniffi_udl v0.25.3 [INFO] [stderr] Compiling uniffi_bindgen v0.25.3 [INFO] [stderr] Compiling uniffi_build v0.25.3 [INFO] [stderr] Compiling uniffi_macros v0.25.3 [INFO] [stderr] Compiling uniffi v0.25.3 [INFO] [stderr] Compiling bls48581 v0.1.0 (/opt/rustwide/workdir/crates/bls48581) [INFO] [stderr] Compiling vdf v0.1.0 (/opt/rustwide/workdir/crates/vdf) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> crates/vdf/build.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | "#[allow(warnings)]\nconst {}: [{}; {}] = {:#?};\n\n"; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 84 | write!(f, const_fmt!(), name, t, obj.len(), obj).expect("i/o error in build script"); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(addr_of_mut!(G2_TAB), &g); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, &G2_TAB, &d); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, addr_of!(G2_TAB), &d); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/bls48581/src/lib.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | let mut o = big::BIG::new_int(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse_fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn recurse_fft_g1( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn fft_g1( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | &last.add(&mid); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = &last.add(&mid); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ECP` instead of cloning the inner type [INFO] [stdout] --> crates/bls48581/src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | let c = point.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | &result.add(&p); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 327 | let _ = &result.add(&p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub RootOfUnityBLS48581: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity_bls48581` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub RootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ReverseRootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub ReverseRootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G1` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub CeremonyBLS48581G1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G2` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub CeremonyBLS48581G2: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FFTBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub FFTBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fftbls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let mut rootOfUnity = HashMap::::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let mut reverseRootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity16` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let mut rootsOfUnity16 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity32` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let mut rootsOfUnity32 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity64` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rootsOfUnity64 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity128` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | let mut rootsOfUnity128 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity256` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rootsOfUnity256 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity512` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let mut rootsOfUnity512 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity1024` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | let mut rootsOfUnity1024 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity1024` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity2048` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let mut rootsOfUnity2048 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity2048` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity65536` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut rootsOfUnity65536 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity65536` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.82s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: vdf v0.1.0 (/opt/rustwide/workdir/crates/vdf) [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" "e8dc16237c48fa4cc601d1e1d70288fa80b0db0d263a0eb57d5a39097f44f6f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8dc16237c48fa4cc601d1e1d70288fa80b0db0d263a0eb57d5a39097f44f6f6", kill_on_drop: false }` [INFO] [stdout] e8dc16237c48fa4cc601d1e1d70288fa80b0db0d263a0eb57d5a39097f44f6f6 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f453d41f3f7f4c77a06601c41c7f7ef1088b93ee3eb50219a592a013e458c5e [INFO] running `Command { std: "docker" "start" "-a" "1f453d41f3f7f4c77a06601c41c7f7ef1088b93ee3eb50219a592a013e458c5e", 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] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling plotters-backend v0.3.6 [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> crates/classgroup/build.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | panic!("unsupported target {target}"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 14 | panic!("unsupported target {target}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 14 | panic!("{}", "unsupported target {target}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling plotters-svg v0.3.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters v0.3.6 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `none` [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(none)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(none)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/classgroup/src/gmp/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/mod.rs:379:38 [INFO] [stdout] | [INFO] [stdout] 379 | let mut s = Clone::clone(self.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `GmpClassGroup` does not implement `Borrow`, so calling `borrow` on `&GmpClassGroup` 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] 379 - let mut s = Clone::clone(self.borrow()); [INFO] [stdout] 379 + let mut s = Clone::clone(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `GmpClassGroup`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Clone)] [INFO] [stdout] 32 | pub struct GmpClassGroup { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `usize` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:28 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stdout] | ----------------------------------------------------------- `__gmpz_sizeinbase` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(&'a Mpz, i32) -> usize` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_export` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn __gmpz_export( [INFO] [stdout] 58 | | rop: *mut c_void, [INFO] [stdout] 59 | | countp: *mut size_t, [INFO] [stdout] 60 | | order: c_int, [INFO] [stdout] ... | [INFO] [stdout] 64 | | op: &Mpz, [INFO] [stdout] 65 | | ) -> *mut c_void; [INFO] [stdout] | |____________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stdout] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stdout] | |__________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'a Mpz) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> crates/vdf/build.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | "#[allow(warnings)]\nconst {}: [{}; {}] = {:#?};\n\n"; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 84 | write!(f, const_fmt!(), name, t, obj.len(), obj).expect("i/o error in build script"); [INFO] [stdout] | ------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(addr_of_mut!(G2_TAB), &g); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, &G2_TAB, &d); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, addr_of!(G2_TAB), &d); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/bls48581/src/lib.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | let mut o = big::BIG::new_int(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse_fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn recurse_fft_g1( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn fft_g1( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | &last.add(&mid); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = &last.add(&mid); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ECP` instead of cloning the inner type [INFO] [stdout] --> crates/bls48581/src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | let c = point.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | &result.add(&p); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 327 | let _ = &result.add(&p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub RootOfUnityBLS48581: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity_bls48581` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub RootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ReverseRootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub ReverseRootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G1` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub CeremonyBLS48581G1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G2` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub CeremonyBLS48581G2: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FFTBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub FFTBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fftbls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let mut rootOfUnity = HashMap::::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let mut reverseRootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity16` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let mut rootsOfUnity16 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity32` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let mut rootsOfUnity32 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity64` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rootsOfUnity64 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity128` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | let mut rootsOfUnity128 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity256` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rootsOfUnity256 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity512` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let mut rootsOfUnity512 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity1024` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | let mut rootsOfUnity1024 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity1024` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity2048` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let mut rootsOfUnity2048 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity2048` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity65536` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut rootsOfUnity65536 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity65536` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling bls48581 v0.1.0 (/opt/rustwide/workdir/crates/bls48581) [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(&mut G2_TAB, &g); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 89 | pair8::precomp(addr_of_mut!(G2_TAB), &g); [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> crates/bls48581/src/bls48581/bls256.rs:156:35 [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, &G2_TAB, &d); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 156 | pair8::another_pc(&mut r, addr_of!(G2_TAB), &d); [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/bls48581/src/lib.rs:401:11 [INFO] [stdout] | [INFO] [stdout] 401 | let mut o = big::BIG::new_int(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recurse_fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn recurse_fft_g1( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fft_g1` is never used [INFO] [stdout] --> crates/bls48581/src/lib.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn fft_g1( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | &last.add(&mid); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 196 | let _ = &last.add(&mid); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&ECP` instead of cloning the inner type [INFO] [stdout] --> crates/bls48581/src/lib.rs:324:18 [INFO] [stdout] | [INFO] [stdout] 324 | let c = point.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> crates/bls48581/src/lib.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | &result.add(&p); [INFO] [stdout] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 327 | let _ = &result.add(&p); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | pub RootOfUnityBLS48581: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity_bls48581` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `RootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | pub RootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ReverseRootsOfUnityBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | pub ReverseRootsOfUnityBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity_bls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G1` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | pub CeremonyBLS48581G1: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CeremonyBLS48581G2` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | pub CeremonyBLS48581G2: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FFTBLS48581` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | pub FFTBLS48581: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fftbls48581` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let mut rootOfUnity = HashMap::::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | let mut rootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `reverseRootsOfUnity` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | let mut reverseRootsOfUnity = HashMap::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity16` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let mut rootsOfUnity16 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity32` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | let mut rootsOfUnity32 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity64` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:116:15 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rootsOfUnity64 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity128` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:124:15 [INFO] [stdout] | [INFO] [stdout] 124 | let mut rootsOfUnity128 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity256` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let mut rootsOfUnity256 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity512` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:140:15 [INFO] [stdout] | [INFO] [stdout] 140 | let mut rootsOfUnity512 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity1024` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:148:15 [INFO] [stdout] | [INFO] [stdout] 148 | let mut rootsOfUnity1024 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity1024` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity2048` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let mut rootsOfUnity2048 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity2048` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootsOfUnity65536` should have a snake case name [INFO] [stdout] --> crates/bls48581/src/bls.rs:164:15 [INFO] [stdout] | [INFO] [stdout] 164 | let mut rootsOfUnity65536 = Vec::::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity65536` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling vdf v0.1.0 (/opt/rustwide/workdir/crates/vdf) [INFO] [stderr] Compiling classgroup v0.1.0 (/opt/rustwide/workdir/crates/classgroup) [INFO] [stdout] warning: unexpected `cfg` condition name: `none` [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:210:7 [INFO] [stdout] | [INFO] [stdout] 210 | #[cfg(none)] [INFO] [stdout] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(none)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/classgroup/src/gmp/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(deprecated)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:33 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:487:40 [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 487 | fn cause(&self) -> Option<&'static dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:478:14 [INFO] [stdout] | [INFO] [stdout] 478 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stdout] | [INFO] [stdout] 189 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stdout] | [INFO] [stdout] 458 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | let mut mpz = uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | _mp_alloc: c_int, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/mod.rs:379:38 [INFO] [stdout] | [INFO] [stdout] 379 | let mut s = Clone::clone(self.borrow()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `gmp_classgroup::GmpClassGroup` does not implement `Borrow`, so calling `borrow` on `&gmp_classgroup::GmpClassGroup` 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] 379 - let mut s = Clone::clone(self.borrow()); [INFO] [stdout] 379 + let mut s = Clone::clone(self); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `gmp_classgroup::GmpClassGroup`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Clone)] [INFO] [stdout] 32 | pub struct GmpClassGroup { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `usize` does not permit being left uninitialized [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:28 [INFO] [stdout] | [INFO] [stdout] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stdout] | ----------------------------------------------------------- `__gmpz_sizeinbase` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(&'a gmp::mpz::Mpz, i32) -> usize` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `__gmpz_export` redeclared with a different signature [INFO] [stdout] --> crates/classgroup/src/gmp_classgroup/ffi.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / fn __gmpz_export( [INFO] [stdout] 58 | | rop: *mut c_void, [INFO] [stdout] 59 | | countp: *mut size_t, [INFO] [stdout] 60 | | order: c_int, [INFO] [stdout] ... | [INFO] [stdout] 64 | | op: &Mpz, [INFO] [stdout] 65 | | ) -> *mut c_void; [INFO] [stdout] | |____________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: crates/classgroup/src/gmp/mpz.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stdout] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stdout] | |__________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stdout] found `for<'a> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'a gmp::mpz::Mpz) -> *mut c_void` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: vdf v0.1.0 (/opt/rustwide/workdir/crates/vdf) [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" "1f453d41f3f7f4c77a06601c41c7f7ef1088b93ee3eb50219a592a013e458c5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f453d41f3f7f4c77a06601c41c7f7ef1088b93ee3eb50219a592a013e458c5e", kill_on_drop: false }` [INFO] [stdout] 1f453d41f3f7f4c77a06601c41c7f7ef1088b93ee3eb50219a592a013e458c5e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 589a392b7c556977b88f25436b51eca7b5c89d5aa68f2268fa368805c6918262 [INFO] running `Command { std: "docker" "start" "-a" "589a392b7c556977b88f25436b51eca7b5c89d5aa68f2268fa368805c6918262", 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: panic message contains an unused formatting placeholder [INFO] [stderr] --> crates/classgroup/build.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | panic!("unsupported target {target}"); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: add the missing argument [INFO] [stderr] | [INFO] [stderr] 14 | panic!("unsupported target {target}", ...); [INFO] [stderr] | +++++ [INFO] [stderr] help: or add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 14 | panic!("{}", "unsupported target {target}"); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `classgroup` (build script) generated 1 warning [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> crates/vdf/build.rs:74:62 [INFO] [stderr] | [INFO] [stderr] 74 | "#[allow(warnings)]\nconst {}: [{}; {}] = {:#?};\n\n"; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 84 | write!(f, const_fmt!(), name, t, obj.len(), obj).expect("i/o error in build script"); [INFO] [stderr] | ------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `const_fmt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `none` [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:210:7 [INFO] [stderr] | [INFO] [stderr] 210 | #[cfg(none)] [INFO] [stderr] | ^^^^ help: found config with similar value: `target_os = "none"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(none)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(none)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | use std::mem::{uninitialized,size_of}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> crates/classgroup/src/gmp/mod.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(deprecated)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stderr] | [INFO] [stderr] 132 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stderr] | [INFO] [stderr] 141 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stderr] | [INFO] [stderr] 189 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stderr] | [INFO] [stderr] 458 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stderr] | [INFO] [stderr] 495 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:33 [INFO] [stderr] | [INFO] [stderr] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:487:40 [INFO] [stderr] | [INFO] [stderr] 487 | fn cause(&self) -> Option<&'static Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is an object-safe trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 487 | fn cause(&self) -> Option<&'static dyn Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:478:14 [INFO] [stderr] | [INFO] [stderr] 478 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:132:27 [INFO] [stderr] | [INFO] [stderr] 132 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | _mp_alloc: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:141:27 [INFO] [stderr] | [INFO] [stderr] 141 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | _mp_alloc: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:189:27 [INFO] [stderr] | [INFO] [stderr] 189 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | _mp_alloc: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:458:27 [INFO] [stderr] | [INFO] [stderr] 458 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | _mp_alloc: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `mpz_struct` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:495:27 [INFO] [stderr] | [INFO] [stderr] 495 | let mut mpz = uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> crates/classgroup/src/gmp/mpz.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | _mp_alloc: c_int, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/mod.rs:379:38 [INFO] [stderr] | [INFO] [stderr] 379 | let mut s = Clone::clone(self.borrow()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `GmpClassGroup` does not implement `Borrow`, so calling `borrow` on `&GmpClassGroup` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 379 - let mut s = Clone::clone(self.borrow()); [INFO] [stderr] 379 + let mut s = Clone::clone(self); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `GmpClassGroup`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 31 + #[derive(Clone)] [INFO] [stderr] 32 | pub struct GmpClassGroup { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: the type `usize` does not permit being left uninitialized [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:240:28 [INFO] [stderr] | [INFO] [stderr] 240 | let mut s: usize = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stderr] | [INFO] [stderr] ::: crates/classgroup/src/gmp/mpz.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stderr] | ----------------------------------------------------------- `__gmpz_sizeinbase` previously declared here [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stderr] found `for<'a> unsafe extern "C" fn(&'a Mpz, i32) -> usize` [INFO] [stderr] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `__gmpz_export` redeclared with a different signature [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / fn __gmpz_export( [INFO] [stderr] 58 | | rop: *mut c_void, [INFO] [stderr] 59 | | countp: *mut size_t, [INFO] [stderr] 60 | | order: c_int, [INFO] [stderr] ... | [INFO] [stderr] 64 | | op: &Mpz, [INFO] [stderr] 65 | | ) -> *mut c_void; [INFO] [stderr] | |____________________^ this signature doesn't match the previous declaration [INFO] [stderr] | [INFO] [stderr] ::: crates/classgroup/src/gmp/mpz.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stderr] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stderr] | |__________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stderr] found `for<'a> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'a Mpz) -> *mut c_void` [INFO] [stderr] [INFO] [stderr] warning: `vdf` (build script) generated 1 warning [INFO] [stderr] warning: `classgroup` (lib) generated 19 warnings (run `cargo fix --lib -p classgroup` to apply 2 suggestions) [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> crates/bls48581/src/bls48581/bls256.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | pair8::precomp(&mut G2_TAB, &g); [INFO] [stderr] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 89 | pair8::precomp(addr_of_mut!(G2_TAB), &g); [INFO] [stderr] | ~~~~~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> crates/bls48581/src/bls48581/bls256.rs:156:35 [INFO] [stderr] | [INFO] [stderr] 156 | pair8::another_pc(&mut r, &G2_TAB, &d); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stderr] help: use `addr_of!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 156 | pair8::another_pc(&mut r, addr_of!(G2_TAB), &d); [INFO] [stderr] | ~~~~~~~~~ + [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> crates/bls48581/src/lib.rs:401:11 [INFO] [stderr] | [INFO] [stderr] 401 | let mut o = big::BIG::new_int(1); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `recurse_fft_g1` is never used [INFO] [stderr] --> crates/bls48581/src/lib.rs:171:4 [INFO] [stderr] | [INFO] [stderr] 171 | fn recurse_fft_g1( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `fft_g1` is never used [INFO] [stderr] --> crates/bls48581/src/lib.rs:239:4 [INFO] [stderr] | [INFO] [stderr] 239 | fn fft_g1( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> crates/bls48581/src/lib.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | &last.add(&mid); [INFO] [stderr] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 196 | let _ = &last.add(&mid); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&ECP` instead of cloning the inner type [INFO] [stderr] --> crates/bls48581/src/lib.rs:324:18 [INFO] [stderr] | [INFO] [stderr] 324 | let c = point.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> crates/bls48581/src/lib.rs:327:5 [INFO] [stderr] | [INFO] [stderr] 327 | &result.add(&p); [INFO] [stderr] | ^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 327 | let _ = &result.add(&p); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `RootOfUnityBLS48581` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 12 | pub RootOfUnityBLS48581: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity_bls48581` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `RootsOfUnityBLS48581` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | pub RootsOfUnityBLS48581: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity_bls48581` [INFO] [stderr] [INFO] [stderr] warning: structure field `ReverseRootsOfUnityBLS48581` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | pub ReverseRootsOfUnityBLS48581: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity_bls48581` [INFO] [stderr] [INFO] [stderr] warning: structure field `CeremonyBLS48581G1` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | pub CeremonyBLS48581G1: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g1` [INFO] [stderr] [INFO] [stderr] warning: structure field `CeremonyBLS48581G2` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:16:7 [INFO] [stderr] | [INFO] [stderr] 16 | pub CeremonyBLS48581G2: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `ceremony_bls48581_g2` [INFO] [stderr] [INFO] [stderr] warning: structure field `FFTBLS48581` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | pub FFTBLS48581: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `fftbls48581` [INFO] [stderr] [INFO] [stderr] warning: variable `rootOfUnity` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:31:15 [INFO] [stderr] | [INFO] [stderr] 31 | let mut rootOfUnity = HashMap::::new(); [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `root_of_unity` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:32:15 [INFO] [stderr] | [INFO] [stderr] 32 | let mut rootsOfUnity = HashMap::>::new(); [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity` [INFO] [stderr] [INFO] [stderr] warning: variable `reverseRootsOfUnity` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | let mut reverseRootsOfUnity = HashMap::>::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `reverse_roots_of_unity` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity16` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:100:15 [INFO] [stderr] | [INFO] [stderr] 100 | let mut rootsOfUnity16 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity16` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity32` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:108:15 [INFO] [stderr] | [INFO] [stderr] 108 | let mut rootsOfUnity32 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity32` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity64` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:116:15 [INFO] [stderr] | [INFO] [stderr] 116 | let mut rootsOfUnity64 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity64` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity128` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:124:15 [INFO] [stderr] | [INFO] [stderr] 124 | let mut rootsOfUnity128 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity128` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity256` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:132:15 [INFO] [stderr] | [INFO] [stderr] 132 | let mut rootsOfUnity256 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity256` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity512` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:140:15 [INFO] [stderr] | [INFO] [stderr] 140 | let mut rootsOfUnity512 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity512` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity1024` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:148:15 [INFO] [stderr] | [INFO] [stderr] 148 | let mut rootsOfUnity1024 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity1024` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity2048` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:156:15 [INFO] [stderr] | [INFO] [stderr] 156 | let mut rootsOfUnity2048 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity2048` [INFO] [stderr] [INFO] [stderr] warning: variable `rootsOfUnity65536` should have a snake case name [INFO] [stderr] --> crates/bls48581/src/bls.rs:164:15 [INFO] [stderr] | [INFO] [stderr] 164 | let mut rootsOfUnity65536 = Vec::::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `roots_of_unity65536` [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/mod.rs:379:38 [INFO] [stderr] | [INFO] [stderr] 379 | let mut s = Clone::clone(self.borrow()); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `gmp_classgroup::GmpClassGroup` does not implement `Borrow`, so calling `borrow` on `&gmp_classgroup::GmpClassGroup` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 379 - let mut s = Clone::clone(self.borrow()); [INFO] [stderr] 379 + let mut s = Clone::clone(self); [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `gmp_classgroup::GmpClassGroup`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 31 + #[derive(Clone)] [INFO] [stderr] 32 | pub struct GmpClassGroup { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `__gmpz_sizeinbase` redeclared with a different signature [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | fn __gmpz_sizeinbase(op: &Mpz, base: c_int) -> size_t; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stderr] | [INFO] [stderr] ::: crates/classgroup/src/gmp/mpz.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | fn __gmpz_sizeinbase(op: mpz_srcptr, base: c_int) -> size_t; [INFO] [stderr] | ----------------------------------------------------------- `__gmpz_sizeinbase` previously declared here [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*const mpz_struct, i32) -> usize` [INFO] [stderr] found `for<'a> unsafe extern "C" fn(&'a gmp::mpz::Mpz, i32) -> usize` [INFO] [stderr] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `__gmpz_export` redeclared with a different signature [INFO] [stderr] --> crates/classgroup/src/gmp_classgroup/ffi.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | / fn __gmpz_export( [INFO] [stderr] 58 | | rop: *mut c_void, [INFO] [stderr] 59 | | countp: *mut size_t, [INFO] [stderr] 60 | | order: c_int, [INFO] [stderr] ... | [INFO] [stderr] 64 | | op: &Mpz, [INFO] [stderr] 65 | | ) -> *mut c_void; [INFO] [stderr] | |____________________^ this signature doesn't match the previous declaration [INFO] [stderr] | [INFO] [stderr] ::: crates/classgroup/src/gmp/mpz.rs:91:5 [INFO] [stderr] | [INFO] [stderr] 91 | / fn __gmpz_export(rop: *mut c_void, countp: *mut size_t, order: c_int, size: size_t, [INFO] [stderr] 92 | | endian: c_int, nails: size_t, op: mpz_srcptr); [INFO] [stderr] | |__________________________________________________________________- `__gmpz_export` previously declared here [INFO] [stderr] | [INFO] [stderr] = note: expected `unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, *const mpz_struct)` [INFO] [stderr] found `for<'a> unsafe extern "C" fn(*mut c_void, *mut usize, i32, usize, i32, usize, &'a gmp::mpz::Mpz) -> *mut c_void` [INFO] [stderr] [INFO] [stderr] warning: `bls48581` (lib) generated 26 warnings (run `cargo fix --lib -p bls48581` to apply 1 suggestion) [INFO] [stderr] warning: `bls48581` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] warning: `classgroup` (lib test) generated 19 warnings (16 duplicates) (run `cargo fix --lib -p classgroup --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: vdf v0.1.0 (/opt/rustwide/workdir/crates/vdf) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bls48581-472cc795b54c46d3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bls48581-f666f221f9fdbd57) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/classgroup-26bd941efaac0fef) [INFO] [stdout] [INFO] [stdout] running 60 tests [INFO] [stdout] test gmp::test::mpz::test_add ... ok [INFO] [stdout] test gmp::test::mpz::test_abs ... ok [INFO] [stdout] test gmp::test::mpz::test_bit_length ... ok [INFO] [stdout] test gmp::test::mpz::test_bitor ... ok [INFO] [stdout] test gmp::test::mpz::test_bitand ... ok [INFO] [stdout] test gmp::test::mpz::test_bit_fiddling ... ok [INFO] [stdout] test gmp::test::mpz::test_bitxor ... ok [INFO] [stdout] test gmp::test::mpz::test_clone ... ok [INFO] [stdout] test gmp::test::mpz::test_compl ... ok [INFO] [stdout] test gmp::test::mpz::test_div_round ... ok [INFO] [stdout] test gmp::test::mpz::test_div_floor ... ok [INFO] [stdout] test gmp::test::mpz::test_format ... ok [INFO] [stdout] test gmp::test::mpz::test_eq ... ok [INFO] [stdout] test gmp::test::mpz::test_hamdist ... ok [INFO] [stdout] test gmp::test::mpz::test_gcd ... ok [INFO] [stdout] test gmp::test::mpz::test_from_slice_u8 ... ok [INFO] [stdout] test gmp::test::mpz::test_gcdext ... ok [INFO] [stdout] test gmp::test::mpz::test_hash_short ... ok [INFO] [stdout] test gmp::test::mpz::test_invalid_str ... ok [INFO] [stdout] test gmp::test::mpz::test_hash_long ... ok [INFO] [stdout] test gmp::test::mpz::test_from_int ... ok [INFO] [stdout] test gmp::test::mpz::test_lcm ... ok [INFO] [stdout] test gmp::test::mpz::test_is_multiple_of ... ok [INFO] [stdout] test gmp::test::mpz::test_mod_floor ... ok [INFO] [stdout] test gmp::test::mpz::test_mul ... ok [INFO] [stdout] test gmp::test::mpz::test_invert ... ok [INFO] [stdout] test gmp::test::mpz::test_nextprime ... ok [INFO] [stdout] test gmp::test::mpz::test_modulus ... ok [INFO] [stdout] test gmp::test::mpz::test_one ... ok [INFO] [stdout] test gmp::test::mpz::test_popcount ... ok [INFO] [stdout] test gmp::test::mpz::test_ord ... ok [INFO] [stdout] test gmp::test::mpz::test_pow ... ok [INFO] [stdout] test gmp::test::mpz::test_powm ... ok [INFO] [stdout] test gmp::test::mpz::test_probab_prime ... ok [INFO] [stdout] test gmp::test::mpz::test_rem ... ok [INFO] [stdout] test gmp::test::mpz::test_root ... ok [INFO] [stdout] test gmp::test::mpz::test_powm_sec ... ok [INFO] [stdout] test gmp::test::mpz::test_set ... ok [INFO] [stdout] test gmp::test::mpz::test_set_from_str_radix ... ok [INFO] [stdout] test gmp::test::mpz::test_sign ... ok [INFO] [stdout] test gmp::test::mpz::test_sqrt ... ok [INFO] [stdout] test gmp::test::mpz::test_sub ... ok [INFO] [stdout] test gmp::test::mpz::test_shifts ... ok [INFO] [stdout] test gmp::test::mpz::test_to_i64 ... ok [INFO] [stdout] test gmp::test::mpz::test_to_str_radix ... ok [INFO] [stdout] test gmp::test::mpz::test_to_string ... ok [INFO] [stdout] test gmp::test::mpz::test_to_u64 ... ok [INFO] [stdout] test gmp::test::mpz::test_to_vec_u8 ... ok [INFO] [stdout] test gmp::test::test_limb_size ... ok [INFO] [stdout] test gmp_classgroup::ffi::test::check_expected_bit_width ... ok [INFO] [stdout] test gmp_classgroup::ffi::test::check_export ... ok [INFO] [stdout] test gmp_classgroup::ffi::test::check_rem ... ok [INFO] [stdout] test gmp_classgroup::test::normalize ... ok [INFO] [stdout] test gmp::test::mpz::test_div_zero - should panic ... ok [INFO] [stdout] test gmp::test::mpz::test_from_str_radix_upper_bound - should panic ... ok [INFO] [stdout] test gmp::test::mpz::test_from_str_radix_lower_bound - should panic ... ok [INFO] [stdout] test gmp::test::mpz::test_rem_zero - should panic ... ok [INFO] [stdout] test gmp::test::mpz::test_set_from_str_radix_lower_bound - should panic ... ok [INFO] [stdout] test gmp::test::mpz::test_set_from_str_radix_upper_bound - should panic ... ok [INFO] [stdout] test test::multiplication_is_correct ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 60 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/vdf-2d17318a5cc59036) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test proof_pietrzak::test::check_approximate_i ... ok [INFO] [stdout] test create_discriminant::test::check_random_bytes ... ok [INFO] [stdout] test proof_pietrzak::test::check_cache_indices ... ok [INFO] [stdout] test proof_pietrzak::test::check_assuptions_about_stdlib ... ok [INFO] [stdout] test proof_pietrzak::test::check_calculate_final_t ... ok [INFO] [stdout] test create_discriminant::test::check_discriminant_1 ... ok [INFO] [stdout] test create_discriminant::test::check_discriminant_3 ... ok [INFO] [stdout] test create_discriminant::test::check_discriminant_2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests bls48581 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests classgroup [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests vdf [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test crates/vdf/src/lib.rs - (line 46) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "589a392b7c556977b88f25436b51eca7b5c89d5aa68f2268fa368805c6918262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589a392b7c556977b88f25436b51eca7b5c89d5aa68f2268fa368805c6918262", kill_on_drop: false }` [INFO] [stdout] 589a392b7c556977b88f25436b51eca7b5c89d5aa68f2268fa368805c6918262