[INFO] cloning repository https://github.com/peshwar9/imagecli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peshwar9/imagecli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fimagecli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fimagecli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e03c43283c32c1ea4b51c5e6b76bba46d897ee5d
[INFO] checking peshwar9/imagecli/e03c43283c32c1ea4b51c5e6b76bba46d897ee5d against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeshwar9%2Fimagecli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  94% (988/1044)
Updating files:  95% (992/1044)
Updating files:  96% (1003/1044)
Updating files:  97% (1013/1044)
Updating files:  98% (1024/1044)
Updating files:  99% (1034/1044)
Updating files: 100% (1044/1044)
Updating files: 100% (1044/1044), done.
[INFO] started tweaking git repo https://github.com/peshwar9/imagecli
[INFO] finished tweaking git repo https://github.com/peshwar9/imagecli
[INFO] tweaked toml for git repo https://github.com/peshwar9/imagecli written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peshwar9/imagecli on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peshwar9/imagecli 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `structopt` dependency)
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro-error-attr v1.0.3
[INFO] [stderr]   Downloaded adler32 v1.1.0
[INFO] [stderr]   Downloaded proc-macro-error v1.0.3
[INFO] [stderr]   Downloaded syn v1.0.34
[INFO] [stderr]   Downloaded tiff v0.5.0
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded generic-array v0.14.3
[INFO] [stderr]   Downloaded structopt v0.3.15
[INFO] [stderr]   Downloaded rayon-core v1.7.1
[INFO] [stderr]   Downloaded png v0.16.6
[INFO] [stderr]   Downloaded clap v2.33.1
[INFO] [stderr]   Downloaded image v0.23.7
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.20
[INFO] [stderr]   Downloaded libc v0.2.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bb3519fb6564db8a84ebc6162c218009f0d0c25ca73bd243b7c206699ddf7adc
[INFO] running `Command { std: "docker" "start" "-a" "bb3519fb6564db8a84ebc6162c218009f0d0c25ca73bd243b7c206699ddf7adc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb3519fb6564db8a84ebc6162c218009f0d0c25ca73bd243b7c206699ddf7adc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb3519fb6564db8a84ebc6162c218009f0d0c25ca73bd243b7c206699ddf7adc", kill_on_drop: false }`
[INFO] [stdout] bb3519fb6564db8a84ebc6162c218009f0d0c25ca73bd243b7c206699ddf7adc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29a061edd6745c5c7c8097a7584f886fb18c18fb5b3674a5ba15794be8ec9b66
[INFO] running `Command { std: "docker" "start" "-a" "29a061edd6745c5c7c8097a7584f886fb18c18fb5b3674a5ba15794be8ec9b66", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `structopt` dependency)
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling memoffset v0.5.5
[INFO] [stderr]    Compiling syn v1.0.34
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling generic-array v0.14.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.3
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking adler32 v1.1.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking subtle v2.2.3
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking png v0.16.6
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking block-cipher v0.7.1
[INFO] [stderr]     Checking universal-hash v0.4.0
[INFO] [stderr]     Checking aead v0.3.2
[INFO] [stderr]     Checking aes-soft v0.4.0
[INFO] [stderr]     Checking polyval v0.4.0
[INFO] [stderr]     Checking ghash v0.3.0
[INFO] [stderr]     Checking aes v0.4.0
[INFO] [stderr]     Checking aes-gcm v0.6.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking image v0.23.7
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling structopt-derive v0.4.8
[INFO] [stderr]     Checking structopt v0.3.15
[INFO] [stderr]     Checking imagecli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `clap::arg_enum`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::arg_enum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/resize.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `clap::arg_enum`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use clap::arg_enum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/resize.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resize.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file_name = src_folder_clone.file_stem().unwrap().to_str();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]   --> src/resize.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     mode: Mode,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/resize.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     file_name: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         Opt::Resize {
[INFO] [stdout] 38 | |             size,
[INFO] [stdout] 39 | |             mode,
[INFO] [stdout] 40 | |             imgtype,
[INFO] [stdout] 41 | |             srcfolder,
[INFO] [stdout] 42 | |             file,
[INFO] [stdout] 43 | |         } => {
[INFO] [stdout]    | |_________- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 54 |           _ => println!("Got nothing"),
[INFO] [stdout]    |           ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/resize.rs:103:9
[INFO] [stdout]     |
[INFO] [stdout] 103 |     let mut file_name = src_folder_clone.file_stem().unwrap().to_str();
[INFO] [stdout]     |         ----^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mode`
[INFO] [stdout]   --> src/resize.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 92 |     mode: Mode,
[INFO] [stdout]    |     ^^^^ help: if this is intentional, prefix it with an underscore: `_mode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/resize.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 94 |     file_name: String,
[INFO] [stdout]    |     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | /         Opt::Resize {
[INFO] [stdout] 38 | |             size,
[INFO] [stdout] 39 | |             mode,
[INFO] [stdout] 40 | |             imgtype,
[INFO] [stdout] 41 | |             srcfolder,
[INFO] [stdout] 42 | |             file,
[INFO] [stdout] 43 | |         } => {
[INFO] [stdout]    | |_________- matches all the relevant values
[INFO] [stdout] ...
[INFO] [stdout] 54 |           _ => println!("Got nothing"),
[INFO] [stdout]    |           ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.79s
[INFO] running `Command { std: "docker" "inspect" "29a061edd6745c5c7c8097a7584f886fb18c18fb5b3674a5ba15794be8ec9b66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29a061edd6745c5c7c8097a7584f886fb18c18fb5b3674a5ba15794be8ec9b66", kill_on_drop: false }`
[INFO] [stdout] 29a061edd6745c5c7c8097a7584f886fb18c18fb5b3674a5ba15794be8ec9b66
