[INFO] fetching crate kontroll 1.0.3... [INFO] testing kontroll-1.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate kontroll 1.0.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate kontroll 1.0.3 [INFO] finished tweaking crates.io crate kontroll 1.0.3 [INFO] tweaked toml for crates.io crate kontroll 1.0.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kontroll 1.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kontroll 1.0.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3c6c5c610f2a93bc0ef5b0f3db1bb163869ebc2d25fea268076483921d0401e [INFO] running `Command { std: "docker" "start" "-a" "d3c6c5c610f2a93bc0ef5b0f3db1bb163869ebc2d25fea268076483921d0401e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3c6c5c610f2a93bc0ef5b0f3db1bb163869ebc2d25fea268076483921d0401e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3c6c5c610f2a93bc0ef5b0f3db1bb163869ebc2d25fea268076483921d0401e", kill_on_drop: false }` [INFO] [stdout] d3c6c5c610f2a93bc0ef5b0f3db1bb163869ebc2d25fea268076483921d0401e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f91065716d00fac4b35d2dfae7f610fef1ff77ebda794fe9afabbbedae344af0 [INFO] running `Command { std: "docker" "start" "-a" "f91065716d00fac4b35d2dfae7f610fef1ff77ebda794fe9afabbbedae344af0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling uds_windows v1.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling kontroll v1.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.52s [INFO] running `Command { std: "docker" "inspect" "f91065716d00fac4b35d2dfae7f610fef1ff77ebda794fe9afabbbedae344af0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91065716d00fac4b35d2dfae7f610fef1ff77ebda794fe9afabbbedae344af0", kill_on_drop: false }` [INFO] [stdout] f91065716d00fac4b35d2dfae7f610fef1ff77ebda794fe9afabbbedae344af0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f0a7380a2748de48cb45886b56a7087bd60f75ec9acbecae4caeb871e579d46 [INFO] running `Command { std: "docker" "start" "-a" "6f0a7380a2748de48cb45886b56a7087bd60f75ec9acbecae4caeb871e579d46", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Compiling predicates-core v1.0.8 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling assert_cmd v2.0.15 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling bytemuck v1.16.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling predicates-tree v1.0.11 [INFO] [stderr] Compiling predicates v3.1.2 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling macroquad v0.4.11 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Compiling kontroll v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/stub.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn start_server(&self) { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/stub.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_status` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `GetStatusReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_keyboards` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `GetKeyboardsReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `connect_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `ConnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `connect_any_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `ConnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `disconnect_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `DisconnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_layer` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetLayerReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `unset_layer` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetLayerReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_rgb_led` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetRgbLedReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_rgb_all` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetRgbAllReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_status_led` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetStatusLedReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `increase_brightness` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `BrightnessUpdateReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decrease_brightness` has an incompatible type for trait [INFO] [stdout] --> tests/stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `BrightnessUpdateReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> tests/./stub.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | pub async fn start_server(&self) { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> tests/./stub.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_status` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `GetStatusReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `get_keyboards` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `GetKeyboardsReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `connect_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `ConnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `connect_any_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `ConnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `disconnect_keyboard` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `DisconnectKeyboardReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_layer` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetLayerReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `unset_layer` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetLayerReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_rgb_led` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetRgbLedReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_rgb_all` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetRgbAllReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0053]: method `set_status_led` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `SetStatusLedReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `increase_brightness` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `BrightnessUpdateReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `decrease_brightness` has an incompatible type for trait [INFO] [stdout] --> tests/./stub.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `BrightnessUpdateReply`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 Keymapp, tonic::Request<_>) -> Pin, tonic::Status>> + Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `tonic::async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 54 - #[tonic::async_trait] [INFO] [stdout] 54 + Pin, tonic::Status>> + Send + 'async_trait)>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kontroll` (test "stub") due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `keymapp` [INFO] [stdout] --> tests/kontroll_test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let keymapp = stub::Keymapp::default(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymapp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kontroll` (test "kontroll_test") due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f0a7380a2748de48cb45886b56a7087bd60f75ec9acbecae4caeb871e579d46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f0a7380a2748de48cb45886b56a7087bd60f75ec9acbecae4caeb871e579d46", kill_on_drop: false }` [INFO] [stdout] 6f0a7380a2748de48cb45886b56a7087bd60f75ec9acbecae4caeb871e579d46