[INFO] cloning repository https://github.com/artech-git/async-transcoding-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/artech-git/async-transcoding-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartech-git%2Fasync-transcoding-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartech-git%2Fasync-transcoding-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68dc177069c49fe02d37c436a56c41192f5409be [INFO] checking artech-git/async-transcoding-rust/68dc177069c49fe02d37c436a56c41192f5409be against master#0b278a539440be291466ea463a9b6310eaf4d7bb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fartech-git%2Fasync-transcoding-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/artech-git/async-transcoding-rust [INFO] finished tweaking git repo https://github.com/artech-git/async-transcoding-rust [INFO] tweaked toml for git repo https://github.com/artech-git/async-transcoding-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/artech-git/async-transcoding-rust on toolchain 0b278a539440be291466ea463a9b6310eaf4d7bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 222 packages to latest compatible versions [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding jsonwebtoken v7.2.0 (available: v10.0.0) [INFO] [stderr] Adding redis v0.21.7 (available: v0.32.7) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] [stderr] Adding warp v0.3.7 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typenum v1.19.0 [INFO] [stderr] Downloaded aho-corasick v0.6.10 [INFO] [stderr] Downloaded jsonwebtoken v7.2.0 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded utf8-ranges v1.0.5 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded pem v0.8.3 [INFO] [stderr] Downloaded simple_asn1 v0.4.1 [INFO] [stderr] Downloaded couchdb v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1018f2ad5bd9c2f845873614b37ae0ad48d9d6f558cb35e7c026f81f0177bc92 [INFO] running `Command { std: "docker" "start" "-a" "1018f2ad5bd9c2f845873614b37ae0ad48d9d6f558cb35e7c026f81f0177bc92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1018f2ad5bd9c2f845873614b37ae0ad48d9d6f558cb35e7c026f81f0177bc92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1018f2ad5bd9c2f845873614b37ae0ad48d9d6f558cb35e7c026f81f0177bc92", kill_on_drop: false }` [INFO] [stdout] 1018f2ad5bd9c2f845873614b37ae0ad48d9d6f558cb35e7c026f81f0177bc92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e84238fdf933ad8df754584cb0551951a82584d6da8682d7fc1161972dea3811 [INFO] running `Command { std: "docker" "start" "-a" "e84238fdf933ad8df754584cb0551951a82584d6da8682d7fc1161972dea3811", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking couchdb v0.6.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking warp-trans-coding v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/handler.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{TryStreamExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::IoSlice` [INFO] [stdout] --> src/handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::IoSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter` and `http::response` [INFO] [stdout] --> src/obj.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{Filter, http::response}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/obj.rs:5:90 [INFO] [stdout] | [INFO] [stdout] 5 | use http::{ header::{HeaderValue, ACCESS_CONTROL_ALLOW_ORIGIN, SERVER, CACHE_CONTROL} , HeaderMap, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::{Server, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Buf` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use bytes::{self, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oneshot` and `self` [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::{self, mpsc, oneshot, watch}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormData` and `Part` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use warp::multipart::{FormData, Part}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection` and `Reply` [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | use warp::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj::FileData` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::obj::FileData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let port: u16 = (3000u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - let port: u16 = (3000u16); [INFO] [stdout] 80 + let port: u16 = 3000u16 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claim` [INFO] [stdout] --> src/handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | claim: Claims, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_claim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/handler.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | Ok(g) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 192 | Ok(_g) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 192 - Ok(g) => { [INFO] [stdout] 192 + Ok(defined_error::_) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/handler.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Buf, BufMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::StreamExt` [INFO] [stdout] --> src/handler.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/handler.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{TryStreamExt, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/handler.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::IoSlice` [INFO] [stdout] --> src/handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::IoSlice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/handler.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Filter` and `http::response` [INFO] [stdout] --> src/obj.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use warp::{Filter, http::response}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HeaderMap` [INFO] [stdout] --> src/obj.rs:5:90 [INFO] [stdout] | [INFO] [stdout] 5 | use http::{ header::{HeaderValue, ACCESS_CONTROL_ALLOW_ORIGIN, SERVER, CACHE_CONTROL} , HeaderMap, StatusCode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StatusCode` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::{Server, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Buf` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use bytes::Buf; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bytes` [INFO] [stdout] --> src/main.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use bytes::{self, Bytes}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `oneshot` and `self` [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | use tokio::sync::{self, mpsc, oneshot, watch}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt` [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FormData` and `Part` [INFO] [stdout] --> src/main.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use warp::multipart::{FormData, Part}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rejection` and `Reply` [INFO] [stdout] --> src/main.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | use warp::{Filter, Rejection, Reply}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::obj::FileData` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::obj::FileData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let port: u16 = (3000u16); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 80 - let port: u16 = (3000u16); [INFO] [stdout] 80 + let port: u16 = 3000u16 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `claim` [INFO] [stdout] --> src/handler.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | claim: Claims, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_claim` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/handler.rs:192:16 [INFO] [stdout] | [INFO] [stdout] 192 | Ok(g) => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 192 | Ok(_g) => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 192 - Ok(g) => { [INFO] [stdout] 192 + Ok(defined_error::_) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` + Copy as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-3437874724116601536.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ----------- ^^^^^^^^^^ `FilterBase::Error` is `Infallible` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Filter + FilterBase + Copy` [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-13964832832015273341.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `, ...> as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:48 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ----------- ^^^^^^^^^^ --------------- `FilterBase::Error` remains `Infallible` here [INFO] [stdout] | | | [INFO] [stdout] | | `FilterBase::Error` is `Infallible` here [INFO] [stdout] | this expression has type `impl Filter + FilterBase + Copy` [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-13305807296986327521.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Filter + FilterBase + Clone: Reply` is not satisfied [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let def_route = warp::service( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reply` is not implemented for `impl Filter + FilterBase + Clone` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Reply`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] (T,) [INFO] [stdout] Box [INFO] [stdout] Cow<'static, str> [INFO] [stdout] FileData [INFO] [stdout] Html [INFO] [stdout] Infallible [INFO] [stdout] and 17 others [INFO] [stdout] = note: required for `(impl Filter + FilterBase + Clone,)` to implement `Reply` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] note: required by a bound in `service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/service.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn service(filter: F) -> FilteredService [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 55 | ::Ok: Reply, [INFO] [stdout] | ^^^^^ required by this bound in `service` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-15877048512172950492.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Reply` is not satisfied [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let def_route = warp::service( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reply` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Reply` is implemented for `(T,)` [INFO] [stdout] = note: required for `warp::generic::Either<(), (impl Reply,)>` to implement `Reply` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] note: required by a bound in `service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/service.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn service(filter: F) -> FilteredService [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 55 | ::Ok: Reply, [INFO] [stdout] | ^^^^^ required by this bound in `service` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-5612479044085547780.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Filter + FilterBase + Clone: Reply` is not satisfied [INFO] [stdout] --> src/main.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | .serve(make_svc); [INFO] [stdout] | ^^^^^ the trait `Reply` is not implemented for `impl Filter + FilterBase + Clone` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Reply`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] (T,) [INFO] [stdout] Box [INFO] [stdout] Cow<'static, str> [INFO] [stdout] FileData [INFO] [stdout] Html [INFO] [stdout] Infallible [INFO] [stdout] and 17 others [INFO] [stdout] = note: required for `(impl Filter + FilterBase + Clone,)` to implement `Reply` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `Service>` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-15877048512172950492.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Reply` is not satisfied [INFO] [stdout] --> src/main.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | .serve(make_svc); [INFO] [stdout] | ^^^^^ the trait `Reply` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Reply` is implemented for `(T,)` [INFO] [stdout] = note: required for `warp::generic::Either<(), (impl Reply,)>` to implement `Reply` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `Service>` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-5612479044085547780.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Exec: ConnStreamExec>, ...>` is not satisfied [INFO] [stdout] --> src/main.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `hyper::common::exec::ConnStreamExec + std::marker::Copy, warp::filter::and_then::AndThen>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, impl warp::Filter + warp::filter::FilterBase + Clone>, FormOptions>, impl warp::Filter + warp::filter::FilterBase,), Error = Infallible> + Clone>, fn(Claims, FormData, tokio::sync::mpsc::UnboundedSender) -> impl futures::Future> {upload}>>, warp::filter::map::Map>, Exact>>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, {closure@src/main.rs:175:14: 175:21}>>, warp::filter::map::Map>, Exact>>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, fn(std::string::String) -> impl warp::Filter + warp::filter::FilterBase + Clone {file_response}>>>, Body>` is not implemented for `hyper::common::exec::Exec` [INFO] [stdout] = help: the trait `hyper::common::exec::ConnStreamExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `NewSvcTask` to implement `futures::Future` [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `NewSvcExec` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Server>` to implement `futures::Future` [INFO] [stdout] = note: required for `Server>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-10e63cb2f8dfb200.long-type-9552587395731685945.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 218 - if let Err(e) = server.await { [INFO] [stdout] 218 + if let Err(e) = server { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` + Copy as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-14287240707391071971.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ----------- ^^^^^^^^^^ `FilterBase::Error` is `Infallible` here [INFO] [stdout] | | [INFO] [stdout] | this expression has type `impl Filter + FilterBase + Copy` [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-14555767151243647014.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `, ...> as FilterBase>::Error == Rejection` [INFO] [stdout] --> src/main.rs:198:48 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^ expected `Rejection`, found `Infallible` [INFO] [stdout] | [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ----------- ^^^^^^^^^^ --------------- `FilterBase::Error` remains `Infallible` here [INFO] [stdout] | | | [INFO] [stdout] | | `FilterBase::Error` is `Infallible` here [INFO] [stdout] | this expression has type `impl Filter + FilterBase + Copy` [INFO] [stdout] note: required by a bound in `warp::Filter::or` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/mod.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 138 | fn or(self, other: F) -> Or [INFO] [stdout] | -- required by a bound in this associated function [INFO] [stdout] 139 | where [INFO] [stdout] 140 | Self: Filter + Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `Filter::or` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-8220852115530164031.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Filter + FilterBase + Clone: Reply` is not satisfied [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let def_route = warp::service( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reply` is not implemented for `impl Filter + FilterBase + Clone` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Reply`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] (T,) [INFO] [stdout] Box [INFO] [stdout] Cow<'static, str> [INFO] [stdout] FileData [INFO] [stdout] Html [INFO] [stdout] Infallible [INFO] [stdout] and 17 others [INFO] [stdout] = note: required for `(impl Filter + FilterBase + Clone,)` to implement `Reply` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] note: required by a bound in `service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/service.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn service(filter: F) -> FilteredService [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 55 | ::Ok: Reply, [INFO] [stdout] | ^^^^^ required by this bound in `service` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-10544888826890730197.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Reply` is not satisfied [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 197 | let def_route = warp::service( [INFO] [stdout] | ------------- required by a bound introduced by this call [INFO] [stdout] 198 | warp::any().or(upload).or(check_queue).or(fetch_file) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Reply` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Reply` is implemented for `(T,)` [INFO] [stdout] = note: required for `warp::generic::Either<(), (impl Reply,)>` to implement `Reply` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] note: required by a bound in `service` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/warp-0.3.7/src/filter/service.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn service(filter: F) -> FilteredService [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 55 | ::Ok: Reply, [INFO] [stdout] | ^^^^^ required by this bound in `service` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-5296890437356773023.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `impl Filter + FilterBase + Clone: Reply` is not satisfied [INFO] [stdout] --> src/main.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | .serve(make_svc); [INFO] [stdout] | ^^^^^ the trait `Reply` is not implemented for `impl Filter + FilterBase + Clone` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Reply`: [INFO] [stdout] &'static [u8] [INFO] [stdout] &'static str [INFO] [stdout] (T,) [INFO] [stdout] Box [INFO] [stdout] Cow<'static, str> [INFO] [stdout] FileData [INFO] [stdout] Html [INFO] [stdout] Infallible [INFO] [stdout] and 17 others [INFO] [stdout] = note: required for `(impl Filter + FilterBase + Clone,)` to implement `Reply` [INFO] [stdout] = note: 2 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `Service>` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-10544888826890730197.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): Reply` is not satisfied [INFO] [stdout] --> src/main.rs:216:10 [INFO] [stdout] | [INFO] [stdout] 216 | .serve(make_svc); [INFO] [stdout] | ^^^^^ the trait `Reply` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Reply` is implemented for `(T,)` [INFO] [stdout] = note: required for `warp::generic::Either<(), (impl Reply,)>` to implement `Reply` [INFO] [stdout] = note: 5 redundant requirements hidden [INFO] [stdout] = note: required for `(Either<(Either<(Either<(), (impl Reply,)>,), (String,)>,), (...,)>,)` to implement `Reply` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `Service>` [INFO] [stdout] = note: required for `FilteredService, ...>, ...>>` to implement `hyper::service::http::HttpService` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-5296890437356773023.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-trans-coding` (bin "warp-trans-coding") due to 8 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Exec: ConnStreamExec>, ...>` is not satisfied [INFO] [stdout] --> src/main.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `hyper::common::exec::ConnStreamExec + std::marker::Copy, warp::filter::and_then::AndThen>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, impl warp::Filter + warp::filter::FilterBase + Clone>, FormOptions>, impl warp::Filter + warp::filter::FilterBase,), Error = Infallible> + Clone>, fn(Claims, FormData, tokio::sync::mpsc::UnboundedSender) -> impl futures::Future> {upload}>>, warp::filter::map::Map>, Exact>>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, {closure@src/main.rs:175:14: 175:21}>>, warp::filter::map::Map>, Exact>>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, impl warp::Filter + warp::filter::FilterBase + std::marker::Copy>, fn(std::string::String) -> impl warp::Filter + warp::filter::FilterBase + Clone {file_response}>>>, Body>` is not implemented for `hyper::common::exec::Exec` [INFO] [stdout] = help: the trait `hyper::common::exec::ConnStreamExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `NewSvcTask` to implement `futures::Future` [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `NewSvcExec` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Server>` to implement `futures::Future` [INFO] [stdout] = note: required for `Server>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp_trans_coding-2f8d1882f93d67c5.long-type-16153246131529483284.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 218 - if let Err(e) = server.await { [INFO] [stdout] 218 + if let Err(e) = server { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp-trans-coding` (bin "warp-trans-coding" test) due to 8 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e84238fdf933ad8df754584cb0551951a82584d6da8682d7fc1161972dea3811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e84238fdf933ad8df754584cb0551951a82584d6da8682d7fc1161972dea3811", kill_on_drop: false }` [INFO] [stdout] e84238fdf933ad8df754584cb0551951a82584d6da8682d7fc1161972dea3811