[INFO] cloning repository https://github.com/akalmykov/fast_ntt_pyo3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akalmykov/fast_ntt_pyo3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakalmykov%2Ffast_ntt_pyo3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakalmykov%2Ffast_ntt_pyo3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d473f575f51dcd71da361a16ef85f08ae19c320d [INFO] checking akalmykov/fast_ntt_pyo3 against master#e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 for pr-149195 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakalmykov%2Ffast_ntt_pyo3" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akalmykov/fast_ntt_pyo3 [INFO] finished tweaking git repo https://github.com/akalmykov/fast_ntt_pyo3 [INFO] tweaked toml for git repo https://github.com/akalmykov/fast_ntt_pyo3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akalmykov/fast_ntt_pyo3 on toolchain e22dab387f6b4f6a87dfc54ac2f6013dddb41e68 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akalmykov/fast_ntt_pyo3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/arkworks-rs/crypto-primitives` [INFO] [stderr] Updating git repository `https://github.com/arkworks-rs/algebra` [INFO] [stderr] Updating git repository `https://github.com/arkworks-rs/std` [INFO] [stderr] Updating crates.io index [INFO] [stderr] warning: patch `ark-crypto-primitives v0.5.0 (https://github.com/arkworks-rs/crypto-primitives#39fb17bd)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-ec v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-ff v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-poly v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-serialize v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-std v0.5.0 (https://github.com/arkworks-rs/std#73dcad08)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-test-curves v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded poseidon-parameters v0.4.0 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded ark-test-curves v0.4.2 [INFO] [stderr] Downloaded poseidon-paramgen v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 685d5af402801caabdde08c56f2f795dd4ffbef3ce368d3d5cb5012e52a69fdb [INFO] running `Command { std: "docker" "start" "-a" "685d5af402801caabdde08c56f2f795dd4ffbef3ce368d3d5cb5012e52a69fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "685d5af402801caabdde08c56f2f795dd4ffbef3ce368d3d5cb5012e52a69fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685d5af402801caabdde08c56f2f795dd4ffbef3ce368d3d5cb5012e52a69fdb", kill_on_drop: false }` [INFO] [stdout] 685d5af402801caabdde08c56f2f795dd4ffbef3ce368d3d5cb5012e52a69fdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+e22dab387f6b4f6a87dfc54ac2f6013dddb41e68" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae78a505b05a8ff3eeefd03fc8785c7f4e32ce8d5786d65a9cf341288b5d7461 [INFO] running `Command { std: "docker" "start" "-a" "ae78a505b05a8ff3eeefd03fc8785c7f4e32ce8d5786d65a9cf341288b5d7461", kill_on_drop: false }` [INFO] [stderr] warning: patch `ark-crypto-primitives v0.5.0 (https://github.com/arkworks-rs/crypto-primitives#39fb17bd)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-ec v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-ff v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-poly v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-serialize v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-std v0.5.0 (https://github.com/arkworks-rs/std#73dcad08)` was not used in the crate graph [INFO] [stderr] warning: patch `ark-test-curves v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph [INFO] [stderr] help: Check that the patched package version and available features are compatible [INFO] [stderr] with the dependency requirements. If the patch has a different version from [INFO] [stderr] what is locked in the Cargo.lock file, run `cargo update` to use the new [INFO] [stderr] version. This may also occur with an optional dependency that is not enabled. [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking ark-serialize v0.4.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking ark-ff v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking ark-poly v0.4.2 [INFO] [stderr] Checking ark-relations v0.4.0 [INFO] [stderr] Checking poseidon-parameters v0.4.0 [INFO] [stderr] Checking ark-snark v0.4.0 [INFO] [stderr] Checking poseidon-paramgen v0.4.0 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-crypto-primitives v0.4.0 [INFO] [stderr] Checking ark-test-curves v0.4.2 [INFO] [stderr] Checking fast_ntt_pyo3 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Zero` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::Zero; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn fast_ntt_pyo3(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig64___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FrConfig64; [INFO] [stdout] | ---------- `FrConfig64` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig128___` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FrConfig128; [INFO] [stdout] | ----------- `FrConfig128` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig192___` [INFO] [stdout] ... [INFO] [stdout] 18 | pub struct FrConfig192; [INFO] [stdout] | ----------- `FrConfig192` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stdout] --> src/lib.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | fn fast_ntt_pyo3(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:15:59 [INFO] [stdout] | [INFO] [stdout] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stdout] | ^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig64___` [INFO] [stdout] ... [INFO] [stdout] 6 | pub struct FrConfig64; [INFO] [stdout] | ---------- `FrConfig64` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig128___` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FrConfig128; [INFO] [stdout] | ----------- `FrConfig128` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ntt/fields.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(MontConfig)] [INFO] [stdout] | ^--------- [INFO] [stdout] | | [INFO] [stdout] | `MontConfig` is not local [INFO] [stdout] | move the `impl` block outside of this function `frconfig192___` [INFO] [stdout] ... [INFO] [stdout] 18 | pub struct FrConfig192; [INFO] [stdout] | ----------- `FrConfig192` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `MontConfig` may come from an old version of the `ark_ff_macros` crate, try updating your dependency with `cargo update -p ark_ff_macros` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: ark-test-curves v0.4.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ae78a505b05a8ff3eeefd03fc8785c7f4e32ce8d5786d65a9cf341288b5d7461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae78a505b05a8ff3eeefd03fc8785c7f4e32ce8d5786d65a9cf341288b5d7461", kill_on_drop: false }` [INFO] [stdout] ae78a505b05a8ff3eeefd03fc8785c7f4e32ce8d5786d65a9cf341288b5d7461