[INFO] cloning repository https://github.com/mqxqls/photo-compression
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mqxqls/photo-compression" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmqxqls%2Fphoto-compression", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmqxqls%2Fphoto-compression'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c14ab2b9246667ecabf50a47a78c97ec377ee87
[INFO] checking mqxqls/photo-compression against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmqxqls%2Fphoto-compression" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mqxqls/photo-compression
[INFO] finished tweaking git repo https://github.com/mqxqls/photo-compression
[INFO] tweaked toml for git repo https://github.com/mqxqls/photo-compression written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mqxqls/photo-compression on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mqxqls/photo-compression 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded console v0.15.1
[INFO] [stderr]   Downloaded comfy-table v6.1.0
[INFO] [stderr]   Downloaded once_cell v1.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2cf6ed13fb3972b75ed0635abe6cdcc596d69a271ef3d43ff01b069d9c4acbec
[INFO] running `Command { std: "docker" "start" "-a" "2cf6ed13fb3972b75ed0635abe6cdcc596d69a271ef3d43ff01b069d9c4acbec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2cf6ed13fb3972b75ed0635abe6cdcc596d69a271ef3d43ff01b069d9c4acbec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2cf6ed13fb3972b75ed0635abe6cdcc596d69a271ef3d43ff01b069d9c4acbec", kill_on_drop: false }`
[INFO] [stdout] 2cf6ed13fb3972b75ed0635abe6cdcc596d69a271ef3d43ff01b069d9c4acbec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e67a34a7f427cecb03cc78e7fe1c6bc40462faf4044e081aa2634f07d6df220
[INFO] running `Command { std: "docker" "start" "-a" "8e67a34a7f427cecb03cc78e7fe1c6bc40462faf4044e081aa2634f07d6df220", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.133
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]     Checking once_cell v1.14.0
[INFO] [stderr]    Compiling syn v1.0.100
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]     Checking miniz_oxide v0.5.4
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking bit_field v0.10.1
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking os_str_bytes v6.3.0
[INFO] [stderr]     Checking textwrap v0.15.1
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking bytemuck v1.12.1
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking crossbeam-utils v0.8.11
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking spin v0.9.4
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking parking_lot_core v0.9.3
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]     Checking crossbeam-epoch v0.9.10
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking console v0.15.1
[INFO] [stderr]     Checking png v0.17.6
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking rayon-core v1.9.3
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking rayon v1.5.3
[INFO] [stderr]     Checking indicatif v0.16.2
[INFO] [stderr]     Checking jpeg-decoder v0.2.6
[INFO] [stderr]     Checking tiff v0.7.3
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling clap_derive v3.2.18
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking comfy-table v6.1.0
[INFO] [stderr]     Checking exr v1.5.1
[INFO] [stderr]     Checking clap v3.2.22
[INFO] [stderr]     Checking image v0.24.3
[INFO] [stderr]     Checking cli-image v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `HumanBytes`
[INFO] [stdout]  --> src/lib.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use indicatif::{HumanBytes,HumanDuration,ProgressBar,ProgressStyle};
[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: `HumanBytes`
[INFO] [stdout]  --> src/lib.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use indicatif::{HumanBytes,HumanDuration,ProgressBar,ProgressStyle};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fomramtSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn fomramtSize(filesize:u64) ->String{
[INFO] [stdout]     |    ^^^^^^^^^^^ help: convert the identifier to snake case: `fomramt_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `itemPath` should have a snake case name
[INFO] [stdout]   --> src/img.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let itemPath = format!("{}item",args.path);
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `item_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fomramtSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:133:4
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn fomramtSize(filesize:u64) ->String{
[INFO] [stdout]     |    ^^^^^^^^^^^ help: convert the identifier to snake case: `fomramt_size`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `itemPath` should have a snake case name
[INFO] [stdout]   --> src/img.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let itemPath = format!("{}item",args.path);
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `item_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::GenericImageView`
[INFO] [stdout]  --> examples/t1.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::GenericImageView;
[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 imports: `collections::HashMap` and `path::Path`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::Path, collections::HashMap};
[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 imports: `collections::HashMap` and `path::Path`
[INFO] [stdout]  --> src/main.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::Path, collections::HashMap};
[INFO] [stdout]   |           ^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.23s
[INFO] running `Command { std: "docker" "inspect" "8e67a34a7f427cecb03cc78e7fe1c6bc40462faf4044e081aa2634f07d6df220", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e67a34a7f427cecb03cc78e7fe1c6bc40462faf4044e081aa2634f07d6df220", kill_on_drop: false }`
[INFO] [stdout] 8e67a34a7f427cecb03cc78e7fe1c6bc40462faf4044e081aa2634f07d6df220
