[INFO] cloning repository https://github.com/joshua-mo-143/webpnator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshua-mo-143/webpnator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fwebpnator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fwebpnator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dad9c1e5d8f1c7dc3bdb31b9040bae9d7d3b908a [INFO] building joshua-mo-143/webpnator against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshua-mo-143%2Fwebpnator" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joshua-mo-143/webpnator [INFO] finished tweaking git repo https://github.com/joshua-mo-143/webpnator [INFO] tweaked toml for git repo https://github.com/joshua-mo-143/webpnator written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joshua-mo-143/webpnator 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/joshua-mo-143/webpnator 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.6.2 [INFO] [stderr] Downloaded async-global-executor v2.3.1 [INFO] [stderr] Downloaded value-bag v1.4.1 [INFO] [stderr] Downloaded async-executor v1.5.1 [INFO] [stderr] Downloaded async-task v4.4.0 [INFO] [stderr] Downloaded async-tar v0.4.2 [INFO] [stderr] Downloaded flume v0.10.14 [INFO] [stderr] Downloaded bytemuck v1.13.1 [INFO] [stderr] Downloaded rayon v1.7.0 [INFO] [stderr] Downloaded async-compression v0.4.2 [INFO] [stderr] Downloaded async_zip v0.0.15 [INFO] [stderr] Downloaded crossbeam-utils v0.8.16 [INFO] [stderr] Downloaded rayon-core v1.11.0 [INFO] [stderr] Downloaded serde_path_to_error v0.1.14 [INFO] [stderr] Downloaded exr v1.7.0 [INFO] [stderr] Downloaded image v0.24.7 [INFO] [stderr] Downloaded atomic-waker v1.1.1 [INFO] [stderr] Downloaded blocking v1.3.1 [INFO] [stderr] Downloaded concurrent-queue v2.2.0 [INFO] [stderr] Downloaded parking v2.1.0 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded jpeg-decoder v0.3.0 [INFO] [stderr] Downloaded tiff v0.9.0 [INFO] [stderr] Downloaded libwebp-sys v0.9.2 [INFO] [stderr] Downloaded webp v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 123cc854c8aa22092d756b92c31a6de6c36c8d961f8821dace8b8eb38afe3cfe [INFO] running `Command { std: "docker" "start" "-a" "123cc854c8aa22092d756b92c31a6de6c36c8d961f8821dace8b8eb38afe3cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "123cc854c8aa22092d756b92c31a6de6c36c8d961f8821dace8b8eb38afe3cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "123cc854c8aa22092d756b92c31a6de6c36c8d961f8821dace8b8eb38afe3cfe", kill_on_drop: false }` [INFO] [stdout] 123cc854c8aa22092d756b92c31a6de6c36c8d961f8821dace8b8eb38afe3cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 55bce55b704744653cd2b0b13aa2b2622eeb22fddf8f825e0b13bb43ca257595 [INFO] running `Command { std: "docker" "start" "-a" "55bce55b704744653cd2b0b13aa2b2622eeb22fddf8f825e0b13bb43ca257595", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling value-bag v1.4.1 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling parking v2.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling async-task v4.4.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling concurrent-queue v2.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling atomic-waker v1.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling async-executor v1.5.1 [INFO] [stderr] Compiling blocking v1.3.1 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling fdeflate v0.3.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling async-compression v0.3.15 [INFO] [stderr] Compiling matchit v0.7.2 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.28 [INFO] [stderr] Compiling libwebp-sys v0.9.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-global-executor v2.3.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling webp v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling exr v1.7.0 [INFO] [stderr] Compiling async-tar v0.4.2 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling async-compression v0.4.2 [INFO] [stderr] Compiling async_zip v0.0.15 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling webpnator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration as StdDuration` and `SystemTime` [INFO] [stdout] --> src/tasks/maintenance.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration as StdDuration, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tasks/maintenance.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | / loop { [INFO] [stdout] 7 | | let mut uploads_folder = read_dir("uploads").await.unwrap(); [INFO] [stdout] 8 | | while let Some(entry) = uploads_folder.next_entry().await.unwrap() { [INFO] [stdout] 9 | | let metadata = entry.metadata().await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 16 | | sleep(Duration::from_secs(600)).await; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 18 | [INFO] [stdout] 19 | eprintln!("Looks like something went wrong and the loop died :("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/tasks/maintenance.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let metadata = entry.metadata().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "55bce55b704744653cd2b0b13aa2b2622eeb22fddf8f825e0b13bb43ca257595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55bce55b704744653cd2b0b13aa2b2622eeb22fddf8f825e0b13bb43ca257595", kill_on_drop: false }` [INFO] [stdout] 55bce55b704744653cd2b0b13aa2b2622eeb22fddf8f825e0b13bb43ca257595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 004ed49be1009314a2dfb513be836d37e4304f1025a50d5ac535391b6931508b [INFO] running `Command { std: "docker" "start" "-a" "004ed49be1009314a2dfb513be836d37e4304f1025a50d5ac535391b6931508b", kill_on_drop: false }` [INFO] [stderr] Compiling webpnator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration as StdDuration` and `SystemTime` [INFO] [stdout] --> src/tasks/maintenance.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Duration as StdDuration, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tasks/maintenance.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 6 | / loop { [INFO] [stdout] 7 | | let mut uploads_folder = read_dir("uploads").await.unwrap(); [INFO] [stdout] 8 | | while let Some(entry) = uploads_folder.next_entry().await.unwrap() { [INFO] [stdout] 9 | | let metadata = entry.metadata().await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 16 | | sleep(Duration::from_secs(600)).await; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 18 | [INFO] [stdout] 19 | eprintln!("Looks like something went wrong and the loop died :("); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `eprintln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata` [INFO] [stdout] --> src/tasks/maintenance.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | let metadata = entry.metadata().await.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.08s [INFO] running `Command { std: "docker" "inspect" "004ed49be1009314a2dfb513be836d37e4304f1025a50d5ac535391b6931508b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "004ed49be1009314a2dfb513be836d37e4304f1025a50d5ac535391b6931508b", kill_on_drop: false }` [INFO] [stdout] 004ed49be1009314a2dfb513be836d37e4304f1025a50d5ac535391b6931508b