[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#bad50269f8eb0fda214f0478c3afb2c6fbb427fd for pr-149195-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakalmykov%2Ffast_ntt_pyo3" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akalmykov/fast_ntt_pyo3 on toolchain bad50269f8eb0fda214f0478c3afb2c6fbb427fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "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 ark-serialize-derive v0.4.2 [INFO] [stderr] Downloaded anstyle v1.0.11 [INFO] [stderr] Downloaded poseidon-parameters v0.4.0 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded constant_time_eq v0.3.1 [INFO] [stderr] Downloaded ark-test-curves v0.4.2 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded ark-poly v0.4.2 [INFO] [stderr] Downloaded ark-ec v0.4.2 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded rayon v1.11.0 [INFO] [stderr] Downloaded clap_builder v4.5.44 [INFO] [stderr] Downloaded blake3 v1.8.2 [INFO] [stderr] Downloaded clap v4.5.45 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded blake2 v0.10.6 [INFO] [stderr] Downloaded bitflags v2.9.1 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded syn v2.0.104 [INFO] [stderr] Downloaded semver v1.0.26 [INFO] [stderr] Downloaded redox_syscall v0.5.13 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded poseidon-paramgen v0.4.0 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded merlin v3.0.0 [INFO] [stderr] Downloaded num v0.4.3 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded rayon-core v1.13.0 [INFO] [stderr] Downloaded libc v0.2.174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7fa9ffb602c5aa40f87cae1f7cb96c02f874da5d14a4332f20820d329e3122f [INFO] running `Command { std: "docker" "start" "-a" "d7fa9ffb602c5aa40f87cae1f7cb96c02f874da5d14a4332f20820d329e3122f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7fa9ffb602c5aa40f87cae1f7cb96c02f874da5d14a4332f20820d329e3122f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fa9ffb602c5aa40f87cae1f7cb96c02f874da5d14a4332f20820d329e3122f", kill_on_drop: false }` [INFO] [stdout] d7fa9ffb602c5aa40f87cae1f7cb96c02f874da5d14a4332f20820d329e3122f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+bad50269f8eb0fda214f0478c3afb2c6fbb427fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b81c8561a2078b432d9b2eebf07e7348bc65b3c316fd44956bc9c840c88b0653 [INFO] running `Command { std: "docker" "start" "-a" "b81c8561a2078b432d9b2eebf07e7348bc65b3c316fd44956bc9c840c88b0653", 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 autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking ark-std v0.4.0 [INFO] [stderr] Compiling pyo3 v0.21.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [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] Compiling ark-serialize-derive v0.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling ark-ff-asm v0.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling ark-ff-macros v0.4.2 [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 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 poseidon-paramgen v0.4.0 [INFO] [stderr] Checking ark-snark v0.4.0 [INFO] [stderr] Checking ark-ec v0.4.2 [INFO] [stderr] Checking ark-test-curves v0.4.2 [INFO] [stderr] Checking ark-crypto-primitives v0.4.0 [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 1m 10s [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 3` [INFO] running `Command { std: "docker" "inspect" "b81c8561a2078b432d9b2eebf07e7348bc65b3c316fd44956bc9c840c88b0653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81c8561a2078b432d9b2eebf07e7348bc65b3c316fd44956bc9c840c88b0653", kill_on_drop: false }` [INFO] [stdout] b81c8561a2078b432d9b2eebf07e7348bc65b3c316fd44956bc9c840c88b0653