[INFO] cloning repository https://github.com/frankmangone/cryptography-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankmangone/cryptography-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankmangone%2Fcryptography-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankmangone%2Fcryptography-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab634ee4720708522f40ea41ef321156e548f710 [INFO] checking frankmangone/cryptography-playground against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankmangone%2Fcryptography-playground" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frankmangone/cryptography-playground on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frankmangone/cryptography-playground [INFO] finished tweaking git repo https://github.com/frankmangone/cryptography-playground [INFO] tweaked toml for git repo https://github.com/frankmangone/cryptography-playground written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/frankmangone/cryptography-playground 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8e64f3fe37d3b540bbf3c9c9174fda631743897f60c9715c6c1bd14c81c75ab [INFO] running `Command { std: "docker" "start" "-a" "d8e64f3fe37d3b540bbf3c9c9174fda631743897f60c9715c6c1bd14c81c75ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e64f3fe37d3b540bbf3c9c9174fda631743897f60c9715c6c1bd14c81c75ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e64f3fe37d3b540bbf3c9c9174fda631743897f60c9715c6c1bd14c81c75ab", kill_on_drop: false }` [INFO] [stdout] d8e64f3fe37d3b540bbf3c9c9174fda631743897f60c9715c6c1bd14c81c75ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b36283a0deb8abf89886a9c6013cc8aeb7c2a2e71aaab120f7ab3a8179f579a4 [INFO] running `Command { std: "docker" "start" "-a" "b36283a0deb8abf89886a9c6013cc8aeb7c2a2e71aaab120f7ab3a8179f579a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cryptography v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `inverse` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::modulo::{modulo, inverse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `negative` [INFO] [stdout] --> src/curve/tests.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::curve::{negative, Curve, Point}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `inverse`, `modulo` [INFO] [stdout] --> src/modulo/tests.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::modulo::{modulo, inverse}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashing::hash` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hashing::hash; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encrypt` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ecies::{encrypt}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `inverse` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::modulo::{modulo, inverse}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashing::hash` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hashing::hash; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encrypt` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ecies::{encrypt}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_bytes` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mask_bytes = hasher.finalize(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_bytes` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mask_bytes = hasher.finalize(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/modulo/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | let value: i128; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/algorithms/ecies/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(message: &[u8], curve: Curve, pk: Point) -> (Point, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/curve/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | a: i128, [INFO] [stdout] 22 | b: i128, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Curve` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_curve` is never used [INFO] [stdout] --> src/curve/tests.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn test_curve() -> Curve { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/modulo/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | let value: i128; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/algorithms/ecies/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(message: &[u8], curve: Curve, pk: Point) -> (Point, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/curve/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | a: i128, [INFO] [stdout] 22 | b: i128, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Curve` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "b36283a0deb8abf89886a9c6013cc8aeb7c2a2e71aaab120f7ab3a8179f579a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b36283a0deb8abf89886a9c6013cc8aeb7c2a2e71aaab120f7ab3a8179f579a4", kill_on_drop: false }` [INFO] [stdout] b36283a0deb8abf89886a9c6013cc8aeb7c2a2e71aaab120f7ab3a8179f579a4 [INFO] checking frankmangone/cryptography-playground against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankmangone%2Fcryptography-playground" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frankmangone/cryptography-playground on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/frankmangone/cryptography-playground [INFO] finished tweaking git repo https://github.com/frankmangone/cryptography-playground [INFO] tweaked toml for git repo https://github.com/frankmangone/cryptography-playground written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/frankmangone/cryptography-playground 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 277bd461cb71239bb363c9419fc6131d353fce3c91fd71c485b6349efd78e776 [INFO] running `Command { std: "docker" "start" "-a" "277bd461cb71239bb363c9419fc6131d353fce3c91fd71c485b6349efd78e776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "277bd461cb71239bb363c9419fc6131d353fce3c91fd71c485b6349efd78e776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277bd461cb71239bb363c9419fc6131d353fce3c91fd71c485b6349efd78e776", kill_on_drop: false }` [INFO] [stdout] 277bd461cb71239bb363c9419fc6131d353fce3c91fd71c485b6349efd78e776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148bbdb6efdb77e77c468471914acaab6bd4546221ceb6e7dc3c51aedadb7851 [INFO] running `Command { std: "docker" "start" "-a" "148bbdb6efdb77e77c468471914acaab6bd4546221ceb6e7dc3c51aedadb7851", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cryptography v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/modulo/tests.rs (1 fix) [INFO] [stderr] Fixed src/curve/tests.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/algorithms/ecies/mod.rs (1 fix) [INFO] [stdout] warning: unused variable: `mask_bytes` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mask_bytes = hasher.finalize(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/modulo/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | let value: i128; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/algorithms/ecies/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(message: &[u8], curve: Curve, pk: Point) -> (Point, Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/curve/mod.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Curve { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 21 | a: i128, [INFO] [stdout] 22 | b: i128, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Curve` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_curve` is never used [INFO] [stdout] --> src/curve/tests.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn test_curve() -> Curve { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `negative` in this scope [INFO] [stdout] --> src/curve/tests.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | let g2_minus = curve.double(&negative(gen)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::curve::negative; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `negative` in this scope [INFO] [stdout] --> src/curve/tests.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(negative(gen), curve.multiply(gen, -1)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::curve::negative; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(modulo(0, 2), 0i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(modulo(10, 20), 10i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(modulo(9, 1200), 9i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(modulo(9, 2), 1i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(modulo(13, 10), 3i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(modulo(126, 11), 5i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(modulo(-3, 2), 1i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(modulo(-9, 5), 1i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `modulo` in this scope [INFO] [stdout] --> src/modulo/tests.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(modulo(-19, 7), 2i128); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::modulo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(inverse(9, 7), 4i128); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(inverse(2, 5), 3i128); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(inverse(128, 11), 8i128); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | assert_eq!(inverse(128378, 8713), 1617i128); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(inverse(129783182, 98764321), 16580311i128); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(inverse(-3, 2), inverse(1, 2)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(inverse(-3, 2), inverse(1, 2)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(inverse(-9, 5), inverse(1, 5)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(inverse(-9, 5), inverse(1, 5)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cryptography` (bin "cryptography" test) due to 23 previous errors; 2 warnings emitted [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(inverse(-19, 7), inverse(2, 7)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `inverse` in this scope [INFO] [stdout] --> src/modulo/tests.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(inverse(-19, 7), inverse(2, 7)); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use crate::modulo::inverse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mask_bytes` [INFO] [stdout] --> src/algorithms/ecies/mod.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mask_bytes = hasher.finalize(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mask_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/modulo/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | let value: i128; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "148bbdb6efdb77e77c468471914acaab6bd4546221ceb6e7dc3c51aedadb7851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148bbdb6efdb77e77c468471914acaab6bd4546221ceb6e7dc3c51aedadb7851", kill_on_drop: false }` [INFO] [stdout] 148bbdb6efdb77e77c468471914acaab6bd4546221ceb6e7dc3c51aedadb7851