[INFO] fetching crate milagro-crypto 0.1.14... [INFO] building milagro-crypto-0.1.14 against 1.60.0 for beta-1.61-1 [INFO] extracting crate milagro-crypto 0.1.14 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate milagro-crypto 0.1.14 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-28/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9a5d376c9dc02810311941a0022e1e59872cfc4b4a2dd9a9de9a11c2d2b72a9 [INFO] running `Command { std: "docker" "start" "-a" "b9a5d376c9dc02810311941a0022e1e59872cfc4b4a2dd9a9de9a11c2d2b72a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9a5d376c9dc02810311941a0022e1e59872cfc4b4a2dd9a9de9a11c2d2b72a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a5d376c9dc02810311941a0022e1e59872cfc4b4a2dd9a9de9a11c2d2b72a9", kill_on_drop: false }` [INFO] [stdout] b9a5d376c9dc02810311941a0022e1e59872cfc4b4a2dd9a9de9a11c2d2b72a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b99de4ca4bd700fef9823caabb7b8e934c5d08c48b8a2f226ee3d377bd2b6a [INFO] running `Command { std: "docker" "start" "-a" "13b99de4ca4bd700fef9823caabb7b8e934c5d08c48b8a2f226ee3d377bd2b6a", kill_on_drop: false }` [INFO] [stderr] Compiling milagro-crypto v0.1.14 (/opt/rustwide/workdir) [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.67s [INFO] running `Command { std: "docker" "inspect" "13b99de4ca4bd700fef9823caabb7b8e934c5d08c48b8a2f226ee3d377bd2b6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b99de4ca4bd700fef9823caabb7b8e934c5d08c48b8a2f226ee3d377bd2b6a", kill_on_drop: false }` [INFO] [stdout] 13b99de4ca4bd700fef9823caabb7b8e934c5d08c48b8a2f226ee3d377bd2b6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2577fcc505d026ec90a165c8061f6efb7fdc87956ace2e6d7e8ea16baea3117 [INFO] running `Command { std: "docker" "start" "-a" "e2577fcc505d026ec90a165c8061f6efb7fdc87956ace2e6d7e8ea16baea3117", kill_on_drop: false }` [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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] [stdout] warning: 19 warnings emitted [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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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] 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/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/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: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] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "e2577fcc505d026ec90a165c8061f6efb7fdc87956ace2e6d7e8ea16baea3117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2577fcc505d026ec90a165c8061f6efb7fdc87956ace2e6d7e8ea16baea3117", kill_on_drop: false }` [INFO] [stdout] e2577fcc505d026ec90a165c8061f6efb7fdc87956ace2e6d7e8ea16baea3117