[INFO] cloning repository https://github.com/scan/tiny-chat-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scan/tiny-chat-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftiny-chat-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscan%2Ftiny-chat-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7874c799aac26953c25d3bfc3f8000ee8671d35b [INFO] checking scan/tiny-chat-api 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%2Fscan%2Ftiny-chat-api" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/scan/tiny-chat-api [INFO] finished tweaking git repo https://github.com/scan/tiny-chat-api [INFO] tweaked toml for git repo https://github.com/scan/tiny-chat-api written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scan/tiny-chat-api 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/scan/tiny-chat-api 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c0bbfad6777c6cf68799065eb1d928718d37206dbebd34e15cc52d4b153172a8 [INFO] running `Command { std: "docker" "start" "-a" "c0bbfad6777c6cf68799065eb1d928718d37206dbebd34e15cc52d4b153172a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0bbfad6777c6cf68799065eb1d928718d37206dbebd34e15cc52d4b153172a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0bbfad6777c6cf68799065eb1d928718d37206dbebd34e15cc52d4b153172a8", kill_on_drop: false }` [INFO] [stdout] c0bbfad6777c6cf68799065eb1d928718d37206dbebd34e15cc52d4b153172a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8379ad30a6d4ca7cd33cd00dbb93c90a0aa5de77a46cbf886a1d548adddad72a [INFO] running `Command { std: "docker" "start" "-a" "8379ad30a6d4ca7cd33cd00dbb93c90a0aa5de77a46cbf886a1d548adddad72a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking alloc-no-stdlib v2.0.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking smartstring v0.2.9 [INFO] [stderr] Checking crypto-mac v0.10.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking brotli-decompressor v2.3.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking siphasher v0.3.6 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking enclose v1.1.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking brotli v3.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking postgres-protocol v0.6.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling juniper_codegen v0.15.7 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling futures-enum v0.1.17 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking graphql-parser v0.3.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking async-compression v0.3.8 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking postgres-types v0.2.1 [INFO] [stderr] Checking bson v1.2.3 [INFO] [stderr] Checking tokio-postgres v0.7.2 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking juniper v0.15.7 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking juniper_subscriptions v0.16.0 [INFO] [stderr] Checking juniper_graphql_ws v0.3.0 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking juniper_warp v0.7.0 [INFO] [stderr] Checking tinychat-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn health() -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 5 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 6 | | } [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 [INFO] [stdout] --> src/handler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn health() -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 5 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn not_found() -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 9 | | let mut not_found_response = HashMap::new(); [INFO] [stdout] 10 | | not_found_response.insert("error", "not found"); [INFO] [stdout] ... | [INFO] [stdout] 15 | | )) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn not_found() -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 9 | | let mut not_found_response = HashMap::new(); [INFO] [stdout] 10 | | not_found_response.insert("error", "not found"); [INFO] [stdout] ... | [INFO] [stdout] 15 | | )) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / Ok(warp::reply::with_status( [INFO] [stdout] 13 | | warp::reply::json(¬_found_response), [INFO] [stdout] 14 | | StatusCode::NOT_FOUND, [INFO] [stdout] 15 | | )) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinychat-api` (bin "tinychat-api") due to 6 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 [INFO] [stdout] --> src/handler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn health() -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 5 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 6 | | } [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 [INFO] [stdout] --> src/handler.rs:4:63 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn health() -> Result { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 5 | | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] 6 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Ok(StatusCode::NO_CONTENT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn not_found() -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 9 | | let mut not_found_response = HashMap::new(); [INFO] [stdout] 10 | | not_found_response.insert("error", "not found"); [INFO] [stdout] ... | [INFO] [stdout] 15 | | )) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:8:66 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn not_found() -> Result { [INFO] [stdout] | __________________________________________________________________^ [INFO] [stdout] 9 | | let mut not_found_response = HashMap::new(); [INFO] [stdout] 10 | | not_found_response.insert("error", "not found"); [INFO] [stdout] ... | [INFO] [stdout] 15 | | )) [INFO] [stdout] 16 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/handler.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / Ok(warp::reply::with_status( [INFO] [stdout] 13 | | warp::reply::json(¬_found_response), [INFO] [stdout] 14 | | StatusCode::NOT_FOUND, [INFO] [stdout] 15 | | )) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinychat-api` (bin "tinychat-api" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "8379ad30a6d4ca7cd33cd00dbb93c90a0aa5de77a46cbf886a1d548adddad72a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8379ad30a6d4ca7cd33cd00dbb93c90a0aa5de77a46cbf886a1d548adddad72a", kill_on_drop: false }` [INFO] [stdout] 8379ad30a6d4ca7cd33cd00dbb93c90a0aa5de77a46cbf886a1d548adddad72a