[INFO] fetching crate dilithium-raw 0.1.0... [INFO] checking dilithium-raw-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate dilithium-raw 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dilithium-raw 0.1.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dilithium-raw 0.1.0 [INFO] finished tweaking crates.io crate dilithium-raw 0.1.0 [INFO] tweaked toml for crates.io crate dilithium-raw 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding ron v0.7.1 (available: v0.8.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20efc011dd378a4b8b5208aef113cdd7e30eef2d2f42b902001e1d6ccb175477 [INFO] running `Command { std: "docker" "start" "-a" "20efc011dd378a4b8b5208aef113cdd7e30eef2d2f42b902001e1d6ccb175477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20efc011dd378a4b8b5208aef113cdd7e30eef2d2f42b902001e1d6ccb175477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20efc011dd378a4b8b5208aef113cdd7e30eef2d2f42b902001e1d6ccb175477", kill_on_drop: false }` [INFO] [stdout] 20efc011dd378a4b8b5208aef113cdd7e30eef2d2f42b902001e1d6ccb175477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207201f43f85cb7f78f4d9892f7b89531a4f5475ed245171ccc65f323f0d616d [INFO] running `Command { std: "docker" "start" "-a" "207201f43f85cb7f78f4d9892f7b89531a4f5475ed245171ccc65f323f0d616d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling dilithium-raw v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `build_script_build` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * build.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> build.rs:2:22 [INFO] [stderr] | [INFO] [stderr] 2 | ($level:literal, $feature:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> build.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | ($level:literal, $feature:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> build.rs:35:22 [INFO] [stderr] | [INFO] [stderr] 35 | ($level:literal, $feature:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> build.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | ($level:literal, $feature:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 2 | ($level:literal, $feature:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> build.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | ($level:literal, $feature:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($level:literal, $feature:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> build.rs:35:31 [INFO] [stdout] | [INFO] [stdout] 35 | ($level:literal, $feature:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 35 | ($level:literal, $feature:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dilithium_raw` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ffi/dilithium2.rs [INFO] [stderr] * src/ffi/dilithium3.rs [INFO] [stderr] * src/ffi/dilithium5.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($regression_test_file:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium2.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium2.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium3.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium3.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium5.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium5.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium2.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium2.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium3.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium3.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium3.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium5.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium5.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium5.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ($regression_test_file:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($regression_test_file:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dilithium_raw` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/ffi/dilithium2.rs [INFO] [stderr] * src/ffi/dilithium3.rs [INFO] [stderr] * src/ffi/dilithium5.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:26:6 [INFO] [stderr] | [INFO] [stderr] 26 | ($regression_test_file:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium2.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium2.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium3.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium3.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/ffi/dilithium5.rs:112:35 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/ffi/dilithium5.rs:218:35 [INFO] [stderr] | [INFO] [stderr] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:102:5 [INFO] [stderr] | [INFO] [stderr] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:116:23 [INFO] [stderr] | [INFO] [stderr] 116 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:122:23 [INFO] [stderr] | [INFO] [stderr] 122 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium2.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium2.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:135:23 [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium3.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium3.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 135 | #[cfg(enable_avx2)] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium3.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium5.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium5.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/ffi/dilithium5.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _____help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123743 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | ($regression_test_file:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 26 | ($regression_test_file:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [lints.rust] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:141:23 [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stderr] --> src/macros.rs:153:23 [INFO] [stderr] | [INFO] [stderr] 153 | #[cfg(enable_avx2)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stderr] --> src/macros.rs:159:23 [INFO] [stderr] | [INFO] [stderr] 159 | #[cfg(enable_aarch64)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stderr] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.61s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling dilithium-raw v0.1.0 (/tmp/fixit) [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium3.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium5.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium2.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium3.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/ffi/dilithium5.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | /// Generate a new keypair, writing the public key to `pk` and the [INFO] [stdout] 13 | | /// secret key to `sk`. Requires a buffer `random` to be filled [INFO] [stdout] 14 | | /// with cryptographically secure random bytes, living at least [INFO] [stdout] ... | [INFO] [stdout] 36 | | ) -> c_int; [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium2.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium2.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium3.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium3.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium5.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium5.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium2.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium2", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium2.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium2", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium3.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium3", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium3.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium3", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/ffi/dilithium5.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(all(feature = "dilithium5", enable_avx2))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/ffi/dilithium5.rs:218:35 [INFO] [stdout] | [INFO] [stdout] 218 | #[cfg(all(feature = "dilithium5", enable_aarch64))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | crate::macros::impl_dilithium_module!("regression_tests/dilithium2.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | crate::macros::impl_dilithium_module!("regression_tests/dilithium3.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:141:23 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_avx2` [INFO] [stdout] --> src/macros.rs:153:23 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg(enable_avx2)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_avx2)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_avx2)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `enable_aarch64` [INFO] [stdout] --> src/macros.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(enable_aarch64)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | crate::macros::impl_dilithium_module!("regression_tests/dilithium5.ron"); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(enable_aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(enable_aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `crate::macros::impl_dilithium_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dilithium-raw` (lib) due to 4 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dilithium-raw` (lib test) due to 4 previous errors; 24 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "207201f43f85cb7f78f4d9892f7b89531a4f5475ed245171ccc65f323f0d616d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207201f43f85cb7f78f4d9892f7b89531a4f5475ed245171ccc65f323f0d616d", kill_on_drop: false }` [INFO] [stdout] 207201f43f85cb7f78f4d9892f7b89531a4f5475ed245171ccc65f323f0d616d