[INFO] cloning repository https://github.com/mahmoud-elgammal/ora [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mahmoud-elgammal/ora" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-elgammal%2Fora", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-elgammal%2Fora'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39a0a96ff8be8ed4204b376724a65a31bedf903b [INFO] checking mahmoud-elgammal/ora against master#d8810e3e2dab96778d20dd6d746ff95465515509 for pr-137033 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmahmoud-elgammal%2Fora" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mahmoud-elgammal/ora on toolchain d8810e3e2dab96778d20dd6d746ff95465515509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mahmoud-elgammal/ora [INFO] finished tweaking git repo https://github.com/mahmoud-elgammal/ora [INFO] tweaked toml for git repo https://github.com/mahmoud-elgammal/ora written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mahmoud-elgammal/ora already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bson v2.11.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3101bade652257e7f8c3dd318b4a6dadd6875f575dfbfbb6f3e00edf97044838 [INFO] running `Command { std: "docker" "start" "-a" "3101bade652257e7f8c3dd318b4a6dadd6875f575dfbfbb6f3e00edf97044838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3101bade652257e7f8c3dd318b4a6dadd6875f575dfbfbb6f3e00edf97044838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3101bade652257e7f8c3dd318b4a6dadd6875f575dfbfbb6f3e00edf97044838", kill_on_drop: false }` [INFO] [stdout] 3101bade652257e7f8c3dd318b4a6dadd6875f575dfbfbb6f3e00edf97044838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d8810e3e2dab96778d20dd6d746ff95465515509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 672acb3983d859e9db6dddf840e1d6f45c200967b58abf7bbd4103daaa046c2c [INFO] running `Command { std: "docker" "start" "-a" "672acb3983d859e9db6dddf840e1d6f45c200967b58abf7bbd4103daaa046c2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling uuid-macro-internal v1.9.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Checking bson v2.11.0 [INFO] [stderr] Checking ora v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Storage` and `Tuple` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use storage::storage::{Storage, Tuple}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/encryptor/encryptor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args`, `Error`, `Parser`, and `Subcommand` [INFO] [stdout] --> src/encryptor/encryptor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Error, Parser, Subcommand, Args}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, `Local`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/encryptor/encryptor.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Duration, DateTime, Utc, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SecureRandom` [INFO] [stdout] --> src/encryptor/encryptor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ring::rand::SecureRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SystemRandom` [INFO] [stdout] --> src/encryptor/encryptor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ring::rand::SystemRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Error` [INFO] [stdout] --> src/vault/vault.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, BufReader, BufRead, Error}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/storage/storage.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `bson`, `document`, and `to_bson` [INFO] [stdout] --> src/storage/storage.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use bson::{bson, document, to_bson, Bson}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Storage` and `Tuple` [INFO] [stdout] --> src/main.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use storage::storage::{Storage, Tuple}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/encryptor/encryptor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args`, `Error`, `Parser`, and `Subcommand` [INFO] [stdout] --> src/encryptor/encryptor.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::{Error, Parser, Subcommand, Args}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Duration`, `Local`, `TimeZone`, and `Utc` [INFO] [stdout] --> src/encryptor/encryptor.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{Duration, DateTime, Utc, Local, TimeZone}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SecureRandom` [INFO] [stdout] --> src/encryptor/encryptor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use ring::rand::SecureRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ring::rand::SystemRandom` [INFO] [stdout] --> src/encryptor/encryptor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use ring::rand::SystemRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `BufReader`, and `Error` [INFO] [stdout] --> src/vault/vault.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Write, BufReader, BufRead, Error}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/storage/storage.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bson`, `bson`, `document`, and `to_bson` [INFO] [stdout] --> src/storage/storage.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use bson::{bson, document, to_bson, Bson}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/vault/vault.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn insert(&self, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/vault/vault.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn insert(&self, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/command.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let args = &args[1..]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let index: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encrypt` and `sealing_key` are never used [INFO] [stdout] --> src/encryptor/encryptor.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Encryptor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn encrypt(self, data: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn sealing_key(&self) -> SealingKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableErrors` is never used [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TableErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save` and `insert` are never used [INFO] [stdout] --> src/vault/vault.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Vault { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn save(&self) -> Result<(), ()>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn insert(&self, data: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AlreadyExists` and `InvalidTupleSize` are never constructed [INFO] [stdout] --> src/storage/storage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | NotFound, [INFO] [stdout] 15 | AlreadyExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | InvalidTupleSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Record { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 105 | pub fn new(hash: String, value: String) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/storage.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Tuple { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, type_: SecretType) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_document` and `insert` are never used [INFO] [stdout] --> src/storage/storage.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn create_document(&mut self, name: String, tuples: Vec, representations: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn insert(&mut self, document: Secret, raw: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/register/register.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> src/register/register.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/register/register.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `read`, and `index` are never used [INFO] [stdout] --> src/register/register.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 18 | fn new() -> Register { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn insert(&mut self, hash: String, value: String, action: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn read(&self, hash: String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn index(&self, query: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/cli/command.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Secrets` is never constructed [INFO] [stdout] --> src/cli/command.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Secrets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/command.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let args = &args[1..]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let index: usize = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encrypt` and `sealing_key` are never used [INFO] [stdout] --> src/encryptor/encryptor.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Encryptor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn encrypt(self, data: String) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn sealing_key(&self) -> SealingKey { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TableErrors` is never used [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum TableErrors { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `save` and `insert` are never used [INFO] [stdout] --> src/vault/vault.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Vault { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn save(&self) -> Result<(), ()>{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn insert(&self, data: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AlreadyExists` and `InvalidTupleSize` are never constructed [INFO] [stdout] --> src/storage/storage.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 14 | NotFound, [INFO] [stdout] 15 | AlreadyExists, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | InvalidTupleSize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/storage.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Record { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 105 | pub fn new(hash: String, value: String) -> Record { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/storage/storage.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl Tuple { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 115 | pub fn new(name: String, type_: SecretType) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_document` and `insert` are never used [INFO] [stdout] --> src/storage/storage.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 125 | impl Storage { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn create_document(&mut self, name: String, tuples: Vec, representations: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn insert(&mut self, document: Secret, raw: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/register/register.rs:3:6 [INFO] [stdout] | [INFO] [stdout] 3 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> src/register/register.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Register` is never constructed [INFO] [stdout] --> src/register/register.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `read`, and `index` are never used [INFO] [stdout] --> src/register/register.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl Register { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 18 | fn new() -> Register { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn insert(&mut self, hash: String, value: String, action: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn read(&self, hash: String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn index(&self, query: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/cli/command.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Secrets` is never constructed [INFO] [stdout] --> src/cli/command.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Secrets { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.22s [INFO] running `Command { std: "docker" "inspect" "672acb3983d859e9db6dddf840e1d6f45c200967b58abf7bbd4103daaa046c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "672acb3983d859e9db6dddf840e1d6f45c200967b58abf7bbd4103daaa046c2c", kill_on_drop: false }` [INFO] [stdout] 672acb3983d859e9db6dddf840e1d6f45c200967b58abf7bbd4103daaa046c2c