[INFO] cloning repository https://github.com/miker83z/umbral-rs-web-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miker83z/umbral-rs-web-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiker83z%2Fumbral-rs-web-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiker83z%2Fumbral-rs-web-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a6e1d77e0840f7f36d84ce2e6cb9574aa712d83 [INFO] building miker83z/umbral-rs-web-service against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiker83z%2Fumbral-rs-web-service" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/miker83z/umbral-rs-web-service [INFO] finished tweaking git repo https://github.com/miker83z/umbral-rs-web-service [INFO] tweaked toml for git repo https://github.com/miker83z/umbral-rs-web-service written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/miker83z/umbral-rs-web-service on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 204 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding umbral-rs v0.0.3 (available: v0.0.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded jobserver v0.1.34 [INFO] [stderr] Downloaded hkdf v0.9.0 [INFO] [stderr] Downloaded modinverse v0.1.1 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded bytestring v1.5.0 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded regex-lite v0.1.7 [INFO] [stderr] Downloaded umbral-rs v0.0.3 [INFO] [stderr] Downloaded actix-http v3.11.1 [INFO] [stderr] Downloaded brotli v8.0.2 [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f66c9a03b852f703fc60f1501d631d09504f83a5dfc6384f0e52bc33f8d7960a [INFO] running `Command { std: "docker" "start" "-a" "f66c9a03b852f703fc60f1501d631d09504f83a5dfc6384f0e52bc33f8d7960a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f66c9a03b852f703fc60f1501d631d09504f83a5dfc6384f0e52bc33f8d7960a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66c9a03b852f703fc60f1501d631d09504f83a5dfc6384f0e52bc33f8d7960a", kill_on_drop: false }` [INFO] [stdout] f66c9a03b852f703fc60f1501d631d09504f83a5dfc6384f0e52bc33f8d7960a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bac9b3f9ee72c9b28caf6c699e2f07d17612b2a7eeb8daf1a80608125c1c2f66 [INFO] running `Command { std: "docker" "start" "-a" "bac9b3f9ee72c9b28caf6c699e2f07d17612b2a7eeb8daf1a80608125c1c2f66", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling regex-lite v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling modinverse v0.1.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling umbral-rs v0.0.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling actix-http v3.11.1 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling umbral-rs-web-service v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `openssl::nid::Nid` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use openssl::nid::Nid; [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 imports: `clone` and `vec` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{clone, vec}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `umbral_rs::internal::keys::*` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use umbral_rs::internal::keys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `umbral_rs::pre::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use umbral_rs::pre::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | async fn keypair(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | async fn signer(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:662:5 [INFO] [stdout] | [INFO] [stdout] 662 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_ref` [INFO] [stdout] --> src/main.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | let id_ref = &id; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk` [INFO] [stdout] --> src/main.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | let sk = CurveBN::from_bytes(&sk_bytes, ¶ms).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resp0` is never read [INFO] [stdout] --> src/main.rs:857:13 [INFO] [stdout] | [INFO] [stdout] 857 | resp0 = format!("{}. Key already in there", resp0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resp0` is never read [INFO] [stdout] --> src/main.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | resp0 = format!("{}. ID already in there", resp0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids_vector` [INFO] [stdout] --> src/main.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut ids_vector: Vec<&BigNumRef> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ids_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let mut ids_vector: Vec<&BigNumRef> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParamsArc { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | group: EcGroup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | g_point: EcPoint, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | order: BigNum, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | u_point: EcPoint, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | field_order_size_in_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | group_order_size_in_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | ctx: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Copy`, `get_threshold`, and `get_n` are never used [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl KeyState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn Copy(&self) -> KeyState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_threshold(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_n(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Copy`, `get_threshold`, `get_n`, `delete_idstate`, and `get_private_keys_number` are never used [INFO] [stdout] --> src/main.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl IdState { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | fn Copy(&self) -> IdState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn get_threshold(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn get_n(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn delete_idstate(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn get_private_keys_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 271 | fn new() -> AppState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn Copy(&self) -> KeyState { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/main.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn Copy(&self) -> IdState { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | let N = request_payload.parties; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keystateMap` should have a snake case name [INFO] [stdout] --> src/main.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let mut keystateMap = data.keystate.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `keystate_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idstateMap` should have a snake case name [INFO] [stdout] --> src/main.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | let mut idstateMap = data.idstate.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `idstate_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `key_vector_curveBN` should have a snake case name [INFO] [stdout] --> src/main.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let key_vector_curveBN = key_vector_iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_vector_curve_bn` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "bac9b3f9ee72c9b28caf6c699e2f07d17612b2a7eeb8daf1a80608125c1c2f66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac9b3f9ee72c9b28caf6c699e2f07d17612b2a7eeb8daf1a80608125c1c2f66", kill_on_drop: false }` [INFO] [stdout] bac9b3f9ee72c9b28caf6c699e2f07d17612b2a7eeb8daf1a80608125c1c2f66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1bce8152034139e196bc8f474c8a05d42248ed778534c77f382340f6e35b226 [INFO] running `Command { std: "docker" "start" "-a" "a1bce8152034139e196bc8f474c8a05d42248ed778534c77f382340f6e35b226", kill_on_drop: false }` [INFO] [stderr] Compiling umbral-rs-web-service v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `openssl::nid::Nid` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use openssl::nid::Nid; [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 imports: `clone` and `vec` [INFO] [stdout] --> src/main.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{clone, vec}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `umbral_rs::internal::keys::*` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use umbral_rs::internal::keys::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `umbral_rs::pre::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use umbral_rs::pre::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:394:18 [INFO] [stdout] | [INFO] [stdout] 394 | async fn keypair(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | async fn signer(data: web::Data) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:526:5 [INFO] [stdout] | [INFO] [stdout] 526 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:596:5 [INFO] [stdout] | [INFO] [stdout] 596 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:662:5 [INFO] [stdout] | [INFO] [stdout] 662 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | data: web::Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_ref` [INFO] [stdout] --> src/main.rs:827:9 [INFO] [stdout] | [INFO] [stdout] 827 | let id_ref = &id; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sk` [INFO] [stdout] --> src/main.rs:830:9 [INFO] [stdout] | [INFO] [stdout] 830 | let sk = CurveBN::from_bytes(&sk_bytes, ¶ms).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resp0` is never read [INFO] [stdout] --> src/main.rs:857:13 [INFO] [stdout] | [INFO] [stdout] 857 | resp0 = format!("{}. Key already in there", resp0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `resp0` is never read [INFO] [stdout] --> src/main.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | resp0 = format!("{}. ID already in there", resp0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids_vector` [INFO] [stdout] --> src/main.rs:913:17 [INFO] [stdout] | [INFO] [stdout] 913 | let mut ids_vector: Vec<&BigNumRef> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ids_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let mut ids_vector: Vec<&BigNumRef> = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParamsArc { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | group: EcGroup, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | g_point: EcPoint, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | order: BigNum, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | u_point: EcPoint, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | field_order_size_in_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | group_order_size_in_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | ctx: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Copy`, `get_threshold`, and `get_n` are never used [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl KeyState { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | fn Copy(&self) -> KeyState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn get_threshold(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn get_n(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `Copy`, `get_threshold`, `get_n`, `delete_idstate`, and `get_private_keys_number` are never used [INFO] [stdout] --> src/main.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl IdState { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | fn Copy(&self) -> IdState { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn get_threshold(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn get_n(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn delete_idstate(&mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn get_private_keys_number(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 270 | impl AppState { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 271 | fn new() -> AppState { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/main.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn Copy(&self) -> KeyState { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Copy` should have a snake case name [INFO] [stdout] --> src/main.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | fn Copy(&self) -> IdState { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> src/main.rs:810:9 [INFO] [stdout] | [INFO] [stdout] 810 | let N = request_payload.parties; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `keystateMap` should have a snake case name [INFO] [stdout] --> src/main.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let mut keystateMap = data.keystate.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `keystate_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `idstateMap` should have a snake case name [INFO] [stdout] --> src/main.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | let mut idstateMap = data.idstate.lock().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `idstate_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `key_vector_curveBN` should have a snake case name [INFO] [stdout] --> src/main.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let key_vector_curveBN = key_vector_iter [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_vector_curve_bn` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "a1bce8152034139e196bc8f474c8a05d42248ed778534c77f382340f6e35b226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1bce8152034139e196bc8f474c8a05d42248ed778534c77f382340f6e35b226", kill_on_drop: false }` [INFO] [stdout] a1bce8152034139e196bc8f474c8a05d42248ed778534c77f382340f6e35b226