[INFO] fetching crate hemlock_lib 0.1.0... [INFO] checking hemlock_lib-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hemlock_lib 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hemlock_lib 0.1.0 [INFO] finished tweaking crates.io crate hemlock_lib 0.1.0 [INFO] tweaked toml for crates.io crate hemlock_lib 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hemlock_lib 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 286 packages to latest compatible versions [INFO] [stderr] Adding crc-fast v1.3.0 (available: v1.4.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matrix_kit v0.1.9 [INFO] [stderr] Downloaded algebra_kit v0.1.15 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.11 [INFO] [stderr] Downloaded aws-smithy-checksums v0.63.7 [INFO] [stderr] Downloaded sylvan_number v0.1.5 [INFO] [stderr] Downloaded crc-fast v1.3.0 [INFO] [stderr] Downloaded pqc_kyber v0.7.1 [INFO] [stderr] Downloaded rusty_crypto v0.1.24 [INFO] [stderr] Downloaded aws-sdk-s3 v1.103.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ac216bfe19571bdc75da5db77761bb7862ba3aed25edf4aea3031fda62bef09 [INFO] running `Command { std: "docker" "start" "-a" "8ac216bfe19571bdc75da5db77761bb7862ba3aed25edf4aea3031fda62bef09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ac216bfe19571bdc75da5db77761bb7862ba3aed25edf4aea3031fda62bef09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac216bfe19571bdc75da5db77761bb7862ba3aed25edf4aea3031fda62bef09", kill_on_drop: false }` [INFO] [stdout] 8ac216bfe19571bdc75da5db77761bb7862ba3aed25edf4aea3031fda62bef09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa2ed2f966eadd6eee8497ad67ca9a40d54f9f8929fae23b1a0497ca55196aca [INFO] running `Command { std: "docker" "start" "-a" "fa2ed2f966eadd6eee8497ad67ca9a40d54f9f8929fae23b1a0497ca55196aca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Checking bytes-utils v0.1.4 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking rustls-native-certs v0.8.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking regex-lite v0.1.7 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking xmlparser v0.13.6 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking crc v3.3.0 [INFO] [stderr] Compiling pqc_kyber v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking aws-smithy-xml v0.60.10 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking algebra_kit v0.1.15 [INFO] [stderr] Checking matrix_kit v0.1.9 [INFO] [stderr] Checking sylvan_number v0.1.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rusty_crypto v0.1.24 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking crc-fast v1.3.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking aws-smithy-types v1.3.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking aws-smithy-runtime-api v1.9.0 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.11 [INFO] [stderr] Checking aws-smithy-json v0.61.4 [INFO] [stderr] Checking aws-smithy-query v0.60.7 [INFO] [stderr] Checking aws-smithy-http v0.62.3 [INFO] [stderr] Checking aws-credential-types v1.2.5 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking aws-sigv4 v1.3.4 [INFO] [stderr] Checking aws-smithy-checksums v0.63.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking aws-smithy-http-client v1.1.0 [INFO] [stderr] Checking aws-smithy-runtime v1.9.0 [INFO] [stderr] Checking aws-runtime v1.5.10 [INFO] [stderr] Checking aws-sdk-sso v1.81.0 [INFO] [stderr] Checking aws-sdk-sts v1.84.0 [INFO] [stderr] Checking aws-sdk-ssooidc v1.82.0 [INFO] [stderr] Checking aws-sdk-dynamodb v1.90.0 [INFO] [stderr] Checking aws-sdk-s3 v1.103.0 [INFO] [stderr] Checking aws-config v1.8.5 [INFO] [stderr] Checking hemlock_lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DeleteItemOutput` [INFO] [stdout] --> src/web/dynamo.rs:4:84 [INFO] [stdout] | [INFO] [stdout] 4 | use aws_sdk_dynamodb::{error::SdkError, operation::{delete_item::{DeleteItemError, DeleteItemOutput}, put_item::PutItemError, query::Quer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::result` [INFO] [stdout] --> src/web/dynamo.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use aws_smithy_runtime_api::{client::result, http::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_sdk_dynamodb::types::AttributeValue` [INFO] [stdout] --> src/web/messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aws_sdk_dynamodb::types::AttributeValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SHARE_SIZE_BYTES` [INFO] [stdout] --> src/web/messages.rs:3:61 [INFO] [stdout] | [INFO] [stdout] 3 | use rusty_crypto::{lettuce, secsharing::sharing::{Share256, SHARE_SIZE_BYTES}, sha512, speck}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/web/users.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_sdk_dynamodb::types::AttributeValue` [INFO] [stdout] --> src/web/users.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aws_sdk_dynamodb::types::AttributeValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableKeyValues` [INFO] [stdout] --> src/web/users.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use super::dynamo::{self, DynamoDB, TableKeyValues}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/web/shares.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `thread::spawn` [INFO] [stdout] --> src/web/files.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs::File, io::{Read, Write}, path::PathBuf, thread::spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettuce::Plaintext` [INFO] [stdout] --> src/web/files.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rusty_crypto::{lettuce::Plaintext, speck}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/web/share_status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::Rng` [INFO] [stdout] --> src/web/share_status.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/web/share_status.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use rusty_crypto::{secsharing::sharing::{Share256, SHARE_SIZE_BYTES}, speck::{self, Key}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | use std::ffi::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SharesError` [INFO] [stdout] --> src/lib.rs:92:127 [INFO] [stdout] | [INFO] [stdout] 92 | ...tr, web::{dynamo::DynamoDB, messages, shares::{self, FileID, SharesError}, users::{self, UserID, UsersError}}, write_vec_to_c_ptr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | pub extern "C" fn capi_test_async(rt: *mut Runtime, callback: extern fn(c_int) -> ()) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:201:94 [INFO] [stdout] | [INFO] [stdout] 201 | ..., email_ptr: *const c_char, callback: extern fn(c_int, c_ulonglong, &mut speck::Key)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | callback: extern fn( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | callback: extern fn( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DeleteItemOutput` [INFO] [stdout] --> src/web/dynamo.rs:4:84 [INFO] [stdout] | [INFO] [stdout] 4 | use aws_sdk_dynamodb::{error::SdkError, operation::{delete_item::{DeleteItemError, DeleteItemOutput}, put_item::PutItemError, query::Quer... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:334:118 [INFO] [stdout] | [INFO] [stdout] 334 | pub extern "C" fn capi_process_inbox(rt: *mut Runtime, share_owner: UserID, master_key_ptr: *mut u8, completion: extern fn (i32)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:352:120 [INFO] [stdout] | [INFO] [stdout] 352 | ... master_key_ptr: *mut u8, completion: extern fn (i32, i32, *mut CPlaintextShare)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::result` [INFO] [stdout] --> src/web/dynamo.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use aws_smithy_runtime_api::{client::result, http::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_sdk_dynamodb::types::AttributeValue` [INFO] [stdout] --> src/web/messages.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use aws_sdk_dynamodb::types::AttributeValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/web/users.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `aws_sdk_dynamodb::types::AttributeValue` [INFO] [stdout] --> src/web/users.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use aws_sdk_dynamodb::types::AttributeValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TableKeyValues` [INFO] [stdout] --> src/web/users.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use super::dynamo::{self, DynamoDB, TableKeyValues}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::fs::File` [INFO] [stdout] --> src/web/shares.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::PathBuf` and `thread::spawn` [INFO] [stdout] --> src/web/files.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fs::File, io::{Read, Write}, path::PathBuf, thread::spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettuce::Plaintext` [INFO] [stdout] --> src/web/files.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use rusty_crypto::{lettuce::Plaintext, speck}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/web/share_status.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/web/share_status.rs:4:85 [INFO] [stdout] | [INFO] [stdout] 4 | use rusty_crypto::{secsharing::sharing::{Share256, SHARE_SIZE_BYTES}, speck::{self, Key}}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | use std::ffi::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SharesError` [INFO] [stdout] --> src/lib.rs:92:127 [INFO] [stdout] | [INFO] [stdout] 92 | ...tr, web::{dynamo::DynamoDB, messages, shares::{self, FileID, SharesError}, users::{self, UserID, UsersError}}, write_vec_to_c_ptr}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | pub extern "C" fn capi_test_async(rt: *mut Runtime, callback: extern fn(c_int) -> ()) -> c_int { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:201:94 [INFO] [stdout] | [INFO] [stdout] 201 | ..., email_ptr: *const c_char, callback: extern fn(c_int, c_ulonglong, &mut speck::Key)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | callback: extern fn( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:278:19 [INFO] [stdout] | [INFO] [stdout] 278 | callback: extern fn( [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:334:118 [INFO] [stdout] | [INFO] [stdout] 334 | pub extern "C" fn capi_process_inbox(rt: *mut Runtime, share_owner: UserID, master_key_ptr: *mut u8, completion: extern fn (i32)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:352:120 [INFO] [stdout] | [INFO] [stdout] 352 | ... master_key_ptr: *mut u8, completion: extern fn (i32, i32, *mut CPlaintextShare)) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | ScanError(SdkError>), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - ScanError(SdkError>), [INFO] [stdout] 14 + ScanError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | QueryError(SdkError>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - QueryError(SdkError>), [INFO] [stdout] 15 + QueryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | PutItemError(SdkError>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - PutItemError(SdkError>), [INFO] [stdout] 16 + PutItemError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | DeleteItemError(SdkError>) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - DeleteItemError(SdkError>) [INFO] [stdout] 17 + DeleteItemError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ShareStatus` is never constructed [INFO] [stdout] --> src/web/dynamo.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum Table { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 25 | ShareStatus [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileOwner`, `FileID`, `PublishedShares`, and `Threshold` are never constructed [INFO] [stdout] --> src/web/dynamo.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum TableKeyValues { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | FileOwner, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | FileID, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | PublishedShares, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | Threshold, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_query_result` is never used [INFO] [stdout] --> src/web/dynamo.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 148 | impl CiphertextShareStatusEntry { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 149 | [INFO] [stdout] 150 | fn from_query_result(result: HashMap) -> CiphertextShareStatusEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `upload_message`, `download_status`, and `upload_share_status` are never used [INFO] [stdout] --> src/web/dynamo.rs:313:15 [INFO] [stdout] | [INFO] [stdout] 161 | impl DynamoDB { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 313 | pub async fn upload_message(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub async fn download_status(&self, file_id: FileID, owner_id: UserID) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 428 | pub async fn upload_share_status(&self, file_id: FileID, owner_id: UserID, encrypted_published_shares: Vec, encrypted_threshold: Vec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | DynamoError(dynamo::DynamoError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DynamoError(dynamo::DynamoError), [INFO] [stdout] 13 + DynamoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | UsersError(users::UsersError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - UsersError(users::UsersError), [INFO] [stdout] 14 + UsersError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | SharesError(shares::SharesError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SharesError(shares::SharesError), [INFO] [stdout] 15 + SharesError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchMessageID(MessageID) [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - NoSuchMessageID(MessageID) [INFO] [stdout] 16 + NoSuchMessageID(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/web/messages.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 81 | impl PlaintextMessage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 82 | [INFO] [stdout] 83 | fn encrypt(&self, public_key: lettuce::PublicKey) -> EncryptedMessage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `send_message` is never used [INFO] [stdout] --> src/web/messages.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | pub async fn send_message(db: &DynamoDB, to_user: UserID, from_user: UserID, file_id: FileID, share: Share256, group_key: speck::Key) -> ... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/users.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | DynamoError(dynamo::DynamoError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UsersError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - DynamoError(dynamo::DynamoError), [INFO] [stdout] 36 + DynamoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/users.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | EmailTaken(String) [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UsersError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - EmailTaken(String) [INFO] [stdout] 38 + EmailTaken(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UserDoesNotExist` is never constructed [INFO] [stdout] --> src/web/users.rs:35:2 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum UsersError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 35 | UserDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsersError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_pubkey` is never used [INFO] [stdout] --> src/web/users.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn get_pubkey(db: &DynamoDB, user_id: UserID) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `share_owner` is never read [INFO] [stdout] --> src/web/shares.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PlaintextShare { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 21 | pub share_owner: UserID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/shares.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | DynamoError(dynamo::DynamoError) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SharesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - DynamoError(dynamo::DynamoError) [INFO] [stdout] 30 + DynamoError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FileKey` is never used [INFO] [stdout] --> src/web/files.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type FileKey = String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HL_FILES_BUCKET` is never used [INFO] [stdout] --> src/web/files.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const HL_FILES_BUCKET: &str = "hemlockfiles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileError` is never used [INFO] [stdout] --> src/web/files.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum FileError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_file_key` is never used [INFO] [stdout] --> src/web/files.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn make_file_key(user_id: UserID, file_id: FileID) -> FileKey { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_key` is never used [INFO] [stdout] --> src/web/files.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_file_key(file_key: FileKey) -> (UserID, FileID) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_client` is never used [INFO] [stdout] --> src/web/files.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn make_client() -> Client { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `retrieve_file` is never used [INFO] [stdout] --> src/web/files.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn retrieve_file(client: &Client, user_id: UserID, file_id: FileID, secret_key: speck::Key, file: &mut File) -> Result<(), File... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_and_upload` is never used [INFO] [stdout] --> src/web/files.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | pub async fn encrypt_and_upload(client: &Client, user_id: UserID, file_id: FileID, secret_key: speck::Key, file: &mut File) -> Result<(),... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlaintextShareStatusEntry` is never constructed [INFO] [stdout] --> src/web/share_status.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PlaintextShareStatusEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CiphertextShareStatusEntry` is never constructed [INFO] [stdout] --> src/web/share_status.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct CiphertextShareStatusEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrypt` is never used [INFO] [stdout] --> src/web/share_status.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | impl CiphertextShareStatusEntry { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] 25 | [INFO] [stdout] 26 | fn decrypt(&self, key: speck::Key) -> PlaintextShareStatusEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt` is never used [INFO] [stdout] --> src/web/share_status.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 48 | impl PlaintextShareStatusEntry { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] 49 | [INFO] [stdout] 50 | fn encrypt(&self, key: speck::Key) -> CiphertextShareStatusEntry { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_share_status` is never used [INFO] [stdout] --> src/web/share_status.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub async fn download_share_status(db: &DynamoDB, file_id: FileID, owner_id: UserID, group_key: speck::Key) -> Result src/web/share_status.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | pub async fn upload_share_status(db: &DynamoDB, entry: PlaintextShareStatusEntry, group_key: speck::Key) -> Result<(), DynamoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HemlockError` is never used [INFO] [stdout] --> src/splitting.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum HemlockError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_and_share` is never used [INFO] [stdout] --> src/splitting.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | pub async fn split_and_share(file: &mut File, owner_id: UserID, combiner_threshold: usize, recipients: Vec) -> Result<(), Hemlock... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish_share` is never used [INFO] [stdout] --> src/splitting.rs:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | pub async fn publish_share(file_id: FileID, file_owner: UserID, share: Share256, group_key: speck::Key) -> Result<(), HemlockError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recover_file` is never used [INFO] [stdout] --> src/splitting.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn recover_file(file_id: FileID, file_owner: UserID, group_key: speck::Key, file: &mut File) -> Result<(), HemlockError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/lib.rs:647:13 [INFO] [stdout] | [INFO] [stdout] 647 | let db = dynamo::DynamoDB::new().await; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | ScanError(SdkError>), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - ScanError(SdkError>), [INFO] [stdout] 14 + ScanError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | QueryError(SdkError>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - QueryError(SdkError>), [INFO] [stdout] 15 + QueryError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | PutItemError(SdkError>), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - PutItemError(SdkError>), [INFO] [stdout] 16 + PutItemError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/dynamo.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | DeleteItemError(SdkError>) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DynamoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - DeleteItemError(SdkError>) [INFO] [stdout] 17 + DeleteItemError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | DynamoError(dynamo::DynamoError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 - DynamoError(dynamo::DynamoError), [INFO] [stdout] 13 + DynamoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | UsersError(users::UsersError), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - UsersError(users::UsersError), [INFO] [stdout] 14 + UsersError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | SharesError(shares::SharesError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 - SharesError(shares::SharesError), [INFO] [stdout] 15 + SharesError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/messages.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | NoSuchMessageID(MessageID) [INFO] [stdout] | --------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MessagesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - NoSuchMessageID(MessageID) [INFO] [stdout] 16 + NoSuchMessageID(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/users.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | DynamoError(dynamo::DynamoError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UsersError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 - DynamoError(dynamo::DynamoError), [INFO] [stdout] 36 + DynamoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `share_owner` is never read [INFO] [stdout] --> src/web/shares.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct PlaintextShare { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 21 | pub share_owner: UserID, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/shares.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | DynamoError(dynamo::DynamoError) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SharesError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 - DynamoError(dynamo::DynamoError) [INFO] [stdout] 30 + DynamoError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/files.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | GetObjectError(SdkError), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - GetObjectError(SdkError), [INFO] [stdout] 23 + GetObjectError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/web/files.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | StdIOError(std::io::Error) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - StdIOError(std::io::Error) [INFO] [stdout] 24 + StdIOError(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_key` is never used [INFO] [stdout] --> src/web/files.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn parse_file_key(file_key: FileKey) -> (UserID, FileID) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/splitting.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | FileError(FileError), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HemlockError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - FileError(FileError), [INFO] [stdout] 10 + FileError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/splitting.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | MessagesError(MessagesError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HemlockError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 - MessagesError(MessagesError), [INFO] [stdout] 11 + MessagesError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/splitting.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | DynamoError(DynamoError), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HemlockError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 - DynamoError(DynamoError), [INFO] [stdout] 12 + DynamoError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "fa2ed2f966eadd6eee8497ad67ca9a40d54f9f8929fae23b1a0497ca55196aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2ed2f966eadd6eee8497ad67ca9a40d54f9f8929fae23b1a0497ca55196aca", kill_on_drop: false }` [INFO] [stdout] fa2ed2f966eadd6eee8497ad67ca9a40d54f9f8929fae23b1a0497ca55196aca