[INFO] fetching crate milagro-crypto 0.1.14... [INFO] building milagro-crypto-0.1.14 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate milagro-crypto 0.1.14 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate milagro-crypto 0.1.14 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f8e0e403eb8304b1bb3c50824d5097fad8557c1de0eb8cb56c29a0c295e9de7 [INFO] running `Command { std: "docker" "start" "-a" "7f8e0e403eb8304b1bb3c50824d5097fad8557c1de0eb8cb56c29a0c295e9de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f8e0e403eb8304b1bb3c50824d5097fad8557c1de0eb8cb56c29a0c295e9de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8e0e403eb8304b1bb3c50824d5097fad8557c1de0eb8cb56c29a0c295e9de7", kill_on_drop: false }` [INFO] [stdout] 7f8e0e403eb8304b1bb3c50824d5097fad8557c1de0eb8cb56c29a0c295e9de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7f1641edca3a03c4dc01f21b1aa012a20e8672ee27dfd947d69297efb9beb554 [INFO] running `Command { std: "docker" "start" "-a" "7f1641edca3a03c4dc01f21b1aa012a20e8672ee27dfd947d69297efb9beb554", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: `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] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: milagro-crypto v0.1.14 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7f1641edca3a03c4dc01f21b1aa012a20e8672ee27dfd947d69297efb9beb554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f1641edca3a03c4dc01f21b1aa012a20e8672ee27dfd947d69297efb9beb554", kill_on_drop: false }` [INFO] [stdout] 7f1641edca3a03c4dc01f21b1aa012a20e8672ee27dfd947d69297efb9beb554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a236797461eebd8bc167e0bbdfe500f006f336df79688048962a1d0d8ad49e21 [INFO] running `Command { std: "docker" "start" "-a" "a236797461eebd8bc167e0bbdfe500f006f336df79688048962a1d0d8ad49e21", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/big/wrappers.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] | ^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 19 - pub const FEXCESS:chunk = ( (1 as chunk) << (BASEBITS*(NLEN)-MBITS)); [INFO] [stdout] 19 + pub const FEXCESS:chunk = (1 as chunk) << (BASEBITS*(NLEN)-MBITS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `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] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `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] [stderr] Compiling milagro-crypto v0.1.14 (/opt/rustwide/workdir) [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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet<'_> { [INFO] [stdout] | ++++ [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: `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] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 32 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/randapi/wrappers.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | CSPRNG_INIT!() [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `CSPRNG_INIT` [INFO] [stdout] = note: this warning originates in the macro `CSPRNG_INIT` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `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: 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: `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: 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: `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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(val: &[u8], size: usize) -> octet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcpQRy7I/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lamcl_pairing" "-lamcl_ecc" "-lamcl_curve" "-lamcl_core" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librand-e68791fb85337c0a.rlib,librand-bba52451ded1fd95.rlib,liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcpQRy7I/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/milagro-crypto-b07c9d0a423848a0/out/pkg/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/milagro_crypto-8bbbf0a6157087e2" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/milagro-crypto-b07c9d0a423848a0/out/pkg/lib/libamcl_pairing.a(fp2.c.o): in function `FP2_output': [INFO] [stdout] fp2.c:(.text+0x3c5): undefined reference to `__printf_chk' [INFO] [stdout] /usr/bin/ld: fp2.c:(.text+0x3e0): undefined reference to `__printf_chk' [INFO] [stdout] /usr/bin/ld: fp2.c:(.text+0x3fb): undefined reference to `__printf_chk' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/milagro-crypto-b07c9d0a423848a0/out/pkg/lib/libamcl_pairing.a(fp2.c.o): in function `FP2_rawoutput': [INFO] [stdout] fp2.c:(.text+0x437): undefined reference to `__printf_chk' [INFO] [stdout] /usr/bin/ld: fp2.c:(.text+0x452): undefined reference to `__printf_chk' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/milagro-crypto-b07c9d0a423848a0/out/pkg/lib/libamcl_pairing.a(fp2.c.o):fp2.c:(.text+0x46f): more undefined references to `__printf_chk' follow [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `milagro-crypto` (lib test) due to 1 previous error; 54 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a236797461eebd8bc167e0bbdfe500f006f336df79688048962a1d0d8ad49e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a236797461eebd8bc167e0bbdfe500f006f336df79688048962a1d0d8ad49e21", kill_on_drop: false }` [INFO] [stdout] a236797461eebd8bc167e0bbdfe500f006f336df79688048962a1d0d8ad49e21