[INFO] fetching crate glote 0.4.1... [INFO] testing glote-0.4.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate glote 0.4.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate glote 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate glote 0.4.1 [INFO] tweaked toml for crates.io crate glote 0.4.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate glote 0.4.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate glote 0.4.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 114095a338339a9de9efd88289d87ae9b05e068a41ab478e029431dde8f42873 [INFO] running `Command { std: "docker" "start" "-a" "114095a338339a9de9efd88289d87ae9b05e068a41ab478e029431dde8f42873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "114095a338339a9de9efd88289d87ae9b05e068a41ab478e029431dde8f42873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "114095a338339a9de9efd88289d87ae9b05e068a41ab478e029431dde8f42873", kill_on_drop: false }` [INFO] [stdout] 114095a338339a9de9efd88289d87ae9b05e068a41ab478e029431dde8f42873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d76ae636b1c20cc568782d2eff742d74d609a372225fb4ee377f7dd5ef45f15 [INFO] running `Command { std: "docker" "start" "-a" "9d76ae636b1c20cc568782d2eff742d74d609a372225fb4ee377f7dd5ef45f15", kill_on_drop: false }` [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling glote v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/workerpool/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerPool` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WorkerPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/workerpool/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl WorkerPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(size: usize) -> WorkerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn execute(&self, f: F) where F: FnOnce() + Send + 'static { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/workerpool/mod.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 160 | // Create new worker [INFO] [stdout] 161 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn with_write(&self, f: F) [INFO] [stdout] 8 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn with_read(&self, f: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn with_read(&self, f: F) -> R [INFO] [stdout] 11 + fn with_read(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn path(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn path(&self) -> Option; [INFO] [stdout] 14 + fn path(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn query(&self, key: &str) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn query(&self, key: &str) -> Option; [INFO] [stdout] 15 + fn query(&self, key: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn body(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn body(&self) -> Option; [INFO] [stdout] 17 + fn body(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn with_write(&self, f: F) [INFO] [stdout] 9 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn status(&self, code: u16); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn status(&self, code: u16); [INFO] [stdout] 11 + fn status(&self, code: u16) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn send(&self, body: &str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn send(&self, body: &str); [INFO] [stdout] 12 + fn send(&self, body: &str) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn json(&self, data: &T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn json(&self, data: &T); [INFO] [stdout] 13 + fn json(&self, data: &T) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/cors/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] 7 + fn run_middleware(&self, req: Req, res: Res, next: Next) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.48s [INFO] running `Command { std: "docker" "inspect" "9d76ae636b1c20cc568782d2eff742d74d609a372225fb4ee377f7dd5ef45f15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d76ae636b1c20cc568782d2eff742d74d609a372225fb4ee377f7dd5ef45f15", kill_on_drop: false }` [INFO] [stdout] 9d76ae636b1c20cc568782d2eff742d74d609a372225fb4ee377f7dd5ef45f15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96d920de89f676111ab88bd52b9dba44261eb6e07a2aca26df1e75ccdd57e2b [INFO] running `Command { std: "docker" "start" "-a" "d96d920de89f676111ab88bd52b9dba44261eb6e07a2aca26df1e75ccdd57e2b", kill_on_drop: false }` [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/workerpool/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerPool` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WorkerPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/workerpool/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl WorkerPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(size: usize) -> WorkerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn execute(&self, f: F) where F: FnOnce() + Send + 'static { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/workerpool/mod.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 160 | // Create new worker [INFO] [stdout] 161 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn with_write(&self, f: F) [INFO] [stdout] 8 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn with_read(&self, f: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn with_read(&self, f: F) -> R [INFO] [stdout] 11 + fn with_read(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn path(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn path(&self) -> Option; [INFO] [stdout] 14 + fn path(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn query(&self, key: &str) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn query(&self, key: &str) -> Option; [INFO] [stdout] 15 + fn query(&self, key: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn body(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn body(&self) -> Option; [INFO] [stdout] 17 + fn body(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn with_write(&self, f: F) [INFO] [stdout] 9 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling glote v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn status(&self, code: u16); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn status(&self, code: u16); [INFO] [stdout] 11 + fn status(&self, code: u16) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn send(&self, body: &str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn send(&self, body: &str); [INFO] [stdout] 12 + fn send(&self, body: &str) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn json(&self, data: &T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn json(&self, data: &T); [INFO] [stdout] 13 + fn json(&self, data: &T) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/cors/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] 7 + fn run_middleware(&self, req: Req, res: Res, next: Next) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread` and `time::Duration` [INFO] [stdout] --> tests/main_test.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ sync::{ Arc }, thread, time::Duration }; [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: `ResponseExt` [INFO] [stdout] --> tests/main_test.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use glote::{ Glote, ResponseExt }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Job` is never used [INFO] [stdout] --> src/workerpool/mod.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type Job = Box; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WorkerPool` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct WorkerPool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/workerpool/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl WorkerPool { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn new(size: usize) -> WorkerPool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn execute(&self, f: F) where F: FnOnce() + Send + 'static { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Worker` is never constructed [INFO] [stdout] --> src/workerpool/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | struct Worker { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/workerpool/mod.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl Worker { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 160 | // Create new worker [INFO] [stdout] 161 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 8 - async fn with_write(&self, f: F) [INFO] [stdout] 8 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn with_read(&self, f: F) -> R [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn with_read(&self, f: F) -> R [INFO] [stdout] 11 + fn with_read(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | async fn path(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 14 - async fn path(&self) -> Option; [INFO] [stdout] 14 + fn path(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | async fn query(&self, key: &str) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 15 - async fn query(&self, key: &str) -> Option; [INFO] [stdout] 15 + fn query(&self, key: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/request/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn body(&self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn body(&self) -> Option; [INFO] [stdout] 17 + fn body(&self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn with_write(&self, f: F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn with_write(&self, f: F) [INFO] [stdout] 9 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | async fn status(&self, code: u16); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 11 - async fn status(&self, code: u16); [INFO] [stdout] 11 + fn status(&self, code: u16) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn send(&self, body: &str); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn send(&self, body: &str); [INFO] [stdout] 12 + fn send(&self, body: &str) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/response/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn json(&self, data: &T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn json(&self, data: &T); [INFO] [stdout] 13 + fn json(&self, data: &T) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/cors/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 7 - async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stdout] 7 + fn run_middleware(&self, req: Req, res: Res, next: Next) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "d96d920de89f676111ab88bd52b9dba44261eb6e07a2aca26df1e75ccdd57e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96d920de89f676111ab88bd52b9dba44261eb6e07a2aca26df1e75ccdd57e2b", kill_on_drop: false }` [INFO] [stdout] d96d920de89f676111ab88bd52b9dba44261eb6e07a2aca26df1e75ccdd57e2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f1361755c3d844429ab30ab6d1d6e59db98cfdcb54076604d1bd08ce7d691a1 [INFO] running `Command { std: "docker" "start" "-a" "9f1361755c3d844429ab30ab6d1d6e59db98cfdcb54076604d1bd08ce7d691a1", kill_on_drop: false }` [INFO] [stderr] warning: type alias `Job` is never used [INFO] [stderr] --> src/workerpool/mod.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | type Job = Box; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WorkerPool` is never constructed [INFO] [stderr] --> src/workerpool/mod.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct WorkerPool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `execute` are never used [INFO] [stderr] --> src/workerpool/mod.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl WorkerPool { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn new(size: usize) -> WorkerPool { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn execute(&self, f: F) where F: FnOnce() + Send + 'static { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Worker` is never constructed [INFO] [stderr] --> src/workerpool/mod.rs:154:8 [INFO] [stderr] | [INFO] [stderr] 154 | struct Worker { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/workerpool/mod.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 159 | impl Worker { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 160 | // Create new worker [INFO] [stderr] 161 | fn new(id: usize, receiver: Arc>>) -> Worker { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/request/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | async fn with_write(&self, f: F) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 8 - async fn with_write(&self, f: F) [INFO] [stderr] 8 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/request/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | async fn with_read(&self, f: F) -> R [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 11 - async fn with_read(&self, f: F) -> R [INFO] [stderr] 11 + fn with_read(&self, f: F) -> impl std::future::Future + Send [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/request/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | async fn path(&self) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 14 - async fn path(&self) -> Option; [INFO] [stderr] 14 + fn path(&self) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/request/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | async fn query(&self, key: &str) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 15 - async fn query(&self, key: &str) -> Option; [INFO] [stderr] 15 + fn query(&self, key: &str) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/request/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | async fn body(&self) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 17 - async fn body(&self) -> Option; [INFO] [stderr] 17 + fn body(&self) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/response/mod.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | async fn with_write(&self, f: F) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 9 - async fn with_write(&self, f: F) [INFO] [stderr] 9 + fn with_write(&self, f: F) -> impl std::future::Future + Send [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/response/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | async fn status(&self, code: u16); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 11 - async fn status(&self, code: u16); [INFO] [stderr] 11 + fn status(&self, code: u16) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/response/mod.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | async fn send(&self, body: &str); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 12 - async fn send(&self, body: &str); [INFO] [stderr] 12 + fn send(&self, body: &str) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/response/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | async fn json(&self, data: &T); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 13 - async fn json(&self, data: &T); [INFO] [stderr] 13 + fn json(&self, data: &T) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/cors/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 7 - async fn run_middleware(&self, req: Req, res: Res, next: Next); [INFO] [stderr] 7 + fn run_middleware(&self, req: Req, res: Res, next: Next) -> impl std::future::Future + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `glote` (lib) generated 15 warnings [INFO] [stderr] warning: unused imports: `thread` and `time::Duration` [INFO] [stderr] --> tests/main_test.rs:1:27 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{ sync::{ Arc }, thread, time::Duration }; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ResponseExt` [INFO] [stderr] --> tests/main_test.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use glote::{ Glote, ResponseExt }; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `glote` (test "main_test") generated 2 warnings (run `cargo fix --test "main_test"` to apply 2 suggestions) [INFO] [stderr] warning: `glote` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/glote-6a1145bdf8d10e39) [INFO] [stderr] Running tests/main_test.rs (/opt/rustwide/target/debug/deps/main_test-afdc1268c77b6c79) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_server_instantiation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/workerpool_test.rs (/opt/rustwide/target/debug/deps/workerpool_test-876afbcdce63928d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests glote [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f1361755c3d844429ab30ab6d1d6e59db98cfdcb54076604d1bd08ce7d691a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1361755c3d844429ab30ab6d1d6e59db98cfdcb54076604d1bd08ce7d691a1", kill_on_drop: false }` [INFO] [stdout] 9f1361755c3d844429ab30ab6d1d6e59db98cfdcb54076604d1bd08ce7d691a1