[INFO] cloning repository https://github.com/amschel99/Proof-of-identity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amschel99/Proof-of-identity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2FProof-of-identity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2FProof-of-identity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9d4efd29fe0212c2a39d10c13dd00a744c7b8fe [INFO] checking amschel99/Proof-of-identity against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famschel99%2FProof-of-identity" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 25% (16/62) Updating files: 27% (17/62) Updating files: 29% (18/62) Updating files: 30% (19/62) Updating files: 32% (20/62) Updating files: 33% (21/62) Updating files: 35% (22/62) Updating files: 37% (23/62) Updating files: 38% (24/62) Updating files: 40% (25/62) Updating files: 41% (26/62) Updating files: 43% (27/62) Updating files: 45% (28/62) Updating files: 46% (29/62) Updating files: 48% (30/62) Updating files: 50% (31/62) Updating files: 51% (32/62) Updating files: 53% (33/62) Updating files: 54% (34/62) Updating files: 56% (35/62) Updating files: 58% (36/62) Updating files: 59% (37/62) Updating files: 61% (38/62) Updating files: 62% (39/62) Updating files: 64% (40/62) Updating files: 66% (41/62) Updating files: 67% (42/62) Updating files: 69% (43/62) Updating files: 70% (44/62) Updating files: 72% (45/62) Updating files: 74% (46/62) Updating files: 75% (47/62) Updating files: 77% (48/62) Updating files: 79% (49/62) Updating files: 80% (50/62) Updating files: 82% (51/62) Updating files: 83% (52/62) Updating files: 85% (53/62) Updating files: 87% (54/62) Updating files: 88% (55/62) Updating files: 90% (56/62) Updating files: 91% (57/62) Updating files: 93% (58/62) Updating files: 95% (59/62) Updating files: 96% (60/62) Updating files: 98% (61/62) Updating files: 100% (62/62) Updating files: 100% (62/62), done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/amschel99/Proof-of-identity [INFO] finished tweaking git repo https://github.com/amschel99/Proof-of-identity [INFO] tweaked toml for git repo https://github.com/amschel99/Proof-of-identity written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amschel99/Proof-of-identity on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amschel99/Proof-of-identity 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 050fe95596666c4fddd75942a9a3c6438f0778627e9a617874df6a18216ce998 [INFO] running `Command { std: "docker" "start" "-a" "050fe95596666c4fddd75942a9a3c6438f0778627e9a617874df6a18216ce998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "050fe95596666c4fddd75942a9a3c6438f0778627e9a617874df6a18216ce998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050fe95596666c4fddd75942a9a3c6438f0778627e9a617874df6a18216ce998", kill_on_drop: false }` [INFO] [stdout] 050fe95596666c4fddd75942a9a3c6438f0778627e9a617874df6a18216ce998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd503b1e734b81b830fb1a096ecc0b8ab9bfa0b8848a9db95d6579e208b097f [INFO] running `Command { std: "docker" "start" "-a" "bdd503b1e734b81b830fb1a096ecc0b8ab9bfa0b8848a9db95d6579e208b097f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking dyn-hash v0.2.0 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling function_name-proc-macro v0.3.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking function_name v0.3.0 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking scan_fmt v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling liquid-derive v0.26.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking tar v0.4.41 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking sha256 v1.5.0 [INFO] [stderr] Checking csscolorparser v0.6.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking colorgrad v0.6.2 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking string-interner v0.15.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ic-stable-structures v0.6.5 [INFO] [stderr] Compiling kstring v2.0.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.1 [INFO] [stderr] Checking tract-data v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling liquid-core v0.26.6 [INFO] [stderr] Checking candid v0.10.8 [INFO] [stderr] Compiling liquid-lib v0.26.6 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk-macros v0.14.0 [INFO] [stderr] Checking ic-cdk v0.14.0 [INFO] [stderr] Compiling liquid v0.26.6 [INFO] [stderr] Checking ic-cdk v0.13.2 [INFO] [stderr] Checking ic-cdk v0.15.0 [INFO] [stderr] Compiling tract-linalg v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking stable-fs v0.5.1 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking ic-wasi-polyfill v0.5.1 (https://github.com/wasm-forge/ic-wasi-polyfill#0e0858cb) [INFO] [stderr] Checking benchmark_test_backend v0.1.0 (https://github.com/wasm-forge/ic-wasi-polyfill#0e0858cb) [INFO] [stderr] Checking fs_tests_backend v0.1.0 (https://github.com/wasm-forge/ic-wasi-polyfill#0e0858cb) [INFO] [stderr] Checking benchmark_test_upgraded_backend v0.1.0 (https://github.com/wasm-forge/ic-wasi-polyfill#0e0858cb) [INFO] [stderr] Checking tract-core v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking tract-nnef v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking tract-hir v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking tract-onnx-opl v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking tract-onnx v0.21.6-pre (https://github.com/sonos/tract?rev=2a2914ac29390cc08963301c9f3d437b52dd321a#2a2914ac) [INFO] [stderr] Checking backend v1.1.0 (/opt/rustwide/workdir/src/backend) [INFO] [stdout] warning: unused import: `tract_onnx::tract_core::ops::identity` [INFO] [stdout] --> src/backend/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tract_onnx::tract_core::ops::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec as VecStructure` [INFO] [stdout] --> src/backend/src/lib.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | BTreeMap, Cell, DefaultMemoryImpl, Vec as VecStructure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/backend/src/lamport.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tract_onnx::tract_core::ops::identity` [INFO] [stdout] --> src/backend/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tract_onnx::tract_core::ops::identity; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vec as VecStructure` [INFO] [stdout] --> src/backend/src/lib.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | BTreeMap, Cell, DefaultMemoryImpl, Vec as VecStructure, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryInto` [INFO] [stdout] --> src/backend/src/lamport.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/backend/src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn add(label:String, image: Vec) -> Addition { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/backend/src/lib.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn add(label:String, image: Vec) -> Addition { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_label` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_SIZE` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const KEY_SIZE: usize = 256; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_ELEMENT_SIZE` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const KEY_ELEMENT_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> src/backend/src/lamport.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PrivateKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PrivateKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 23 | pub fn get_key(&self, i: usize) -> (String, String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PublicKey { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 29 | pub fn get_key(&self, i: usize) -> (String, String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Signature { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 35 | pub fn get_key(&self, i: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_private_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn generate_private_key(input: &str) -> PrivateKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn hash(str: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_public_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create_public_key(private_key: &PrivateKey) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_to_binary_array` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn hash_to_binary_array(hash_string: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn sign(message_hash: String, private_key: &PrivateKey) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn verify(message_hash: String, signature: &Signature, public_key: &PublicKey) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_SIZE` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const KEY_SIZE: usize = 256; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_ELEMENT_SIZE` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const KEY_ELEMENT_SIZE: usize = 32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrivateKey` is never constructed [INFO] [stdout] --> src/backend/src/lamport.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PrivateKey { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PrivateKey { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 23 | pub fn get_key(&self, i: usize) -> (String, String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl PublicKey { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 29 | pub fn get_key(&self, i: usize) -> (String, String) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Signature { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 35 | pub fn get_key(&self, i: usize) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_private_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn generate_private_key(input: &str) -> PrivateKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn hash(str: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_public_key` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create_public_key(private_key: &PrivateKey) -> PublicKey { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_to_binary_array` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn hash_to_binary_array(hash_string: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sign` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn sign(message_hash: String, private_key: &PrivateKey) -> Signature { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify` is never used [INFO] [stdout] --> src/backend/src/lamport.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn verify(message_hash: String, signature: &Signature, public_key: &PublicKey) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.83s [INFO] running `Command { std: "docker" "inspect" "bdd503b1e734b81b830fb1a096ecc0b8ab9bfa0b8848a9db95d6579e208b097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd503b1e734b81b830fb1a096ecc0b8ab9bfa0b8848a9db95d6579e208b097f", kill_on_drop: false }` [INFO] [stdout] bdd503b1e734b81b830fb1a096ecc0b8ab9bfa0b8848a9db95d6579e208b097f