[INFO] fetching crate milagro-crypto 0.1.14... [INFO] building milagro-crypto-0.1.14 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate milagro-crypto 0.1.14 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate milagro-crypto 0.1.14 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate milagro-crypto 0.1.14 [INFO] finished tweaking crates.io crate milagro-crypto 0.1.14 [INFO] tweaked toml for crates.io crate milagro-crypto 0.1.14 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99e2525175f2d4dc78bbedcdd1f79a0bf80c22cd179147fac26b92d23049170 [INFO] running `Command { std: "docker" "start" "-a" "f99e2525175f2d4dc78bbedcdd1f79a0bf80c22cd179147fac26b92d23049170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99e2525175f2d4dc78bbedcdd1f79a0bf80c22cd179147fac26b92d23049170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99e2525175f2d4dc78bbedcdd1f79a0bf80c22cd179147fac26b92d23049170", kill_on_drop: false }` [INFO] [stdout] f99e2525175f2d4dc78bbedcdd1f79a0bf80c22cd179147fac26b92d23049170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a6d0e535308f9ae4b97e554c67d7f6902267e4a6b9de0864c56236196b6381e [INFO] running `Command { std: "docker" "start" "-a" "2a6d0e535308f9ae4b97e554c67d7f6902267e4a6b9de0864c56236196b6381e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/big/wrappers.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] 19 + pub const FEXCESS:chunk = (1 as chunk) << (BASEBITS*(NLEN)-MBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub type chunk = int64_t; // use amcl_build command to get this [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn BIG_toBytes(b: *mut uint8_t, a: *const BIG) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn BIG_fromBytes(a: *mut BIG, b: *const uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | ira: [uint32_t; NK], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | borrow: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | val: &'l uint8_t [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | length: [uint32_t;2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | h: [uint32_t;8], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | w: [uint32_t; 80], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn HASH256_hash(sh: *mut hash256, digest: *mut uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2a6d0e535308f9ae4b97e554c67d7f6902267e4a6b9de0864c56236196b6381e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6d0e535308f9ae4b97e554c67d7f6902267e4a6b9de0864c56236196b6381e", kill_on_drop: false }` [INFO] [stdout] 2a6d0e535308f9ae4b97e554c67d7f6902267e4a6b9de0864c56236196b6381e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb27c103e929aa7f423793ac2dd4697bcc8c82c40ecad402048f264961b52cbb [INFO] running `Command { std: "docker" "start" "-a" "fb27c103e929aa7f423793ac2dd4697bcc8c82c40ecad402048f264961b52cbb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/big/wrappers.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] 19 + pub const FEXCESS:chunk = (1 as chunk) << (BASEBITS*(NLEN)-MBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub type chunk = int64_t; // use amcl_build command to get this [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn BIG_toBytes(b: *mut uint8_t, a: *const BIG) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn BIG_fromBytes(a: *mut BIG, b: *const uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | ira: [uint32_t; NK], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | borrow: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | val: &'l uint8_t [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | length: [uint32_t;2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | h: [uint32_t;8], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | w: [uint32_t; 80], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn HASH256_hash(sh: *mut hash256, digest: *mut uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/big/wrappers.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] 19 + pub const FEXCESS:chunk = (1 as chunk) << (BASEBITS*(NLEN)-MBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 73 | let mut rng: csprng = CSPRNG_INIT!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 59 | let mut x: [BIG; 1] = FF_ZERO!(1); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 60 | let mut y: [BIG; 1] = FF_ZERO!(1); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 61 | let mut z: [BIG; 2] = FF_ZERO!(2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 91 | let mut x: [BIG; 1] = FF_ZERO!(1); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 107 | let mut x: [BIG; 2] = FF_ZERO!(2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 108 | let mut y: [BIG; 2] = FF_ZERO!(2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ff/wrappers.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | [ BIG::default(); $x ]; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 109 | let mut z: [BIG; 4] = FF_ZERO!(4); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, int64_t, uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::int64_t`: Use i64 instead. [INFO] [stdout] --> src/big/wrappers.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub type chunk = int64_t; // use amcl_build command to get this [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn BIG_toBytes(b: *mut uint8_t, a: *const BIG) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/big/wrappers.rs:96:49 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn BIG_fromBytes(a: *mut BIG, b: *const uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:41 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_char, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | ira: [uint32_t; NK], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | borrow: uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | val: &'l uint8_t [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/randapi/wrappers.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let val: [uint8_t; 8] = [0; 8]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ff/wrappers.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | use self::libc::{uint8_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ff/wrappers.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let val: [uint8_t; 32] = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ff/wrappers.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let val: [uint8_t; 32] = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/ff/wrappers.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | let val: [uint8_t; 32] = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use self::libc::{c_int, c_void, uint8_t, uint32_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | length: [uint32_t;2], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | h: [uint32_t;8], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/hash/wrappers.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | w: [uint32_t; 80], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:28:56 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn HASH256_hash(sh: *mut hash256, digest: *mut uint8_t) -> c_void; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let golden: [uint8_t; 32] = [ 0x02, 0x1f, 0xb5, 0x96, 0xdb, 0x81, 0xe6, 0xd0, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `big::libc::uint8_t`: Use u8 instead. [INFO] [stdout] --> src/hash/wrappers.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | let mut digest: [uint8_t; 32] = [0; 32]; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "fb27c103e929aa7f423793ac2dd4697bcc8c82c40ecad402048f264961b52cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb27c103e929aa7f423793ac2dd4697bcc8c82c40ecad402048f264961b52cbb", kill_on_drop: false }` [INFO] [stdout] fb27c103e929aa7f423793ac2dd4697bcc8c82c40ecad402048f264961b52cbb