[INFO] cloning repository https://github.com/rainightRoot/ceremonyclient [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rainightRoot/ceremonyclient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrainightRoot%2Fceremonyclient", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrainightRoot%2Fceremonyclient'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bc79aa02de72be51ac6f70f3e81800b91814016 [INFO] testing rainightRoot/ceremonyclient/5bc79aa02de72be51ac6f70f3e81800b91814016 against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrainightRoot%2Fceremonyclient" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rainightRoot/ceremonyclient on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rainightRoot/ceremonyclient [INFO] finished tweaking git repo https://github.com/rainightRoot/ceremonyclient [INFO] tweaked toml for git repo https://github.com/rainightRoot/ceremonyclient written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rainightRoot/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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi_testing v0.25.3 [INFO] [stderr] Downloaded uniffi_macros v0.25.3 [INFO] [stderr] Downloaded uniffi_checksum_derive v0.25.3 [INFO] [stderr] Downloaded weedle2 v4.0.0 [INFO] [stderr] Downloaded uniffi_udl v0.25.3 [INFO] [stderr] Downloaded uniffi_meta v0.25.3 [INFO] [stderr] Downloaded uniffi_build v0.25.3 [INFO] [stderr] Downloaded uniffi v0.25.3 [INFO] [stderr] Downloaded oneshot-uniffi v0.1.6 [INFO] [stderr] Downloaded uniffi_core v0.25.3 [INFO] [stderr] Downloaded uniffi_bindgen v0.25.3 [INFO] [stderr] Downloaded goblin v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09010b578a906df34dc436cebb3804436014126b6c84f6e7e720094be7334b6e [INFO] running `Command { std: "docker" "start" "-a" "09010b578a906df34dc436cebb3804436014126b6c84f6e7e720094be7334b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09010b578a906df34dc436cebb3804436014126b6c84f6e7e720094be7334b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09010b578a906df34dc436cebb3804436014126b6c84f6e7e720094be7334b6e", kill_on_drop: false }` [INFO] [stdout] 09010b578a906df34dc436cebb3804436014126b6c84f6e7e720094be7334b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c606a06e186bcccc913ba44802afb3f526b9be39f183a72d89afa2a81ecf613f [INFO] running `Command { std: "docker" "start" "-a" "c606a06e186bcccc913ba44802afb3f526b9be39f183a72d89afa2a81ecf613f", kill_on_drop: false }` [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 anyhow v1.0.86 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling camino v1.1.7 [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 itoa v1.0.11 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling log v0.4.21 [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 plain v0.2.3 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling oneshot-uniffi v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling classgroup v0.1.0 (/opt/rustwide/workdir/crates/classgroup) [INFO] [stderr] Compiling fake-simd v0.1.2 [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 opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(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] help: found config with similar value [INFO] [stdout] | [INFO] [stdout] 210 - #[cfg(none)] [INFO] [stdout] 210 + #[cfg(fmt_debug = "none")] [INFO] [stdout] | [INFO] [stdout] help: found config with similar value [INFO] [stdout] | [INFO] [stdout] 210 - #[cfg(none)] [INFO] [stdout] 210 + #[cfg(target_os = "none")] [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: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 a dyn-compatible 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] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling weedle2 v4.0.0 [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 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] error: unnecessary transmute [INFO] [stdout] --> crates/vdf/src/proof_wesolowski.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | unsafe { std::mem::transmute(q.to_be()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(q.to_be())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/vdf/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unnecessary_transmutes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vdf` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c606a06e186bcccc913ba44802afb3f526b9be39f183a72d89afa2a81ecf613f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c606a06e186bcccc913ba44802afb3f526b9be39f183a72d89afa2a81ecf613f", kill_on_drop: false }` [INFO] [stdout] c606a06e186bcccc913ba44802afb3f526b9be39f183a72d89afa2a81ecf613f