[INFO] cloning repository https://github.com/dwbrite/d20-space-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwbrite/d20-space-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fd20-space-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fd20-space-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdf7ef97de8df65a26720954da1690f480313c1a [INFO] building dwbrite/d20-space-api against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fd20-space-api" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwbrite/d20-space-api on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwbrite/d20-space-api [INFO] finished tweaking git repo https://github.com/dwbrite/d20-space-api [INFO] tweaked toml for git repo https://github.com/dwbrite/d20-space-api written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/dwbrite/d20-space-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded serde_json v1.0.75 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded axum v0.4.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f0d60fcc79f7ddcc710c32388836714a4a4ba521796cb40aefd10995b3f61be [INFO] running `Command { std: "docker" "start" "-a" "6f0d60fcc79f7ddcc710c32388836714a4a4ba521796cb40aefd10995b3f61be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f0d60fcc79f7ddcc710c32388836714a4a4ba521796cb40aefd10995b3f61be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0d60fcc79f7ddcc710c32388836714a4a4ba521796cb40aefd10995b3f61be", kill_on_drop: false }` [INFO] [stdout] 6f0d60fcc79f7ddcc710c32388836714a4a4ba521796cb40aefd10995b3f61be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 844728ab5bfb1b4d999ad5e63dd4ab12e559e27edfbb94d3a06d24080939fb75 [INFO] running `Command { std: "docker" "start" "-a" "844728ab5bfb1b4d999ad5e63dd4ab12e559e27edfbb94d3a06d24080939fb75", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling tower-http v0.2.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling axum v0.4.4 [INFO] [stderr] Compiling d20-space-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/v0/meta/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension`, `TypedHeader` [INFO] [stdout] --> src/v0/meta/auth.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::extract::{Extension, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::headers::authorization::Basic` [INFO] [stdout] --> src/v0/meta/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::headers::authorization::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::headers::Authorization` [INFO] [stdout] --> src/v0/meta/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::headers::Authorization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `extractor_middleware`, `get`, `http`, `post` [INFO] [stdout] --> src/v0/meta/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | extract::{extractor_middleware, FromRequest, RequestParts}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 11 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/v0/meta/auth.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/v0/meta/auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v0/meta/auth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/v0/meta/auth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/v0/meta/auth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxBody` [INFO] [stdout] --> src/v0/meta/image.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::body::{BoxBody, Full}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::header::InvalidHeaderValue` [INFO] [stdout] --> src/v0/meta/image.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http` [INFO] [stdout] --> src/v0/meta/image.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{body, http}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader` [INFO] [stdout] --> src/v0/meta/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::io::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `Read` [INFO] [stdout] --> src/v0/meta/image.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Bytes, Cursor, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::trace::TraceLayer` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/v0/meta/auth.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request(req: &mut RequestParts) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `router` [INFO] [stdout] --> src/v0/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn router() -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Basic` [INFO] [stdout] --> src/v0/meta/auth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Basic { username: String, password: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "844728ab5bfb1b4d999ad5e63dd4ab12e559e27edfbb94d3a06d24080939fb75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "844728ab5bfb1b4d999ad5e63dd4ab12e559e27edfbb94d3a06d24080939fb75", kill_on_drop: false }` [INFO] [stdout] 844728ab5bfb1b4d999ad5e63dd4ab12e559e27edfbb94d3a06d24080939fb75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9a026ef3e5a9ec1bbf0e6702f1d0730d3fd06769fa0991d5e8f4126e04af3a1 [INFO] running `Command { std: "docker" "start" "-a" "c9a026ef3e5a9ec1bbf0e6702f1d0730d3fd06769fa0991d5e8f4126e04af3a1", kill_on_drop: false }` [INFO] [stderr] Compiling d20-space-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/v0/meta/auth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension`, `TypedHeader` [INFO] [stdout] --> src/v0/meta/auth.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::extract::{Extension, TypedHeader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::headers::authorization::Basic` [INFO] [stdout] --> src/v0/meta/auth.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::headers::authorization::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::headers::Authorization` [INFO] [stdout] --> src/v0/meta/auth.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::headers::Authorization; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `extractor_middleware`, `get`, `http`, `post` [INFO] [stdout] --> src/v0/meta/auth.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | extract::{extractor_middleware, FromRequest, RequestParts}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | http, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 11 | Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/v0/meta/auth.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/v0/meta/auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/v0/meta/auth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::join` [INFO] [stdout] --> src/v0/meta/auth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/v0/meta/auth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxBody` [INFO] [stdout] --> src/v0/meta/image.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::body::{BoxBody, Full}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::header::InvalidHeaderValue` [INFO] [stdout] --> src/v0/meta/image.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::header::InvalidHeaderValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http` [INFO] [stdout] --> src/v0/meta/image.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::{body, http}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::io::Reader` [INFO] [stdout] --> src/v0/meta/image.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use image::io::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `Read` [INFO] [stdout] --> src/v0/meta/image.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Bytes, Cursor, Read}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::Router` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::Router; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::trace::TraceLayer` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tower_http::trace::TraceLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Deserialize` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::Deserialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/v0/meta/auth.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | async fn from_request(req: &mut RequestParts) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `router` [INFO] [stdout] --> src/v0/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn router() -> Router { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Basic` [INFO] [stdout] --> src/v0/meta/auth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | Basic { username: String, password: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.82s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/d20_space_api-914c8d2b5a91e73c) [INFO] running `Command { std: "docker" "inspect" "c9a026ef3e5a9ec1bbf0e6702f1d0730d3fd06769fa0991d5e8f4126e04af3a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a026ef3e5a9ec1bbf0e6702f1d0730d3fd06769fa0991d5e8f4126e04af3a1", kill_on_drop: false }` [INFO] [stdout] c9a026ef3e5a9ec1bbf0e6702f1d0730d3fd06769fa0991d5e8f4126e04af3a1