[INFO] fetching crate curveforge-macro 0.3.0... [INFO] testing curveforge-macro-0.3.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate curveforge-macro 0.3.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate curveforge-macro 0.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate curveforge-macro 0.3.0 [INFO] tweaked toml for crates.io crate curveforge-macro 0.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate curveforge-macro 0.3.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate curveforge-macro 0.3.0 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff6fdf28a2f095a3dc8bca2b5c6cf3d7d1bcccff419e677f1df98fd19ea0748 [INFO] running `Command { std: "docker" "start" "-a" "6ff6fdf28a2f095a3dc8bca2b5c6cf3d7d1bcccff419e677f1df98fd19ea0748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff6fdf28a2f095a3dc8bca2b5c6cf3d7d1bcccff419e677f1df98fd19ea0748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff6fdf28a2f095a3dc8bca2b5c6cf3d7d1bcccff419e677f1df98fd19ea0748", kill_on_drop: false }` [INFO] [stdout] 6ff6fdf28a2f095a3dc8bca2b5c6cf3d7d1bcccff419e677f1df98fd19ea0748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63e3de5414ccc27ddf445560ec0f56882c55c6d9d1fe68e75386260fe2ad1a63 [INFO] running `Command { std: "docker" "start" "-a" "63e3de5414ccc27ddf445560ec0f56882c55c6d9d1fe68e75386260fe2ad1a63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling curveforge-traits v0.3.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling petgraph v0.8.2 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling curveforge-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.27s [INFO] running `Command { std: "docker" "inspect" "63e3de5414ccc27ddf445560ec0f56882c55c6d9d1fe68e75386260fe2ad1a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e3de5414ccc27ddf445560ec0f56882c55c6d9d1fe68e75386260fe2ad1a63", kill_on_drop: false }` [INFO] [stdout] 63e3de5414ccc27ddf445560ec0f56882c55c6d9d1fe68e75386260fe2ad1a63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d598527cc805fbe5464960e5ab4cec2a9d67562d55151cbe748c67580979c1e [INFO] running `Command { std: "docker" "start" "-a" "3d598527cc805fbe5464960e5ab4cec2a9d67562d55151cbe748c67580979c1e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling generic-array v1.2.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling petgraph v0.8.2 [INFO] [stderr] Compiling curveforge-traits v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling curveforge-macro v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/curve.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | elliptic_curve! { [INFO] [stdout] | _^ [INFO] [stdout] 22 | | [attributes] [INFO] [stdout] 23 | | name = TestCurve [INFO] [stdout] 24 | | model = Test [INFO] [stdout] ... | [INFO] [stdout] 34 | | b = -1 [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ function or associated item not found in `Choice` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `elliptic_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/curve.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / elliptic_curve! { [INFO] [stdout] 22 | | [attributes] [INFO] [stdout] 23 | | name = TestCurve [INFO] [stdout] 24 | | model = Test [INFO] [stdout] ... | [INFO] [stdout] 34 | | b = -1 [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `elliptic_curve` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `curveforge-macro` (test "curve") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 103 | test_field!(3, 2); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 104 | test_field!(7, 3); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 105 | test_field!(0xf3acf83175db5610d73fe8e5883e0457d3a430aa7a4f562f13, 200); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 106 | test_field!(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed, 254); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 107 | / test_field!( [INFO] [stdout] 108 | | 0x1f886e29fb3f1cd7ddd5b40214ed2ba0fa0b6c82a763ea9efdce286dbffc1f319d5e8005cca0ffad1b8d88d0e0538e00d5a975797748b3095d945f51c470b, [INFO] [stdout] 109 | | 497 [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 111 | test_field!(0x251cd32e9930cd828cd90a94c44ef89028e1691dd064c953b35e5b50214810e45b387c1c9d060732f9d901c6149a7edfeab7c4c42d52d23ae1615a087f5b06f05610621664216595763e5833b3af6423c0e58858dd2732e0b03f012bf353, 750); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_u8_const` found for struct `Choice` in the current scope [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Choice` [INFO] [stdout] ... [INFO] [stdout] 112 | test_field!(0x3e5d0590d4a18c418e79217c3eb6f351b38d5091e68b5cd97f3d2f2dbed6410a1d7f75cf13c196f2d103f18d580b2e69babf3e03054002fb0c33e281938e23820eb47bee9308c1db0af1d5d0eaebcf57396ad79d4cd32004fc41b8461bbe5cf2695bd920a08e7b1467df8c4f37acbed9d364229e796b8b00eab09ab1b3, 998); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | test_field!(3, 2); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | test_field!(7, 3); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | test_field!(0xf3acf83175db5610d73fe8e5883e0457d3a430aa7a4f562f13, 200); [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | test_field!(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed, 254); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | / test_field!( [INFO] [stdout] 108 | | 0x1f886e29fb3f1cd7ddd5b40214ed2ba0fa0b6c82a763ea9efdce286dbffc1f319d5e8005cca0ffad1b8d88d0e0538e00d5a975797748b3095d945f51c470b, [INFO] [stdout] 109 | | 497 [INFO] [stdout] 110 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | test_field!(0x251cd32e9930cd828cd90a94c44ef89028e1691dd064c953b35e5b50214810e45b387c1c9d060732f9d901c6149a7edfeab7c4c42d52d23ae1615a087f5b06f05610621664216595763e5833b3af6423c0e58858dd2732e0b03f012bf353, 750); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Choice::unwrap_u8` in constant functions [INFO] [stdout] --> tests/field.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | finite_field!(F, $a); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | test_field!(0x3e5d0590d4a18c418e79217c3eb6f351b38d5091e68b5cd97f3d2f2dbed6410a1d7f75cf13c196f2d103f18d580b2e69babf3e03054002fb0c33e281938e23820eb47bee9308c1db0af1d5d0eaebcf57396ad79d4cd32004fc41b8461bbe5cf2695bd920a08e7b1467df8c4f37acbed9d364229e796b8b00eab09ab1b3, 998); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: this error originates in the macro `finite_field` which comes from the expansion of the macro `test_field` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `curveforge-macro` (test "field") due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "3d598527cc805fbe5464960e5ab4cec2a9d67562d55151cbe748c67580979c1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d598527cc805fbe5464960e5ab4cec2a9d67562d55151cbe748c67580979c1e", kill_on_drop: false }` [INFO] [stdout] 3d598527cc805fbe5464960e5ab4cec2a9d67562d55151cbe748c67580979c1e