[INFO] fetching crate secp256k1-test 0.7.2... [INFO] testing secp256k1-test-0.7.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate secp256k1-test 0.7.2 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secp256k1-test 0.7.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.3.25 (available: v0.7.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bcc8e971cc3193db0dc218433c29554c43c306d0f69e08b972801cd49ba5dab [INFO] running `Command { std: "docker" "start" "-a" "0bcc8e971cc3193db0dc218433c29554c43c306d0f69e08b972801cd49ba5dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bcc8e971cc3193db0dc218433c29554c43c306d0f69e08b972801cd49ba5dab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcc8e971cc3193db0dc218433c29554c43c306d0f69e08b972801cd49ba5dab", kill_on_drop: false }` [INFO] [stdout] 0bcc8e971cc3193db0dc218433c29554c43c306d0f69e08b972801cd49ba5dab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 18fb7d1af4c0b27bf4e7d70f7544eaad1cf1c5d4db3e59662ca85bb51b59e137 [INFO] running `Command { std: "docker" "start" "-a" "18fb7d1af4c0b27bf4e7d70f7544eaad1cf1c5d4db3e59662ca85bb51b59e137", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling arrayvec v0.3.25 [INFO] [stderr] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `gcc::Config`: gcc::Config has been renamed to gcc::Build [INFO] [stdout] --> build.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `gcc::Build::new`: crate has been renamed to `cc`, the `gcc` name is not maintained [INFO] [stdout] --> build.rs:27:40 [INFO] [stdout] | [INFO] [stdout] 27 | let mut base_config = gcc::Config::new(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/secp256k1.c:15: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/group_impl.h:219:12: warning: 'secp256k1_gej_is_valid_var' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 219 | static int secp256k1_gej_is_valid_var(const secp256k1_gej *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/field_impl.h:17, [INFO] [stderr] warning: secp256k1-test@0.7.2: from depend/secp256k1/src/secp256k1.c:13: [INFO] [stderr] warning: secp256k1-test@0.7.2: depend/secp256k1/src/field_10x26_impl.h:44:13: warning: 'secp256k1_fe_verify' defined but not used [-Wunused-function] [INFO] [stderr] warning: secp256k1-test@0.7.2: 44 | static void secp256k1_fe_verify(const secp256k1_fe *a) { [INFO] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | impl_raw_debug!(PublicKey); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_raw_debug!(Signature); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_raw_debug!(SharedSecret); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:308:55 [INFO] [stdout] | [INFO] [stdout] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:240:55 [INFO] [stdout] | [INFO] [stdout] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:239:87 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:297:87 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/schnorr.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:32 [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&dyn error::Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:232:76 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Message` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/lib.rs:371:20 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct Message([u8; constants::MESSAGE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::PublicKey` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:67:42 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct PublicKey([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:92:42 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:78:22 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:99:53 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:84:33 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stdout] --> src/ffi.rs:112:45 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/ffi.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a static [INFO] [stdout] --> src/ffi.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stdout] 128 | | seed32: *const c_uchar) [INFO] [stdout] 129 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 141 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stdout] 145 | | , compressed: c_uint) [INFO] [stdout] 146 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 151 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 154 | | input64: *const c_uchar) [INFO] [stdout] 155 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stdout] 159 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stdout] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stdout] 163 | | -> c_int; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 166 | | sig: *const Signature) [INFO] [stdout] 167 | | -> c_int; [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stdout] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stdout] 171 | | -> c_int; [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stdout] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stdout] 175 | | -> c_int; [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stdout] 178 | | input: *const RecoverableSignature) [INFO] [stdout] 179 | | -> c_int; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stdout] 182 | | in_sig: *const Signature) [INFO] [stdout] 183 | | -> c_int; [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stdout] 187 | | sig: *const Signature, [INFO] [stdout] 188 | | msg32: *const c_uchar, [INFO] [stdout] 189 | | pk: *const PublicKey) [INFO] [stdout] 190 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stdout] 193 | | sig: *mut Signature, [INFO] [stdout] 194 | | msg32: *const c_uchar, [INFO] [stdout] 195 | | sk: *const c_uchar, [INFO] [stdout] 196 | | noncefn: NonceFn, [INFO] [stdout] 197 | | noncedata: *const c_void) [INFO] [stdout] 198 | | -> c_int; [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stdout] 201 | | sig: *mut RecoverableSignature, [INFO] [stdout] 202 | | msg32: *const c_uchar, [INFO] [stdout] 203 | | sk: *const c_uchar, [INFO] [stdout] 204 | | noncefn: NonceFn, [INFO] [stdout] 205 | | noncedata: *const c_void) [INFO] [stdout] 206 | | -> c_int; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stdout] 209 | | pk: *mut PublicKey, [INFO] [stdout] 210 | | sig: *const RecoverableSignature, [INFO] [stdout] 211 | | msg32: *const c_uchar) [INFO] [stdout] 212 | | -> c_int; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stdout] 216 | | sig64: *mut c_uchar, [INFO] [stdout] 217 | | msg32: *const c_uchar, [INFO] [stdout] 218 | | sk: *const c_uchar, [INFO] [stdout] 219 | | noncefn: NonceFn, [INFO] [stdout] 220 | | noncedata: *const c_void) [INFO] [stdout] 221 | | -> c_int; [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stdout] 224 | | sig64: *const c_uchar, [INFO] [stdout] 225 | | msg32: *const c_uchar, [INFO] [stdout] 226 | | pk: *const PublicKey) [INFO] [stdout] 227 | | -> c_int; [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stdout] 230 | | pk: *mut PublicKey, [INFO] [stdout] 231 | | sig64: *const c_uchar, [INFO] [stdout] 232 | | msg32: *const c_uchar) [INFO] [stdout] 233 | | -> c_int; [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stdout] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stdout] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stdout] 246 | | sk: *mut c_uchar, [INFO] [stdout] 247 | | tweak: *const c_uchar) [INFO] [stdout] 248 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stdout] 251 | | pk: *mut PublicKey, [INFO] [stdout] 252 | | tweak: *const c_uchar) [INFO] [stdout] 253 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stdout] 256 | | sk: *mut c_uchar, [INFO] [stdout] 257 | | tweak: *const c_uchar) [INFO] [stdout] 258 | | -> c_int; [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stdout] 261 | | pk: *mut PublicKey, [INFO] [stdout] 262 | | tweak: *const c_uchar) [INFO] [stdout] 263 | | -> c_int; [INFO] [stdout] | |__________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stdout] 266 | | out: *mut PublicKey, [INFO] [stdout] 267 | | ins: *const *const PublicKey, [INFO] [stdout] 268 | | n: c_int) [INFO] [stdout] 269 | | -> c_int; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ffi.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stdout] 272 | | out: *mut SharedSecret, [INFO] [stdout] 273 | | point: *const PublicKey, [INFO] [stdout] 274 | | scalar: *const c_uchar) [INFO] [stdout] 275 | | -> c_int; [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/key.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:239:82 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:248:80 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:297:82 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/schnorr.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.89s [INFO] running `Command { std: "docker" "inspect" "18fb7d1af4c0b27bf4e7d70f7544eaad1cf1c5d4db3e59662ca85bb51b59e137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fb7d1af4c0b27bf4e7d70f7544eaad1cf1c5d4db3e59662ca85bb51b59e137", kill_on_drop: false }` [INFO] [stdout] 18fb7d1af4c0b27bf4e7d70f7544eaad1cf1c5d4db3e59662ca85bb51b59e137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 257d17b2c6daa3ba5ca820ea8665bd46b6d9eb25510e388d3a25371e7869921d [INFO] running `Command { std: "docker" "start" "-a" "257d17b2c6daa3ba5ca820ea8665bd46b6d9eb25510e388d3a25371e7869921d", 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] [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] [stderr] warning: secp256k1-test@0.7.2: | ^~~~~~~~~~~~~~~~~~~ [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)]` 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] [stderr] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:248:80 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stdout] --> src/key.rs:297:82 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/macros.rs:166:56 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stdout] --> src/schnorr.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] note: integers must be initialized (in this struct field) [INFO] [stdout] --> src/schnorr.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | impl_raw_debug!(PublicKey); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | impl_raw_debug!(Signature); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl_raw_debug!(RecoverableSignature); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | impl_raw_debug!(SharedSecret); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_raw_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_pretty_debug!(SecretKey); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:241:34 [INFO] [stdout] | [INFO] [stdout] 241 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:250:34 [INFO] [stdout] | [INFO] [stdout] 250 | ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:301:45 [INFO] [stdout] | [INFO] [stdout] 301 | let read_ch = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/key.rs:308:55 [INFO] [stdout] | [INFO] [stdout] 308 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | impl_pretty_debug!(Signature); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:40 [INFO] [stdout] | [INFO] [stdout] 235 | ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:240:55 [INFO] [stdout] | [INFO] [stdout] 240 | let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | ... ret[i] = try!(d.read_seq_elt(i, |d| Decodable::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:168:48 [INFO] [stdout] | [INFO] [stdout] 168 | ... ret[i] = match try!(a.next_element()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:173:63 [INFO] [stdout] | [INFO] [stdout] 173 | ... let one_after_last : Option = try!(a.next_element()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | try!(write!(f, "{}(", stringify!($thing))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/macros.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | try!(write!(f, "{:02x}", i)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl_pretty_debug!(Message); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_pretty_debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:547:18 [INFO] [stdout] | [INFO] [stdout] 547 | let pk = try!(key::PublicKey::from_secret_key(self, &sk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/lib.rs:232:81 [INFO] [stdout] | [INFO] [stdout] 232 | let mut ret: [u8; constants::COMPACT_SIGNATURE_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:372:1 [INFO] [stdout] | [INFO] [stdout] 372 | impl_array_newtype!(Message, u8, constants::MESSAGE_SIZE); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:421:35 [INFO] [stdout] | [INFO] [stdout] 421 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | impl_array_newtype!(PublicKey, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub unsafe fn blank() -> PublicKey { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | impl_array_newtype!(Signature, c_uchar, 64); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ffi.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/ffi.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/key.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:239:87 [INFO] [stdout] | [INFO] [stdout] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:248:85 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/key.rs:297:87 [INFO] [stdout] | [INFO] [stdout] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/macros.rs:58:42 [INFO] [stdout] | [INFO] [stdout] 58 | use std::intrinsics::copy_nonoverlapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:129:61 [INFO] [stdout] | [INFO] [stdout] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/macros.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/schnorr.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/schnorr.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:426:32 [INFO] [stdout] | [INFO] [stdout] 426 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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.30s [INFO] running `Command { std: "docker" "inspect" "257d17b2c6daa3ba5ca820ea8665bd46b6d9eb25510e388d3a25371e7869921d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257d17b2c6daa3ba5ca820ea8665bd46b6d9eb25510e388d3a25371e7869921d", kill_on_drop: false }` [INFO] [stdout] 257d17b2c6daa3ba5ca820ea8665bd46b6d9eb25510e388d3a25371e7869921d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6f95d674896107e455b5dd0c3d2f678e0c55c73e73b374d20f4065d18f92fec1 [INFO] running `Command { std: "docker" "start" "-a" "6f95d674896107e455b5dd0c3d2f678e0c55c73e73b374d20f4065d18f92fec1", 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)]` 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] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] running 37 tests [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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/secp256k1_test-021087caee1b27fe) [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' 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: 0x72b272c25f22 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x72b272c25f22 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x72b272c25f22 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x72b272c25f22 - ::fmt::hb62c8ed31943daa5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x72b272c60263 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x72b272c60263 - core::fmt::write::h375399f8cb90b45a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x72b272c23383 - std::io::default_write_fmt::h5b62fa6c96f0f73d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x72b272c23383 - std::io::Write::write_fmt::h8399aff377841b1f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x72b272c25d72 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x72b272c274fc - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x72b272c272ff - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x72b272b9fd44 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] 12: 0x72b272b9fd44 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x72b272c27f63 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stderr] 14: 0x72b272c27f63 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stderr] 15: 0x72b272c27c16 - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:699:13 [INFO] [stderr] 16: 0x72b272c26429 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 17: 0x72b272c278dd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 18: 0x72b272b1a4ed - core::panicking::panic_nounwind_fmt::runtime::h4165f4309fca3550 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x72b272b1a4ed - core::panicking::panic_nounwind_fmt::h4e78be162f75f82d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/intrinsics/mod.rs:2340:9 [INFO] [stderr] 20: 0x72b272b25a7c - >::get_unchecked_mut::precondition_check::hfe50a6f602f61a91 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ub_checks.rs:72:21 [INFO] [stderr] 21: 0x72b272b259c9 - >::get_unchecked_mut::h5eb09eaf367bbd1b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ub_checks.rs:77:17 [INFO] [stderr] 22: 0x72b272b1c678 - core::slice::::get_unchecked_mut::h0aece700bb4aece7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/slice/mod.rs:687:30 [INFO] [stderr] 23: 0x72b272b2c81d - arrayvec::ArrayVec::pop::hf525da26934cfbc2 [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: 0x72b272b2c868 - arrayvec::ArrayVec::clear::h61e387684b29f2e4 [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: 0x72b272b2c01a - as core::ops::drop::Drop>::drop::h0d1398c418fde904 [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: 0x72b272b22d63 - core::ptr::drop_in_place>::hfc206be3c566ce51 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ptr/mod.rs:799:1 [INFO] [stderr] 27: 0x72b272b35e01 - secp256k1_test::key::test::keypair_slice_round_trip::h54835ae84139a125 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:384:9 [INFO] [stderr] 28: 0x72b272b359b7 - secp256k1_test::key::test::keypair_slice_round_trip::{{closure}}::h36d97a0e245ec6b5 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:379:34 [INFO] [stderr] 29: 0x72b272b21466 - core::ops::function::FnOnce::call_once::h4ec61a67dd9e0c10 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 30: 0x72b272ba543b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 31: 0x72b272ba543b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stderr] 32: 0x72b272ba46ae - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stderr] 33: 0x72b272ba46ae - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 34: 0x72b272ba46ae - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 35: 0x72b272ba46ae - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 36: 0x72b272ba46ae - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 37: 0x72b272ba46ae - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stderr] 38: 0x72b272ba46ae - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stderr] 39: 0x72b272b69534 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stderr] 40: 0x72b272b69534 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 41: 0x72b272b6cd2a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 42: 0x72b272b6cd2a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 43: 0x72b272b6cd2a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 44: 0x72b272b6cd2a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 45: 0x72b272b6cd2a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 46: 0x72b272b6cd2a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 47: 0x72b272b6cd2a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 48: 0x72b272c2a9b7 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stderr] 49: 0x72b272c2a9b7 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stderr] 50: 0x72b272c2a9b7 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [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/x86_64-unknown-linux-musl/debug/deps/secp256k1_test-021087caee1b27fe` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "6f95d674896107e455b5dd0c3d2f678e0c55c73e73b374d20f4065d18f92fec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f95d674896107e455b5dd0c3d2f678e0c55c73e73b374d20f4065d18f92fec1", kill_on_drop: false }` [INFO] [stdout] 6f95d674896107e455b5dd0c3d2f678e0c55c73e73b374d20f4065d18f92fec1