[INFO] cloning repository https://github.com/patsore/gallery [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patsore/gallery" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fgallery", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fgallery'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60caf5326cf0353faf340339f994780bf27ce28d [INFO] building patsore/gallery against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fgallery" "/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/patsore/gallery [INFO] finished tweaking git repo https://github.com/patsore/gallery [INFO] tweaked toml for git repo https://github.com/patsore/gallery written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patsore/gallery on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patsore/gallery 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inotify v0.10.2 [INFO] [stderr] Downloaded notify v7.0.0 [INFO] [stderr] Downloaded matchit v0.8.0 [INFO] [stderr] Downloaded axum-core v0.5.0-alpha.1 [INFO] [stderr] Downloaded image-webp v0.2.0 [INFO] [stderr] Downloaded bytemuck v1.19.0 [INFO] [stderr] Downloaded avif-serialize v0.8.2 [INFO] [stderr] Downloaded tower-http v0.6.1 [INFO] [stderr] Downloaded image v0.25.5 [INFO] [stderr] Downloaded built v0.7.5 [INFO] [stderr] Downloaded cc v1.1.37 [INFO] [stderr] Downloaded notify-types v1.0.0 [INFO] [stderr] Downloaded axum v0.8.0-alpha.1 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0dfffb950ac476120fe4a4fe32a974a75f02f23870053279808f3d4ee8fb0f22 [INFO] running `Command { std: "docker" "start" "-a" "0dfffb950ac476120fe4a4fe32a974a75f02f23870053279808f3d4ee8fb0f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dfffb950ac476120fe4a4fe32a974a75f02f23870053279808f3d4ee8fb0f22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dfffb950ac476120fe4a4fe32a974a75f02f23870053279808f3d4ee8fb0f22", kill_on_drop: false }` [INFO] [stdout] 0dfffb950ac476120fe4a4fe32a974a75f02f23870053279808f3d4ee8fb0f22 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c621fb410305da2c566496450a47117fab5b1bfd3974a50e617038ad53182d3 [INFO] running `Command { std: "docker" "start" "-a" "0c621fb410305da2c566496450a47117fab5b1bfd3974a50e617038ad53182d3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling bytemuck v1.19.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling notify-types v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling matchit v0.8.0 [INFO] [stderr] Compiling notify v7.0.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling axum-core v0.5.0-alpha.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tower-http v0.6.1 [INFO] [stderr] Compiling basic-toml v0.1.9 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling axum v0.8.0-alpha.1 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling askama_axum v0.4.0 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::FileType` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::FileType; [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: `PathBuf` [INFO] [stdout] --> src/main.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `post` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Router, routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Uri` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::http::{Response, Uri}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::thumbnail` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use image::imageops::thumbnail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use notify::{Event, EventKind, recommended_watcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `extract_file_name` [INFO] [stdout] --> src/main.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! extract_file_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut images = dir [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut images = dir [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "0c621fb410305da2c566496450a47117fab5b1bfd3974a50e617038ad53182d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c621fb410305da2c566496450a47117fab5b1bfd3974a50e617038ad53182d3", kill_on_drop: false }` [INFO] [stdout] 0c621fb410305da2c566496450a47117fab5b1bfd3974a50e617038ad53182d3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eecd04e0c5205baafec99395d2efc96771147cb63385958e3b8ab056215f868b [INFO] running `Command { std: "docker" "start" "-a" "eecd04e0c5205baafec99395d2efc96771147cb63385958e3b8ab056215f868b", kill_on_drop: false }` [INFO] [stderr] Compiling gallery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::FileType` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::FileType; [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: `PathBuf` [INFO] [stdout] --> src/main.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `http::StatusCode`, and `post` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | Json, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Router, routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Response` and `Uri` [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::http::{Response, Uri}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::thumbnail` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use image::imageops::thumbnail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use notify::{Event, EventKind, recommended_watcher, RecursiveMode, Watcher}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `extract_file_name` [INFO] [stdout] --> src/main.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | macro_rules! extract_file_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut images = dir [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | let mut images = dir [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.90s [INFO] running `Command { std: "docker" "inspect" "eecd04e0c5205baafec99395d2efc96771147cb63385958e3b8ab056215f868b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecd04e0c5205baafec99395d2efc96771147cb63385958e3b8ab056215f868b", kill_on_drop: false }` [INFO] [stdout] eecd04e0c5205baafec99395d2efc96771147cb63385958e3b8ab056215f868b