[INFO] cloning repository https://github.com/UndeadRat22/kzg10-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UndeadRat22/kzg10-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndeadRat22%2Fkzg10-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndeadRat22%2Fkzg10-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9222a332cd5b7bfa64a17f1666655b472591db9 [INFO] building UndeadRat22/kzg10-rust against master#ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUndeadRat22%2Fkzg10-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UndeadRat22/kzg10-rust on toolchain ee1c3b385b6673b6ef37d80dfabe048e993c2ae2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/UndeadRat22/kzg10-rust [INFO] finished tweaking git repo https://github.com/UndeadRat22/kzg10-rust [INFO] tweaked toml for git repo https://github.com/UndeadRat22/kzg10-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/UndeadRat22/kzg10-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oorandom v11.1.3 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded semver-parser v0.7.0 [INFO] [stderr] Downloaded rustc_version v0.2.3 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded plotters-svg v0.3.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded hermit-abi v0.1.18 [INFO] [stderr] Downloaded cast v0.2.5 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded proc-macro2 v1.0.26 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded clap v2.33.3 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded syn v1.0.70 [INFO] [stderr] Downloaded serde v1.0.125 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded serde_json v1.0.64 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded plotters-backend v0.3.0 [INFO] [stderr] Downloaded ryu v1.0.5 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded bstr v0.2.15 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded libc v0.2.93 [INFO] [stderr] Downloaded regex-syntax v0.6.23 [INFO] [stderr] Downloaded num_cpus v1.13.0 [INFO] [stderr] Downloaded autocfg v1.0.1 [INFO] [stderr] Downloaded plotters v0.3.0 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded semver v0.9.0 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded criterion v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0766c557035d0774d2e935939aef15b637a0e4839fe876f09420eeeb4f775c5d [INFO] running `Command { std: "docker" "start" "-a" "0766c557035d0774d2e935939aef15b637a0e4839fe876f09420eeeb4f775c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0766c557035d0774d2e935939aef15b637a0e4839fe876f09420eeeb4f775c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0766c557035d0774d2e935939aef15b637a0e4839fe876f09420eeeb4f775c5d", kill_on_drop: false }` [INFO] [stdout] 0766c557035d0774d2e935939aef15b637a0e4839fe876f09420eeeb4f775c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d39769642840dea968e0d6c367dfa0b7ab6946f19f9efd756cfa54a45bf2734 [INFO] running `Command { std: "docker" "start" "-a" "3d39769642840dea968e0d6c367dfa0b7ab6946f19f9efd756cfa54a45bf2734", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling mcl_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the type `Fp` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 436 | common_impl![Fp, mclBnFp_isEqual, mclBnFp_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 444 | str_impl![Fp, 1024, mclBnFp_getStr, mclBnFp_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fp2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 464 | common_impl![Fp2, mclBnFp2_isEqual, mclBnFp2_isZero]; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 471 | str_impl![Fp2, 1024, mclBnFp2_getStr, mclBnFp2_setStr]; [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fr` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 490 | common_impl![Fr, mclBnFr_isEqual, mclBnFr_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | d: [u64; MCLBN_FR_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 498 | str_impl![Fr, 1024, mclBnFr_getStr, mclBnFr_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G1` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 520 | common_impl![G1, mclBnG1_isEqual, mclBnG1_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 528 | str_impl![G1, 1024, mclBnG1_getStr, mclBnG1_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 545 | common_impl![G2, mclBnG2_isEqual, mclBnG2_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 553 | str_impl![G2, 1024, mclBnG2_getStr, mclBnG2_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `GT` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 568 | common_impl![GT, mclBnGT_isEqual, mclBnGT_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 575 | str_impl![GT, 1024, mclBnGT_getStr, mclBnGT_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 628 | get_str_impl![mclBn_getFieldOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 632 | get_str_impl![mclBn_getCurveOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "3d39769642840dea968e0d6c367dfa0b7ab6946f19f9efd756cfa54a45bf2734", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d39769642840dea968e0d6c367dfa0b7ab6946f19f9efd756cfa54a45bf2734", kill_on_drop: false }` [INFO] [stdout] 3d39769642840dea968e0d6c367dfa0b7ab6946f19f9efd756cfa54a45bf2734 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+ee1c3b385b6673b6ef37d80dfabe048e993c2ae2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d3a69fcc15e3e9556e33df6079e7b7a3abf4950feb1265bef40b6f8d140735a [INFO] running `Command { std: "docker" "start" "-a" "3d3a69fcc15e3e9556e33df6079e7b7a3abf4950feb1265bef40b6f8d140735a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cast v0.2.5 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stdout] warning: the type `Fp` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 436 | common_impl![Fp, mclBnFp_isEqual, mclBnFp_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 444 | str_impl![Fp, 1024, mclBnFp_getStr, mclBnFp_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fp2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 464 | common_impl![Fp2, mclBnFp2_isEqual, mclBnFp2_isZero]; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 471 | str_impl![Fp2, 1024, mclBnFp2_getStr, mclBnFp2_setStr]; [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fr` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 490 | common_impl![Fr, mclBnFr_isEqual, mclBnFr_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | d: [u64; MCLBN_FR_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 498 | str_impl![Fr, 1024, mclBnFr_getStr, mclBnFr_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G1` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 520 | common_impl![G1, mclBnG1_isEqual, mclBnG1_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 528 | str_impl![G1, 1024, mclBnG1_getStr, mclBnG1_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 545 | common_impl![G2, mclBnG2_isEqual, mclBnG2_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 553 | str_impl![G2, 1024, mclBnG2_getStr, mclBnG2_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `GT` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 568 | common_impl![GT, mclBnGT_isEqual, mclBnGT_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 575 | str_impl![GT, 1024, mclBnGT_getStr, mclBnGT_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 628 | get_str_impl![mclBn_getFieldOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 632 | get_str_impl![mclBn_getCurveOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling mcl_rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rand::prelude::*` [INFO] [stdout] --> tests/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> tests/test.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | #[allow(non_snake_case)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | ec_test! {G1, Fp, P}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `assert` [INFO] [stdout] --> tests/test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | assert!($P.is_valid()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | ec_test! {G1, Fp, P}; [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `ec_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `allow` [INFO] [stdout] --> tests/test.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | #[allow(non_snake_case)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | ec_test! {G2, Fp2, Q}; [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `allow` will be ignored, since it's applied to the macro invocation `assert` [INFO] [stdout] --> tests/test.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | assert!($P.is_valid()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | ec_test! {G2, Fp2, Q}; [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `ec_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fp` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 436 | common_impl![Fp, mclBnFp_isEqual, mclBnFp_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 444 | str_impl![Fp, 1024, mclBnFp_getStr, mclBnFp_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fp2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 464 | common_impl![Fp2, mclBnFp2_isEqual, mclBnFp2_isZero]; [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 471 | str_impl![Fp2, 1024, mclBnFp2_getStr, mclBnFp2_setStr]; [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `Fr` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 490 | common_impl![Fr, mclBnFr_isEqual, mclBnFr_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:483:5 [INFO] [stdout] | [INFO] [stdout] 483 | d: [u64; MCLBN_FR_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 498 | str_impl![Fr, 1024, mclBnFr_getStr, mclBnFr_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G1` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 520 | common_impl![G1, mclBnG1_isEqual, mclBnG1_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 528 | str_impl![G1, 1024, mclBnG1_getStr, mclBnG1_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `G2` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 545 | common_impl![G2, mclBnG2_isEqual, mclBnG2_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 553 | str_impl![G2, 1024, mclBnG2_getStr, mclBnG2_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `GT` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | std::mem::MaybeUninit::uninit().assume_init() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 568 | common_impl![GT, mclBnGT_isEqual, mclBnGT_isZero]; [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: integers must not be uninitialized (in this struct field) [INFO] [stdout] --> src/lib.rs:429:5 [INFO] [stdout] | [INFO] [stdout] 429 | d: [u64; MCLBN_FP_UNIT_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `common_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 1024]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:248:59 [INFO] [stdout] | [INFO] [stdout] 248 | let mut buf: [u8; $maxBufSize] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 575 | str_impl![GT, 1024, mclBnGT_getStr, mclBnGT_setStr]; [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 628 | get_str_impl![mclBn_getFieldOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 256]` does not permit being left uninitialized [INFO] [stdout] --> src/lib.rs:615:43 [INFO] [stdout] | [INFO] [stdout] 615 | let mut buf: [u8; 256] = unsafe { MaybeUninit::uninit().assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 632 | get_str_impl![mclBn_getCurveOrder] [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must not be uninitialized [INFO] [stdout] = note: this warning originates in the macro `get_str_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "3d3a69fcc15e3e9556e33df6079e7b7a3abf4950feb1265bef40b6f8d140735a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3a69fcc15e3e9556e33df6079e7b7a3abf4950feb1265bef40b6f8d140735a", kill_on_drop: false }` [INFO] [stdout] 3d3a69fcc15e3e9556e33df6079e7b7a3abf4950feb1265bef40b6f8d140735a