[INFO] cloning repository https://github.com/oggy107/auth-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oggy107/auth-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggy107%2Fauth-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggy107%2Fauth-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a911179cf5ade594b9f1b5b2707711f1942f892 [INFO] checking oggy107/auth-server against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foggy107%2Fauth-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oggy107/auth-server [INFO] finished tweaking git repo https://github.com/oggy107/auth-server [INFO] tweaked toml for git repo https://github.com/oggy107/auth-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oggy107/auth-server on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oggy107/auth-server 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c5ab1a54498375f25cc06e8c1e28b8e8bc1f555c29d1ce38829fa0e14dffae6 [INFO] running `Command { std: "docker" "start" "-a" "3c5ab1a54498375f25cc06e8c1e28b8e8bc1f555c29d1ce38829fa0e14dffae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c5ab1a54498375f25cc06e8c1e28b8e8bc1f555c29d1ce38829fa0e14dffae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c5ab1a54498375f25cc06e8c1e28b8e8bc1f555c29d1ce38829fa0e14dffae6", kill_on_drop: false }` [INFO] [stdout] 3c5ab1a54498375f25cc06e8c1e28b8e8bc1f555c29d1ce38829fa0e14dffae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59c7e9f31496110efa045547468389d2b1c0cf24f7d3b6aef4321ce5c7cd0e3c [INFO] running `Command { std: "docker" "start" "-a" "59c7e9f31496110efa045547468389d2b1c0cf24f7d3b6aef4321ce5c7cd0e3c", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking cpufeatures v0.2.10 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking data-encoding v2.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.189 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Checking auth-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 9 | | if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 9 | | if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] ... | [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | if err.is_not_found() { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] 13 | | )) [INFO] [stdout] 14 | | } else if let Some(e) = err.find::() { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] 13 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | } else if let Some(e) = err.find::() { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] ... | [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | } else if let Some(e) = err.find::() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 15 | | Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] 18 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | eprintln!("unhandled rejection: {:?}", err); [INFO] [stdout] 21 | | Ok(warp::reply::with_status( [INFO] [stdout] 22 | | "INTERNAL_SERVER_ERROR", [INFO] [stdout] 23 | | warp::http::StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / Ok(warp::reply::with_status( [INFO] [stdout] 22 | | "INTERNAL_SERVER_ERROR", [INFO] [stdout] 23 | | warp::http::StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 24 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 9 | | if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auth-server` (bin "auth-server" test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | ) -> Result { [INFO] [stdout] | _________________________________________________________^ [INFO] [stdout] 9 | | if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / if err.is_not_found() { [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] ... | [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | if err.is_not_found() { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 10 | | Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] 13 | | )) [INFO] [stdout] 14 | | } else if let Some(e) = err.find::() { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | / Ok(warp::reply::with_status( [INFO] [stdout] 11 | | "NOT_FOUND", [INFO] [stdout] 12 | | warp::http::StatusCode::NOT_FOUND, [INFO] [stdout] 13 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | } else if let Some(e) = err.find::() { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] ... | [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | } else if let Some(e) = err.find::() { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 15 | | Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] 18 | | )) [INFO] [stdout] 19 | | } else { [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | / Ok(warp::reply::with_status( [INFO] [stdout] 16 | | "BAD_REQUEST", [INFO] [stdout] 17 | | warp::http::StatusCode::BAD_REQUEST, [INFO] [stdout] 18 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | } else { [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | eprintln!("unhandled rejection: {:?}", err); [INFO] [stdout] 21 | | Ok(warp::reply::with_status( [INFO] [stdout] 22 | | "INTERNAL_SERVER_ERROR", [INFO] [stdout] 23 | | warp::http::StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 24 | | )) [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/route/error.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | / Ok(warp::reply::with_status( [INFO] [stdout] 22 | | "INTERNAL_SERVER_ERROR", [INFO] [stdout] 23 | | warp::http::StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] 24 | | )) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `auth-server` (bin "auth-server") due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "59c7e9f31496110efa045547468389d2b1c0cf24f7d3b6aef4321ce5c7cd0e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59c7e9f31496110efa045547468389d2b1c0cf24f7d3b6aef4321ce5c7cd0e3c", kill_on_drop: false }` [INFO] [stdout] 59c7e9f31496110efa045547468389d2b1c0cf24f7d3b6aef4321ce5c7cd0e3c