[INFO] cloning repository https://github.com/Dania02525/rust_cli_encrypt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dania02525/rust_cli_encrypt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDania02525%2Frust_cli_encrypt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDania02525%2Frust_cli_encrypt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e377a6120c315dba646b596f94980e33abf59ec [INFO] checking Dania02525/rust_cli_encrypt against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDania02525%2Frust_cli_encrypt" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dania02525/rust_cli_encrypt 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/Dania02525/rust_cli_encrypt [INFO] finished tweaking git repo https://github.com/Dania02525/rust_cli_encrypt [INFO] tweaked toml for git repo https://github.com/Dania02525/rust_cli_encrypt written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Dania02525/rust_cli_encrypt 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] Downloading crates ... [INFO] [stderr] Downloaded data-encoding v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 3aac92f53a0f500059b328147d74fc781e5290d4d931d9e1a1eda53d8ff409a6 [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" "3aac92f53a0f500059b328147d74fc781e5290d4d931d9e1a1eda53d8ff409a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3aac92f53a0f500059b328147d74fc781e5290d4d931d9e1a1eda53d8ff409a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aac92f53a0f500059b328147d74fc781e5290d4d931d9e1a1eda53d8ff409a6", kill_on_drop: false }` [INFO] [stdout] 3aac92f53a0f500059b328147d74fc781e5290d4d931d9e1a1eda53d8ff409a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] a0232039191a48c7303e8026983c1eeb37885495b907802d8927b770a6735be0 [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" "a0232039191a48c7303e8026983c1eeb37885495b907802d8927b770a6735be0", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking data-encoding v2.1.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.3.20 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking encrypter_cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `OsRng`, `Rng` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{ Rng, OsRng }; [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/main.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | 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/main.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut iv = "whatever".as_bytes(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut iv = "whatever".as_bytes(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut result = decrypt(&encrypted_data[..], &key.as_bytes(), &iv).ok().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OsRng`, `Rng` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use rand::{ Rng, OsRng }; [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/main.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | 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/main.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let result = try!(decryptor.decrypt(&mut read_buffer, &mut write_buffer, true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut iv = "whatever".as_bytes(); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | let mut iv = "whatever".as_bytes(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let mut result = decrypt(&encrypted_data[..], &key.as_bytes(), &iv).ok().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.83s [INFO] running `Command { std: "docker" "inspect" "a0232039191a48c7303e8026983c1eeb37885495b907802d8927b770a6735be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0232039191a48c7303e8026983c1eeb37885495b907802d8927b770a6735be0", kill_on_drop: false }` [INFO] [stdout] a0232039191a48c7303e8026983c1eeb37885495b907802d8927b770a6735be0