[INFO] cloning repository https://github.com/dwbrite/dnd-greenroom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dwbrite/dnd-greenroom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fdnd-greenroom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fdnd-greenroom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac27960edcee64eacf7be39078f84d977cfdc717 [INFO] testing dwbrite/dnd-greenroom against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdwbrite%2Fdnd-greenroom" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dwbrite/dnd-greenroom on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dwbrite/dnd-greenroom [INFO] finished tweaking git repo https://github.com/dwbrite/dnd-greenroom [INFO] tweaked toml for git repo https://github.com/dwbrite/dnd-greenroom written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/dwbrite/dnd-greenroom already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aws-region v0.23.3 [INFO] [stderr] Downloaded tracing-subscriber v0.3.4 [INFO] [stderr] Downloaded rust-s3 v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51851bdec72ab924396e8e1ab9b8671c9358ce43517c0510d21ffc98b64a86b1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "51851bdec72ab924396e8e1ab9b8671c9358ce43517c0510d21ffc98b64a86b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51851bdec72ab924396e8e1ab9b8671c9358ce43517c0510d21ffc98b64a86b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51851bdec72ab924396e8e1ab9b8671c9358ce43517c0510d21ffc98b64a86b1", kill_on_drop: false }` [INFO] [stdout] 51851bdec72ab924396e8e1ab9b8671c9358ce43517c0510d21ffc98b64a86b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8be033125eae029d491e2d09846d946265aa85f4a1fc2028ade84369e5bf3f99 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8be033125eae029d491e2d09846d946265aa85f4a1fc2028ade84369e5bf3f99", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling wildmatch v2.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling aws-region v0.23.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling minidom v0.13.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling dlv-list v0.2.3 [INFO] [stderr] Compiling ordered-multimap v0.3.1 [INFO] [stderr] Compiling rust-ini v0.17.0 [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 serde_derive v1.0.132 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.9 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling maybe-async v0.2.6 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.4 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling tower-http v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-xml-rs v0.5.1 [INFO] [stderr] Compiling attohttpc v0.18.0 [INFO] [stderr] Compiling aws-creds v0.27.1 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.4.3 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling rust-s3 v0.28.0 [INFO] [stderr] Compiling dnd-greenroom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `BUCKET_NAME` not defined [INFO] [stdout] --> src/api/v0/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | let name = env!("BUCKET_NAME").to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BUCKET_REGION` not defined [INFO] [stdout] --> src/api/v0/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | region: env!("BUCKET_REGION").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BUCKET_ENDPOINT` not defined [INFO] [stdout] --> src/api/v0/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | endpoint: env!("BUCKET_ENDPOINT").to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BUCKET_ACCESS` not defined [INFO] [stdout] --> src/api/v0/mod.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | access_key: Some(env!("BUCKET_ACCESS").to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `BUCKET_SECRET` not defined [INFO] [stdout] --> src/api/v0/mod.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | secret_key: Some(env!("BUCKET_SECRET").to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthCache` [INFO] [stdout] --> src/api/v0/maps.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::api::v0::meta::auth::{AuthCache, Permission, UserAuthorization}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/api/v0/maps.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AddExtensionLayer` [INFO] [stdout] --> src/api/v0/maps.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use axum::{AddExtensionLayer, Json, Router}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/api/v0/maps.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::Cursor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Router`, `extractor_middleware`, `get`, `http`, `post` [INFO] [stdout] --> src/api/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 import: `BoxBody` [INFO] [stdout] --> src/api/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/api/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/api/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/api/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/api/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 imports: `Permission`, `UserAuthorization` [INFO] [stdout] --> src/api/v0/mod.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::api::v0::meta::auth::{AuthCache, Permission, UserAuthorization}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension`, `TypedHeader`, `WebSocketUpgrade` [INFO] [stdout] --> src/api/v0/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use axum::extract::{Extension, TypedHeader, WebSocketUpgrade}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Json`, `headers` [INFO] [stdout] --> src/api/v0/mod.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use axum::{AddExtensionLayer, headers, Json, Router}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/api/v0/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value`, `json` [INFO] [stdout] --> src/api/v0/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/api/v0/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/api/v0/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `meta::auth` [INFO] [stdout] --> src/api/v0/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use meta::auth; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::body::HttpBody` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::body::HttpBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, `StatusCode` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::http::{Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoResponse`, `Redirect` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use axum::response::{IntoResponse, Redirect}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get` [INFO] [stdout] --> src/main.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use axum::routing::{get, get_service}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ServiceBuilder`, `Service` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use tower::{Service, ServiceBuilder}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower_http::services::fs::ServeFileSystemResponseBody` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tower_http::services::fs::ServeFileSystemResponseBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/v0/maps.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut map: Map = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dnd-greenroom` due to 6 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8be033125eae029d491e2d09846d946265aa85f4a1fc2028ade84369e5bf3f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be033125eae029d491e2d09846d946265aa85f4a1fc2028ade84369e5bf3f99", kill_on_drop: false }` [INFO] [stdout] 8be033125eae029d491e2d09846d946265aa85f4a1fc2028ade84369e5bf3f99