[INFO] fetching crate secp256k1-test 0.7.2... [INFO] testing secp256k1-test-0.7.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate secp256k1-test 0.7.2 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate secp256k1-test 0.7.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.3.25 (available: v0.7.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded dirs v1.0.5 [INFO] [stderr] Downloaded constant_time_eq v0.1.5 [INFO] [stderr] Downloaded redox_users v0.3.5 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded nodrop v0.1.14 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded base64 v0.13.1 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded arrayvec v0.3.25 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded arrayref v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e29f26421d117bad7c35e3bf368b9e8f8ad7779eae4151a6535eaec0bab30f9a [INFO] running `Command { std: "docker" "start" "-a" "e29f26421d117bad7c35e3bf368b9e8f8ad7779eae4151a6535eaec0bab30f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e29f26421d117bad7c35e3bf368b9e8f8ad7779eae4151a6535eaec0bab30f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29f26421d117bad7c35e3bf368b9e8f8ad7779eae4151a6535eaec0bab30f9a", kill_on_drop: false }` [INFO] [stdout] e29f26421d117bad7c35e3bf368b9e8f8ad7779eae4151a6535eaec0bab30f9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 479873a0c19822df279dfa635688df81fb714813db43fe527d8c283bd5383622 [INFO] running `Command { std: "docker" "start" "-a" "479873a0c19822df279dfa635688df81fb714813db43fe527d8c283bd5383622", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [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] Compiling rand v0.4.6 [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 7.49s [INFO] running `Command { std: "docker" "inspect" "479873a0c19822df279dfa635688df81fb714813db43fe527d8c283bd5383622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479873a0c19822df279dfa635688df81fb714813db43fe527d8c283bd5383622", kill_on_drop: false }` [INFO] [stdout] 479873a0c19822df279dfa635688df81fb714813db43fe527d8c283bd5383622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fd9640edec9342daaad380f31975e7b9aae16493f79ca340df0bc857ea65c18 [INFO] running `Command { std: "docker" "start" "-a" "9fd9640edec9342daaad380f31975e7b9aae16493f79ca340df0bc857ea65c18", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: secp256k1-test@0.7.2: In file included from depend/secp256k1/src/secp256k1.c:15: [INFO] [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 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] [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] [stderr] Compiling secp256k1-test v0.7.2 (/opt/rustwide/workdir) [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] [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.35s [INFO] running `Command { std: "docker" "inspect" "9fd9640edec9342daaad380f31975e7b9aae16493f79ca340df0bc857ea65c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fd9640edec9342daaad380f31975e7b9aae16493f79ca340df0bc857ea65c18", kill_on_drop: false }` [INFO] [stdout] 9fd9640edec9342daaad380f31975e7b9aae16493f79ca340df0bc857ea65c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5966d9709cd301d3c6bf461d4aa7a76b2c4577d336b5f96e96d0f8dd287ca24 [INFO] running `Command { std: "docker" "start" "-a" "e5966d9709cd301d3c6bf461d4aa7a76b2c4577d336b5f96e96d0f8dd287ca24", 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] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | impl_array_newtype!(RecoverableSignature, c_uchar, 65); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | pub unsafe fn blank() -> Signature { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:78:22 [INFO] [stderr] | [INFO] [stderr] 78 | pub struct Signature([c_uchar; 64]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::RecoverableSignature` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:99:53 [INFO] [stderr] | [INFO] [stderr] 99 | pub unsafe fn blank() -> RecoverableSignature { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:84:33 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct RecoverableSignature([c_uchar; 65]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/ffi.rs:105:1 [INFO] [stderr] | [INFO] [stderr] 105 | impl_array_newtype!(SharedSecret, c_uchar, 32); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `ffi::SharedSecret` does not permit being left uninitialized [INFO] [stderr] --> src/ffi.rs:112:45 [INFO] [stderr] | [INFO] [stderr] 112 | pub unsafe fn blank() -> SharedSecret { mem::uninitialized() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/ffi.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | pub struct SharedSecret([c_uchar; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a static [INFO] [stderr] --> src/ffi.rs:116:5 [INFO] [stderr] | [INFO] [stderr] 116 | pub static secp256k1_nonce_function_rfc6979: NonceFn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a static [INFO] [stderr] --> src/ffi.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | pub static secp256k1_nonce_function_default: NonceFn; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn secp256k1_context_create(flags: c_uint) -> *mut Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn secp256k1_context_clone(cx: *mut Context) -> *mut Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:125:5 [INFO] [stderr] | [INFO] [stderr] 125 | pub fn secp256k1_context_destroy(cx: *mut Context); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | / pub fn secp256k1_context_randomize(cx: *mut Context, [INFO] [stderr] 128 | | seed32: *const c_uchar) [INFO] [stderr] 129 | | -> c_int; [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:139:5 [INFO] [stderr] | [INFO] [stderr] 139 | / pub fn secp256k1_ec_pubkey_parse(cx: *const Context, pk: *mut PublicKey, [INFO] [stderr] 140 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 141 | | -> c_int; [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | / pub fn secp256k1_ec_pubkey_serialize(cx: *const Context, output: *const c_uchar, [INFO] [stderr] 144 | | out_len: *mut size_t, pk: *const PublicKey [INFO] [stderr] 145 | | , compressed: c_uint) [INFO] [stderr] 146 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | / pub fn secp256k1_ecdsa_signature_parse_der(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 150 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 151 | | -> c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:153:5 [INFO] [stderr] | [INFO] [stderr] 153 | / pub fn secp256k1_ecdsa_signature_parse_compact(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 154 | | input64: *const c_uchar) [INFO] [stderr] 155 | | -> c_int; [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | / pub fn ecdsa_signature_parse_der_lax(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 158 | | input: *const c_uchar, in_len: size_t) [INFO] [stderr] 159 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:161:5 [INFO] [stderr] | [INFO] [stderr] 161 | / pub fn secp256k1_ecdsa_signature_serialize_der(cx: *const Context, output: *const c_uchar, [INFO] [stderr] 162 | | out_len: *mut size_t, sig: *const Signature) [INFO] [stderr] 163 | | -> c_int; [INFO] [stderr] | |____________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | / pub fn secp256k1_ecdsa_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stderr] 166 | | sig: *const Signature) [INFO] [stderr] 167 | | -> c_int; [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | / pub fn secp256k1_ecdsa_recoverable_signature_parse_compact(cx: *const Context, sig: *mut RecoverableSignature, [INFO] [stderr] 170 | | input64: *const c_uchar, recid: c_int) [INFO] [stderr] 171 | | -> c_int; [INFO] [stderr] | |________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | / pub fn secp256k1_ecdsa_recoverable_signature_serialize_compact(cx: *const Context, output64: *const c_uchar, [INFO] [stderr] 174 | | recid: *mut c_int, sig: *const RecoverableSignature) [INFO] [stderr] 175 | | -> c_int; [INFO] [stderr] | |____________________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:177:5 [INFO] [stderr] | [INFO] [stderr] 177 | / pub fn secp256k1_ecdsa_recoverable_signature_convert(cx: *const Context, sig: *mut Signature, [INFO] [stderr] 178 | | input: *const RecoverableSignature) [INFO] [stderr] 179 | | -> c_int; [INFO] [stderr] | |__________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:181:5 [INFO] [stderr] | [INFO] [stderr] 181 | / pub fn secp256k1_ecdsa_signature_normalize(cx: *const Context, out_sig: *mut Signature, [INFO] [stderr] 182 | | in_sig: *const Signature) [INFO] [stderr] 183 | | -> c_int; [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | / pub fn secp256k1_ecdsa_verify(cx: *const Context, [INFO] [stderr] 187 | | sig: *const Signature, [INFO] [stderr] 188 | | msg32: *const c_uchar, [INFO] [stderr] 189 | | pk: *const PublicKey) [INFO] [stderr] 190 | | -> c_int; [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:192:5 [INFO] [stderr] | [INFO] [stderr] 192 | / pub fn secp256k1_ecdsa_sign(cx: *const Context, [INFO] [stderr] 193 | | sig: *mut Signature, [INFO] [stderr] 194 | | msg32: *const c_uchar, [INFO] [stderr] 195 | | sk: *const c_uchar, [INFO] [stderr] 196 | | noncefn: NonceFn, [INFO] [stderr] 197 | | noncedata: *const c_void) [INFO] [stderr] 198 | | -> c_int; [INFO] [stderr] | |_________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | / pub fn secp256k1_ecdsa_sign_recoverable(cx: *const Context, [INFO] [stderr] 201 | | sig: *mut RecoverableSignature, [INFO] [stderr] 202 | | msg32: *const c_uchar, [INFO] [stderr] 203 | | sk: *const c_uchar, [INFO] [stderr] 204 | | noncefn: NonceFn, [INFO] [stderr] 205 | | noncedata: *const c_void) [INFO] [stderr] 206 | | -> c_int; [INFO] [stderr] | |_____________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:208:5 [INFO] [stderr] | [INFO] [stderr] 208 | / pub fn secp256k1_ecdsa_recover(cx: *const Context, [INFO] [stderr] 209 | | pk: *mut PublicKey, [INFO] [stderr] 210 | | sig: *const RecoverableSignature, [INFO] [stderr] 211 | | msg32: *const c_uchar) [INFO] [stderr] 212 | | -> c_int; [INFO] [stderr] | |____________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 215 | / pub fn secp256k1_schnorr_sign(cx: *const Context, [INFO] [stderr] 216 | | sig64: *mut c_uchar, [INFO] [stderr] 217 | | msg32: *const c_uchar, [INFO] [stderr] 218 | | sk: *const c_uchar, [INFO] [stderr] 219 | | noncefn: NonceFn, [INFO] [stderr] 220 | | noncedata: *const c_void) [INFO] [stderr] 221 | | -> c_int; [INFO] [stderr] | |___________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | / pub fn secp256k1_schnorr_verify(cx: *const Context, [INFO] [stderr] 224 | | sig64: *const c_uchar, [INFO] [stderr] 225 | | msg32: *const c_uchar, [INFO] [stderr] 226 | | pk: *const PublicKey) [INFO] [stderr] 227 | | -> c_int; [INFO] [stderr] | |_____________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | / pub fn secp256k1_schnorr_recover(cx: *const Context, [INFO] [stderr] 230 | | pk: *mut PublicKey, [INFO] [stderr] 231 | | sig64: *const c_uchar, [INFO] [stderr] 232 | | msg32: *const c_uchar) [INFO] [stderr] 233 | | -> c_int; [INFO] [stderr] | |______________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | / pub fn secp256k1_ec_seckey_verify(cx: *const Context, [INFO] [stderr] 237 | | sk: *const c_uchar) -> c_int; [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:239:5 [INFO] [stderr] | [INFO] [stderr] 239 | / pub fn secp256k1_ec_pubkey_create(cx: *const Context, pk: *mut PublicKey, [INFO] [stderr] 240 | | sk: *const c_uchar) -> c_int; [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 245 | / pub fn secp256k1_ec_privkey_tweak_add(cx: *const Context, [INFO] [stderr] 246 | | sk: *mut c_uchar, [INFO] [stderr] 247 | | tweak: *const c_uchar) [INFO] [stderr] 248 | | -> c_int; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:250:5 [INFO] [stderr] | [INFO] [stderr] 250 | / pub fn secp256k1_ec_pubkey_tweak_add(cx: *const Context, [INFO] [stderr] 251 | | pk: *mut PublicKey, [INFO] [stderr] 252 | | tweak: *const c_uchar) [INFO] [stderr] 253 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:255:5 [INFO] [stderr] | [INFO] [stderr] 255 | / pub fn secp256k1_ec_privkey_tweak_mul(cx: *const Context, [INFO] [stderr] 256 | | sk: *mut c_uchar, [INFO] [stderr] 257 | | tweak: *const c_uchar) [INFO] [stderr] 258 | | -> c_int; [INFO] [stderr] | |___________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | / pub fn secp256k1_ec_pubkey_tweak_mul(cx: *const Context, [INFO] [stderr] 261 | | pk: *mut PublicKey, [INFO] [stderr] 262 | | tweak: *const c_uchar) [INFO] [stderr] 263 | | -> c_int; [INFO] [stderr] | |__________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:265:5 [INFO] [stderr] | [INFO] [stderr] 265 | / pub fn secp256k1_ec_pubkey_combine(cx: *const Context, [INFO] [stderr] 266 | | out: *mut PublicKey, [INFO] [stderr] 267 | | ins: *const *const PublicKey, [INFO] [stderr] 268 | | n: c_int) [INFO] [stderr] 269 | | -> c_int; [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/ffi.rs:271:5 [INFO] [stderr] | [INFO] [stderr] 271 | / pub fn secp256k1_ecdh(cx: *const Context, [INFO] [stderr] 272 | | out: *mut SharedSecret, [INFO] [stderr] 273 | | point: *const PublicKey, [INFO] [stderr] 274 | | scalar: *const c_uchar) [INFO] [stderr] 275 | | -> c_int; [INFO] [stderr] | |___________________________________^ [INFO] [stderr] [INFO] [stderr] warning: the type `SecretKey` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/key.rs:30:22 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct SecretKey([u8; constants::SECRET_KEY_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 32]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/key.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE); [INFO] [stderr] | -------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:239:82 [INFO] [stderr] | [INFO] [stderr] 239 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 33]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:248:80 [INFO] [stderr] | [INFO] [stderr] 248 | let mut ret: [u8; constants::COMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 65]` does not permit being left uninitialized [INFO] [stderr] --> src/key.rs:297:82 [INFO] [stderr] | [INFO] [stderr] 297 | let mut ret: [u8; constants::UNCOMPRESSED_PUBLIC_KEY_SIZE] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:60:43 [INFO] [stderr] | [INFO] [stderr] 60 | let mut ret: $thing = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/schnorr.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:129:56 [INFO] [stderr] | [INFO] [stderr] 129 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/macros.rs:166:56 [INFO] [stderr] | [INFO] [stderr] 166 | ... let mut ret: [$ty; $len] = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] ::: src/schnorr.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | impl_array_newtype!(Signature, u8, constants::SCHNORR_SIGNATURE_SIZE); [INFO] [stderr] | --------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `impl_array_newtype` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `schnorr::Signature` does not permit being left uninitialized [INFO] [stderr] --> src/schnorr.rs:57:43 [INFO] [stderr] | [INFO] [stderr] 57 | let mut ret: Signature = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] note: integers must be initialized (in this struct field) [INFO] [stderr] --> src/schnorr.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct Signature([u8; constants::SCHNORR_SIGNATURE_SIZE]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `secp256k1-test` (lib) generated 139 warnings (run `cargo fix --lib -p secp256k1-test` to apply 1 suggestion) [INFO] [stderr] warning: `secp256k1-test` (lib test) generated 139 warnings (139 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/secp256k1_test-bf4a88668e2ff310) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test key::test::test_bad_serde_deserialize ... ok [INFO] [stdout] test key::test::test_bad_deserialize ... ok [INFO] [stdout] test ecdh::tests::ecdh ... ok [INFO] [stdout] test key::test::skey_from_slice ... ok [INFO] [stderr] [INFO] [stderr] thread 'key::test::test_serialize' (41) 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: 0x5d5424c1f382 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5d5424c1f382 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5d5424c1f382 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5d5424c1f382 - ::fmt::hff1a9408d012ee89 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5d5424c430af - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5d5424c430af - core::fmt::write::h2f1fc679f228cc52 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x5d5424c0e793 - std::io::default_write_fmt::hdd5e6d67566e664d [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5d5424c0e793 - std::io::Write::write_fmt::haa2231cbd9aebf95 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5d5424c1f1d2 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5d5424c0a7cc - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5d5424c0a611 - std::panicking::default_hook::h43da101644971931 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5d5424b5f29e - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 12: 0x5d5424b5f29e - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5d5424c0add3 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stderr] 14: 0x5d5424c0add3 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5d5424c1ed26 - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5d5424c1ecb9 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5d5424c0b3fd - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5d5424c4938d - core::panicking::panic_nounwind_fmt::runtime::hfdf11e78ca5c7d79 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:117:22 [INFO] [stderr] 19: 0x5d5424c4938d - core::panicking::panic_nounwind_fmt::hfe299d8bebaba346 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/intrinsics/mod.rs:2361:9 [INFO] [stderr] 20: 0x5d5424b1ec0c - >::get_unchecked_mut::precondition_check::h413750832e24d184 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ub_checks.rs:72:21 [INFO] [stderr] 21: 0x5d5424b1ed29 - >::get_unchecked_mut::hcdd384dc25cff81c [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ub_checks.rs:77:17 [INFO] [stderr] 22: 0x5d5424b10598 - core::slice::::get_unchecked_mut::ha3e2bb99cef37fe2 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/mod.rs:689:30 [INFO] [stderr] 23: 0x5d5424b1ea6d - arrayvec::ArrayVec::pop::h24c5fdf804c520a8 [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: 0x5d5424b1e8f8 - arrayvec::ArrayVec::clear::h8d5653404781c030 [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: 0x5d5424b1eaaa - as core::ops::drop::Drop>::drop::hf13aa64ee1e09211 [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: 0x5d5424b11de3 - core::ptr::drop_in_place>::h6ff785f83890abf1 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ptr/mod.rs:804:1 [INFO] [stderr] 27: 0x5d5424b35c3b - ::encode::hed3d50d266a617ee [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:274:5 [INFO] [stderr] 28: 0x5d5424b33add - secp256k1_test::key::test::test_serialize::haab764ab876ffa18 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:488:27 [INFO] [stderr] 29: 0x5d5424b31697 - secp256k1_test::key::test::test_serialize::{{closure}}::h40a593c2de492cb6 [INFO] [stderr] at /opt/rustwide/workdir/src/key.rs:478:24 [INFO] [stderr] 30: 0x5d5424b11f06 - core::ops::function::FnOnce::call_once::h04749b4d93f70b68 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 31: 0x5d5424b647db - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 32: 0x5d5424b647db - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stderr] 33: 0x5d5424b679d5 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stderr] 34: 0x5d5424b679d5 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 35: 0x5d5424b679d5 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stderr] 36: 0x5d5424b679d5 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stderr] 37: 0x5d5424b679d5 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stderr] 38: 0x5d5424b679d5 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stderr] 39: 0x5d5424b679d5 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stderr] 40: 0x5d5424b8d384 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stderr] 41: 0x5d5424b8d384 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 42: 0x5d5424b73f9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stderr] 43: 0x5d5424b73f9a - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stderr] 44: 0x5d5424b73f9a - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stderr] 45: 0x5d5424b73f9a - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stderr] 46: 0x5d5424b73f9a - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stderr] 47: 0x5d5424b73f9a - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stderr] 48: 0x5d5424b73f9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 49: 0x5d5424bf59cf - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stderr] 50: 0x5d5424bf59cf - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stderr] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stderr] 51: 0x71a2ff043aa4 - [INFO] [stderr] 52: 0x71a2ff0d0a34 - clone [INFO] [stderr] 53: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/secp256k1_test-bf4a88668e2ff310` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "e5966d9709cd301d3c6bf461d4aa7a76b2c4577d336b5f96e96d0f8dd287ca24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5966d9709cd301d3c6bf461d4aa7a76b2c4577d336b5f96e96d0f8dd287ca24", kill_on_drop: false }` [INFO] [stdout] e5966d9709cd301d3c6bf461d4aa7a76b2c4577d336b5f96e96d0f8dd287ca24