[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] building akalmykov/fast_ntt_pyo3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [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 ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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] Patch `ark-ec v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-ff v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-poly v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-serialize v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-std v0.5.0 (https://github.com/arkworks-rs/std#73dcad08)` was not used in the crate graph. [INFO] [stderr] Patch `ark-test-curves v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] 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 pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded poseidon-parameters v0.4.0 [INFO] [stderr] Downloaded poseidon-paramgen v0.4.0 [INFO] [stderr] Downloaded ark-test-curves v0.4.2 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded pyo3 v0.21.2 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7f3556130e58599679444ab95d12bc3c183e6613dcd3c9971b4fb4ec37fe8ce [INFO] running `Command { std: "docker" "start" "-a" "b7f3556130e58599679444ab95d12bc3c183e6613dcd3c9971b4fb4ec37fe8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7f3556130e58599679444ab95d12bc3c183e6613dcd3c9971b4fb4ec37fe8ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f3556130e58599679444ab95d12bc3c183e6613dcd3c9971b4fb4ec37fe8ce", kill_on_drop: false }` [INFO] [stdout] b7f3556130e58599679444ab95d12bc3c183e6613dcd3c9971b4fb4ec37fe8ce [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51c79ba0793dd9c8e4b5d5b2b869c63378472ec14065920cb75ae3ab6a82266a [INFO] running `Command { std: "docker" "start" "-a" "51c79ba0793dd9c8e4b5d5b2b869c63378472ec14065920cb75ae3ab6a82266a", 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] Patch `ark-ec v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-ff v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-poly v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-serialize v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-std v0.5.0 (https://github.com/arkworks-rs/std#73dcad08)` was not used in the crate graph. [INFO] [stderr] Patch `ark-test-curves v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] 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] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling ark-std v0.4.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.21.2 [INFO] [stderr] Compiling pyo3-ffi v0.21.2 [INFO] [stderr] Compiling pyo3 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 zeroize v1.8.1 [INFO] [stderr] Compiling merlin v3.0.0 [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 clap v4.5.45 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ark-serialize v0.4.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ark-ff v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling ark-poly v0.4.2 [INFO] [stderr] Compiling ark-relations v0.4.0 [INFO] [stderr] Compiling poseidon-parameters v0.4.0 [INFO] [stderr] Compiling poseidon-paramgen v0.4.0 [INFO] [stderr] Compiling ark-snark v0.4.0 [INFO] [stderr] Compiling ark-ec v0.4.2 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [INFO] [stderr] Compiling ark-test-curves v0.4.2 [INFO] [stderr] Compiling 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: 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 45.36s [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 4` [INFO] running `Command { std: "docker" "inspect" "51c79ba0793dd9c8e4b5d5b2b869c63378472ec14065920cb75ae3ab6a82266a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c79ba0793dd9c8e4b5d5b2b869c63378472ec14065920cb75ae3ab6a82266a", kill_on_drop: false }` [INFO] [stdout] 51c79ba0793dd9c8e4b5d5b2b869c63378472ec14065920cb75ae3ab6a82266a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 753ef676acd398e44a98719f25cf438f03af432834dbaf6d54fc5c3cf19e05e9 [INFO] running `Command { std: "docker" "start" "-a" "753ef676acd398e44a98719f25cf438f03af432834dbaf6d54fc5c3cf19e05e9", 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] Patch `ark-ec v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-ff v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-poly v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-serialize v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] Patch `ark-std v0.5.0 (https://github.com/arkworks-rs/std#73dcad08)` was not used in the crate graph. [INFO] [stderr] Patch `ark-test-curves v0.5.0 (https://github.com/arkworks-rs/algebra#48ec86ef)` was not used in the crate graph. [INFO] [stderr] 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 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 2.57s [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 4` [INFO] running `Command { std: "docker" "inspect" "753ef676acd398e44a98719f25cf438f03af432834dbaf6d54fc5c3cf19e05e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "753ef676acd398e44a98719f25cf438f03af432834dbaf6d54fc5c3cf19e05e9", kill_on_drop: false }` [INFO] [stdout] 753ef676acd398e44a98719f25cf438f03af432834dbaf6d54fc5c3cf19e05e9