[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] checking VibhavSurve09/programming-memes against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVibhavSurve09%2Fprogramming-memes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/VibhavSurve09/programming-memes on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.81
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.81
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.81
[INFO] [stderr]   Downloaded alloc-no-stdlib v2.0.3
[INFO] [stderr]   Downloaded sha1 v0.10.1
[INFO] [stderr]   Downloaded async-global-executor v2.2.0
[INFO] [stderr]   Downloaded crypto-common v0.1.4
[INFO] [stderr]   Downloaded gloo-timers v0.2.4
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.31
[INFO] [stderr]   Downloaded async-lock v2.5.0
[INFO] [stderr]   Downloaded ctor v0.1.22
[INFO] [stderr]   Downloaded roux v2.0.0
[INFO] [stderr]   Downloaded semver v1.0.12
[INFO] [stderr]   Downloaded paste v1.0.7
[INFO] [stderr]   Downloaded actix-files v0.6.1
[INFO] [stderr]   Downloaded blocking v1.2.0
[INFO] [stderr]   Downloaded alloc-stdlib v0.2.1
[INFO] [stderr]   Downloaded async-trait v0.1.56
[INFO] [stderr]   Downloaded async-io v1.7.0
[INFO] [stderr]   Downloaded actix-router v0.5.0
[INFO] [stderr]   Downloaded tracing-core v0.1.28
[INFO] [stderr]   Downloaded security-framework v2.6.1
[INFO] [stderr]   Downloaded time v0.3.11
[INFO] [stderr]   Downloaded actix-http v3.2.1
[INFO] [stderr]   Downloaded hashbrown v0.12.1
[INFO] [stderr]   Downloaded combine v4.6.4
[INFO] [stderr]   Downloaded hyper v0.14.19
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.81
[INFO] [stderr]   Downloaded actix-web v4.1.0
[INFO] [stderr]   Downloaded openssl v0.10.40
[INFO] [stderr]   Downloaded firestorm v0.5.1
[INFO] [stderr]   Downloaded js-sys v0.3.58
[INFO] [stderr]   Downloaded openssl-sys v0.9.74
[INFO] [stderr]   Downloaded serde v1.0.138
[INFO] [stderr]   Downloaded polling v2.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.81
[INFO] [stderr]   Downloaded actix-web-codegen v4.0.1
[INFO] [stderr]   Downloaded maybe-async v0.2.6
[INFO] [stderr]   Downloaded serde_derive v1.0.138
[INFO] [stderr]   Downloaded web-sys v0.3.58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ae258b8f19ea39d75db3ad71f12108b2100487b779b07d7676d8d662a556bbfc
[INFO] running `Command { std: "docker" "start" "-a" "ae258b8f19ea39d75db3ad71f12108b2100487b779b07d7676d8d662a556bbfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae258b8f19ea39d75db3ad71f12108b2100487b779b07d7676d8d662a556bbfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae258b8f19ea39d75db3ad71f12108b2100487b779b07d7676d8d662a556bbfc", kill_on_drop: false }`
[INFO] [stdout] ae258b8f19ea39d75db3ad71f12108b2100487b779b07d7676d8d662a556bbfc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0815a0525205ae78cf443d3f73bab38947df5d56c77d57b68251bff197005b7c
[INFO] running `Command { std: "docker" "start" "-a" "0815a0525205ae78cf443d3f73bab38947df5d56c77d57b68251bff197005b7c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]     Checking tracing-core v0.1.28
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking hashbrown v0.12.1
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking local-waker v0.1.3
[INFO] [stderr]     Checking alloc-stdlib v0.2.1
[INFO] [stderr]     Checking async-task v4.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking unicode-normalization v0.1.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling bytestring v1.1.0
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking miniz_oxide v0.5.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking brotli-decompressor v2.3.2
[INFO] [stderr]     Checking actix-utils v3.0.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]    Compiling firestorm v0.5.1
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.10
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking blocking v1.2.0
[INFO] [stderr]     Checking flate2 v1.0.24
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking async-executor v1.4.1
[INFO] [stderr]     Checking async-lock v2.5.0
[INFO] [stderr]     Checking brotli v3.3.4
[INFO] [stderr]    Compiling openssl-sys v0.9.74
[INFO] [stderr]    Compiling zstd-sys v2.0.1+zstd.1.5.2
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]     Checking sha1_smol v1.0.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.4
[INFO] [stderr]     Checking sha1 v0.6.1
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking http-range v0.1.5
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking sha1 v0.10.1
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]     Checking local-channel v0.1.3
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling ctor v0.1.22
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking polling v2.2.0
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking async-io v1.7.0
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]    Compiling actix-web-codegen v4.0.1
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]     Checking async-global-executor v2.2.0
[INFO] [stderr]    Compiling maybe-async v0.2.6
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking combine v4.6.4
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking actix-rt v2.7.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking actix-server v2.1.1
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking actix-codec v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking redis v0.17.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking roux v2.0.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]     Checking zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]     Checking actix-http v3.2.1
[INFO] [stderr]     Checking actix-web v4.1.0
[INFO] [stderr]     Checking actix-files v0.6.1
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_random_number` is never used
[INFO] [stdout]   --> src/routers/memes.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn generate_random_number(max_range: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] warning: function `generate_random_number` is never used
[INFO] [stdout]   --> src/routers/memes.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn generate_random_number(max_range: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 31s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.40, 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 4`
[INFO] running `Command { std: "docker" "inspect" "0815a0525205ae78cf443d3f73bab38947df5d56c77d57b68251bff197005b7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0815a0525205ae78cf443d3f73bab38947df5d56c77d57b68251bff197005b7c", kill_on_drop: false }`
[INFO] [stdout] 0815a0525205ae78cf443d3f73bab38947df5d56c77d57b68251bff197005b7c
