[INFO] cloning repository https://github.com/sangelxyz/web_optimise
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sangelxyz/web_optimise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsangelxyz%2Fweb_optimise", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsangelxyz%2Fweb_optimise'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d389ec0e5ca55b680b598ff6556c8e6684f01b75
[INFO] checking sangelxyz/web_optimise against try#14731909456ca628a194900c35659dfdcb359e77 for pr-149195-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsangelxyz%2Fweb_optimise" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sangelxyz/web_optimise
[INFO] finished tweaking git repo https://github.com/sangelxyz/web_optimise
[INFO] tweaked toml for git repo https://github.com/sangelxyz/web_optimise written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sangelxyz/web_optimise on toolchain 14731909456ca628a194900c35659dfdcb359e77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sangelxyz/web_optimise 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" "+14731909456ca628a194900c35659dfdcb359e77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49f226fb2b8a3ee7e5c23e6d45a33aae48827578fe74717f3bba9bc15d6ee710
[INFO] running `Command { std: "docker" "start" "-a" "49f226fb2b8a3ee7e5c23e6d45a33aae48827578fe74717f3bba9bc15d6ee710", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49f226fb2b8a3ee7e5c23e6d45a33aae48827578fe74717f3bba9bc15d6ee710", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49f226fb2b8a3ee7e5c23e6d45a33aae48827578fe74717f3bba9bc15d6ee710", kill_on_drop: false }`
[INFO] [stdout] 49f226fb2b8a3ee7e5c23e6d45a33aae48827578fe74717f3bba9bc15d6ee710
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 54df2e6b80fa4b2c1d17aee522f224ff4a8a9b476879c25486ec621c42772341
[INFO] running `Command { std: "docker" "start" "-a" "54df2e6b80fa4b2c1d17aee522f224ff4a8a9b476879c25486ec621c42772341", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling crossbeam-utils v0.8.15
[INFO] [stderr]    Compiling memoffset v0.8.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.14
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling semver v1.0.17
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking crossbeam-channel v0.5.8
[INFO] [stderr]     Checking either v1.8.1
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]     Checking simd-adler32 v0.3.5
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]     Checking itoa v1.0.6
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking rayon v1.7.0
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling rust_hawktracer_proc_macro v0.4.1
[INFO] [stderr]     Checking rust_hawktracer_normal_macro v0.4.1
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]     Checking rust_hawktracer v0.7.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]    Compiling paste v1.0.12
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling libwebp-sys v0.4.2
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]    Compiling nasm-rs v0.2.5
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling darling_core v0.20.1
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.2
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking nanorand v0.7.0
[INFO] [stderr]     Checking flate2 v1.0.26
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking ryu v1.0.13
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking bitstream-io v1.6.0
[INFO] [stderr]    Compiling serde_json v1.0.99
[INFO] [stderr]     Checking imgref v1.9.4
[INFO] [stderr]     Checking rgb v0.8.36
[INFO] [stderr]     Checking loop9 v0.1.3
[INFO] [stderr]     Checking v_frame v0.3.4
[INFO] [stderr]     Checking jpeg-decoder v0.3.0
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling pin-project-internal v1.1.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking tiff v0.8.1
[INFO] [stderr]     Checking png v0.17.9
[INFO] [stderr]    Compiling darling_macro v0.20.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling darling v0.20.1
[INFO] [stderr]    Compiling serde_with_macros v3.0.0
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking ipnet v2.7.2
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]     Checking pin-project v1.1.0
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking chrono v0.4.26
[INFO] [stderr]     Checking derive v1.0.0
[INFO] [stderr]     Checking exr v1.6.4
[INFO] [stderr]     Checking arrayvec v0.7.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.0.0
[INFO] [stderr]     Checking av1-grain v0.2.2
[INFO] [stderr]     Checking avif-serialize v0.8.1
[INFO] [stderr]     Checking webp v0.2.2
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]     Checking tokio-util v0.7.8
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking h2 v0.3.19
[INFO] [stderr]    Compiling cargo-lock v8.0.3
[INFO] [stderr]    Compiling built v0.5.2
[INFO] [stderr]    Compiling rav1e v0.6.6
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.18
[INFO] [stderr]     Checking ravif v0.11.2
[INFO] [stderr]     Checking image v0.24.6
[INFO] [stderr]     Checking web_optimise v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]   --> src/main.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 | use chrono::{DateTime, Utc, TimeZone};
[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: `TimeZone`
[INFO] [stdout]   --> src/main.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 | use chrono::{DateTime, Utc, TimeZone};
[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 variable: `file_extension`
[INFO] [stdout]    --> src/main.rs:214:33
[INFO] [stdout]     |
[INFO] [stdout] 214 | ...                   let file_extension = std::path::Path::new(&file);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_extension`
[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_extension`
[INFO] [stdout]    --> src/main.rs:214:33
[INFO] [stdout]     |
[INFO] [stdout] 214 | ...                   let file_extension = std::path::Path::new(&file);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_extension`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Jpg`, `Jpeg`, and `Png` are never constructed
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum ImageType {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 24 |     Webp,
[INFO] [stdout] 25 |     Jpg,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Jpeg,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     Png,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Jpg`, `Jpeg`, and `Png` are never constructed
[INFO] [stdout]   --> src/main.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum ImageType {
[INFO] [stdout]    |      --------- variants in this enum
[INFO] [stdout] 24 |     Webp,
[INFO] [stdout] 25 |     Jpg,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 26 |     Jpeg,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     Png,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_filename` is never used
[INFO] [stdout]    --> src/main.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn extract_filename(url_string: &str) -> Option<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_filename` is never used
[INFO] [stdout]    --> src/main.rs:245:4
[INFO] [stdout]     |
[INFO] [stdout] 245 | fn extract_filename(url_string: &str) -> Option<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:208:56
[INFO] [stdout]     |
[INFO] [stdout] 208 |                     let res = get_img(&client, &img_url.clone()).await;
[INFO] [stdout]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:210:55
[INFO] [stdout]     |
[INFO] [stdout] 210 |                     let parse_url = Url::parse(img_url.clone()).unwrap();
[INFO] [stdout]     |                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:208:56
[INFO] [stdout]     |
[INFO] [stdout] 208 |                     let res = get_img(&client, &img_url.clone()).await;
[INFO] [stdout]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/main.rs:210:55
[INFO] [stdout]     |
[INFO] [stdout] 210 |                     let parse_url = Url::parse(img_url.clone()).unwrap();
[INFO] [stdout]     |                                                       ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "54df2e6b80fa4b2c1d17aee522f224ff4a8a9b476879c25486ec621c42772341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54df2e6b80fa4b2c1d17aee522f224ff4a8a9b476879c25486ec621c42772341", kill_on_drop: false }`
[INFO] [stdout] 54df2e6b80fa4b2c1d17aee522f224ff4a8a9b476879c25486ec621c42772341
