[INFO] fetching crate milagro-crypto 0.1.14... [INFO] checking milagro-crypto-0.1.14 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate milagro-crypto 0.1.14 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate milagro-crypto 0.1.14 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d57e9320b67a6f8b04650eabf3deb8e60b3a0e25828e59f307473f5195318378 [INFO] running `Command { std: "docker" "start" "-a" "d57e9320b67a6f8b04650eabf3deb8e60b3a0e25828e59f307473f5195318378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d57e9320b67a6f8b04650eabf3deb8e60b3a0e25828e59f307473f5195318378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57e9320b67a6f8b04650eabf3deb8e60b3a0e25828e59f307473f5195318378", kill_on_drop: false }` [INFO] [stdout] d57e9320b67a6f8b04650eabf3deb8e60b3a0e25828e59f307473f5195318378 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3c71674425296b32fd5f4f83bd8f02590beb5e17d1f30ab9bffc89bfa86368e [INFO] running `Command { std: "docker" "start" "-a" "c3c71674425296b32fd5f4f83bd8f02590beb5e17d1f30ab9bffc89bfa86368e", 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.175 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking 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: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/big/wrappers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/randapi/wrappers.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ff/wrappers.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/hash/wrappers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/fp2/wrappers.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/fp12/wrappers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ecp/wrappers.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ecp2/wrappers.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pair/wrappers.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/randapi/wrappers.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `milagro-crypto` (lib) due to 4 previous errors; 27 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/big/wrappers.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this error originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/randapi/wrappers.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ff/wrappers.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `FF_ZERO` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/hash/wrappers.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/fp2/wrappers.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/fp12/wrappers.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ecp/wrappers.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/ecp2/wrappers.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/pair/wrappers.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/randapi/wrappers.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet { [INFO] [stdout] | ^^^^^ ----- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `milagro-crypto` (lib test) due to 20 previous errors; 34 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c3c71674425296b32fd5f4f83bd8f02590beb5e17d1f30ab9bffc89bfa86368e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c71674425296b32fd5f4f83bd8f02590beb5e17d1f30ab9bffc89bfa86368e", kill_on_drop: false }` [INFO] [stdout] c3c71674425296b32fd5f4f83bd8f02590beb5e17d1f30ab9bffc89bfa86368e