[INFO] cloning repository https://github.com/taokeqin/deoss-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taokeqin/deoss-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaokeqin%2Fdeoss-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaokeqin%2Fdeoss-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71bb8fef43d83fa56d3b4f9ff9a62aba9ea8cd8d [INFO] building taokeqin/deoss-app against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaokeqin%2Fdeoss-app" "/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/taokeqin/deoss-app [INFO] finished tweaking git repo https://github.com/taokeqin/deoss-app [INFO] tweaked toml for git repo https://github.com/taokeqin/deoss-app written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taokeqin/deoss-app 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/taokeqin/deoss-app 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 git repository `https://github.com/tokio-rs/axum.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.29 [INFO] [stderr] Downloaded unicode-ident v1.0.9 [INFO] [stderr] Downloaded rustversion v1.0.12 [INFO] [stderr] Downloaded matchit v0.7.0 [INFO] [stderr] Downloaded async-trait v0.1.68 [INFO] [stderr] Downloaded uuid v1.4.0 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded security-framework v2.9.1 [INFO] [stderr] Downloaded openssl-sys v0.9.90 [INFO] [stderr] Downloaded proc-macro2 v1.0.63 [INFO] [stderr] Downloaded hyper v1.0.0-rc.3 [INFO] [stderr] Downloaded serde_json v1.0.99 [INFO] [stderr] Downloaded regex-syntax v0.7.2 [INFO] [stderr] Downloaded tempfile v3.6.0 [INFO] [stderr] Downloaded regex v1.8.4 [INFO] [stderr] Downloaded syn v2.0.22 [INFO] [stderr] Downloaded openssl v0.10.55 [INFO] [stderr] Downloaded wasm-streams v0.2.3 [INFO] [stderr] Downloaded serde_path_to_error v0.1.11 [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded rustix v0.37.21 [INFO] [stderr] Downloaded security-framework-sys v2.9.0 [INFO] [stderr] Downloaded tower-hyper-http-body-compat v0.1.4 [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] bb6dca446d5eab8e758da5c9f36950bad5311f574e9d66ca03882a2a2db2eb69 [INFO] running `Command { std: "docker" "start" "-a" "bb6dca446d5eab8e758da5c9f36950bad5311f574e9d66ca03882a2a2db2eb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb6dca446d5eab8e758da5c9f36950bad5311f574e9d66ca03882a2a2db2eb69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb6dca446d5eab8e758da5c9f36950bad5311f574e9d66ca03882a2a2db2eb69", kill_on_drop: false }` [INFO] [stdout] bb6dca446d5eab8e758da5c9f36950bad5311f574e9d66ca03882a2a2db2eb69 [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] 8c80a84cdd382293b57ddce8003246754b5708a7bfda1a55421f5f0280500571 [INFO] running `Command { std: "docker" "start" "-a" "8c80a84cdd382293b57ddce8003246754b5708a7bfda1a55421f5f0280500571", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling uuid v1.4.0 [INFO] [stderr] Compiling matchit v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling axum-core v0.3.4 (https://github.com/tokio-rs/axum.git?branch=main#f4accdc9) [INFO] [stderr] Compiling axum v0.6.16 (https://github.com/tokio-rs/axum.git?branch=main#f4accdc9) [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling http-body v1.0.0-rc.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.2 [INFO] [stderr] Compiling pin-project v1.1.2 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.0.0-rc.3 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling tower-hyper-http-body-compat v0.1.4 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling deoss v0.1.0 (/opt/rustwide/workdir/deoss) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> deoss/src/deoss.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::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: `self` [INFO] [stdout] --> deoss/src/deoss.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::{self, AsyncReadExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fid` [INFO] [stdout] --> deoss/src/deoss.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn info(self, fid: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket_name` is never read [INFO] [stdout] --> deoss/src/deoss.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DeOssClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | bucket_name: String, [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 `tokio::io::util::read_to_end::ReadToEnd` that must be used [INFO] [stdout] --> deoss/src/deoss.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | file.read_to_end(&mut vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [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] 32 | let _ = file.read_to_end(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deoss-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_image(Path(fid): Path, request: Request) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stdout] 37 | | .await; [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] 36 | let _ = tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.97s [INFO] running `Command { std: "docker" "inspect" "8c80a84cdd382293b57ddce8003246754b5708a7bfda1a55421f5f0280500571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c80a84cdd382293b57ddce8003246754b5708a7bfda1a55421f5f0280500571", kill_on_drop: false }` [INFO] [stdout] 8c80a84cdd382293b57ddce8003246754b5708a7bfda1a55421f5f0280500571 [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] a00ccf8ca27c74c3971a788fd538e374f64742497e725ecd9547d8fab8d5396c [INFO] running `Command { std: "docker" "start" "-a" "a00ccf8ca27c74c3971a788fd538e374f64742497e725ecd9547d8fab8d5396c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> deoss/src/deoss.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::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: `self` [INFO] [stdout] --> deoss/src/deoss.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::io::{self, AsyncReadExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fid` [INFO] [stdout] --> deoss/src/deoss.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn info(self, fid: &str) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket_name` is never read [INFO] [stdout] --> deoss/src/deoss.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DeOssClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | bucket_name: String, [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 `tokio::io::util::read_to_end::ReadToEnd` that must be used [INFO] [stdout] --> deoss/src/deoss.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | file.read_to_end(&mut vec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [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] 32 | let _ = file.read_to_end(&mut vec); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deoss-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:63:45 [INFO] [stdout] | [INFO] [stdout] 63 | async fn get_image(Path(fid): Path, request: Request) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stdout] 37 | | .await; [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] 36 | let _ = tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "a00ccf8ca27c74c3971a788fd538e374f64742497e725ecd9547d8fab8d5396c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a00ccf8ca27c74c3971a788fd538e374f64742497e725ecd9547d8fab8d5396c", kill_on_drop: false }` [INFO] [stdout] a00ccf8ca27c74c3971a788fd538e374f64742497e725ecd9547d8fab8d5396c