[INFO] cloning repository https://github.com/totdking/zk-for-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/totdking/zk-for-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotdking%2Fzk-for-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotdking%2Fzk-for-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 317eac04ae91320e202723d26eba18388cd59455 [INFO] building totdking/zk-for-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotdking%2Fzk-for-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/totdking/zk-for-rust [INFO] finished tweaking git repo https://github.com/totdking/zk-for-rust [INFO] tweaked toml for git repo https://github.com/totdking/zk-for-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/totdking/zk-for-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/totdking/zk-for-rust 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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 [ERROR] error running command: no output for 300 seconds [INFO] building totdking/zk-for-rust against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotdking%2Fzk-for-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/totdking/zk-for-rust [INFO] finished tweaking git repo https://github.com/totdking/zk-for-rust [INFO] tweaked toml for git repo https://github.com/totdking/zk-for-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/totdking/zk-for-rust on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/totdking/zk-for-rust 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded base64ct v1.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca244b700f915e9bb7fa26f978957f0c1ffa3462f93b8ecd32148bc5a6b0e7ba [INFO] running `Command { std: "docker" "start" "-a" "ca244b700f915e9bb7fa26f978957f0c1ffa3462f93b8ecd32148bc5a6b0e7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca244b700f915e9bb7fa26f978957f0c1ffa3462f93b8ecd32148bc5a6b0e7ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca244b700f915e9bb7fa26f978957f0c1ffa3462f93b8ecd32148bc5a6b0e7ba", kill_on_drop: false }` [INFO] [stdout] ca244b700f915e9bb7fa26f978957f0c1ffa3462f93b8ecd32148bc5a6b0e7ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] d75f06666d2debb3413e9e5fada949bb8e465b8d4d163ba2c1beb41c6fd75874 [INFO] running `Command { std: "docker" "start" "-a" "d75f06666d2debb3413e9e5fada949bb8e465b8d4d163ba2c1beb41c6fd75874", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling base64ct v1.8.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ark-std v0.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling ark-serialize-derive v0.5.0 [INFO] [stderr] Compiling ark-ff-asm v0.5.0 [INFO] [stderr] Compiling ark-ff-macros v0.5.0 [INFO] [stderr] Compiling ark-serialize v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling ark-ff v0.5.0 [INFO] [stderr] Compiling ark-poly v0.5.0 [INFO] [stderr] Compiling ark-ec v0.5.0 [INFO] [stderr] Compiling ark-bn254 v0.5.0 [INFO] [stderr] Compiling intro_to_rust_zk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base64::alphabet` [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::alphabet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flt_eea::eea_gcd` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use flt_eea::eea_gcd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cipolla`, `sqrt_mod_p3mod4`, and `tonelli_shanks` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use modular_sqrt::{cipolla, sqrt_mod_p3mod4, tonelli_shanks}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ALPHABET: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceaser_cipher` is never used [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn ceaser_cipher(text: &str /*, shift: u8 */) /*-> String*/ { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_eea` is never used [INFO] [stdout] --> src/flt_eea/extended_euclidean_algo.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn inverse_eea(a: i128, m: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_point` is never used [INFO] [stdout] --> src/flt_eea/extended_euclidean_algo.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn entry_point() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pow` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn mod_pow(mut base: i128, mut exp: i128, modulus: i128) -> i128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_fermat` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn inverse_fermat(a: i128, p: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_point` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn entry_point() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eea_gcd` is never used [INFO] [stdout] --> src/flt_eea/eea_gcd.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn eea_gcd(a: i64, m: i64) -> (i64, i64, i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pow` is never used [INFO] [stdout] --> src/modular_sqrt.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn mod_pow(mut base: u128, mut exp: u128, modulus: u128) -> u128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sqrt_mod_p3mod4` is never used [INFO] [stdout] --> src/modular_sqrt.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn sqrt_mod_p3mod4(a: u128, p: u128) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tonelli_shanks` is never used [INFO] [stdout] --> src/modular_sqrt.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn tonelli_shanks(n: u128, p: u128) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cipolla` is never used [INFO] [stdout] --> src/modular_sqrt.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn cipolla(n: u128, p: u128) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `field_pow` is never used [INFO] [stdout] --> src/modular_sqrt.rs:152:4 [INFO] [stdout] | [INFO] [stdout] 152 | fn field_pow(x: u128, y: u128, mut exp: u128, omega2: u128, p: u128) -> (u128, u128) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entrypoint` is never used [INFO] [stdout] --> src/modular_sqrt.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn entrypoint() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_root` is never used [INFO] [stdout] --> src/modular_sqrt.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_root(square: u128, p: u128) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.90s [INFO] running `Command { std: "docker" "inspect" "d75f06666d2debb3413e9e5fada949bb8e465b8d4d163ba2c1beb41c6fd75874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d75f06666d2debb3413e9e5fada949bb8e465b8d4d163ba2c1beb41c6fd75874", kill_on_drop: false }` [INFO] [stdout] d75f06666d2debb3413e9e5fada949bb8e465b8d4d163ba2c1beb41c6fd75874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 9b7e980d0aaf85c49e4eb1149763b7c6ab961bb9fd7b272c4141cf9a3bf1698a [INFO] running `Command { std: "docker" "start" "-a" "9b7e980d0aaf85c49e4eb1149763b7c6ab961bb9fd7b272c4141cf9a3bf1698a", kill_on_drop: false }` [INFO] [stderr] Compiling intro_to_rust_zk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `base64::alphabet` [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64::alphabet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flt_eea::eea_gcd` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use flt_eea::eea_gcd; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cipolla`, `sqrt_mod_p3mod4`, and `tonelli_shanks` [INFO] [stdout] --> src/main.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use modular_sqrt::{cipolla, sqrt_mod_p3mod4, tonelli_shanks}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALPHABET` is never used [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | pub const ALPHABET: &str = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ceaser_cipher` is never used [INFO] [stdout] --> src/ceaser_cipher/ceaser_circuit.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn ceaser_cipher(text: &str /*, shift: u8 */) /*-> String*/ { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_eea` is never used [INFO] [stdout] --> src/flt_eea/extended_euclidean_algo.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn inverse_eea(a: i128, m: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_point` is never used [INFO] [stdout] --> src/flt_eea/extended_euclidean_algo.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn entry_point() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mod_pow` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn mod_pow(mut base: i128, mut exp: i128, modulus: i128) -> i128 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inverse_fermat` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn inverse_fermat(a: i128, p: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entry_point` is never used [INFO] [stdout] --> src/flt_eea/fermat_little_theorem.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn entry_point() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eea_gcd` is never used [INFO] [stdout] --> src/flt_eea/eea_gcd.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn eea_gcd(a: i64, m: i64) -> (i64, i64, i64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `entrypoint` is never used [INFO] [stdout] --> src/modular_sqrt.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn entrypoint() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_root` is never used [INFO] [stdout] --> src/modular_sqrt.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn get_root(square: u128, p: u128) -> u128 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "9b7e980d0aaf85c49e4eb1149763b7c6ab961bb9fd7b272c4141cf9a3bf1698a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7e980d0aaf85c49e4eb1149763b7c6ab961bb9fd7b272c4141cf9a3bf1698a", kill_on_drop: false }` [INFO] [stdout] 9b7e980d0aaf85c49e4eb1149763b7c6ab961bb9fd7b272c4141cf9a3bf1698a