[INFO] cloning repository https://github.com/CaryWillard/naive_one_time_secret [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CaryWillard/naive_one_time_secret" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaryWillard%2Fnaive_one_time_secret", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaryWillard%2Fnaive_one_time_secret'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e35496f8c1b05ebd3f5f291065e18928c0ce7f51 [INFO] testing CaryWillard/naive_one_time_secret against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaryWillard%2Fnaive_one_time_secret" "/workspace/builds/worker-23/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-23/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CaryWillard/naive_one_time_secret on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CaryWillard/naive_one_time_secret [INFO] finished tweaking git repo https://github.com/CaryWillard/naive_one_time_secret [INFO] tweaked toml for git repo https://github.com/CaryWillard/naive_one_time_secret written to /workspace/builds/worker-23/source/Cargo.toml [INFO] crate git repo https://github.com/CaryWillard/naive_one_time_secret already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec3313d3d2ebb27a40b20ecd274003e5da463885b8f0266e9d27f022b1f8c37 [INFO] running `Command { std: "docker" "start" "-a" "6ec3313d3d2ebb27a40b20ecd274003e5da463885b8f0266e9d27f022b1f8c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec3313d3d2ebb27a40b20ecd274003e5da463885b8f0266e9d27f022b1f8c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec3313d3d2ebb27a40b20ecd274003e5da463885b8f0266e9d27f022b1f8c37", kill_on_drop: false }` [INFO] [stdout] 6ec3313d3d2ebb27a40b20ecd274003e5da463885b8f0266e9d27f022b1f8c37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 548e115edafdeab52e0ecb0b411fdd7cb427921c4eac0586e56c6724facc47c0 [INFO] running `Command { std: "docker" "start" "-a" "548e115edafdeab52e0ecb0b411fdd7cb427921c4eac0586e56c6724facc47c0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling sodiumoxide v0.2.6 [INFO] [stderr] Compiling naive_one_time_secret v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::schema::secret_keys::columns::secret_key` [INFO] [stdout] --> src/repository.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::secret_keys::columns::secret_key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_secret` [INFO] [stdout] --> src/crypto.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt_secret(plaintext: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_key` [INFO] [stdout] --> src/crypto.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_key() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_secret` [INFO] [stdout] --> src/crypto.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn decrypt_secret(secret: &Secret, secret_key: &SecretKey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_key_by_id` [INFO] [stdout] --> src/crypto.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_key_by_id(_key_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Repo` [INFO] [stdout] --> src/repository.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Repo { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/repository.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> Repo { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `store_key` [INFO] [stdout] --> src/repository.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn store_key(&self, key: &InsertableSecretKey) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> src/repository.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_key(&self, id_of_key: i32) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `store_secret` [INFO] [stdout] --> src/repository.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn store_secret(&self, new_secret: &InsertableSecret) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_secret` [INFO] [stdout] --> src/repository.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_secret(&self, query_hash: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "548e115edafdeab52e0ecb0b411fdd7cb427921c4eac0586e56c6724facc47c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548e115edafdeab52e0ecb0b411fdd7cb427921c4eac0586e56c6724facc47c0", kill_on_drop: false }` [INFO] [stdout] 548e115edafdeab52e0ecb0b411fdd7cb427921c4eac0586e56c6724facc47c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7be59a587c6a9255b1507cd907c92ea5bcebabc405734fb97beae82f8ceb2c [INFO] running `Command { std: "docker" "start" "-a" "5e7be59a587c6a9255b1507cd907c92ea5bcebabc405734fb97beae82f8ceb2c", kill_on_drop: false }` [INFO] [stderr] Compiling naive_one_time_secret v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::schema::secret_keys::columns::secret_key` [INFO] [stdout] --> src/repository.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::schema::secret_keys::columns::secret_key; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encrypt_secret` [INFO] [stdout] --> src/crypto.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt_secret(plaintext: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_key` [INFO] [stdout] --> src/crypto.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_key() -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decrypt_secret` [INFO] [stdout] --> src/crypto.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn decrypt_secret(secret: &Secret, secret_key: &SecretKey) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_key_by_id` [INFO] [stdout] --> src/crypto.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_key_by_id(_key_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5e7be59a587c6a9255b1507cd907c92ea5bcebabc405734fb97beae82f8ceb2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7be59a587c6a9255b1507cd907c92ea5bcebabc405734fb97beae82f8ceb2c", kill_on_drop: false }` [INFO] [stdout] 5e7be59a587c6a9255b1507cd907c92ea5bcebabc405734fb97beae82f8ceb2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e39d653a5ac6f87c6d8dad77963c3fc2e7626a3853ffd6ebfa104df19c5f0d4b [INFO] running `Command { std: "docker" "start" "-a" "e39d653a5ac6f87c6d8dad77963c3fc2e7626a3853ffd6ebfa104df19c5f0d4b", 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] [stderr] warning: unused import: `crate::schema::secret_keys::columns::secret_key` [INFO] [stderr] --> src/repository.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::schema::secret_keys::columns::secret_key; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `encrypt_secret` [INFO] [stderr] --> src/crypto.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn encrypt_secret(plaintext: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_key` [INFO] [stderr] --> src/crypto.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_key() -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decrypt_secret` [INFO] [stderr] --> src/crypto.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn decrypt_secret(secret: &Secret, secret_key: &SecretKey) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_key_by_id` [INFO] [stderr] --> src/crypto.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | fn get_key_by_id(_key_id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `naive_one_time_secret` (bin "naive_one_time_secret" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/naive_one_time_secret-8748ad1b2a00e54c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test repository::tests::stores_and_reads_key ... ignored [INFO] [stdout] test repository::tests::stores_and_reads_secret ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/playground-705cb49db02aa2f5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e39d653a5ac6f87c6d8dad77963c3fc2e7626a3853ffd6ebfa104df19c5f0d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39d653a5ac6f87c6d8dad77963c3fc2e7626a3853ffd6ebfa104df19c5f0d4b", kill_on_drop: false }` [INFO] [stdout] e39d653a5ac6f87c6d8dad77963c3fc2e7626a3853ffd6ebfa104df19c5f0d4b