[INFO] fetching crate hemlock_lib 0.1.0... [INFO] checking hemlock_lib-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate hemlock_lib 0.1.0 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hemlock_lib 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 287 packages to latest compatible versions [INFO] [stderr] Adding crc-fast v1.3.0 (available: v1.5.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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14f8e1724a296b0fa810a01637460fc0c384e2b2ace390092a4d610e6fe95853 [INFO] running `Command { std: "docker" "start" "-a" "14f8e1724a296b0fa810a01637460fc0c384e2b2ace390092a4d610e6fe95853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14f8e1724a296b0fa810a01637460fc0c384e2b2ace390092a4d610e6fe95853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14f8e1724a296b0fa810a01637460fc0c384e2b2ace390092a4d610e6fe95853", kill_on_drop: false }` [INFO] [stdout] 14f8e1724a296b0fa810a01637460fc0c384e2b2ace390092a4d610e6fe95853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c531047abd69ea7469e7cabafbc0bbbb5c02867bd30ecd481b05ec959b88fbe [INFO] running `Command { std: "docker" "start" "-a" "4c531047abd69ea7469e7cabafbc0bbbb5c02867bd30ecd481b05ec959b88fbe", kill_on_drop: false }` [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pqc_kyber v0.7.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking crc-fast v1.3.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.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] Checking rusty_crypto v0.1.24 [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 tokio-rustls v0.26.2 [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.5 [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.6 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking aws-types v1.3.8 [INFO] [stderr] Checking aws-sigv4 v1.3.4 [INFO] [stderr] Checking aws-smithy-checksums v0.63.8 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking aws-smithy-http-client v1.1.1 [INFO] [stderr] Checking aws-smithy-runtime v1.9.1 [INFO] [stderr] Checking aws-runtime v1.5.10 [INFO] [stderr] Checking aws-sdk-ssooidc v1.84.0 [INFO] [stderr] Checking aws-sdk-sso v1.83.0 [INFO] [stderr] Checking aws-sdk-sts v1.85.0 [INFO] [stderr] Checking aws-sdk-s3 v1.104.0 [INFO] [stderr] Checking aws-sdk-dynamodb v1.92.0 [INFO] [stderr] Checking aws-config v1.8.6 [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: `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: `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: `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 43.10s [INFO] running `Command { std: "docker" "inspect" "4c531047abd69ea7469e7cabafbc0bbbb5c02867bd30ecd481b05ec959b88fbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c531047abd69ea7469e7cabafbc0bbbb5c02867bd30ecd481b05ec959b88fbe", kill_on_drop: false }` [INFO] [stdout] 4c531047abd69ea7469e7cabafbc0bbbb5c02867bd30ecd481b05ec959b88fbe