[INFO] fetching crate ratapp 0.7.1... [INFO] testing ratapp-0.7.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate ratapp 0.7.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate ratapp 0.7.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ratapp 0.7.1 [INFO] tweaked toml for crates.io crate ratapp 0.7.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ratapp 0.7.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ratapp 0.7.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded instability v0.3.9 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded ratapp-macros v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1f8b1c26ef02f36c7011028ae003e289615217be6446cc509993bc9e7f392ee [INFO] running `Command { std: "docker" "start" "-a" "d1f8b1c26ef02f36c7011028ae003e289615217be6446cc509993bc9e7f392ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1f8b1c26ef02f36c7011028ae003e289615217be6446cc509993bc9e7f392ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f8b1c26ef02f36c7011028ae003e289615217be6446cc509993bc9e7f392ee", kill_on_drop: false }` [INFO] [stdout] d1f8b1c26ef02f36c7011028ae003e289615217be6446cc509993bc9e7f392ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af61c8f1d4b210a1593f6dbbf88096e67f801d8e2e5890d5683db0cccaaef980 [INFO] running `Command { std: "docker" "start" "-a" "af61c8f1d4b210a1593f6dbbf88096e67f801d8e2e5890d5683db0cccaaef980", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling ratapp-macros v0.7.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling ratapp v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:178:74 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:209:60 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:232:56 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [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/screen.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [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] 61 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [INFO] [stdout] 61 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S) -> 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/screen.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [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] 62 - async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 62 + fn on_enter(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [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] 63 - async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 63 + fn on_exit(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [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] 64 - async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 64 + fn on_pause(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [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] 65 - async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 65 + fn on_resume(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn task(&mut self, navigator: Navigator, state: &mut S); [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] 66 - async fn task(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 66 + fn task(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [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] 103 - async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] 103 + fn on_event(&mut self, event: Event, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [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] 113 - async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] 113 + fn on_enter(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [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] 123 - async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] 123 + fn on_exit(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [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] 131 - async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] 131 + fn on_pause(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [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] 140 - async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] 140 + fn on_resume(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [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] 152 ~ fn task(&mut self, navigator: Navigator) -> impl std::future::Future + Send {async { [INFO] [stdout] 153 | future::pending().await [INFO] [stdout] 154 ~ } } [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/screen.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [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] 178 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 178 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [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] 189 - async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 189 + fn on_enter(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [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] 200 - async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 200 + fn on_exit(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [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] 209 - async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 209 + fn on_pause(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [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] 219 - async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 219 + fn on_resume(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [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] 232 ~ fn task(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send {async { [INFO] [stdout] 233 | future::pending().await [INFO] [stdout] 234 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.45s [INFO] running `Command { std: "docker" "inspect" "af61c8f1d4b210a1593f6dbbf88096e67f801d8e2e5890d5683db0cccaaef980", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af61c8f1d4b210a1593f6dbbf88096e67f801d8e2e5890d5683db0cccaaef980", kill_on_drop: false }` [INFO] [stdout] af61c8f1d4b210a1593f6dbbf88096e67f801d8e2e5890d5683db0cccaaef980 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7905325ac76d0bb7eff511059ff646da0e39d5b87d4b67e33bdcb94b688a402 [INFO] running `Command { std: "docker" "start" "-a" "e7905325ac76d0bb7eff511059ff646da0e39d5b87d4b67e33bdcb94b688a402", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling ratapp v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:178:74 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:209:60 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:232:56 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [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/screen.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [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] 61 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [INFO] [stdout] 61 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S) -> 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/screen.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [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] 62 - async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 62 + fn on_enter(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [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] 63 - async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 63 + fn on_exit(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [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] 64 - async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 64 + fn on_pause(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [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] 65 - async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 65 + fn on_resume(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn task(&mut self, navigator: Navigator, state: &mut S); [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] 66 - async fn task(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 66 + fn task(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [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] 103 - async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] 103 + fn on_event(&mut self, event: Event, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [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] 113 - async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] 113 + fn on_enter(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [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] 123 - async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] 123 + fn on_exit(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [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] 131 - async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] 131 + fn on_pause(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [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] 140 - async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] 140 + fn on_resume(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [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] 152 ~ fn task(&mut self, navigator: Navigator) -> impl std::future::Future + Send {async { [INFO] [stdout] 153 | future::pending().await [INFO] [stdout] 154 ~ } } [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/screen.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [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] 178 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 178 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [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] 189 - async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 189 + fn on_enter(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [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] 200 - async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 200 + fn on_exit(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [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] 209 - async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 209 + fn on_pause(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [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] 219 - async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 219 + fn on_resume(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [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] 232 ~ fn task(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send {async { [INFO] [stdout] 233 | future::pending().await [INFO] [stdout] 234 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:103:34 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:103:48 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:140:35 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/screen.rs:178:34 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:178:48 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:178:74 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:189:60 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:200:59 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:209:34 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:209:60 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:219:35 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `navigator` [INFO] [stdout] --> src/screen.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/screen.rs:232:56 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [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/screen.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [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] 61 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [INFO] [stdout] 61 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S) -> 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/screen.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [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] 62 - async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 62 + fn on_enter(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [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] 63 - async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 63 + fn on_exit(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [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] 64 - async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 64 + fn on_pause(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [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] 65 - async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 65 + fn on_resume(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn task(&mut self, navigator: Navigator, state: &mut S); [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] 66 - async fn task(&mut self, navigator: Navigator, state: &mut S); [INFO] [stdout] 66 + fn task(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [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] 103 - async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stdout] 103 + fn on_event(&mut self, event: Event, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [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] 113 - async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stdout] 113 + fn on_enter(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [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] 123 - async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stdout] 123 + fn on_exit(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [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] 131 - async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stdout] 131 + fn on_pause(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [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] 140 - async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stdout] 140 + fn on_resume(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | async fn task(&mut self, navigator: Navigator) { [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] 152 ~ fn task(&mut self, navigator: Navigator) -> impl std::future::Future + Send {async { [INFO] [stdout] 153 | future::pending().await [INFO] [stdout] 154 ~ } } [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/screen.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [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] 178 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 178 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [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] 189 - async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 189 + fn on_enter(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [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] 200 - async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 200 + fn on_exit(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [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] 209 - async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 209 + fn on_pause(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [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] 219 - async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stdout] 219 + fn on_resume(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [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] 232 ~ fn task(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send {async { [INFO] [stdout] 233 | future::pending().await [INFO] [stdout] 234 ~ } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "e7905325ac76d0bb7eff511059ff646da0e39d5b87d4b67e33bdcb94b688a402", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7905325ac76d0bb7eff511059ff646da0e39d5b87d4b67e33bdcb94b688a402", kill_on_drop: false }` [INFO] [stdout] e7905325ac76d0bb7eff511059ff646da0e39d5b87d4b67e33bdcb94b688a402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8bb66326b8c6174dae578841a689f6c506d09e51938b799f7b6b9a304e999d73 [INFO] running `Command { std: "docker" "start" "-a" "8bb66326b8c6174dae578841a689f6c506d09e51938b799f7b6b9a304e999d73", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/screen.rs:103:34 [INFO] [stderr] | [INFO] [stderr] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:103:48 [INFO] [stderr] | [INFO] [stderr] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:113:34 [INFO] [stderr] | [INFO] [stderr] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:123:33 [INFO] [stderr] | [INFO] [stderr] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:131:34 [INFO] [stderr] | [INFO] [stderr] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:140:35 [INFO] [stderr] | [INFO] [stderr] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:152:30 [INFO] [stderr] | [INFO] [stderr] 152 | async fn task(&mut self, navigator: Navigator) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/screen.rs:178:34 [INFO] [stderr] | [INFO] [stderr] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:178:48 [INFO] [stderr] | [INFO] [stderr] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:178:74 [INFO] [stderr] | [INFO] [stderr] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:189:34 [INFO] [stderr] | [INFO] [stderr] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:189:60 [INFO] [stderr] | [INFO] [stderr] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:200:59 [INFO] [stderr] | [INFO] [stderr] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:209:34 [INFO] [stderr] | [INFO] [stderr] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:209:60 [INFO] [stderr] | [INFO] [stderr] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:219:35 [INFO] [stderr] | [INFO] [stderr] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:219:61 [INFO] [stderr] | [INFO] [stderr] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `navigator` [INFO] [stderr] --> src/screen.rs:232:30 [INFO] [stderr] | [INFO] [stderr] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_navigator` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/screen.rs:232:56 [INFO] [stderr] | [INFO] [stderr] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/screen.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [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] 61 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S); [INFO] [stderr] 61 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut S) -> 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/screen.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [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] 62 - async fn on_enter(&mut self, navigator: Navigator, state: &mut S); [INFO] [stderr] 62 + fn on_enter(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [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] 63 - async fn on_exit(&mut self, navigator: Navigator, state: &mut S); [INFO] [stderr] 63 + fn on_exit(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 64 | async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [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] 64 - async fn on_pause(&mut self, navigator: Navigator, state: &mut S); [INFO] [stderr] 64 + fn on_pause(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [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] 65 - async fn on_resume(&mut self, navigator: Navigator, state: &mut S); [INFO] [stderr] 65 + fn on_resume(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | async fn task(&mut self, navigator: Navigator, state: &mut S); [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] 66 - async fn task(&mut self, navigator: Navigator, state: &mut S); [INFO] [stderr] 66 + fn task(&mut self, navigator: Navigator, state: &mut S) -> 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/screen.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | async fn on_event(&mut self, event: Event, navigator: Navigator) {} [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] 103 - async fn on_event(&mut self, event: Event, navigator: Navigator) {} [INFO] [stderr] 103 + fn on_event(&mut self, event: Event, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:113:5 [INFO] [stderr] | [INFO] [stderr] 113 | async fn on_enter(&mut self, navigator: Navigator) {} [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] 113 - async fn on_enter(&mut self, navigator: Navigator) {} [INFO] [stderr] 113 + fn on_enter(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | async fn on_exit(&mut self, navigator: Navigator) {} [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] 123 - async fn on_exit(&mut self, navigator: Navigator) {} [INFO] [stderr] 123 + fn on_exit(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | async fn on_pause(&mut self, navigator: Navigator) {} [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] 131 - async fn on_pause(&mut self, navigator: Navigator) {} [INFO] [stderr] 131 + fn on_pause(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:140:5 [INFO] [stderr] | [INFO] [stderr] 140 | async fn on_resume(&mut self, navigator: Navigator) {} [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] 140 - async fn on_resume(&mut self, navigator: Navigator) {} [INFO] [stderr] 140 + fn on_resume(&mut self, navigator: Navigator) -> impl std::future::Future + Send { async {} } [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/screen.rs:152:5 [INFO] [stderr] | [INFO] [stderr] 152 | async fn task(&mut self, navigator: Navigator) { [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] 152 ~ fn task(&mut self, navigator: Navigator) -> impl std::future::Future + Send {async { [INFO] [stderr] 153 | future::pending().await [INFO] [stderr] 154 ~ } } [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/screen.rs:178:5 [INFO] [stderr] | [INFO] [stderr] 178 | async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [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] 178 - async fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) {} [INFO] [stderr] 178 + fn on_event(&mut self, event: Event, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 189 | async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [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] 189 - async fn on_enter(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] 189 + fn on_enter(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [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] 200 - async fn on_exit(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] 200 + fn on_exit(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [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] 209 - async fn on_pause(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] 209 + fn on_pause(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [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] 219 - async fn on_resume(&mut self, navigator: Navigator, state: &mut State) {} [INFO] [stderr] 219 + fn on_resume(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send { async {} } [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/screen.rs:232:5 [INFO] [stderr] | [INFO] [stderr] 232 | async fn task(&mut self, navigator: Navigator, state: &mut State) { [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] 232 ~ fn task(&mut self, navigator: Navigator, state: &mut State) -> impl std::future::Future + Send {async { [INFO] [stderr] 233 | future::pending().await [INFO] [stderr] 234 ~ } } [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `ratapp` (lib) generated 38 warnings (run `cargo fix --lib -p ratapp` to apply 20 suggestions) [INFO] [stderr] warning: `ratapp` (lib test) generated 38 warnings (38 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratapp-610587ca031378be) [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 ratapp [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/app.rs - app::App (line 18) ... ignored [INFO] [stdout] test src/app.rs - app::App (line 24) ... ignored [INFO] [stdout] test src/app.rs - app::App (line 33) ... ignored [INFO] [stdout] test src/lib.rs - (line 226) ... ignored [INFO] [stdout] test src/lib.rs - (line 265) ... ignored [INFO] [stdout] test src/lib.rs - (line 287) ... ignored [INFO] [stdout] test src/lib.rs - (line 317) ... ignored [INFO] [stdout] test src/lib.rs - (line 123) ... ok [INFO] [stdout] test src/lib.rs - (line 463) ... ok [INFO] [stdout] test src/lib.rs - (line 451) ... ok [INFO] [stdout] test src/lib.rs - (line 179) ... ok [INFO] [stdout] test src/lib.rs - (line 66) ... ignored [INFO] [stdout] test src/lib.rs - (line 142) ... ok [INFO] [stdout] test src/lib.rs - (line 93) ... ignored [INFO] [stdout] test src/screen.rs - screen::ScreenState (line 15) ... ignored [INFO] [stdout] test src/lib.rs - (line 567) ... ok [INFO] [stdout] test src/lib.rs - (line 413) ... ok [INFO] [stdout] test src/lib.rs - (line 349) ... ok [INFO] [stdout] test src/lib.rs - (line 37) ... ok [INFO] [stdout] test src/lib.rs - (line 516) ... ok [INFO] [stdout] test src/screen.rs - screen::ScreenState (line 47) ... ok [INFO] [stdout] test src/lib.rs - (line 666) ... FAILED [INFO] [stdout] test src/lib.rs - (line 611) has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "8bb66326b8c6174dae578841a689f6c506d09e51938b799f7b6b9a304e999d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bb66326b8c6174dae578841a689f6c506d09e51938b799f7b6b9a304e999d73", kill_on_drop: false }` [INFO] [stdout] 8bb66326b8c6174dae578841a689f6c506d09e51938b799f7b6b9a304e999d73