[INFO] fetching crate secp256k1-test 0.7.2... [INFO] testing secp256k1-test-0.7.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate secp256k1-test 0.7.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate secp256k1-test 0.7.2 [INFO] finished tweaking crates.io crate secp256k1-test 0.7.2 [INFO] tweaked toml for crates.io crate secp256k1-test 0.7.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate secp256k1-test 0.7.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.3.25 (available: v0.7.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1640e27d3af85a0ef2697cb80228657f520b108397a0d44dfdcb185c4e85537 [INFO] running `Command { std: "docker" "start" "-a" "d1640e27d3af85a0ef2697cb80228657f520b108397a0d44dfdcb185c4e85537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1640e27d3af85a0ef2697cb80228657f520b108397a0d44dfdcb185c4e85537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1640e27d3af85a0ef2697cb80228657f520b108397a0d44dfdcb185c4e85537", kill_on_drop: false }` [INFO] [stdout] d1640e27d3af85a0ef2697cb80228657f520b108397a0d44dfdcb185c4e85537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d827d78ed94e2bb2480c7d858f206f483fa132c02d3bc76b7e27636d1e51558 [INFO] running `Command { std: "docker" "start" "-a" "1d827d78ed94e2bb2480c7d858f206f483fa132c02d3bc76b7e27636d1e51558", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/secp256k1.c:15: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/group_impl.h:219:12: warning: 'secp256k1_gej_is_valid_var' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 219 | static int secp256k1_gej_is_valid_var(const secp256k1_gej *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/field_impl.h:17, [INFO] [stderr] warning: secp256k1-test@0.7.2: from depend/secp256k1/src/secp256k1.c:13: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/field_10x26_impl.h:44:13: warning: 'secp256k1_fe_verify' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 44 | static void secp256k1_fe_verify(const secp256k1_fe *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | impl_raw_debug!(PublicKey); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_raw_debug!(Signature); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_raw_debug!(SharedSecret); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:308:55 [INFO] [stdout] | [INFO] [stdout] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:240:55 [INFO] [stdout] | [INFO] [stdout] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:239:87 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:297:87 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/schnorr.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:32 [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = 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] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Message` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/lib.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Message([u8; constants::MESSAGE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stdout] 128 | | seed32: *const c_uchar) [INFO] [stdout] 129 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 141 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stdout] 145 | | , compressed: c_uint) [INFO] [stdout] 146 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 151 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 154 | | input64: *const c_uchar) [INFO] [stdout] 155 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 159 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stdout] 163 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 166 | | sig: *const Signature) [INFO] [stdout] 167 | | -> c_int; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stdout] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stdout] 171 | | -> c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stdout] 175 | | -> c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 178 | | input: *const RecoverableSignature) [INFO] [stdout] 179 | | -> c_int; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stdout] 182 | | in_sig: *const Signature) [INFO] [stdout] 183 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stdout] 187 | | sig: *const Signature, [INFO] [stdout] 188 | | msg32: *const c_uchar, [INFO] [stdout] 189 | | pk: *const PublicKey) [INFO] [stdout] 190 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stdout] 193 | | sig: *mut Signature, [INFO] [stdout] 194 | | msg32: *const c_uchar, [INFO] [stdout] 195 | | sk: *const c_uchar, [INFO] [stdout] 196 | | noncefn: NonceFn, [INFO] [stdout] 197 | | noncedata: *const c_void) [INFO] [stdout] 198 | | -> c_int; [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stdout] 201 | | sig: *mut RecoverableSignature, [INFO] [stdout] 202 | | msg32: *const c_uchar, [INFO] [stdout] 203 | | sk: *const c_uchar, [INFO] [stdout] 204 | | noncefn: NonceFn, [INFO] [stdout] 205 | | noncedata: *const c_void) [INFO] [stdout] 206 | | -> c_int; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stdout] 209 | | pk: *mut PublicKey, [INFO] [stdout] 210 | | sig: *const RecoverableSignature, [INFO] [stdout] 211 | | msg32: *const c_uchar) [INFO] [stdout] 212 | | -> c_int; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stdout] 216 | | sig64: *mut c_uchar, [INFO] [stdout] 217 | | msg32: *const c_uchar, [INFO] [stdout] 218 | | sk: *const c_uchar, [INFO] [stdout] 219 | | noncefn: NonceFn, [INFO] [stdout] 220 | | noncedata: *const c_void) [INFO] [stdout] 221 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stdout] 224 | | sig64: *const c_uchar, [INFO] [stdout] 225 | | msg32: *const c_uchar, [INFO] [stdout] 226 | | pk: *const PublicKey) [INFO] [stdout] 227 | | -> c_int; [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stdout] 230 | | pk: *mut PublicKey, [INFO] [stdout] 231 | | sig64: *const c_uchar, [INFO] [stdout] 232 | | msg32: *const c_uchar) [INFO] [stdout] 233 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stdout] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stdout] 246 | | sk: *mut c_uchar, [INFO] [stdout] 247 | | tweak: *const c_uchar) [INFO] [stdout] 248 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stdout] 251 | | pk: *mut PublicKey, [INFO] [stdout] 252 | | tweak: *const c_uchar) [INFO] [stdout] 253 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stdout] 256 | | sk: *mut c_uchar, [INFO] [stdout] 257 | | tweak: *const c_uchar) [INFO] [stdout] 258 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stdout] 261 | | pk: *mut PublicKey, [INFO] [stdout] 262 | | tweak: *const c_uchar) [INFO] [stdout] 263 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stdout] 266 | | out: *mut PublicKey, [INFO] [stdout] 267 | | ins: *const *const PublicKey, [INFO] [stdout] 268 | | n: c_int) [INFO] [stdout] 269 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stdout] 272 | | out: *mut SharedSecret, [INFO] [stdout] 273 | | point: *const PublicKey, [INFO] [stdout] 274 | | scalar: *const c_uchar) [INFO] [stdout] 275 | | -> c_int; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/key.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:239:82 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:248:80 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:297:82 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/schnorr.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { 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 (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.91s [INFO] running `Command { std: "docker" "inspect" "1d827d78ed94e2bb2480c7d858f206f483fa132c02d3bc76b7e27636d1e51558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d827d78ed94e2bb2480c7d858f206f483fa132c02d3bc76b7e27636d1e51558", kill_on_drop: false }` [INFO] [stdout] 1d827d78ed94e2bb2480c7d858f206f483fa132c02d3bc76b7e27636d1e51558 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f304bafd0440cf26ff15c0c251e080bc4f788580f3809f70dada09014fe2156 [INFO] running `Command { std: "docker" "start" "-a" "7f304bafd0440cf26ff15c0c251e080bc4f788580f3809f70dada09014fe2156", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/secp256k1.c:15: [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/group_impl.h:219:12: warning: 'secp256k1_gej_is_valid_var' defined but not used [-Wunused-function] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: secp256k1-test@0.7.2: 219 | static int secp256k1_gej_is_valid_var(const secp256k1_gej *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/field_impl.h:17, [INFO] [stderr] warning: secp256k1-test@0.7.2: from depend/secp256k1/src/secp256k1.c:13: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/field_10x26_impl.h:44:13: warning: 'secp256k1_fe_verify' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 44 | static void secp256k1_fe_verify(const secp256k1_fe *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | impl_raw_debug!(PublicKey); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_raw_debug!(Signature); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_raw_debug!(SharedSecret); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:308:55 [INFO] [stdout] | [INFO] [stdout] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:240:55 [INFO] [stdout] | [INFO] [stdout] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:239:87 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:297:87 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/schnorr.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:32 [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = 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] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Message` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/lib.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Message([u8; constants::MESSAGE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stdout] 128 | | seed32: *const c_uchar) [INFO] [stdout] 129 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 141 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stdout] 145 | | , compressed: c_uint) [INFO] [stdout] 146 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 151 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 154 | | input64: *const c_uchar) [INFO] [stdout] 155 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 159 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stdout] 163 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 166 | | sig: *const Signature) [INFO] [stdout] 167 | | -> c_int; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stdout] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stdout] 171 | | -> c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stdout] 175 | | -> c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 178 | | input: *const RecoverableSignature) [INFO] [stdout] 179 | | -> c_int; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stdout] 182 | | in_sig: *const Signature) [INFO] [stdout] 183 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stdout] 187 | | sig: *const Signature, [INFO] [stdout] 188 | | msg32: *const c_uchar, [INFO] [stdout] 189 | | pk: *const PublicKey) [INFO] [stdout] 190 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stdout] 193 | | sig: *mut Signature, [INFO] [stdout] 194 | | msg32: *const c_uchar, [INFO] [stdout] 195 | | sk: *const c_uchar, [INFO] [stdout] 196 | | noncefn: NonceFn, [INFO] [stdout] 197 | | noncedata: *const c_void) [INFO] [stdout] 198 | | -> c_int; [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stdout] 201 | | sig: *mut RecoverableSignature, [INFO] [stdout] 202 | | msg32: *const c_uchar, [INFO] [stdout] 203 | | sk: *const c_uchar, [INFO] [stdout] 204 | | noncefn: NonceFn, [INFO] [stdout] 205 | | noncedata: *const c_void) [INFO] [stdout] 206 | | -> c_int; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stdout] 209 | | pk: *mut PublicKey, [INFO] [stdout] 210 | | sig: *const RecoverableSignature, [INFO] [stdout] 211 | | msg32: *const c_uchar) [INFO] [stdout] 212 | | -> c_int; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stdout] 216 | | sig64: *mut c_uchar, [INFO] [stdout] 217 | | msg32: *const c_uchar, [INFO] [stdout] 218 | | sk: *const c_uchar, [INFO] [stdout] 219 | | noncefn: NonceFn, [INFO] [stdout] 220 | | noncedata: *const c_void) [INFO] [stdout] 221 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stdout] 224 | | sig64: *const c_uchar, [INFO] [stdout] 225 | | msg32: *const c_uchar, [INFO] [stdout] 226 | | pk: *const PublicKey) [INFO] [stdout] 227 | | -> c_int; [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stdout] 230 | | pk: *mut PublicKey, [INFO] [stdout] 231 | | sig64: *const c_uchar, [INFO] [stdout] 232 | | msg32: *const c_uchar) [INFO] [stdout] 233 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stdout] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stdout] 246 | | sk: *mut c_uchar, [INFO] [stdout] 247 | | tweak: *const c_uchar) [INFO] [stdout] 248 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stdout] 251 | | pk: *mut PublicKey, [INFO] [stdout] 252 | | tweak: *const c_uchar) [INFO] [stdout] 253 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stdout] 256 | | sk: *mut c_uchar, [INFO] [stdout] 257 | | tweak: *const c_uchar) [INFO] [stdout] 258 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stdout] 261 | | pk: *mut PublicKey, [INFO] [stdout] 262 | | tweak: *const c_uchar) [INFO] [stdout] 263 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stdout] 266 | | out: *mut PublicKey, [INFO] [stdout] 267 | | ins: *const *const PublicKey, [INFO] [stdout] 268 | | n: c_int) [INFO] [stdout] 269 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stdout] 272 | | out: *mut SharedSecret, [INFO] [stdout] 273 | | point: *const PublicKey, [INFO] [stdout] 274 | | scalar: *const c_uchar) [INFO] [stdout] 275 | | -> c_int; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/key.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:239:82 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:248:80 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:297:82 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/schnorr.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { 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 (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | impl_raw_debug!(PublicKey); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_raw_debug!(Signature); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_raw_debug!(SharedSecret); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:308:55 [INFO] [stdout] | [INFO] [stdout] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:240:55 [INFO] [stdout] | [INFO] [stdout] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:239:87 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:297:87 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/schnorr.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:32 [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = 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] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Message` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/lib.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Message([u8; constants::MESSAGE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { 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 (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stdout] 128 | | seed32: *const c_uchar) [INFO] [stdout] 129 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 141 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stdout] 145 | | , compressed: c_uint) [INFO] [stdout] 146 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 151 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 154 | | input64: *const c_uchar) [INFO] [stdout] 155 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 159 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stdout] 163 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 166 | | sig: *const Signature) [INFO] [stdout] 167 | | -> c_int; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stdout] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stdout] 171 | | -> c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stdout] 175 | | -> c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 178 | | input: *const RecoverableSignature) [INFO] [stdout] 179 | | -> c_int; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stdout] 182 | | in_sig: *const Signature) [INFO] [stdout] 183 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stdout] 187 | | sig: *const Signature, [INFO] [stdout] 188 | | msg32: *const c_uchar, [INFO] [stdout] 189 | | pk: *const PublicKey) [INFO] [stdout] 190 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stdout] 193 | | sig: *mut Signature, [INFO] [stdout] 194 | | msg32: *const c_uchar, [INFO] [stdout] 195 | | sk: *const c_uchar, [INFO] [stdout] 196 | | noncefn: NonceFn, [INFO] [stdout] 197 | | noncedata: *const c_void) [INFO] [stdout] 198 | | -> c_int; [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stdout] 201 | | sig: *mut RecoverableSignature, [INFO] [stdout] 202 | | msg32: *const c_uchar, [INFO] [stdout] 203 | | sk: *const c_uchar, [INFO] [stdout] 204 | | noncefn: NonceFn, [INFO] [stdout] 205 | | noncedata: *const c_void) [INFO] [stdout] 206 | | -> c_int; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stdout] 209 | | pk: *mut PublicKey, [INFO] [stdout] 210 | | sig: *const RecoverableSignature, [INFO] [stdout] 211 | | msg32: *const c_uchar) [INFO] [stdout] 212 | | -> c_int; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stdout] 216 | | sig64: *mut c_uchar, [INFO] [stdout] 217 | | msg32: *const c_uchar, [INFO] [stdout] 218 | | sk: *const c_uchar, [INFO] [stdout] 219 | | noncefn: NonceFn, [INFO] [stdout] 220 | | noncedata: *const c_void) [INFO] [stdout] 221 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stdout] 224 | | sig64: *const c_uchar, [INFO] [stdout] 225 | | msg32: *const c_uchar, [INFO] [stdout] 226 | | pk: *const PublicKey) [INFO] [stdout] 227 | | -> c_int; [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stdout] 230 | | pk: *mut PublicKey, [INFO] [stdout] 231 | | sig64: *const c_uchar, [INFO] [stdout] 232 | | msg32: *const c_uchar) [INFO] [stdout] 233 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stdout] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stdout] 246 | | sk: *mut c_uchar, [INFO] [stdout] 247 | | tweak: *const c_uchar) [INFO] [stdout] 248 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stdout] 251 | | pk: *mut PublicKey, [INFO] [stdout] 252 | | tweak: *const c_uchar) [INFO] [stdout] 253 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stdout] 256 | | sk: *mut c_uchar, [INFO] [stdout] 257 | | tweak: *const c_uchar) [INFO] [stdout] 258 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stdout] 261 | | pk: *mut PublicKey, [INFO] [stdout] 262 | | tweak: *const c_uchar) [INFO] [stdout] 263 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stdout] 266 | | out: *mut PublicKey, [INFO] [stdout] 267 | | ins: *const *const PublicKey, [INFO] [stdout] 268 | | n: c_int) [INFO] [stdout] 269 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stdout] 272 | | out: *mut SharedSecret, [INFO] [stdout] 273 | | point: *const PublicKey, [INFO] [stdout] 274 | | scalar: *const c_uchar) [INFO] [stdout] 275 | | -> c_int; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/key.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:239:82 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:248:80 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:297:82 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/schnorr.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { 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 (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "7f304bafd0440cf26ff15c0c251e080bc4f788580f3809f70dada09014fe2156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f304bafd0440cf26ff15c0c251e080bc4f788580f3809f70dada09014fe2156", kill_on_drop: false }` [INFO] [stdout] 7f304bafd0440cf26ff15c0c251e080bc4f788580f3809f70dada09014fe2156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b56f344353eee8204d722fbde7f5301048049f5f42c232d180941f65786f3a1 [INFO] running `Command { std: "docker" "start" "-a" "0b56f344353eee8204d722fbde7f5301048049f5f42c232d180941f65786f3a1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stderr] --> build.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut base_config = gcc::Config::new(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stderr] --> build.rs:27:40 [INFO] [stderr] | [INFO] [stderr] 27 | let mut base_config = gcc::Config::new(); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `secp256k1-test` (build script) generated 2 warnings [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/secp256k1.c:15: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/group_impl.h:219:12: warning: 'secp256k1_gej_is_valid_var' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 219 | static int secp256k1_gej_is_valid_var(const secp256k1_gej *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/field_impl.h:17, [INFO] [stderr] warning: secp256k1-test@0.7.2: from depend/secp256k1/src/secp256k1.c:13: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/field_10x26_impl.h:44:13: warning: 'secp256k1_fe_verify' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 44 | static void secp256k1_fe_verify(const secp256k1_fe *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:61:1 [INFO] [stderr] | [INFO] [stderr] 61 | impl_raw_debug!(PublicKey); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:80:1 [INFO] [stderr] | [INFO] [stderr] 80 | impl_raw_debug!(Signature); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:86:1 [INFO] [stderr] | [INFO] [stderr] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:106:1 [INFO] [stderr] | [INFO] [stderr] 106 | impl_raw_debug!(SharedSecret); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_pretty_debug!(SecretKey); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_pretty_debug!(SecretKey); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/key.rs:241:34 [INFO] [stderr] | [INFO] [stderr] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/key.rs:250:34 [INFO] [stderr] | [INFO] [stderr] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/key.rs:301:45 [INFO] [stderr] | [INFO] [stderr] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/key.rs:308:55 [INFO] [stderr] | [INFO] [stderr] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | impl_pretty_debug!(Signature); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | impl_pretty_debug!(Signature); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:235:40 [INFO] [stderr] | [INFO] [stderr] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:240:55 [INFO] [stderr] | [INFO] [stderr] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:131:42 [INFO] [stderr] | [INFO] [stderr] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:168:48 [INFO] [stderr] | [INFO] [stderr] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:173:63 [INFO] [stderr] | [INFO] [stderr] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:205:17 [INFO] [stderr] | [INFO] [stderr] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:373:1 [INFO] [stderr] | [INFO] [stderr] 373 | impl_pretty_debug!(Message); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/macros.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:373:1 [INFO] [stderr] | [INFO] [stderr] 373 | impl_pretty_debug!(Message); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:547:18 [INFO] [stderr] | [INFO] [stderr] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/lib.rs:232:81 [INFO] [stderr] | [INFO] [stderr] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:421:35 [INFO] [stderr] | [INFO] [stderr] 421 | f.write_str(error::Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/ffi.rs:67:47 [INFO] [stderr] | [INFO] [stderr] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/ffi.rs:92:47 [INFO] [stderr] | [INFO] [stderr] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/ffi.rs:99:58 [INFO] [stderr] | [INFO] [stderr] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/ffi.rs:112:50 [INFO] [stderr] | [INFO] [stderr] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/key.rs:239:87 [INFO] [stderr] | [INFO] [stderr] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/key.rs:248:85 [INFO] [stderr] | [INFO] [stderr] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/key.rs:297:87 [INFO] [stderr] | [INFO] [stderr] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stderr] --> src/macros.rs:58:42 [INFO] [stderr] | [INFO] [stderr] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:60:48 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:129:61 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/macros.rs:166:61 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/schnorr.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:426:32 [INFO] [stderr] | [INFO] [stderr] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 426 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/lib.rs:232:76 [INFO] [stderr] | [INFO] [stderr] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = 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] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `Message` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/lib.rs:371:20 [INFO] [stderr] | [INFO] [stderr] 371 | pub struct Message([u8; constants::MESSAGE_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/lib.rs:372:1 [INFO] [stderr] | [INFO] [stderr] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stderr] | --------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:67:42 [INFO] [stderr] | [INFO] [stderr] 67 | pub unsafe fn blank() -> PublicKey { 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 (in this struct field) [INFO] [stderr] --> src/ffi.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | pub unsafe fn blank() -> Signature { 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 (in this struct field) [INFO] [stderr] --> src/ffi.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | pub unsafe fn blank() -> RecoverableSignature { 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 (in this struct field) [INFO] [stderr] --> src/ffi.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:112:45 [INFO] [stderr] | [INFO] [stderr] 112 | pub unsafe fn blank() -> SharedSecret { 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 (in this struct field) [INFO] [stderr] --> src/ffi.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a static [INFO] [stderr] --> src/ffi.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a static [INFO] [stderr] --> src/ffi.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stderr] 128 | | seed32: *const c_uchar) [INFO] [stderr] 129 | | -> c_int; [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stderr] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 141 | | -> c_int; [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stderr] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stderr] 145 | | , compressed: c_uint) [INFO] [stderr] 146 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 151 | | -> c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 154 | | input64: *const c_uchar) [INFO] [stderr] 155 | | -> c_int; [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 159 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stderr] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stderr] 163 | | -> c_int; [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stderr] 166 | | sig: *const Signature) [INFO] [stderr] 167 | | -> c_int; [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stderr] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stderr] 171 | | -> c_int; [INFO] [stderr] | |________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stderr] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stderr] 175 | | -> c_int; [INFO] [stderr] | |____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 178 | | input: *const RecoverableSignature) [INFO] [stderr] 179 | | -> c_int; [INFO] [stderr] | |__________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stderr] 182 | | in_sig: *const Signature) [INFO] [stderr] 183 | | -> c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stderr] 187 | | sig: *const Signature, [INFO] [stderr] 188 | | msg32: *const c_uchar, [INFO] [stderr] 189 | | pk: *const PublicKey) [INFO] [stderr] 190 | | -> c_int; [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:192:5 [INFO] [stderr] | [INFO] [stderr] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stderr] 193 | | sig: *mut Signature, [INFO] [stderr] 194 | | msg32: *const c_uchar, [INFO] [stderr] 195 | | sk: *const c_uchar, [INFO] [stderr] 196 | | noncefn: NonceFn, [INFO] [stderr] 197 | | noncedata: *const c_void) [INFO] [stderr] 198 | | -> c_int; [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stderr] 201 | | sig: *mut RecoverableSignature, [INFO] [stderr] 202 | | msg32: *const c_uchar, [INFO] [stderr] 203 | | sk: *const c_uchar, [INFO] [stderr] 204 | | noncefn: NonceFn, [INFO] [stderr] 205 | | noncedata: *const c_void) [INFO] [stderr] 206 | | -> c_int; [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stderr] 209 | | pk: *mut PublicKey, [INFO] [stderr] 210 | | sig: *const RecoverableSignature, [INFO] [stderr] 211 | | msg32: *const c_uchar) [INFO] [stderr] 212 | | -> c_int; [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stderr] 216 | | sig64: *mut c_uchar, [INFO] [stderr] 217 | | msg32: *const c_uchar, [INFO] [stderr] 218 | | sk: *const c_uchar, [INFO] [stderr] 219 | | noncefn: NonceFn, [INFO] [stderr] 220 | | noncedata: *const c_void) [INFO] [stderr] 221 | | -> c_int; [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stderr] 224 | | sig64: *const c_uchar, [INFO] [stderr] 225 | | msg32: *const c_uchar, [INFO] [stderr] 226 | | pk: *const PublicKey) [INFO] [stderr] 227 | | -> c_int; [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stderr] 230 | | pk: *mut PublicKey, [INFO] [stderr] 231 | | sig64: *const c_uchar, [INFO] [stderr] 232 | | msg32: *const c_uchar) [INFO] [stderr] 233 | | -> c_int; [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stderr] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stderr] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stderr] 246 | | sk: *mut c_uchar, [INFO] [stderr] 247 | | tweak: *const c_uchar) [INFO] [stderr] 248 | | -> c_int; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stderr] 251 | | pk: *mut PublicKey, [INFO] [stderr] 252 | | tweak: *const c_uchar) [INFO] [stderr] 253 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:255:5 [INFO] [stderr] | [INFO] [stderr] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stderr] 256 | | sk: *mut c_uchar, [INFO] [stderr] 257 | | tweak: *const c_uchar) [INFO] [stderr] 258 | | -> c_int; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stderr] 261 | | pk: *mut PublicKey, [INFO] [stderr] 262 | | tweak: *const c_uchar) [INFO] [stderr] 263 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stderr] 266 | | out: *mut PublicKey, [INFO] [stderr] 267 | | ins: *const *const PublicKey, [INFO] [stderr] 268 | | n: c_int) [INFO] [stderr] 269 | | -> c_int; [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:271:5 [INFO] [stderr] | [INFO] [stderr] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stderr] 272 | | out: *mut SharedSecret, [INFO] [stderr] 273 | | point: *const PublicKey, [INFO] [stderr] 274 | | scalar: *const c_uchar) [INFO] [stderr] 275 | | -> c_int; [INFO] [stderr] | |___________________________________^ [INFO] [stderr] [INFO] [stderr] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/key.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:239:82 [INFO] [stderr] | [INFO] [stderr] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:248:80 [INFO] [stderr] | [INFO] [stderr] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:297:82 [INFO] [stderr] | [INFO] [stderr] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = 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: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = 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] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/schnorr.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = 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] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/schnorr.rs:57:43 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ret: Signature = unsafe { 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 (in this struct field) [INFO] [stderr] --> src/schnorr.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `secp256k1-test` (lib) generated 139 warnings (run `cargo fix --lib -p secp256k1-test` to apply 1 suggestion) [INFO] [stderr] warning: `secp256k1-test` (lib test) generated 139 warnings (139 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secp256k1_test-4199b3fb93f886e7) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test key::test::test_bad_serde_deserialize ... ok [INFO] [stdout] test key::test::test_bad_deserialize ... ok [INFO] [stdout] test ecdh::tests::ecdh ... ok [INFO] [stdout] test key::test::test_out_of_range ... ok [INFO] [stdout] test key::test::test_pubkey_from_bad_slice ... ok [INFO] [stdout] test key::test::test_debug_output ... ok [INFO] [stderr] [INFO] [stderr] thread 'key::test::test_pubkey_serialize' (40) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:256:33: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked_mut requires that the index is within the slice [INFO] [stderr] [INFO] [stderr] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5aa11717a672 - std::backtrace_rs::backtrace::libunwind::trace::h589a96ef7638b383 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5aa11717a672 - std::backtrace_rs::backtrace::trace_unsynchronized::h23a30a7548c40de4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5aa11717a672 - std::sys::backtrace::_print_fmt::h87dabd6535c8c07a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5aa11717a672 - ::fmt::hffd20ad4e5eca8ab [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5aa11718b0ff - core::fmt::rt::Argument::fmt::h75c83e3fd5ce2419 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5aa11718b0ff - core::fmt::write::h6d9d3a7cfd7b84f5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5aa117147ca3 - std::io::default_write_fmt::ha7130bf70117e1da [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5aa117147ca3 - std::io::Write::write_fmt::h22459ad26fe60c51 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5aa117153cc2 - std::sys::backtrace::BacktraceLock::print::hb28797143397220e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5aa11715871f - std::panicking::default_hook::{{closure}}::h7555113b62983743 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5aa117158579 - std::panicking::default_hook::h2714b564abe8d914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5aa1170c2c4e - as core::ops::function::Fn>::call::h0e9de8cceb22406e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 12: 0x5aa1170c2c4e - test::test_main_with_exit_callback::{{closure}}::h8125bd66cf4739d0 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5aa117158dbe - as core::ops::function::Fn>::call::h1fd0a0802eaec16b [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1999:9 [INFO] [stderr] 14: 0x5aa117158dbe - std::panicking::panic_with_hook::h190dc82263685ec5 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5aa117158b56 - std::panicking::panic_handler::{{closure}}::h8b036a1b366643ac [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5aa117153df9 - std::sys::backtrace::__rust_end_short_backtrace::h45affcfc0c830da8 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5aa11713c16d - __rustc[9b67c8562bba447b]::rust_begin_unwind [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5aa117192bfd - core::panicking::panic_nounwind_fmt::runtime::h0e9d970dfc029f14 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5aa117192bfd - core::panicking::panic_nounwind_fmt::h120e82628a1ba90a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/intrinsics/mod.rs:2380:9 [INFO] [stderr] 20: 0x5aa11705cd4c - >::get_unchecked_mut::precondition_check::he94ab755c1182a9d [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ub_checks.rs:72:21 [INFO] [stderr] 21: 0x5aa11705cc99 - >::get_unchecked_mut::hd10f96eb93969f05 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ub_checks.rs:77:17 [INFO] [stderr] 22: 0x5aa11705ad68 - core::slice::::get_unchecked_mut::h5165fe2e85ee3ecb [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/slice/mod.rs:689:30 [INFO] [stderr] 23: 0x5aa117064e3d - arrayvec::ArrayVec::pop::h93cc5b1397486420 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:256:33 [INFO] [stderr] 24: 0x5aa117064e88 - arrayvec::ArrayVec::clear::h3a7c11028934e9d1 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:309:34 [INFO] [stderr] 25: 0x5aa11706325a - as core::ops::drop::Drop>::drop::h03515d88240507af [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayvec-0.3.25/src/lib.rs:93:14 [INFO] [stderr] 26: 0x5aa11705a833 - core::ptr::drop_in_place>::hbf790bc1370fc3bf [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ptr/mod.rs:804:1 [INFO] [stderr] 27: 0x5aa1170744af - secp256k1_test::key::test::test_pubkey_serialize::h3f3fa4a8ee0b2fc2 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:645:9 [INFO] [stderr] 28: 0x5aa117074667 - secp256k1_test::key::test::test_pubkey_serialize::{{closure}}::h57835b011b63ad73 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:634:31 [INFO] [stderr] 29: 0x5aa117059ea6 - core::ops::function::FnOnce::call_once::h500a49b73169e234 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 30: 0x5aa1170c2a0b - core::ops::function::FnOnce::call_once::hdbf42be2a49fb464 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 31: 0x5aa1170c2a0b - test::__rust_begin_short_backtrace::h8ae08814d38cb356 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:663:18 [INFO] [stderr] 32: 0x5aa1170d84f5 - test::run_test_in_process::{{closure}}::h54574ee4f414d690 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:74 [INFO] [stderr] 33: 0x5aa1170d84f5 - as core::ops::function::FnOnce<()>>::call_once::h01a0b7e7aad1a501 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 34: 0x5aa1170d84f5 - std::panicking::catch_unwind::do_call::h23820e817c5612cd [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 35: 0x5aa1170d84f5 - std::panicking::catch_unwind::h89c73a1febce5587 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 36: 0x5aa1170d84f5 - std::panic::catch_unwind::h6f55caf410861914 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 37: 0x5aa1170d84f5 - test::run_test_in_process::h4db851878e5d3983 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:686:27 [INFO] [stderr] 38: 0x5aa1170d84f5 - test::run_test::{{closure}}::h57e8c5acaceacd24 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:607:43 [INFO] [stderr] 39: 0x5aa1170aeee4 - test::run_test::{{closure}}::he775ccc3a9d3b97e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/test/src/lib.rs:637:41 [INFO] [stderr] 40: 0x5aa1170aeee4 - std::sys::backtrace::__rust_begin_short_backtrace::hcd94d85d7765225a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 41: 0x5aa1170b272a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha814de8393f07830 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 42: 0x5aa1170b272a - as core::ops::function::FnOnce<()>>::call_once::h8deb00af0abdeaf1 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 43: 0x5aa1170b272a - std::panicking::catch_unwind::do_call::h1917979b0c279ea2 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:590:40 [INFO] [stderr] 44: 0x5aa1170b272a - std::panicking::catch_unwind::h791ad91fee6ce34e [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panicking.rs:553:19 [INFO] [stderr] 45: 0x5aa1170b272a - std::panic::catch_unwind::h982b8f40ed9c3cce [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/panic.rs:359:14 [INFO] [stderr] 46: 0x5aa1170b272a - std::thread::Builder::spawn_unchecked_::{{closure}}::h545e54700c945db4 [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 47: 0x5aa1170b272a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb427481a5227d78a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 48: 0x5aa11714e07f - as core::ops::function::FnOnce>::call_once::h1d452951a81e9d0a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 49: 0x5aa11714e07f - std::sys::pal::unix::thread::Thread::new::thread_start::h29c84e109630689a [INFO] [stderr] at /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stderr] 50: 0x7c3e8fc39aa4 - [INFO] [stderr] 51: 0x7c3e8fcc6a34 - clone [INFO] [stderr] 52: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/secp256k1_test-4199b3fb93f886e7` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "0b56f344353eee8204d722fbde7f5301048049f5f42c232d180941f65786f3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b56f344353eee8204d722fbde7f5301048049f5f42c232d180941f65786f3a1", kill_on_drop: false }` [INFO] [stdout] 0b56f344353eee8204d722fbde7f5301048049f5f42c232d180941f65786f3a1