[INFO] fetching crate milagro-crypto 0.1.14... [INFO] building milagro-crypto-0.1.14 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate milagro-crypto 0.1.14 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate milagro-crypto 0.1.14 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94f7b2336f4c3474e000f6851c171d4a195da19aa2736b89de9a4fddc4ff15a9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94f7b2336f4c3474e000f6851c171d4a195da19aa2736b89de9a4fddc4ff15a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94f7b2336f4c3474e000f6851c171d4a195da19aa2736b89de9a4fddc4ff15a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f7b2336f4c3474e000f6851c171d4a195da19aa2736b89de9a4fddc4ff15a9", kill_on_drop: false }` [INFO] [stdout] 94f7b2336f4c3474e000f6851c171d4a195da19aa2736b89de9a4fddc4ff15a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0c6b60d8fc4ee66c0ca3578e70bc780b301e3e26459612b793b347d67ac5df0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0c6b60d8fc4ee66c0ca3578e70bc780b301e3e26459612b793b347d67ac5df0", kill_on_drop: false }` [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] = 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 22.60s [INFO] running `Command { std: "docker" "inspect" "c0c6b60d8fc4ee66c0ca3578e70bc780b301e3e26459612b793b347d67ac5df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c6b60d8fc4ee66c0ca3578e70bc780b301e3e26459612b793b347d67ac5df0", kill_on_drop: false }` [INFO] [stdout] c0c6b60d8fc4ee66c0ca3578e70bc780b301e3e26459612b793b347d67ac5df0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77579ca524786490dd964f7f773667fd31fa51ce10e8d3cc8355715446fe52a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "77579ca524786490dd964f7f773667fd31fa51ce10e8d3cc8355715446fe52a0", kill_on_drop: false }` [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: 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] [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 1.95s [INFO] running `Command { std: "docker" "inspect" "77579ca524786490dd964f7f773667fd31fa51ce10e8d3cc8355715446fe52a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77579ca524786490dd964f7f773667fd31fa51ce10e8d3cc8355715446fe52a0", kill_on_drop: false }` [INFO] [stdout] 77579ca524786490dd964f7f773667fd31fa51ce10e8d3cc8355715446fe52a0