[INFO] fetching crate secp256k1-test 0.7.2... [INFO] testing secp256k1-test-0.7.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-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 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fa8bb6e2c7cc13f94b6c5a4375af7290f6e2f5023425a9a9953c6a9a9e3e08f [INFO] running `Command { std: "docker" "start" "-a" "3fa8bb6e2c7cc13f94b6c5a4375af7290f6e2f5023425a9a9953c6a9a9e3e08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa8bb6e2c7cc13f94b6c5a4375af7290f6e2f5023425a9a9953c6a9a9e3e08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa8bb6e2c7cc13f94b6c5a4375af7290f6e2f5023425a9a9953c6a9a9e3e08f", kill_on_drop: false }` [INFO] [stdout] 3fa8bb6e2c7cc13f94b6c5a4375af7290f6e2f5023425a9a9953c6a9a9e3e08f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c244c4c906c7d3d11a130a652ba14bc17f3a16c526ddae954f9affb9161f9503 [INFO] running `Command { std: "docker" "start" "-a" "c244c4c906c7d3d11a130a652ba14bc17f3a16c526ddae954f9affb9161f9503", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling serde v1.0.228 [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 2.60s [INFO] running `Command { std: "docker" "inspect" "c244c4c906c7d3d11a130a652ba14bc17f3a16c526ddae954f9affb9161f9503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c244c4c906c7d3d11a130a652ba14bc17f3a16c526ddae954f9affb9161f9503", kill_on_drop: false }` [INFO] [stdout] c244c4c906c7d3d11a130a652ba14bc17f3a16c526ddae954f9affb9161f9503 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24b80008cf0545feb5595dc46bf60e42412f0826f2cd4c84ba1c93fc74ebf751 [INFO] running `Command { std: "docker" "start" "-a" "24b80008cf0545feb5595dc46bf60e42412f0826f2cd4c84ba1c93fc74ebf751", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [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.25s [INFO] running `Command { std: "docker" "inspect" "24b80008cf0545feb5595dc46bf60e42412f0826f2cd4c84ba1c93fc74ebf751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24b80008cf0545feb5595dc46bf60e42412f0826f2cd4c84ba1c93fc74ebf751", kill_on_drop: false }` [INFO] [stdout] 24b80008cf0545feb5595dc46bf60e42412f0826f2cd4c84ba1c93fc74ebf751 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd7bc6ad0f6aaf4e4348f5e17c33159834d07c7593f69fdc7b8285016bd2986c [INFO] running `Command { std: "docker" "start" "-a" "bd7bc6ad0f6aaf4e4348f5e17c33159834d07c7593f69fdc7b8285016bd2986c", 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.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secp256k1_test-bf4a88668e2ff310) [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] [stderr] [INFO] [stderr] thread 'key::test::keypair_slice_round_trip' (27) 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: 0x5fa14058faa2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5fa14058faa2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5fa14058faa2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5fa14058faa2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5fa1405a062f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5fa1405a062f - core::fmt::write::hcd056e06a609f600 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5fa14055ca11 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5fa14055ca11 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5fa140568ae2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5fa14056d68f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5fa14056d4e9 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5fa1404d9e0e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 12: 0x5fa1404d9e0e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5fa14056dd4f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stderr] 14: 0x5fa14056dd4f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5fa14056db76 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5fa140568c29 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5fa140550f0d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5fa1405a813d - core::panicking::panic_nounwind_fmt::runtime::h4ec66813e41e0d5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:120:22 [INFO] [stderr] 19: 0x5fa1405a813d - core::panicking::panic_nounwind_fmt::h104e567e1186279f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/intrinsics/mod.rs:2435:9 [INFO] [stderr] 20: 0x5fa140473edc - >::get_unchecked_mut::precondition_check::h3ceb9aaa1bff98cb [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ub_checks.rs:73:21 [INFO] [stderr] 21: 0x5fa140473e29 - >::get_unchecked_mut::h11cedbeeb717ecb9 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ub_checks.rs:78:17 [INFO] [stderr] 22: 0x5fa1404790a8 - core::slice::::get_unchecked_mut::h59ee42ce26d9e62f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/slice/mod.rs:689:30 [INFO] [stderr] 23: 0x5fa1404810ad - arrayvec::ArrayVec::pop::hc2ef9727c129cf34 [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: 0x5fa1404810f8 - arrayvec::ArrayVec::clear::h05ca262418b424e3 [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: 0x5fa1404808ba - as core::ops::drop::Drop>::drop::h78c708116bd2a8b5 [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: 0x5fa1404788d3 - core::ptr::drop_in_place>::h5f5381f28642d44b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ptr/mod.rs:804:1 [INFO] [stderr] 27: 0x5fa14048bac5 - secp256k1_test::key::test::keypair_slice_round_trip::h28f177edeb81a995 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:384:9 [INFO] [stderr] 28: 0x5fa14048bc87 - secp256k1_test::key::test::keypair_slice_round_trip::{{closure}}::h6c60f8d54bf409b4 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:379:34 [INFO] [stderr] 29: 0x5fa140478266 - core::ops::function::FnOnce::call_once::ha09bb2d409b37844 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 30: 0x5fa1404d9beb - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 31: 0x5fa1404d9beb - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stderr] 32: 0x5fa1404ef815 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stderr] 33: 0x5fa1404ef815 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 34: 0x5fa1404ef815 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 35: 0x5fa1404ef815 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 36: 0x5fa1404ef815 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 37: 0x5fa1404ef815 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stderr] 38: 0x5fa1404ef815 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stderr] 39: 0x5fa1404c6024 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stderr] 40: 0x5fa1404c6024 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 41: 0x5fa1404c99ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 42: 0x5fa1404c99ca - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 43: 0x5fa1404c99ca - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 44: 0x5fa1404c99ca - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 45: 0x5fa1404c99ca - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stderr] 46: 0x5fa1404c99ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 47: 0x5fa1404c99ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 48: 0x5fa140563d5f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stderr] 49: 0x5fa140563d5f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stderr] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stderr] 50: 0x7973a043eaa4 - [INFO] [stderr] 51: 0x7973a04cba34 - 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-bf4a88668e2ff310` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "bd7bc6ad0f6aaf4e4348f5e17c33159834d07c7593f69fdc7b8285016bd2986c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd7bc6ad0f6aaf4e4348f5e17c33159834d07c7593f69fdc7b8285016bd2986c", kill_on_drop: false }` [INFO] [stdout] bd7bc6ad0f6aaf4e4348f5e17c33159834d07c7593f69fdc7b8285016bd2986c