[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCaryWillard%2Fnaive_one_time_secret" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CaryWillard/naive_one_time_secret on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-4/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10737ed19b9ddbc78fe3b99b26ef7787e8346b132765d6d473999f59422ede77 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "10737ed19b9ddbc78fe3b99b26ef7787e8346b132765d6d473999f59422ede77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10737ed19b9ddbc78fe3b99b26ef7787e8346b132765d6d473999f59422ede77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10737ed19b9ddbc78fe3b99b26ef7787e8346b132765d6d473999f59422ede77", kill_on_drop: false }` [INFO] [stdout] 10737ed19b9ddbc78fe3b99b26ef7787e8346b132765d6d473999f59422ede77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e448a77cd4d4c31404b76b195138c821713b4b202935196b22d9526ee7efbd69 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e448a77cd4d4c31404b76b195138c821713b4b202935196b22d9526ee7efbd69", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [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 serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.22 [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 pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling serde v1.0.118 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [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 6m 13s [INFO] running `Command { std: "docker" "inspect" "e448a77cd4d4c31404b76b195138c821713b4b202935196b22d9526ee7efbd69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e448a77cd4d4c31404b76b195138c821713b4b202935196b22d9526ee7efbd69", kill_on_drop: false }` [INFO] [stdout] e448a77cd4d4c31404b76b195138c821713b4b202935196b22d9526ee7efbd69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fe8411bc755673636aa8b5689b1bb25ee2f29894e42984c1e649f5cc46e151d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0fe8411bc755673636aa8b5689b1bb25ee2f29894e42984c1e649f5cc46e151d", 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 5.37s [INFO] running `Command { std: "docker" "inspect" "0fe8411bc755673636aa8b5689b1bb25ee2f29894e42984c1e649f5cc46e151d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fe8411bc755673636aa8b5689b1bb25ee2f29894e42984c1e649f5cc46e151d", kill_on_drop: false }` [INFO] [stdout] 0fe8411bc755673636aa8b5689b1bb25ee2f29894e42984c1e649f5cc46e151d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76dd5bef2f1d8b5cdcf12a18234dd5dd9c4d07718147c28f93b8973a27ab501d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "76dd5bef2f1d8b5cdcf12a18234dd5dd9c4d07718147c28f93b8973a27ab501d", kill_on_drop: false }` [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.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/naive_one_time_secret-f9707f3fa46c1c17) [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-014f6190712c518f) [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" "76dd5bef2f1d8b5cdcf12a18234dd5dd9c4d07718147c28f93b8973a27ab501d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76dd5bef2f1d8b5cdcf12a18234dd5dd9c4d07718147c28f93b8973a27ab501d", kill_on_drop: false }` [INFO] [stdout] 76dd5bef2f1d8b5cdcf12a18234dd5dd9c4d07718147c28f93b8973a27ab501d