[INFO] cloning repository https://github.com/Benbellah-Owino/Axum_Multer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Benbellah-Owino/Axum_Multer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenbellah-Owino%2FAxum_Multer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenbellah-Owino%2FAxum_Multer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fe19ed72c6bd31c97d7f94975f71c6a6281805ba
[INFO] checking Benbellah-Owino/Axum_Multer against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenbellah-Owino%2FAxum_Multer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Benbellah-Owino/Axum_Multer
[INFO] finished tweaking git repo https://github.com/Benbellah-Owino/Axum_Multer
[INFO] tweaked toml for git repo https://github.com/Benbellah-Owino/Axum_Multer written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Benbellah-Owino/Axum_Multer on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Benbellah-Owino/Axum_Multer 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-ident v1.0.13
[INFO] [stderr]   Downloaded tokio-util v0.7.11
[INFO] [stderr]   Downloaded sync_wrapper v1.0.1
[INFO] [stderr]   Downloaded redox_syscall v0.5.3
[INFO] [stderr]   Downloaded unicase v2.7.0
[INFO] [stderr]   Downloaded http-range-header v0.4.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.88
[INFO] [stderr]   Downloaded socket2 v0.5.7
[INFO] [stderr]   Downloaded bytes v1.7.2
[INFO] [stderr]   Downloaded serde_derive v1.0.210
[INFO] [stderr]   Downloaded serde v1.0.210
[INFO] [stderr]   Downloaded hyper-util v0.1.9
[INFO] [stderr]   Downloaded mio v1.0.2
[INFO] [stderr]   Downloaded axum v0.7.7
[INFO] [stderr]   Downloaded tower v0.5.1
[INFO] [stderr]   Downloaded tower-http v0.6.1
[INFO] [stderr]   Downloaded serde_json v1.0.128
[INFO] [stderr]   Downloaded hyper v1.5.0
[INFO] [stderr]   Downloaded syn v2.0.79
[INFO] [stderr]   Downloaded tokio v1.40.0
[INFO] [stderr]   Downloaded libc v0.2.160
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 84f9be375aadbb8db4494624db055270eebfc67db68a13e43abc5508cdd4026f
[INFO] running `Command { std: "docker" "start" "-a" "84f9be375aadbb8db4494624db055270eebfc67db68a13e43abc5508cdd4026f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "84f9be375aadbb8db4494624db055270eebfc67db68a13e43abc5508cdd4026f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84f9be375aadbb8db4494624db055270eebfc67db68a13e43abc5508cdd4026f", kill_on_drop: false }`
[INFO] [stdout] 84f9be375aadbb8db4494624db055270eebfc67db68a13e43abc5508cdd4026f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc180c25c945394c3ef5185b8ce99565d4eae9b58ada00b1a7ab6b33ee4460ed
[INFO] running `Command { std: "docker" "start" "-a" "bc180c25c945394c3ef5185b8ce99565d4eae9b58ada00b1a7ab6b33ee4460ed", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.88
[INFO] [stderr]    Compiling libc v0.2.160
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking http-range-header v0.4.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking hyper v1.5.0
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower-http v0.6.1
[INFO] [stderr]     Checking hyper-util v0.1.9
[INFO] [stderr]     Checking axum v0.7.7
[INFO] [stderr]     Checking multer v0.1.0 (/opt/rustwide/workdir/multer)
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> multer/src/storage/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[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: `Disk::store`
[INFO] [stdout]  --> multer/src/storage/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use Disk::store;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ErrorKind` and `self`
[INFO] [stdout]  --> multer/src/storage/Disk/mod.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{self, ErrorKind, Write},
[INFO] [stdout]   |          ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `save_to_disk`
[INFO] [stdout]  --> multer/src/web/mod.rs:6:59
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::storage::Disk::{append_to_disk, gen_file_name, save_to_disk};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `storage` is never used
[INFO] [stdout]   --> multer/src/storage/mod.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 | async fn storage(meta: Meta){
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Disk` should have a snake case name
[INFO] [stdout]  --> multer/src/storage/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub mod Disk;
[INFO] [stdout]   |         ^^^^ help: convert the identifier to snake case: `disk`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_BIG_image` should have a snake case name
[INFO] [stdout]    --> multer/src/web/mod.rs:102:14
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub async fn extract_BIG_image(mut multipart: Multipart) -> Result<(), Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `extract_big_image`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rs_multer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::{self, DefaultBodyLimit, Multipart, Request}, response::{Html, IntoResponse}, routing::{get, post}, Router
[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: `tower_http::services::ServeDir`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_http::services::ServeDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract_image`, `save_to_disk`, and `store`
[INFO] [stdout]  --> src/main.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use multer::{storage::Disk::{save_to_disk, store}, web::{extract_BIG_image, extract_image}};
[INFO] [stdout]   |                              ^^^^^^^^^^^^  ^^^^^                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 | async fn upload(mut multipart: Multipart)-> impl IntoResponse{
[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: unused variable: `req`
[INFO] [stdout]   --> src/main.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn index(req: Request) -> Html<String>{
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[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`
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let file = extract_BIG_image(multipart).await.unwrap();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 |     extract::{self, DefaultBodyLimit, Multipart, Request}, response::{Html, IntoResponse}, routing::{get, post}, Router
[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: `tower_http::services::ServeDir`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tower_http::services::ServeDir;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `extract_image`, `save_to_disk`, and `store`
[INFO] [stdout]  --> src/main.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | use multer::{storage::Disk::{save_to_disk, store}, web::{extract_BIG_image, extract_image}};
[INFO] [stdout]   |                              ^^^^^^^^^^^^  ^^^^^                            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:30:17
[INFO] [stdout]    |
[INFO] [stdout] 30 | async fn upload(mut multipart: Multipart)-> impl IntoResponse{
[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: unused variable: `req`
[INFO] [stdout]   --> src/main.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 | async fn index(req: Request) -> Html<String>{
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_req`
[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`
[INFO] [stdout]   --> src/main.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let file = extract_BIG_image(multipart).await.unwrap();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.62s
[INFO] running `Command { std: "docker" "inspect" "bc180c25c945394c3ef5185b8ce99565d4eae9b58ada00b1a7ab6b33ee4460ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc180c25c945394c3ef5185b8ce99565d4eae9b58ada00b1a7ab6b33ee4460ed", kill_on_drop: false }`
[INFO] [stdout] bc180c25c945394c3ef5185b8ce99565d4eae9b58ada00b1a7ab6b33ee4460ed
