[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 master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwolDes%2Frusto" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AwolDes/rusto on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encryptfile v0.1.3 [INFO] [stderr] Downloaded gcc v0.3.41 [INFO] [stderr] Downloaded rustc-serialize v0.3.22 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded time v0.1.36 [INFO] [stderr] Downloaded rand v0.3.15 [INFO] [stderr] Downloaded libc v0.2.20 [INFO] [stderr] Downloaded bn v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e63b25b9bf286ae59c1d5b75f1fac2f91458ccba708193ee113d39e3f872a0 [INFO] running `Command { std: "docker" "start" "-a" "70e63b25b9bf286ae59c1d5b75f1fac2f91458ccba708193ee113d39e3f872a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e63b25b9bf286ae59c1d5b75f1fac2f91458ccba708193ee113d39e3f872a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e63b25b9bf286ae59c1d5b75f1fac2f91458ccba708193ee113d39e3f872a0", kill_on_drop: false }` [INFO] [stdout] 70e63b25b9bf286ae59c1d5b75f1fac2f91458ccba708193ee113d39e3f872a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b05af5b98a829f299dc7eb6f008d88f48becfa25b4306dd217326f539b296a9e [INFO] running `Command { std: "docker" "start" "-a" "b05af5b98a829f299dc7eb6f008d88f48becfa25b4306dd217326f539b296a9e", 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.5.3 [INFO] [stderr] Checking byteorder v0.4.2 [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(f.write_all(data.as_slice())); [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: 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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(f.write_all(data.as_slice())); [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: 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: `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 `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: 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 `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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = file_handling::remove_file(path.to_string()); [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = file_handling::remove_file(path.to_string()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = file_handling::write_file(decrypted_path.to_string(), &decrypted_data); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = file_handling::write_file(decrypted_path.to_string(), &decrypted_data); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = file_handling::remove_file(encrypted_path.to_string()); [INFO] [stdout] | +++++++ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = file_handling::remove_file(encrypted_path.to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.22 [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" "b05af5b98a829f299dc7eb6f008d88f48becfa25b4306dd217326f539b296a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b05af5b98a829f299dc7eb6f008d88f48becfa25b4306dd217326f539b296a9e", kill_on_drop: false }` [INFO] [stdout] b05af5b98a829f299dc7eb6f008d88f48becfa25b4306dd217326f539b296a9e [INFO] checking AwolDes/rusto against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAwolDes%2Frusto" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AwolDes/rusto on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 300875700c426f172dd6be77f7670d49c005231a84578603861edd6c9759656f [INFO] running `Command { std: "docker" "start" "-a" "300875700c426f172dd6be77f7670d49c005231a84578603861edd6c9759656f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "300875700c426f172dd6be77f7670d49c005231a84578603861edd6c9759656f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300875700c426f172dd6be77f7670d49c005231a84578603861edd6c9759656f", kill_on_drop: false }` [INFO] [stdout] 300875700c426f172dd6be77f7670d49c005231a84578603861edd6c9759656f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f37ab8bca6856709c4d52d4b9753766b98b1e8c054aa6a75e72e179e45e45138 [INFO] running `Command { std: "docker" "start" "-a" "f37ab8bca6856709c4d52d4b9753766b98b1e8c054aa6a75e72e179e45e45138", 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] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.22/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f37ab8bca6856709c4d52d4b9753766b98b1e8c054aa6a75e72e179e45e45138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37ab8bca6856709c4d52d4b9753766b98b1e8c054aa6a75e72e179e45e45138", kill_on_drop: false }` [INFO] [stdout] f37ab8bca6856709c4d52d4b9753766b98b1e8c054aa6a75e72e179e45e45138