[INFO] cloning repository https://github.com/VibhavSurve09/programming-memes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VibhavSurve09/programming-memes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVibhavSurve09%2Fprogramming-memes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVibhavSurve09%2Fprogramming-memes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c52fea367b78b949c54ccb6706336bb43386ca2e [INFO] testing VibhavSurve09/programming-memes against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVibhavSurve09%2Fprogramming-memes" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VibhavSurve09/programming-memes on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VibhavSurve09/programming-memes [INFO] finished tweaking git repo https://github.com/VibhavSurve09/programming-memes [INFO] tweaked toml for git repo https://github.com/VibhavSurve09/programming-memes written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/VibhavSurve09/programming-memes 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.9 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded gloo-timers v0.2.4 [INFO] [stderr] Downloaded async-io v1.7.0 [INFO] [stderr] Downloaded async-global-executor v2.2.0 [INFO] [stderr] Downloaded actix-files v0.6.1 [INFO] [stderr] Downloaded blocking v1.2.0 [INFO] [stderr] Downloaded maybe-async v0.2.6 [INFO] [stderr] Downloaded roux v2.0.0 [INFO] [stderr] Downloaded redis v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd1797ac95c57d7adde5aa0c1067e9cbb303fb555cf3fded48289535fe451eb0 [INFO] running `Command { std: "docker" "start" "-a" "dd1797ac95c57d7adde5aa0c1067e9cbb303fb555cf3fded48289535fe451eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd1797ac95c57d7adde5aa0c1067e9cbb303fb555cf3fded48289535fe451eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd1797ac95c57d7adde5aa0c1067e9cbb303fb555cf3fded48289535fe451eb0", kill_on_drop: false }` [INFO] [stdout] dd1797ac95c57d7adde5aa0c1067e9cbb303fb555cf3fded48289535fe451eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19e67423ac18b7b647e0a8ecdf4ade6da046dfc299032d5acb24a9dc8c870a69 [INFO] running `Command { std: "docker" "start" "-a" "19e67423ac18b7b647e0a8ecdf4ade6da046dfc299032d5acb24a9dc8c870a69", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling async-task v4.3.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-web-codegen v4.0.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling polling v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling async-io v1.7.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling maybe-async v0.2.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-global-executor v2.2.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling combine v4.6.4 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling redis v0.17.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling roux v2.0.0 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-files v0.6.1 [INFO] [stderr] Compiling reddit_memes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/models/memes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/models/memes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/models/memes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/models/memes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/memes.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut all_memes = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/routers/memes.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | response_image.write(&img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = response_image.write(&img); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/routers/memes.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | response_image.write(&img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = response_image.write(&img); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "19e67423ac18b7b647e0a8ecdf4ade6da046dfc299032d5acb24a9dc8c870a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e67423ac18b7b647e0a8ecdf4ade6da046dfc299032d5acb24a9dc8c870a69", kill_on_drop: false }` [INFO] [stdout] 19e67423ac18b7b647e0a8ecdf4ade6da046dfc299032d5acb24a9dc8c870a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11b2626c10885cd832c1843693c23675da8814ea11c348f5a0adbb57a337dc62 [INFO] running `Command { std: "docker" "start" "-a" "11b2626c10885cd832c1843693c23675da8814ea11c348f5a0adbb57a337dc62", kill_on_drop: false }` [INFO] [stderr] Compiling reddit_memes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/models/memes.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/models/memes.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/models/memes.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/models/memes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis::Commands` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use redis::Commands; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/models/memes.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let mut all_memes = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/routers/memes.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | response_image.write(&img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = response_image.write(&img); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/routers/memes.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | response_image.write(&img); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 74 | let _ = response_image.write(&img); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "11b2626c10885cd832c1843693c23675da8814ea11c348f5a0adbb57a337dc62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b2626c10885cd832c1843693c23675da8814ea11c348f5a0adbb57a337dc62", kill_on_drop: false }` [INFO] [stdout] 11b2626c10885cd832c1843693c23675da8814ea11c348f5a0adbb57a337dc62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 548e86d0ac78bdcfdddb6b9f955e199780680758393d80df0c4447d34f76ccb2 [INFO] running `Command { std: "docker" "start" "-a" "548e86d0ac78bdcfdddb6b9f955e199780680758393d80df0c4447d34f76ccb2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error` [INFO] [stderr] --> src/models/memes.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::error; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/models/memes.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> src/models/memes.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/models/memes.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `redis::Commands` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use redis::Commands; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/models/memes.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let mut all_memes = Arc::new(Mutex::new(Vec::new())); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/routers/memes.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | response_image.write(&img); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 58 | let _ = response_image.write(&img); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/routers/memes.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | response_image.write(&img); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 74 | let _ = response_image.write(&img); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `reddit_memes` (bin "reddit_memes" test) generated 8 warnings (run `cargo fix --bin "reddit_memes" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.17.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/reddit_memes-08890fac7ec3542d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "548e86d0ac78bdcfdddb6b9f955e199780680758393d80df0c4447d34f76ccb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548e86d0ac78bdcfdddb6b9f955e199780680758393d80df0c4447d34f76ccb2", kill_on_drop: false }` [INFO] [stdout] 548e86d0ac78bdcfdddb6b9f955e199780680758393d80df0c4447d34f76ccb2