[INFO] cloning repository https://github.com/IvySeo/decrypt_file [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IvySeo/decrypt_file" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35a422b6bdd755e5273b2d57c1a7756505a36994 [INFO] testing IvySeo/decrypt_file against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIvySeo%2Fdecrypt_file" "/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/IvySeo/decrypt_file on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IvySeo/decrypt_file [INFO] finished tweaking git repo https://github.com/IvySeo/decrypt_file [INFO] tweaked toml for git repo https://github.com/IvySeo/decrypt_file written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/IvySeo/decrypt_file already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.2.1 [INFO] [stderr] Downloaded sha2 v0.6.0 [INFO] [stderr] Downloaded hmac v0.4.2 [INFO] [stderr] Downloaded crypto-mac v0.4.0 [INFO] [stderr] Downloaded block-buffer v0.2.0 [INFO] [stderr] Downloaded rusoto_core v0.44.0 [INFO] [stderr] Downloaded time v0.2.16 [INFO] [stderr] Downloaded pin-project v0.4.20 [INFO] [stderr] Downloaded async-trait v0.1.35 [INFO] [stderr] Downloaded proc-macro-nested v0.1.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.20 [INFO] [stderr] Downloaded rusoto_credential v0.44.0 [INFO] [stderr] Downloaded rusoto_signature v0.44.0 [INFO] [stderr] Downloaded standback v0.2.9 [INFO] [stderr] Downloaded rusoto_s3 v0.44.0 [INFO] [stderr] Downloaded curl v0.4.29 [INFO] [stderr] Downloaded digest v0.6.2 [INFO] [stderr] Downloaded curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Downloaded rust-s3 v0.8.2 [INFO] [stderr] Downloaded openssh-keys v0.4.1 [INFO] [stderr] Downloaded rusoto_sqs v0.44.0 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c64e65a66316d6b0f81af756ec930df40f239e0c4bfeb561ec1c447709f50453 [INFO] running `Command { std: "docker" "start" "-a" "c64e65a66316d6b0f81af756ec930df40f239e0c4bfeb561ec1c447709f50453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c64e65a66316d6b0f81af756ec930df40f239e0c4bfeb561ec1c447709f50453", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c64e65a66316d6b0f81af756ec930df40f239e0c4bfeb561ec1c447709f50453", kill_on_drop: false }` [INFO] [stdout] c64e65a66316d6b0f81af756ec930df40f239e0c4bfeb561ec1c447709f50453 [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07583138bde4237d06515c5b64df0818a3c5ac735ede0e2f5b5a8d1c001c34a6 [INFO] running `Command { std: "docker" "start" "-a" "07583138bde4237d06515c5b64df0818a3c5ac735ede0e2f5b5a8d1c001c34a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling filetime v0.2.10 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.8.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.6.2 [INFO] [stderr] Compiling crypto-mac v0.4.0 [INFO] [stderr] Compiling block-buffer v0.2.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.4.2 [INFO] [stderr] Compiling sha2 v0.6.0 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling openssh-keys v0.4.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling serde-xml-rs v0.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling rust-s3 v0.8.2 [INFO] [stderr] Compiling rusoto_credential v0.44.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling rusoto_signature v0.44.0 [INFO] [stderr] Compiling rusoto_s3 v0.44.0 [INFO] [stderr] Compiling rusoto_sqs v0.44.0 [INFO] [stderr] Compiling sodiumoxide v0.2.5 [INFO] [stderr] Compiling decrypt_file v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/decrypt.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/decrypt.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/serde_json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/serde_json.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/serde_json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/open_file.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/open_file.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/open_file.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m7` [INFO] [stdout] --> src/serde_json.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let m7: Vec = serde_json::from_str(m7data)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_m7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `downloaded` [INFO] [stdout] --> src/aws_s3.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(downloaded) =>{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downloaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decrypted` [INFO] [stdout] --> src/aws_s3.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(decrypted) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `holding_deleted` [INFO] [stdout] --> src/aws_s3.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | ... Ok(holding_deleted) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_holding_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/aws_s3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let uuid = &ListBucketResult.contents[1].key; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_downloaded` [INFO] [stdout] --> src/aws_s3.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let file_downloaded = write_file_in_local(file_body.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_downloaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/aws_s3.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let result = client [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_file.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut sk = line.unwrap(); // Ignore errors. [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `region` [INFO] [stdout] --> src/aws_s3.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | region: Region, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bucket_name` [INFO] [stdout] --> src/aws_s3.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | bucket_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bucket_deleted` [INFO] [stdout] --> src/aws_s3.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bucket_deleted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | block_on(ran); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/open_file.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open_encrypted_file(FILE_NAME_UUID: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn decrypt_function(FILE_NAME_UUID: &str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | FILE_NAME_UUID: &str [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn write_file(encrypted: Vec, FILE_NAME_UUID: &str) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/aws_s3.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / Runtime::new() [INFO] [stdout] 75 | | .expect("Failed to create Tokio runtime") [INFO] [stdout] 76 | | .block_on(copy_file_from_holding_to_backup_result); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ListBucketResult` should have a snake case name [INFO] [stdout] --> src/aws_s3.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | for (ListBucketResult, code) in results { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `list_bucket_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [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" "07583138bde4237d06515c5b64df0818a3c5ac735ede0e2f5b5a8d1c001c34a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07583138bde4237d06515c5b64df0818a3c5ac735ede0e2f5b5a8d1c001c34a6", kill_on_drop: false }` [INFO] [stdout] 07583138bde4237d06515c5b64df0818a3c5ac735ede0e2f5b5a8d1c001c34a6 [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b71deab496d39aef26413a0adfaea5f2e730afbade41719d9ee2d99c66302809 [INFO] running `Command { std: "docker" "start" "-a" "b71deab496d39aef26413a0adfaea5f2e730afbade41719d9ee2d99c66302809", kill_on_drop: false }` [INFO] [stderr] Compiling decrypt_file v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BufWriter` [INFO] [stdout] --> src/decrypt.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::{BufWriter, Write}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/decrypt.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/serde_json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/serde_json.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/serde_json.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/open_file.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let reader = BufReader::new(file); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/open_file.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/open_file.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | for (index, line) in reader.lines().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m7` [INFO] [stdout] --> src/serde_json.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let m7: Vec = serde_json::from_str(m7data)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_m7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `downloaded` [INFO] [stdout] --> src/aws_s3.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(downloaded) =>{ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downloaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decrypted` [INFO] [stdout] --> src/aws_s3.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | Ok(decrypted) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `holding_deleted` [INFO] [stdout] --> src/aws_s3.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | ... Ok(holding_deleted) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_holding_deleted` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uuid` [INFO] [stdout] --> src/aws_s3.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let uuid = &ListBucketResult.contents[1].key; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_downloaded` [INFO] [stdout] --> src/aws_s3.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let file_downloaded = write_file_in_local(file_body.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_downloaded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/aws_s3.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | let result = client [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/open_file.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut sk = line.unwrap(); // Ignore errors. [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `region` [INFO] [stdout] --> src/aws_s3.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | region: Region, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bucket_name` [INFO] [stdout] --> src/aws_s3.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | bucket_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bucket_deleted` [INFO] [stdout] --> src/aws_s3.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bucket_deleted: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | block_on(ran); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/open_file.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn open_encrypted_file(FILE_NAME_UUID: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn decrypt_function(FILE_NAME_UUID: &str) -> Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | FILE_NAME_UUID: &str [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stdout] --> src/decrypt.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn write_file(encrypted: Vec, FILE_NAME_UUID: &str) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/aws_s3.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / Runtime::new() [INFO] [stdout] 75 | | .expect("Failed to create Tokio runtime") [INFO] [stdout] 76 | | .block_on(copy_file_from_holding_to_backup_result); [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ListBucketResult` should have a snake case name [INFO] [stdout] --> src/aws_s3.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | for (ListBucketResult, code) in results { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `list_bucket_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [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" "b71deab496d39aef26413a0adfaea5f2e730afbade41719d9ee2d99c66302809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b71deab496d39aef26413a0adfaea5f2e730afbade41719d9ee2d99c66302809", kill_on_drop: false }` [INFO] [stdout] b71deab496d39aef26413a0adfaea5f2e730afbade41719d9ee2d99c66302809 [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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] facc52463b709051b591c5ceba22f1c966e7196380eb9f91355963a92a0fd0ae [INFO] running `Command { std: "docker" "start" "-a" "facc52463b709051b591c5ceba22f1c966e7196380eb9f91355963a92a0fd0ae", 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: `BufWriter` [INFO] [stderr] --> src/decrypt.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | use std::io::{BufWriter, Write}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `uuid::Uuid` [INFO] [stderr] --> src/decrypt.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use uuid::Uuid; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/serde_json.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> src/serde_json.rs:4:26 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::{Result, Value}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/serde_json.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/open_file.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let reader = BufReader::new(file); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/open_file.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | for (index, line) in reader.lines().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/open_file.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | for (index, line) in reader.lines().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `m7` [INFO] [stderr] --> src/serde_json.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | let m7: Vec = serde_json::from_str(m7data)?; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_m7` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `downloaded` [INFO] [stderr] --> src/aws_s3.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | Ok(downloaded) =>{ [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_downloaded` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decrypted` [INFO] [stderr] --> src/aws_s3.rs:90:20 [INFO] [stderr] | [INFO] [stderr] 90 | Ok(decrypted) => { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decrypted` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `holding_deleted` [INFO] [stderr] --> src/aws_s3.rs:95:36 [INFO] [stderr] | [INFO] [stderr] 95 | ... Ok(holding_deleted) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_holding_deleted` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uuid` [INFO] [stderr] --> src/aws_s3.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let uuid = &ListBucketResult.contents[1].key; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_uuid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_downloaded` [INFO] [stderr] --> src/aws_s3.rs:147:9 [INFO] [stderr] | [INFO] [stderr] 147 | let file_downloaded = write_file_in_local(file_body.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_downloaded` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/aws_s3.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | let result = client [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/open_file.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | let mut sk = line.unwrap(); // Ignore errors. [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `region` [INFO] [stderr] --> src/aws_s3.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | region: Region, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bucket_name` [INFO] [stderr] --> src/aws_s3.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | bucket_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bucket_deleted` [INFO] [stderr] --> src/aws_s3.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | bucket_deleted: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | block_on(ran); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stderr] --> src/open_file.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn open_encrypted_file(FILE_NAME_UUID: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stderr] --> src/decrypt.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn decrypt_function(FILE_NAME_UUID: &str) -> Result<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stderr] [INFO] [stderr] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stderr] --> src/decrypt.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | FILE_NAME_UUID: &str [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stderr] [INFO] [stderr] warning: variable `FILE_NAME_UUID` should have a snake case name [INFO] [stderr] --> src/decrypt.rs:109:40 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn write_file(encrypted: Vec, FILE_NAME_UUID: &str) -> std::io::Result<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_name_uuid` [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/aws_s3.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / Runtime::new() [INFO] [stderr] 75 | | .expect("Failed to create Tokio runtime") [INFO] [stderr] 76 | | .block_on(copy_file_from_holding_to_backup_result); [INFO] [stderr] | |___________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: variable `ListBucketResult` should have a snake case name [INFO] [stderr] --> src/aws_s3.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | for (ListBucketResult, code) in results { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `list_bucket_result` [INFO] [stderr] [INFO] [stderr] warning: `decrypt_file` (bin "decrypt_file" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [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/decrypt_file-5d0c5a26990bac16) [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" "facc52463b709051b591c5ceba22f1c966e7196380eb9f91355963a92a0fd0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "facc52463b709051b591c5ceba22f1c966e7196380eb9f91355963a92a0fd0ae", kill_on_drop: false }` [INFO] [stdout] facc52463b709051b591c5ceba22f1c966e7196380eb9f91355963a92a0fd0ae