[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 try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mqxqls/photo-compression on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ab55562609637ea398fc086bdb9b7018590751d490346fc8cedb0d0f0809cd4 [INFO] running `Command { std: "docker" "start" "-a" "6ab55562609637ea398fc086bdb9b7018590751d490346fc8cedb0d0f0809cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ab55562609637ea398fc086bdb9b7018590751d490346fc8cedb0d0f0809cd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab55562609637ea398fc086bdb9b7018590751d490346fc8cedb0d0f0809cd4", kill_on_drop: false }` [INFO] [stdout] 6ab55562609637ea398fc086bdb9b7018590751d490346fc8cedb0d0f0809cd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f7ecb6d20ac1dbf69529c92e1aa7d4afbb7bd8a86f08375b4a774bc8250c016 [INFO] running `Command { std: "docker" "start" "-a" "9f7ecb6d20ac1dbf69529c92e1aa7d4afbb7bd8a86f08375b4a774bc8250c016", 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 futures-core v0.3.24 [INFO] [stderr] Compiling signal-hook v0.3.14 [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 regex-syntax v0.6.27 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Checking crossbeam-utils v0.8.11 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking bytemuck v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.10 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking png v0.17.6 [INFO] [stderr] Compiling quote v1.0.21 [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 parking_lot_core v0.9.3 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [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 clap_derive v3.2.18 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking comfy-table v6.1.0 [INFO] [stderr] Checking exr v1.5.1 [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub path:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub path:String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [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] [stderr] error: could not compile `cli-image` (lib test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cli-image` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f7ecb6d20ac1dbf69529c92e1aa7d4afbb7bd8a86f08375b4a774bc8250c016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f7ecb6d20ac1dbf69529c92e1aa7d4afbb7bd8a86f08375b4a774bc8250c016", kill_on_drop: false }` [INFO] [stdout] 9f7ecb6d20ac1dbf69529c92e1aa7d4afbb7bd8a86f08375b4a774bc8250c016