[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] testing taokeqin/deoss-app against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaokeqin%2Fdeoss-app" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taokeqin/deoss-app on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded tower-hyper-http-body-compat v0.1.4 [INFO] [stderr] Downloaded hyper v1.0.0-rc.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fece628899e2890cbd09f87456e5baece0c492ba2baea8efcb5e49a773d4ac2b [INFO] running `Command { std: "docker" "start" "-a" "fece628899e2890cbd09f87456e5baece0c492ba2baea8efcb5e49a773d4ac2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fece628899e2890cbd09f87456e5baece0c492ba2baea8efcb5e49a773d4ac2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fece628899e2890cbd09f87456e5baece0c492ba2baea8efcb5e49a773d4ac2b", kill_on_drop: false }` [INFO] [stdout] fece628899e2890cbd09f87456e5baece0c492ba2baea8efcb5e49a773d4ac2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0cb07b68a3b6225b82762e2c43c8e6b7c0dd570a17e5341c129e6ae3fdd7ddf [INFO] running `Command { std: "docker" "start" "-a" "b0cb07b68a3b6225b82762e2c43c8e6b7c0dd570a17e5341c129e6ae3fdd7ddf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Compiling axum-core v0.3.4 (https://github.com/tokio-rs/axum.git?branch=main#f4accdc9) [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling http-body v1.0.0-rc.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling axum v0.6.16 (https://github.com/tokio-rs/axum.git?branch=main#f4accdc9) [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling uuid v1.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling matchit v0.7.0 [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 matchers v0.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling pin-project v1.1.2 [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 tower v0.4.13 [INFO] [stderr] Compiling hyper v1.0.0-rc.3 [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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 1m 30s [INFO] running `Command { std: "docker" "inspect" "b0cb07b68a3b6225b82762e2c43c8e6b7c0dd570a17e5341c129e6ae3fdd7ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0cb07b68a3b6225b82762e2c43c8e6b7c0dd570a17e5341c129e6ae3fdd7ddf", kill_on_drop: false }` [INFO] [stdout] b0cb07b68a3b6225b82762e2c43c8e6b7c0dd570a17e5341c129e6ae3fdd7ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8132cef1630ea15c93d017537be892cdc7dc9ca8e27be5194af2c276ef7cd922 [INFO] running `Command { std: "docker" "start" "-a" "8132cef1630ea15c93d017537be892cdc7dc9ca8e27be5194af2c276ef7cd922", 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling deoss-app v0.1.0 (/opt/rustwide/workdir) [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)]` 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] [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)]` 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)]` 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.98s [INFO] running `Command { std: "docker" "inspect" "8132cef1630ea15c93d017537be892cdc7dc9ca8e27be5194af2c276ef7cd922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8132cef1630ea15c93d017537be892cdc7dc9ca8e27be5194af2c276ef7cd922", kill_on_drop: false }` [INFO] [stdout] 8132cef1630ea15c93d017537be892cdc7dc9ca8e27be5194af2c276ef7cd922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1433719d5379edc7528567dcc23b0aefc2dfda3a0e5bf625bc0cd24a8510c4ef [INFO] running `Command { std: "docker" "start" "-a" "1433719d5379edc7528567dcc23b0aefc2dfda3a0e5bf625bc0cd24a8510c4ef", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> deoss/src/deoss.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> deoss/src/deoss.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use tokio::io::{self, AsyncReadExt}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fid` [INFO] [stderr] --> deoss/src/deoss.rs:75:29 [INFO] [stderr] | [INFO] [stderr] 75 | pub async fn info(self, fid: &str) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fid` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `bucket_name` is never read [INFO] [stderr] --> deoss/src/deoss.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct DeOssClient { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 12 | bucket_name: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `tokio::io::util::read_to_end::ReadToEnd` that must be used [INFO] [stderr] --> deoss/src/deoss.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | file.read_to_end(&mut vec); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: futures do nothing unless you `.await` or poll them [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 32 | let _ = file.read_to_end(&mut vec); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `deoss` (lib) generated 5 warnings (run `cargo fix --lib -p deoss` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/main.rs:63:45 [INFO] [stderr] | [INFO] [stderr] 63 | async fn get_image(Path(fid): Path, request: Request) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | / tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stderr] 37 | | .await; [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] 36 | let _ = tokio::fs::create_dir(UPLOADS_DIRECTORY) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `deoss-app` (bin "deoss-app" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/deoss_app-98ceb0bf76f697b6) [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" "1433719d5379edc7528567dcc23b0aefc2dfda3a0e5bf625bc0cd24a8510c4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1433719d5379edc7528567dcc23b0aefc2dfda3a0e5bf625bc0cd24a8510c4ef", kill_on_drop: false }` [INFO] [stdout] 1433719d5379edc7528567dcc23b0aefc2dfda3a0e5bf625bc0cd24a8510c4ef