[INFO] cloning repository https://github.com/HectorIX/Encryption [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HectorIX/Encryption" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2FEncryption", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2FEncryption'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66a692cd2e2c73e577360f4d937f10c1ea11a8b2 [INFO] checking HectorIX/Encryption against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHectorIX%2FEncryption" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HectorIX/Encryption on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HectorIX/Encryption [INFO] finished tweaking git repo https://github.com/HectorIX/Encryption [INFO] tweaked toml for git repo https://github.com/HectorIX/Encryption written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/HectorIX/Encryption already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f50b6b481c7b51cbfde155e65e358fc33e656bd88bf831dab08d4c7e393ad848 [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" "f50b6b481c7b51cbfde155e65e358fc33e656bd88bf831dab08d4c7e393ad848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f50b6b481c7b51cbfde155e65e358fc33e656bd88bf831dab08d4c7e393ad848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50b6b481c7b51cbfde155e65e358fc33e656bd88bf831dab08d4c7e393ad848", kill_on_drop: false }` [INFO] [stdout] f50b6b481c7b51cbfde155e65e358fc33e656bd88bf831dab08d4c7e393ad848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8629499d2ad82dc0fe26039ecdbae0247eb0848d63b0aa85fed5f17e33ad0f31 [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" "8629499d2ad82dc0fe26039ecdbae0247eb0848d63b0aa85fed5f17e33ad0f31", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Checking libc v0.2.23 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.37 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking Encryption v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes256.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [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/aes256.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | 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/aes256.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let result = try!(encryptor.encrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | failure.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | ... , failure.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/aes256.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 60 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | failure.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | ... , failure.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `message` is never read [INFO] [stdout] --> src/menu.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `encrypted_message` is never read [INFO] [stdout] --> src/menu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut encrypted_message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `plaintext_message` is never read [INFO] [stdout] --> src/menu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut plaintext_message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initializedVector` [INFO] [stdout] --> src/menu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let initializedVector: String = "iv.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initializedVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | failure.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | ... , failure.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | failure.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileIO.rs:62:60 [INFO] [stdout] | [INFO] [stdout] 62 | ... , failure.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Encryption` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `encryption` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `fileIO` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod fileIO; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `file_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userChoice` should have a snake case name [INFO] [stdout] --> src/menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut userChoice:i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `user_choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputFile` should have a snake case name [INFO] [stdout] --> src/menu.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let inputFile: String = "input.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `caesarInput` should have a snake case name [INFO] [stdout] --> src/menu.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let caesarInput: String = "caesarInput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `caesar_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `caesarOutput` should have a snake case name [INFO] [stdout] --> src/menu.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let caesarOutput: String = "caesarOutput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `caesar_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aesInput` should have a snake case name [INFO] [stdout] --> src/menu.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let aesInput: String = "aesInput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `aes_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aesOutput` should have a snake case name [INFO] [stdout] --> src/menu.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let aesOutput: String = "aesOutput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aes_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initializedVector` should have a snake case name [INFO] [stdout] --> src/menu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let initializedVector: String = "iv.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialized_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `encrypted_AES_message` should have a snake case name [INFO] [stdout] --> src/menu.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | let encrypted_AES_message = aes256::aes256_encrypt(&message.clone().into_bytes(), &key, &iv).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypted_aes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `message` is never read [INFO] [stdout] --> src/menu.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `encrypted_message` is never read [INFO] [stdout] --> src/menu.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut encrypted_message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `plaintext_message` is never read [INFO] [stdout] --> src/menu.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut plaintext_message = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initializedVector` [INFO] [stdout] --> src/menu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let initializedVector: String = "iv.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initializedVector` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Encryption` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `encryption` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `fileIO` should have a snake case name [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | mod fileIO; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `file_io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userChoice` should have a snake case name [INFO] [stdout] --> src/menu.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut userChoice:i32 = 0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `user_choice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputFile` should have a snake case name [INFO] [stdout] --> src/menu.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let inputFile: String = "input.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `caesarInput` should have a snake case name [INFO] [stdout] --> src/menu.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let caesarInput: String = "caesarInput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `caesar_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `caesarOutput` should have a snake case name [INFO] [stdout] --> src/menu.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let caesarOutput: String = "caesarOutput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `caesar_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aesInput` should have a snake case name [INFO] [stdout] --> src/menu.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let aesInput: String = "aesInput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `aes_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aesOutput` should have a snake case name [INFO] [stdout] --> src/menu.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let aesOutput: String = "aesOutput.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `aes_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initializedVector` should have a snake case name [INFO] [stdout] --> src/menu.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let initializedVector: String = "iv.txt".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialized_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `encrypted_AES_message` should have a snake case name [INFO] [stdout] --> src/menu.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | let encrypted_AES_message = aes256::aes256_encrypt(&message.clone().into_bytes(), &key, &iv).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `encrypted_aes_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.57s [INFO] running `Command { std: "docker" "inspect" "8629499d2ad82dc0fe26039ecdbae0247eb0848d63b0aa85fed5f17e33ad0f31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8629499d2ad82dc0fe26039ecdbae0247eb0848d63b0aa85fed5f17e33ad0f31", kill_on_drop: false }` [INFO] [stdout] 8629499d2ad82dc0fe26039ecdbae0247eb0848d63b0aa85fed5f17e33ad0f31