[INFO] cloning repository https://github.com/AwolDes/rusto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AwolDes/rusto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwolDes%2Frusto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwolDes%2Frusto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0f137e94db6d78f3fc30e4fad4a3985428cdb4e [INFO] checking AwolDes/rusto against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwolDes%2Frusto" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AwolDes/rusto on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AwolDes/rusto [INFO] finished tweaking git repo https://github.com/AwolDes/rusto [INFO] tweaked toml for git repo https://github.com/AwolDes/rusto written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AwolDes/rusto already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded time v0.1.36 [INFO] [stderr] Downloaded rustc-serialize v0.3.22 [INFO] [stderr] Downloaded encryptfile v0.1.3 [INFO] [stderr] Downloaded bn v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6525daaac08eecd06f909b92f4cc16d9430c35f3c075441b5dacccd103f6701 [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" "d6525daaac08eecd06f909b92f4cc16d9430c35f3c075441b5dacccd103f6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6525daaac08eecd06f909b92f4cc16d9430c35f3c075441b5dacccd103f6701", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6525daaac08eecd06f909b92f4cc16d9430c35f3c075441b5dacccd103f6701", kill_on_drop: false }` [INFO] [stdout] d6525daaac08eecd06f909b92f4cc16d9430c35f3c075441b5dacccd103f6701 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae089d96224ea5178e76913294483b2e363accfe1b22edd8636ed0f26b8954b5 [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" "ae089d96224ea5178e76913294483b2e363accfe1b22edd8636ed0f26b8954b5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Checking rustc-serialize v0.3.22 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking bn v0.4.2 [INFO] [stderr] Checking encryptfile v0.1.3 [INFO] [stderr] Checking rusto v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/basic_symm/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/basic_symm/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(fs::remove_file(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/basic_symm/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | try!(fs::remove_file(encrypted_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/directory_reading/mod.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic_symm` [INFO] [stdout] --> src/directory_reading/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use basic_symm; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let dir = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | try!(visit_dirs(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::digest::Digest` [INFO] [stdout] --> src/aes/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crypto::digest::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::symmetriccipher::SynchronousStreamCipher` [INFO] [stdout] --> src/aes/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crypto::symmetriccipher::SynchronousStreamCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromBase64` [INFO] [stdout] --> src/aes/mod.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use serialize::base64::{STANDARD, ToBase64, FromBase64}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let result = try!(cipher.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes/mod.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = try!(File::open(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let file_content = try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(fs::remove_file(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut f = try!(File::create(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(f.write_all(data.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/basic_symm/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/basic_symm/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | try!(fs::remove_file(file_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/basic_symm/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | try!(fs::remove_file(encrypted_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/directory_reading/mod.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::{DirEntry}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `basic_symm` [INFO] [stdout] --> src/directory_reading/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use basic_symm; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let dir = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/directory_reading/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | try!(visit_dirs(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::digest::Digest` [INFO] [stdout] --> src/aes/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crypto::digest::Digest; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto::symmetriccipher::SynchronousStreamCipher` [INFO] [stdout] --> src/aes/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crypto::symmetriccipher::SynchronousStreamCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromBase64` [INFO] [stdout] --> src/aes/mod.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use serialize::base64::{STANDARD, ToBase64, FromBase64}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes/mod.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let result = try!(cipher.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes/mod.rs:82:22 [INFO] [stdout] | [INFO] [stdout] 82 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut f = try!(File::open(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let file_content = try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(fs::remove_file(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut f = try!(File::create(file_directory)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_handling/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(f.write_all(data.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/directory_reading/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let dir = try!(entry); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/directory_reading/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let file_name = "ripu"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/directory_reading/mod.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let pass = "haha"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_content` [INFO] [stdout] --> src/file_handling/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let file_content = try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/directory_reading/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let dir = try!(entry); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/directory_reading/mod.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | let file_name = "ripu"; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pass` [INFO] [stdout] --> src/directory_reading/mod.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let pass = "haha"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_content` [INFO] [stdout] --> src/file_handling/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let file_content = try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateKey` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn GenerateKey() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateNonce` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn GenerateNonce() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateKey` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn GenerateKey() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `generate_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AESCipher` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn AESCipher(data: &[u8], key: &[u8], nonce: &[u8]) -> Result, symmetriccipher::SymmetricCipherError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aescipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `GenerateNonce` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn GenerateNonce() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_nonce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AESDecrypt` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn AESDecrypt(encrypted_data: &[u8], key: &[u8], nonce: &[u8]) -> Result, symmetriccipher::SymmetricCipherError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `aesdecrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AESCipher` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn AESCipher(data: &[u8], key: &[u8], nonce: &[u8]) -> Result, symmetriccipher::SymmetricCipherError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aescipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `AESDecrypt` should have a snake case name [INFO] [stdout] --> src/aes/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn AESDecrypt(encrypted_data: &[u8], key: &[u8], nonce: &[u8]) -> Result, symmetriccipher::SymmetricCipherError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `aesdecrypt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusto::basic_symm` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusto::basic_symm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusto::directory_reading` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusto::directory_reading; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusto::basic_symm` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rusto::basic_symm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rusto::directory_reading` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rusto::directory_reading; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | file_handling::remove_file(path.to_string()); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file_handling::write_file(decrypted_path.to_string(), &decrypted_data); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | file_handling::remove_file(encrypted_path.to_string()); [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | file_handling::remove_file(path.to_string()); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | file_handling::write_file(decrypted_path.to_string(), &decrypted_data); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | file_handling::remove_file(encrypted_path.to_string()); [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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.71s [INFO] running `Command { std: "docker" "inspect" "ae089d96224ea5178e76913294483b2e363accfe1b22edd8636ed0f26b8954b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae089d96224ea5178e76913294483b2e363accfe1b22edd8636ed0f26b8954b5", kill_on_drop: false }` [INFO] [stdout] ae089d96224ea5178e76913294483b2e363accfe1b22edd8636ed0f26b8954b5