[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] testing akalmykov/fast_ntt_pyo3 against 1.97.0-beta.6 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakalmykov%2Ffast_ntt_pyo3" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akalmykov/fast_ntt_pyo3 on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "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" "+1.97.0-beta.6" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros-backend v0.21.2 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded pyo3-macros v0.21.2 [INFO] [stderr] Downloaded poseidon-parameters v0.4.0 [INFO] [stderr] Downloaded ark-snark v0.4.0 [INFO] [stderr] Downloaded unindent v0.2.4 [INFO] [stderr] Downloaded anstyle-wincon v3.0.10 [INFO] [stderr] Downloaded anstyle-query v1.1.4 [INFO] [stderr] Downloaded clap_lex v0.7.5 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded ark-test-curves v0.4.2 [INFO] [stderr] Downloaded poseidon-paramgen v0.4.0 [INFO] [stderr] Downloaded anstream v0.6.20 [INFO] [stderr] Downloaded clap_derive v4.5.45 [INFO] [stderr] Downloaded ark-relations v0.4.0 [INFO] [stderr] Downloaded pyo3-build-config v0.21.2 [INFO] [stderr] Downloaded clap v4.5.45 [INFO] [stderr] Downloaded ark-crypto-primitives v0.4.0 [INFO] [stderr] Downloaded pyo3-ffi v0.21.2 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded tracing-subscriber v0.2.25 [INFO] [stderr] Downloaded clap_builder v4.5.44 [INFO] [stderr] Downloaded blake3 v1.8.2 [INFO] [stderr] Downloaded pyo3 v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227 [INFO] running `Command { std: "docker" "start" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", 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 proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling pyo3-build-config v0.21.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [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 blake2 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ark-std v0.4.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] Compiling ark-ff-macros v0.4.2 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling pyo3-macros v0.21.2 [INFO] [stderr] Compiling clap v4.5.45 [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-test-curves v0.4.2 [INFO] [stderr] Compiling ark-crypto-primitives v0.4.0 [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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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 56.23s [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" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", 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 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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: for more information, see [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.76s [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" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", 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] warning: unused import: `num_traits::Zero` [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use num_traits::Zero; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stderr] --> src/lib.rs:15:59 [INFO] [stderr] | [INFO] [stderr] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `pyo3::deprecations::GilRefs::::function_arg`: use `&Bound<'_, T>` instead for this function argument [INFO] [stderr] --> src/lib.rs:49:31 [INFO] [stderr] | [INFO] [stderr] 49 | fn fast_ntt_pyo3(_py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stderr] | ^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:15:39 [INFO] [stderr] | [INFO] [stderr] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stderr] | ^^^^^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stderr] --> src/lib.rs:15:59 [INFO] [stderr] | [INFO] [stderr] 15 | fn ntt_py(degree: usize, log_rho_inv: usize, poly_coeffs: &PyList) -> PyResult { [INFO] [stderr] | ^ call to unsafe function [INFO] [stderr] | [INFO] [stderr] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ntt/fields.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(MontConfig)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `MontConfig` is not local [INFO] [stderr] | move the `impl` block outside of this function `frconfig64___` [INFO] [stderr] ... [INFO] [stderr] 6 | pub struct FrConfig64; [INFO] [stderr] | ---------- `FrConfig64` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ntt/fields.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(MontConfig)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `MontConfig` is not local [INFO] [stderr] | move the `impl` block outside of this function `frconfig128___` [INFO] [stderr] ... [INFO] [stderr] 12 | pub struct FrConfig128; [INFO] [stderr] | ----------- `FrConfig128` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/ntt/fields.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(MontConfig)] [INFO] [stderr] | ^--------- [INFO] [stderr] | | [INFO] [stderr] | `MontConfig` is not local [INFO] [stderr] | move the `impl` block outside of this function `frconfig192___` [INFO] [stderr] ... [INFO] [stderr] 18 | pub struct FrConfig192; [INFO] [stderr] | ----------- `FrConfig192` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `MontConfig` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `MontConfig` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0133`. [INFO] [stderr] warning: `fast_ntt_pyo3` (lib test) generated 9 warnings (run `cargo fix --lib -p fast_ntt_pyo3 --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fast_ntt_pyo3-b22442f4bd275396) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ntt::domain::tests::test_non_overlapping ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227", kill_on_drop: false }` [INFO] [stdout] e77bb18eee77cae6e269be74bf730c8ae40b6ee19a50cf97fe095b85477e5227