[INFO] fetching crate lss_driver 0.3.0... [INFO] checking lss_driver-0.3.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate lss_driver 0.3.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate lss_driver 0.3.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate lss_driver 0.3.0 [INFO] finished tweaking crates.io crate lss_driver 0.3.0 [INFO] tweaked toml for crates.io crate lss_driver 0.3.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate lss_driver 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9ba50d3a70ff6fb5b923c086513e439abb97dd04f77818d1e45c44e6f8b0846 [INFO] running `Command { std: "docker" "start" "-a" "d9ba50d3a70ff6fb5b923c086513e439abb97dd04f77818d1e45c44e6f8b0846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9ba50d3a70ff6fb5b923c086513e439abb97dd04f77818d1e45c44e6f8b0846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9ba50d3a70ff6fb5b923c086513e439abb97dd04f77818d1e45c44e6f8b0846", kill_on_drop: false }` [INFO] [stdout] d9ba50d3a70ff6fb5b923c086513e439abb97dd04f77818d1e45c44e6f8b0846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a12283c79c38eb58b7e41ef3ab774e7749dbcd6cad49ea300ff0386114cd13ba [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a12283c79c38eb58b7e41ef3ab774e7749dbcd6cad49ea300ff0386114cd13ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.3.3 [INFO] [stderr] Checking parking v1.0.6 [INFO] [stderr] Checking fastrand v1.3.4 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking async-channel v1.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking futures-lite v0.1.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking mio-serial v3.3.1 [INFO] [stderr] Checking ctrlc v3.1.6 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking thiserror v1.0.21 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking smol v0.1.18 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking lss_driver v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 813 | / test_command!( [INFO] [stdout] 814 | | test_hold_command, [INFO] [stdout] 815 | | "#4H\r", [INFO] [stdout] 816 | | |mut driver: LSSDriver| async move { driver.halt_hold(4_u8).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 817 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 818 | / test_query!( [INFO] [stdout] 819 | | test_query_id, [INFO] [stdout] 820 | | "#254QID\r", [INFO] [stdout] 821 | | "*QID5\r", [INFO] [stdout] 822 | | |mut driver: LSSDriver| async move { driver.query_id(BROADCAST_ID).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 823 | | 5 [INFO] [stdout] 824 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 825 | / test_command!( [INFO] [stdout] 826 | | test_set_id, [INFO] [stdout] 827 | | "#1CID2\r", [INFO] [stdout] 828 | | |mut driver: LSSDriver| async move { driver.set_id(1, 2).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 829 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 832 | / test_command!( [INFO] [stdout] 833 | | test_move_to, [INFO] [stdout] 834 | | "#1D200\r", [INFO] [stdout] 835 | | |mut driver: LSSDriver| async move { driver.move_to_position(1, 20.0).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 836 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 837 | / test_query!( [INFO] [stdout] 838 | | test_query_current_position, [INFO] [stdout] 839 | | "#5QD\r", [INFO] [stdout] 840 | | "*5QD132\r", [INFO] [stdout] 841 | | |mut driver: LSSDriver| async move { driver.query_position(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 842 | | 13.2 [INFO] [stdout] 843 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 844 | / test_query!( [INFO] [stdout] 845 | | test_query_target_position, [INFO] [stdout] 846 | | "#5QDT\r", [INFO] [stdout] 847 | | "*5QDT6783\r", [INFO] [stdout] 848 | | |mut driver: LSSDriver| async move { driver.query_target_position(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 849 | | 678.3 [INFO] [stdout] 850 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 853 | / test_command!( [INFO] [stdout] 854 | | test_set_rotation_speed_degrees, [INFO] [stdout] 855 | | "#5WD90\r", [INFO] [stdout] 856 | | |mut driver: LSSDriver| async move { driver.set_rotation_speed(5, 90.0).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 857 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 858 | / test_query!( [INFO] [stdout] 859 | | test_query_rotation_speed_degrees, [INFO] [stdout] 860 | | "#5QWD\r", [INFO] [stdout] 861 | | "*5QWD90\r", [INFO] [stdout] 862 | | |mut driver: LSSDriver| async move { driver.query_rotation_speed(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 863 | | 90.0 [INFO] [stdout] 864 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 867 | / test_query!( [INFO] [stdout] 868 | | test_unknown_status, [INFO] [stdout] 869 | | "#5Q\r", [INFO] [stdout] 870 | | "*5Q0\r", [INFO] [stdout] 871 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 872 | | MotorStatus::Unknown [INFO] [stdout] 873 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 874 | / test_query!( [INFO] [stdout] 875 | | test_holding_status, [INFO] [stdout] 876 | | "#5Q\r", [INFO] [stdout] 877 | | "*5Q6\r", [INFO] [stdout] 878 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 879 | | MotorStatus::Holding [INFO] [stdout] 880 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 881 | / test_query!( [INFO] [stdout] 882 | | test_safety_status, [INFO] [stdout] 883 | | "#5Q1\r", [INFO] [stdout] 884 | | "*5Q3\r", [INFO] [stdout] 885 | | |mut driver: LSSDriver| async move { driver.query_safety_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 886 | | SafeModeStatus::TemperatureLimit [INFO] [stdout] 887 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 889 | test_command!(test_limp, "#5L\r", |mut driver: LSSDriver| async move { [INFO] [stdout] | - ----------------------- this is not `async` [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 890 | | driver.limp(5).await.unwrap() [INFO] [stdout] 891 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 892 | / test_command!( [INFO] [stdout] 893 | | test_halt_hold, [INFO] [stdout] 894 | | "#5H\r", [INFO] [stdout] 895 | | |mut driver: LSSDriver| async move { driver.halt_hold(5).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 896 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 899 | / test_command!( [INFO] [stdout] 900 | | test_set_led, [INFO] [stdout] 901 | | "#5LED3\r", [INFO] [stdout] 902 | | |mut driver: LSSDriver| async move { driver.set_color(5, LedColor::Blue).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 903 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 904 | / test_query!( [INFO] [stdout] 905 | | test_query_led, [INFO] [stdout] 906 | | "#5QLED\r", [INFO] [stdout] 907 | | "*5QLED5\r", [INFO] [stdout] 908 | | |mut driver: LSSDriver| async move { driver.query_color(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 909 | | LedColor::Cyan [INFO] [stdout] 910 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 913 | / test_command!( [INFO] [stdout] 914 | | test_motion_profile_on, [INFO] [stdout] 915 | | "#5EM1\r", [INFO] [stdout] 916 | | |mut driver: LSSDriver| async move { driver.set_motion_profile(5, true).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 917 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 918 | / test_command!( [INFO] [stdout] 919 | | test_motion_profile_off, [INFO] [stdout] 920 | | "#5EM0\r", [INFO] [stdout] 921 | | |mut driver: LSSDriver| async move { driver.set_motion_profile(5, false).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 922 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 923 | / test_query!( [INFO] [stdout] 924 | | test_query_motion_profile_on, [INFO] [stdout] 925 | | "#5QEM\r", [INFO] [stdout] 926 | | "*5QEM1\r", [INFO] [stdout] 927 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 928 | | true [INFO] [stdout] 929 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 930 | / test_query!( [INFO] [stdout] 931 | | test_query_motion_profile_off, [INFO] [stdout] 932 | | "#5QEM\r", [INFO] [stdout] 933 | | "*5QEM0\r", [INFO] [stdout] 934 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 935 | | false [INFO] [stdout] 936 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 938 | / test_command!( [INFO] [stdout] 939 | | test_set_filter_position_count, [INFO] [stdout] 940 | | "#5FPC10\r", [INFO] [stdout] 941 | | |mut driver: LSSDriver| async move { driver.set_filter_position_count(5, 10).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 942 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 943 | / test_query!( [INFO] [stdout] 944 | | test_query_filter_position_count, [INFO] [stdout] 945 | | "#5QFPC\r", [INFO] [stdout] 946 | | "*5QFPC10\r", [INFO] [stdout] 947 | | |mut driver: LSSDriver| async move { driver.query_filter_position_count(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 948 | | 10 [INFO] [stdout] 949 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 951 | / test_command!( [INFO] [stdout] 952 | | test_set_angular_stiffness, [INFO] [stdout] 953 | | "#5AS-2\r", [INFO] [stdout] 954 | | |mut driver: LSSDriver| async move { driver.set_angular_stiffness(5, -2).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 955 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 956 | / test_query!( [INFO] [stdout] 957 | | test_query_angular_stiffness, [INFO] [stdout] 958 | | "#5QAS\r", [INFO] [stdout] 959 | | "*5QAS-2\r", [INFO] [stdout] 960 | | |mut driver: LSSDriver| async move { driver.query_angular_stiffness(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 961 | | -2 [INFO] [stdout] 962 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 964 | / test_command!( [INFO] [stdout] 965 | | test_set_angular_holding_stiffness, [INFO] [stdout] 966 | | "#5AH3\r", [INFO] [stdout] 967 | | |mut driver: LSSDriver| async move { driver.set_angular_holding_stiffness(5, 3).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 968 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 969 | / test_query!( [INFO] [stdout] 970 | | test_query_angular_holding_stiffness, [INFO] [stdout] 971 | | "#5QAH\r", [INFO] [stdout] 972 | | "*5QAH3\r", [INFO] [stdout] 973 | | |mut driver: LSSDriver| async move { driver.query_angular_holding_stiffness(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 974 | | 3 [INFO] [stdout] 975 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 977 | / test_command!( [INFO] [stdout] 978 | | test_set_angular_acceleration, [INFO] [stdout] 979 | | "#5AA30\r", [INFO] [stdout] 980 | | |mut driver: LSSDriver| async move { driver.set_angular_acceleration(5, 30).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 981 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 982 | / test_query!( [INFO] [stdout] 983 | | test_query_angular_acceleration, [INFO] [stdout] 984 | | "#5QAA\r", [INFO] [stdout] 985 | | "*5QAA30\r", [INFO] [stdout] 986 | | |mut driver: LSSDriver| async move { driver.query_angular_acceleration(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 987 | | 30 [INFO] [stdout] 988 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 990 | / test_command!( [INFO] [stdout] 991 | | test_set_angular_deceleration, [INFO] [stdout] 992 | | "#5AD30\r", [INFO] [stdout] 993 | | |mut driver: LSSDriver| async move { driver.set_angular_deceleration(5, 30).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 994 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 995 | / test_query!( [INFO] [stdout] 996 | | test_query_angular_deceleration, [INFO] [stdout] 997 | | "#5QAD\r", [INFO] [stdout] 998 | | "*5QAD30\r", [INFO] [stdout] 999 | | |mut driver: LSSDriver| async move { driver.query_angular_deceleration(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1000 | | 30 [INFO] [stdout] 1001 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1003 | / test_command!( [INFO] [stdout] 1004 | | test_maximum_motor_duty, [INFO] [stdout] 1005 | | "#5MMD512\r", [INFO] [stdout] 1006 | | |mut driver: LSSDriver| async move { driver.set_maximum_motor_duty(5, 512).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1007 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1008 | / test_query!( [INFO] [stdout] 1009 | | test_query_maximum_motor_duty, [INFO] [stdout] 1010 | | "#5QMMD\r", [INFO] [stdout] 1011 | | "*5QMMD512\r", [INFO] [stdout] 1012 | | |mut driver: LSSDriver| async move { driver.query_maximum_motor_duty(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1013 | | 512 [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1016 | / test_command!( [INFO] [stdout] 1017 | | test_maximum_speed, [INFO] [stdout] 1018 | | "#5SD1800\r", [INFO] [stdout] 1019 | | |mut driver: LSSDriver| async move { driver.set_maximum_speed(5, 180.).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1020 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1021 | / test_query!( [INFO] [stdout] 1022 | | test_query_maximum_speed, [INFO] [stdout] 1023 | | "#5QSD\r", [INFO] [stdout] 1024 | | "*5QSD1800\r", [INFO] [stdout] 1025 | | |mut driver: LSSDriver| async move { driver.query_maximum_speed(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1026 | | 180. [INFO] [stdout] 1027 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1030 | / test_query!( [INFO] [stdout] 1031 | | test_query_voltage, [INFO] [stdout] 1032 | | "#5QV\r", [INFO] [stdout] 1033 | | "*5QV11200\r", [INFO] [stdout] 1034 | | |mut driver: LSSDriver| async move { driver.query_voltage(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1035 | | 11.2 [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1037 | / test_query!( [INFO] [stdout] 1038 | | test_query_temperature, [INFO] [stdout] 1039 | | "#5QT\r", [INFO] [stdout] 1040 | | "*5QT564\r", [INFO] [stdout] 1041 | | |mut driver: LSSDriver| async move { driver.query_temperature(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1042 | | 56.4 [INFO] [stdout] 1043 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1044 | / test_query!( [INFO] [stdout] 1045 | | test_query_current, [INFO] [stdout] 1046 | | "#5QC\r", [INFO] [stdout] 1047 | | "*5QC140\r", [INFO] [stdout] 1048 | | |mut driver: LSSDriver| async move { driver.query_current(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1049 | | 0.14 [INFO] [stdout] 1050 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1052 | / test_query!( [INFO] [stdout] 1053 | | test_query_model_string, [INFO] [stdout] 1054 | | "#5QMS\r", [INFO] [stdout] 1055 | | "*5QMSLSS-HS1\r", [INFO] [stdout] 1056 | | |mut driver: LSSDriver| async move { driver.query_model(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1057 | | Model::HS1 [INFO] [stdout] 1058 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1059 | / test_query!( [INFO] [stdout] 1060 | | test_query_firmware_version, [INFO] [stdout] 1061 | | "#5QF\r", [INFO] [stdout] 1062 | | "*5QF368\r", [INFO] [stdout] 1063 | | |mut driver: LSSDriver| async move { driver.query_firmware_version(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1064 | | "368".to_owned() [INFO] [stdout] 1065 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:807:44 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1066 | / test_query!( [INFO] [stdout] 1067 | | test_query_serial_number, [INFO] [stdout] 1068 | | "#5QN\r", [INFO] [stdout] 1069 | | "*5QN12345678\r", [INFO] [stdout] 1070 | | |mut driver: LSSDriver| async move { driver.query_serial_number(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1071 | | "12345678".to_owned() [INFO] [stdout] 1072 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1075 | / test_command!( [INFO] [stdout] 1076 | | test_blinking_mode_1, [INFO] [stdout] 1077 | | "#5CLB0\r", [INFO] [stdout] 1078 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1083 | | } [INFO] [stdout] 1084 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1085 | / test_command!( [INFO] [stdout] 1086 | | test_blinking_mode_2, [INFO] [stdout] 1087 | | "#5CLB1\r", [INFO] [stdout] 1088 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1093 | | } [INFO] [stdout] 1094 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1095 | / test_command!( [INFO] [stdout] 1096 | | test_blinking_mode_3, [INFO] [stdout] 1097 | | "#5CLB2\r", [INFO] [stdout] 1098 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1103 | | } [INFO] [stdout] 1104 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1105 | / test_command!( [INFO] [stdout] 1106 | | test_blinking_mode_4, [INFO] [stdout] 1107 | | "#5CLB12\r", [INFO] [stdout] 1108 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1116 | | } [INFO] [stdout] 1117 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1118 | / test_command!( [INFO] [stdout] 1119 | | test_blinking_mode_5, [INFO] [stdout] 1120 | | "#5CLB48\r", [INFO] [stdout] 1121 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1126 | | } [INFO] [stdout] 1127 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1128 | / test_command!( [INFO] [stdout] 1129 | | test_blinking_mode_6, [INFO] [stdout] 1130 | | "#5CLB63\r", [INFO] [stdout] 1131 | | |mut driver: LSSDriver| async move { [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] ... | [INFO] [stdout] 1136 | | } [INFO] [stdout] 1137 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:793:34 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] ... [INFO] [stdout] 1139 | / test_command!( [INFO] [stdout] 1140 | | test_reset, [INFO] [stdout] 1141 | | "#254RESET\r", [INFO] [stdout] 1142 | | |mut driver: LSSDriver| async move { driver.reset(BROADCAST_ID).await.unwrap() } [INFO] [stdout] | | ----------------------- this is not `async` [INFO] [stdout] 1143 | | ); [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:816:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 816 | |mut driver: LSSDriver| async move { driver.halt_hold(4_u8).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:828:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 828 | |mut driver: LSSDriver| async move { driver.set_id(1, 2).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:835:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 835 | |mut driver: LSSDriver| async move { driver.move_to_position(1, 20.0).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:856:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 856 | |mut driver: LSSDriver| async move { driver.set_rotation_speed(5, 90.0).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:889:63 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 889 | test_command!(test_limp, "#5L\r", |mut driver: LSSDriver| async move { [INFO] [stdout] | _______________________________________________________________^ [INFO] [stdout] 890 | | driver.limp(5).await.unwrap() [INFO] [stdout] 891 | | }); [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:895:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 895 | |mut driver: LSSDriver| async move { driver.halt_hold(5).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:902:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 902 | |mut driver: LSSDriver| async move { driver.set_color(5, LedColor::Blue).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:916:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 916 | |mut driver: LSSDriver| async move { driver.set_motion_profile(5, true).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:921:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 921 | |mut driver: LSSDriver| async move { driver.set_motion_profile(5, false).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:941:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 941 | |mut driver: LSSDriver| async move { driver.set_filter_position_count(5, 10).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:954:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 954 | |mut driver: LSSDriver| async move { driver.set_angular_stiffness(5, -2).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:967:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 967 | |mut driver: LSSDriver| async move { driver.set_angular_holding_stiffness(5, 3).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:980:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 980 | |mut driver: LSSDriver| async move { driver.set_angular_acceleration(5, 30).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:993:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 993 | |mut driver: LSSDriver| async move { driver.set_angular_deceleration(5, 30).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1006:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1006 | |mut driver: LSSDriver| async move { driver.set_maximum_motor_duty(5, 512).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1019:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1019 | |mut driver: LSSDriver| async move { driver.set_maximum_speed(5, 180.).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1078:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1078 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1079 | | driver [INFO] [stdout] 1080 | | .set_led_blinking(5, vec![LedBlinking::NoBlinking]) [INFO] [stdout] 1081 | | .await [INFO] [stdout] 1082 | | .unwrap() [INFO] [stdout] 1083 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1088:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1088 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1089 | | driver [INFO] [stdout] 1090 | | .set_led_blinking(5, vec![LedBlinking::Limp]) [INFO] [stdout] 1091 | | .await [INFO] [stdout] 1092 | | .unwrap() [INFO] [stdout] 1093 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1098:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1098 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1099 | | driver [INFO] [stdout] 1100 | | .set_led_blinking(5, vec![LedBlinking::Holding]) [INFO] [stdout] 1101 | | .await [INFO] [stdout] 1102 | | .unwrap() [INFO] [stdout] 1103 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1108:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1108 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1109 | | driver [INFO] [stdout] 1110 | | .set_led_blinking( [INFO] [stdout] 1111 | | 5, [INFO] [stdout] ... | [INFO] [stdout] 1115 | | .unwrap() [INFO] [stdout] 1116 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1121:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1121 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1122 | | driver [INFO] [stdout] 1123 | | .set_led_blinking(5, vec![LedBlinking::Free, LedBlinking::Travelling]) [INFO] [stdout] 1124 | | .await [INFO] [stdout] 1125 | | .unwrap() [INFO] [stdout] 1126 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1131:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1131 | |mut driver: LSSDriver| async move { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 1132 | | driver [INFO] [stdout] 1133 | | .set_led_blinking(5, vec![LedBlinking::AlwaysBlink]) [INFO] [stdout] 1134 | | .await [INFO] [stdout] 1135 | | .unwrap() [INFO] [stdout] 1136 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1142:33 [INFO] [stdout] | [INFO] [stdout] 793 | $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1142 | |mut driver: LSSDriver| async move { driver.reset(BROADCAST_ID).await.unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:822:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 822 | |mut driver: LSSDriver| async move { driver.query_id(BROADCAST_ID).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 818 | / test_query!( [INFO] [stdout] 819 | | test_query_id, [INFO] [stdout] 820 | | "#254QID\r", [INFO] [stdout] 821 | | "*QID5\r", [INFO] [stdout] 822 | | |mut driver: LSSDriver| async move { driver.query_id(BROADCAST_ID).await.unwrap() }, [INFO] [stdout] 823 | | 5 [INFO] [stdout] 824 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:818:5 [INFO] [stdout] | [INFO] [stdout] 818 | / test_query!( [INFO] [stdout] 819 | | test_query_id, [INFO] [stdout] 820 | | "#254QID\r", [INFO] [stdout] 821 | | "*QID5\r", [INFO] [stdout] 822 | | |mut driver: LSSDriver| async move { driver.query_id(BROADCAST_ID).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 823 | | 5 [INFO] [stdout] 824 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:841:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 841 | |mut driver: LSSDriver| async move { driver.query_position(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | / test_query!( [INFO] [stdout] 838 | | test_query_current_position, [INFO] [stdout] 839 | | "#5QD\r", [INFO] [stdout] 840 | | "*5QD132\r", [INFO] [stdout] 841 | | |mut driver: LSSDriver| async move { driver.query_position(5).await.unwrap() }, [INFO] [stdout] 842 | | 13.2 [INFO] [stdout] 843 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | / test_query!( [INFO] [stdout] 838 | | test_query_current_position, [INFO] [stdout] 839 | | "#5QD\r", [INFO] [stdout] 840 | | "*5QD132\r", [INFO] [stdout] 841 | | |mut driver: LSSDriver| async move { driver.query_position(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 842 | | 13.2 [INFO] [stdout] 843 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:848:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 848 | |mut driver: LSSDriver| async move { driver.query_target_position(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | / test_query!( [INFO] [stdout] 845 | | test_query_target_position, [INFO] [stdout] 846 | | "#5QDT\r", [INFO] [stdout] 847 | | "*5QDT6783\r", [INFO] [stdout] 848 | | |mut driver: LSSDriver| async move { driver.query_target_position(5).await.unwrap() }, [INFO] [stdout] 849 | | 678.3 [INFO] [stdout] 850 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:844:5 [INFO] [stdout] | [INFO] [stdout] 844 | / test_query!( [INFO] [stdout] 845 | | test_query_target_position, [INFO] [stdout] 846 | | "#5QDT\r", [INFO] [stdout] 847 | | "*5QDT6783\r", [INFO] [stdout] 848 | | |mut driver: LSSDriver| async move { driver.query_target_position(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 849 | | 678.3 [INFO] [stdout] 850 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:862:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 862 | |mut driver: LSSDriver| async move { driver.query_rotation_speed(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:858:5 [INFO] [stdout] | [INFO] [stdout] 858 | / test_query!( [INFO] [stdout] 859 | | test_query_rotation_speed_degrees, [INFO] [stdout] 860 | | "#5QWD\r", [INFO] [stdout] 861 | | "*5QWD90\r", [INFO] [stdout] 862 | | |mut driver: LSSDriver| async move { driver.query_rotation_speed(5).await.unwrap() }, [INFO] [stdout] 863 | | 90.0 [INFO] [stdout] 864 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:858:5 [INFO] [stdout] | [INFO] [stdout] 858 | / test_query!( [INFO] [stdout] 859 | | test_query_rotation_speed_degrees, [INFO] [stdout] 860 | | "#5QWD\r", [INFO] [stdout] 861 | | "*5QWD90\r", [INFO] [stdout] 862 | | |mut driver: LSSDriver| async move { driver.query_rotation_speed(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 863 | | 90.0 [INFO] [stdout] 864 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:871:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 871 | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | / test_query!( [INFO] [stdout] 868 | | test_unknown_status, [INFO] [stdout] 869 | | "#5Q\r", [INFO] [stdout] 870 | | "*5Q0\r", [INFO] [stdout] 871 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] 872 | | MotorStatus::Unknown [INFO] [stdout] 873 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | message_types::MotorStatus [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 867 | / test_query!( [INFO] [stdout] 868 | | test_unknown_status, [INFO] [stdout] 869 | | "#5Q\r", [INFO] [stdout] 870 | | "*5Q0\r", [INFO] [stdout] 871 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 872 | | MotorStatus::Unknown [INFO] [stdout] 873 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:878:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 878 | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 874 | / test_query!( [INFO] [stdout] 875 | | test_holding_status, [INFO] [stdout] 876 | | "#5Q\r", [INFO] [stdout] 877 | | "*5Q6\r", [INFO] [stdout] 878 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] 879 | | MotorStatus::Holding [INFO] [stdout] 880 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | message_types::MotorStatus [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 874 | / test_query!( [INFO] [stdout] 875 | | test_holding_status, [INFO] [stdout] 876 | | "#5Q\r", [INFO] [stdout] 877 | | "*5Q6\r", [INFO] [stdout] 878 | | |mut driver: LSSDriver| async move { driver.query_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 879 | | MotorStatus::Holding [INFO] [stdout] 880 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:885:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 885 | |mut driver: LSSDriver| async move { driver.query_safety_status(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | / test_query!( [INFO] [stdout] 882 | | test_safety_status, [INFO] [stdout] 883 | | "#5Q1\r", [INFO] [stdout] 884 | | "*5Q3\r", [INFO] [stdout] 885 | | |mut driver: LSSDriver| async move { driver.query_safety_status(5).await.unwrap() }, [INFO] [stdout] 886 | | SafeModeStatus::TemperatureLimit [INFO] [stdout] 887 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | message_types::SafeModeStatus [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:881:5 [INFO] [stdout] | [INFO] [stdout] 881 | / test_query!( [INFO] [stdout] 882 | | test_safety_status, [INFO] [stdout] 883 | | "#5Q1\r", [INFO] [stdout] 884 | | "*5Q3\r", [INFO] [stdout] 885 | | |mut driver: LSSDriver| async move { driver.query_safety_status(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 886 | | SafeModeStatus::TemperatureLimit [INFO] [stdout] 887 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:908:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 908 | |mut driver: LSSDriver| async move { driver.query_color(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 904 | / test_query!( [INFO] [stdout] 905 | | test_query_led, [INFO] [stdout] 906 | | "#5QLED\r", [INFO] [stdout] 907 | | "*5QLED5\r", [INFO] [stdout] 908 | | |mut driver: LSSDriver| async move { driver.query_color(5).await.unwrap() }, [INFO] [stdout] 909 | | LedColor::Cyan [INFO] [stdout] 910 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | message_types::LedColor [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:904:5 [INFO] [stdout] | [INFO] [stdout] 904 | / test_query!( [INFO] [stdout] 905 | | test_query_led, [INFO] [stdout] 906 | | "#5QLED\r", [INFO] [stdout] 907 | | "*5QLED5\r", [INFO] [stdout] 908 | | |mut driver: LSSDriver| async move { driver.query_color(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 909 | | LedColor::Cyan [INFO] [stdout] 910 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:927:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 927 | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:923:5 [INFO] [stdout] | [INFO] [stdout] 923 | / test_query!( [INFO] [stdout] 924 | | test_query_motion_profile_on, [INFO] [stdout] 925 | | "#5QEM\r", [INFO] [stdout] 926 | | "*5QEM1\r", [INFO] [stdout] 927 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] 928 | | true [INFO] [stdout] 929 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | bool [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:923:5 [INFO] [stdout] | [INFO] [stdout] 923 | / test_query!( [INFO] [stdout] 924 | | test_query_motion_profile_on, [INFO] [stdout] 925 | | "#5QEM\r", [INFO] [stdout] 926 | | "*5QEM1\r", [INFO] [stdout] 927 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 928 | | true [INFO] [stdout] 929 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:934:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 934 | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | / test_query!( [INFO] [stdout] 931 | | test_query_motion_profile_off, [INFO] [stdout] 932 | | "#5QEM\r", [INFO] [stdout] 933 | | "*5QEM0\r", [INFO] [stdout] 934 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] 935 | | false [INFO] [stdout] 936 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | bool [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | / test_query!( [INFO] [stdout] 931 | | test_query_motion_profile_off, [INFO] [stdout] 932 | | "#5QEM\r", [INFO] [stdout] 933 | | "*5QEM0\r", [INFO] [stdout] 934 | | |mut driver: LSSDriver| async move { driver.query_motion_profile(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 935 | | false [INFO] [stdout] 936 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:947:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 947 | |mut driver: LSSDriver| async move { driver.query_filter_position_count(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:943:5 [INFO] [stdout] | [INFO] [stdout] 943 | / test_query!( [INFO] [stdout] 944 | | test_query_filter_position_count, [INFO] [stdout] 945 | | "#5QFPC\r", [INFO] [stdout] 946 | | "*5QFPC10\r", [INFO] [stdout] 947 | | |mut driver: LSSDriver| async move { driver.query_filter_position_count(5).await.unwrap() }, [INFO] [stdout] 948 | | 10 [INFO] [stdout] 949 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:943:5 [INFO] [stdout] | [INFO] [stdout] 943 | / test_query!( [INFO] [stdout] 944 | | test_query_filter_position_count, [INFO] [stdout] 945 | | "#5QFPC\r", [INFO] [stdout] 946 | | "*5QFPC10\r", [INFO] [stdout] 947 | | |mut driver: LSSDriver| async move { driver.query_filter_position_count(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 948 | | 10 [INFO] [stdout] 949 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:960:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 960 | |mut driver: LSSDriver| async move { driver.query_angular_stiffness(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:956:5 [INFO] [stdout] | [INFO] [stdout] 956 | / test_query!( [INFO] [stdout] 957 | | test_query_angular_stiffness, [INFO] [stdout] 958 | | "#5QAS\r", [INFO] [stdout] 959 | | "*5QAS-2\r", [INFO] [stdout] 960 | | |mut driver: LSSDriver| async move { driver.query_angular_stiffness(5).await.unwrap() }, [INFO] [stdout] 961 | | -2 [INFO] [stdout] 962 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:956:5 [INFO] [stdout] | [INFO] [stdout] 956 | / test_query!( [INFO] [stdout] 957 | | test_query_angular_stiffness, [INFO] [stdout] 958 | | "#5QAS\r", [INFO] [stdout] 959 | | "*5QAS-2\r", [INFO] [stdout] 960 | | |mut driver: LSSDriver| async move { driver.query_angular_stiffness(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 961 | | -2 [INFO] [stdout] 962 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:973:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 973 | |mut driver: LSSDriver| async move { driver.query_angular_holding_stiffness(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | / test_query!( [INFO] [stdout] 970 | | test_query_angular_holding_stiffness, [INFO] [stdout] 971 | | "#5QAH\r", [INFO] [stdout] 972 | | "*5QAH3\r", [INFO] [stdout] 973 | | |mut driver: LSSDriver| async move { driver.query_angular_holding_stiffness(5).await.unwrap() }, [INFO] [stdout] 974 | | 3 [INFO] [stdout] 975 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | / test_query!( [INFO] [stdout] 970 | | test_query_angular_holding_stiffness, [INFO] [stdout] 971 | | "#5QAH\r", [INFO] [stdout] 972 | | "*5QAH3\r", [INFO] [stdout] 973 | | |mut driver: LSSDriver| async move { driver.query_angular_holding_stiffness(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 974 | | 3 [INFO] [stdout] 975 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:986:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 986 | |mut driver: LSSDriver| async move { driver.query_angular_acceleration(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 982 | / test_query!( [INFO] [stdout] 983 | | test_query_angular_acceleration, [INFO] [stdout] 984 | | "#5QAA\r", [INFO] [stdout] 985 | | "*5QAA30\r", [INFO] [stdout] 986 | | |mut driver: LSSDriver| async move { driver.query_angular_acceleration(5).await.unwrap() }, [INFO] [stdout] 987 | | 30 [INFO] [stdout] 988 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:982:5 [INFO] [stdout] | [INFO] [stdout] 982 | / test_query!( [INFO] [stdout] 983 | | test_query_angular_acceleration, [INFO] [stdout] 984 | | "#5QAA\r", [INFO] [stdout] 985 | | "*5QAA30\r", [INFO] [stdout] 986 | | |mut driver: LSSDriver| async move { driver.query_angular_acceleration(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 987 | | 30 [INFO] [stdout] 988 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:999:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 999 | |mut driver: LSSDriver| async move { driver.query_angular_deceleration(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:995:5 [INFO] [stdout] | [INFO] [stdout] 995 | / test_query!( [INFO] [stdout] 996 | | test_query_angular_deceleration, [INFO] [stdout] 997 | | "#5QAD\r", [INFO] [stdout] 998 | | "*5QAD30\r", [INFO] [stdout] 999 | | |mut driver: LSSDriver| async move { driver.query_angular_deceleration(5).await.unwrap() }, [INFO] [stdout] 1000 | | 30 [INFO] [stdout] 1001 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:995:5 [INFO] [stdout] | [INFO] [stdout] 995 | / test_query!( [INFO] [stdout] 996 | | test_query_angular_deceleration, [INFO] [stdout] 997 | | "#5QAD\r", [INFO] [stdout] 998 | | "*5QAD30\r", [INFO] [stdout] 999 | | |mut driver: LSSDriver| async move { driver.query_angular_deceleration(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1000 | | 30 [INFO] [stdout] 1001 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1012:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1012 | |mut driver: LSSDriver| async move { driver.query_maximum_motor_duty(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1008:5 [INFO] [stdout] | [INFO] [stdout] 1008 | / test_query!( [INFO] [stdout] 1009 | | test_query_maximum_motor_duty, [INFO] [stdout] 1010 | | "#5QMMD\r", [INFO] [stdout] 1011 | | "*5QMMD512\r", [INFO] [stdout] 1012 | | |mut driver: LSSDriver| async move { driver.query_maximum_motor_duty(5).await.unwrap() }, [INFO] [stdout] 1013 | | 512 [INFO] [stdout] 1014 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {integer} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1008:5 [INFO] [stdout] | [INFO] [stdout] 1008 | / test_query!( [INFO] [stdout] 1009 | | test_query_maximum_motor_duty, [INFO] [stdout] 1010 | | "#5QMMD\r", [INFO] [stdout] 1011 | | "*5QMMD512\r", [INFO] [stdout] 1012 | | |mut driver: LSSDriver| async move { driver.query_maximum_motor_duty(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1013 | | 512 [INFO] [stdout] 1014 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1025:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1025 | |mut driver: LSSDriver| async move { driver.query_maximum_speed(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | / test_query!( [INFO] [stdout] 1022 | | test_query_maximum_speed, [INFO] [stdout] 1023 | | "#5QSD\r", [INFO] [stdout] 1024 | | "*5QSD1800\r", [INFO] [stdout] 1025 | | |mut driver: LSSDriver| async move { driver.query_maximum_speed(5).await.unwrap() }, [INFO] [stdout] 1026 | | 180. [INFO] [stdout] 1027 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1021:5 [INFO] [stdout] | [INFO] [stdout] 1021 | / test_query!( [INFO] [stdout] 1022 | | test_query_maximum_speed, [INFO] [stdout] 1023 | | "#5QSD\r", [INFO] [stdout] 1024 | | "*5QSD1800\r", [INFO] [stdout] 1025 | | |mut driver: LSSDriver| async move { driver.query_maximum_speed(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1026 | | 180. [INFO] [stdout] 1027 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1034:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1034 | |mut driver: LSSDriver| async move { driver.query_voltage(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1030:5 [INFO] [stdout] | [INFO] [stdout] 1030 | / test_query!( [INFO] [stdout] 1031 | | test_query_voltage, [INFO] [stdout] 1032 | | "#5QV\r", [INFO] [stdout] 1033 | | "*5QV11200\r", [INFO] [stdout] 1034 | | |mut driver: LSSDriver| async move { driver.query_voltage(5).await.unwrap() }, [INFO] [stdout] 1035 | | 11.2 [INFO] [stdout] 1036 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1030:5 [INFO] [stdout] | [INFO] [stdout] 1030 | / test_query!( [INFO] [stdout] 1031 | | test_query_voltage, [INFO] [stdout] 1032 | | "#5QV\r", [INFO] [stdout] 1033 | | "*5QV11200\r", [INFO] [stdout] 1034 | | |mut driver: LSSDriver| async move { driver.query_voltage(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1035 | | 11.2 [INFO] [stdout] 1036 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1041:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1041 | |mut driver: LSSDriver| async move { driver.query_temperature(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | / test_query!( [INFO] [stdout] 1038 | | test_query_temperature, [INFO] [stdout] 1039 | | "#5QT\r", [INFO] [stdout] 1040 | | "*5QT564\r", [INFO] [stdout] 1041 | | |mut driver: LSSDriver| async move { driver.query_temperature(5).await.unwrap() }, [INFO] [stdout] 1042 | | 56.4 [INFO] [stdout] 1043 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1037:5 [INFO] [stdout] | [INFO] [stdout] 1037 | / test_query!( [INFO] [stdout] 1038 | | test_query_temperature, [INFO] [stdout] 1039 | | "#5QT\r", [INFO] [stdout] 1040 | | "*5QT564\r", [INFO] [stdout] 1041 | | |mut driver: LSSDriver| async move { driver.query_temperature(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1042 | | 56.4 [INFO] [stdout] 1043 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1048:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1048 | |mut driver: LSSDriver| async move { driver.query_current(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1044:5 [INFO] [stdout] | [INFO] [stdout] 1044 | / test_query!( [INFO] [stdout] 1045 | | test_query_current, [INFO] [stdout] 1046 | | "#5QC\r", [INFO] [stdout] 1047 | | "*5QC140\r", [INFO] [stdout] 1048 | | |mut driver: LSSDriver| async move { driver.query_current(5).await.unwrap() }, [INFO] [stdout] 1049 | | 0.14 [INFO] [stdout] 1050 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | {float} [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1044:5 [INFO] [stdout] | [INFO] [stdout] 1044 | / test_query!( [INFO] [stdout] 1045 | | test_query_current, [INFO] [stdout] 1046 | | "#5QC\r", [INFO] [stdout] 1047 | | "*5QC140\r", [INFO] [stdout] 1048 | | |mut driver: LSSDriver| async move { driver.query_current(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1049 | | 0.14 [INFO] [stdout] 1050 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1056:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1056 | |mut driver: LSSDriver| async move { driver.query_model(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1052:5 [INFO] [stdout] | [INFO] [stdout] 1052 | / test_query!( [INFO] [stdout] 1053 | | test_query_model_string, [INFO] [stdout] 1054 | | "#5QMS\r", [INFO] [stdout] 1055 | | "*5QMSLSS-HS1\r", [INFO] [stdout] 1056 | | |mut driver: LSSDriver| async move { driver.query_model(5).await.unwrap() }, [INFO] [stdout] 1057 | | Model::HS1 [INFO] [stdout] 1058 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | message_types::Model [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1052:5 [INFO] [stdout] | [INFO] [stdout] 1052 | / test_query!( [INFO] [stdout] 1053 | | test_query_model_string, [INFO] [stdout] 1054 | | "#5QMS\r", [INFO] [stdout] 1055 | | "*5QMSLSS-HS1\r", [INFO] [stdout] 1056 | | |mut driver: LSSDriver| async move { driver.query_model(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1057 | | Model::HS1 [INFO] [stdout] 1058 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1063:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1063 | |mut driver: LSSDriver| async move { driver.query_firmware_version(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | / test_query!( [INFO] [stdout] 1060 | | test_query_firmware_version, [INFO] [stdout] 1061 | | "#5QF\r", [INFO] [stdout] 1062 | | "*5QF368\r", [INFO] [stdout] 1063 | | |mut driver: LSSDriver| async move { driver.query_firmware_version(5).await.unwrap() }, [INFO] [stdout] 1064 | | "368".to_owned() [INFO] [stdout] 1065 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | String [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | / test_query!( [INFO] [stdout] 1060 | | test_query_firmware_version, [INFO] [stdout] 1061 | | "#5QF\r", [INFO] [stdout] 1062 | | "*5QF368\r", [INFO] [stdout] 1063 | | |mut driver: LSSDriver| async move { driver.query_firmware_version(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1064 | | "368".to_owned() [INFO] [stdout] 1065 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `impl futures::Future` [INFO] [stdout] --> src/lib.rs:1070:33 [INFO] [stdout] | [INFO] [stdout] 807 | let res = $command(driver).await; [INFO] [stdout] | -------- call expression requires function [INFO] [stdout] ... [INFO] [stdout] 1070 | |mut driver: LSSDriver| async move { driver.query_serial_number(5).await.unwrap() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] --> src/lib.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | / test_query!( [INFO] [stdout] 1067 | | test_query_serial_number, [INFO] [stdout] 1068 | | "#5QN\r", [INFO] [stdout] 1069 | | "*5QN12345678\r", [INFO] [stdout] 1070 | | |mut driver: LSSDriver| async move { driver.query_serial_number(5).await.unwrap() }, [INFO] [stdout] 1071 | | "12345678".to_owned() [INFO] [stdout] 1072 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |______[closure@src/lib.rs:807:44: 807:49] [INFO] [stdout] | String [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `[closure@src/lib.rs:807:44: 807:49]` doesn't implement `Debug` [INFO] [stdout] --> src/lib.rs:1066:5 [INFO] [stdout] | [INFO] [stdout] 1066 | / test_query!( [INFO] [stdout] 1067 | | test_query_serial_number, [INFO] [stdout] 1068 | | "#5QN\r", [INFO] [stdout] 1069 | | "*5QN12345678\r", [INFO] [stdout] 1070 | | |mut driver: LSSDriver| async move { driver.query_serial_number(5).await.unwrap() }, [INFO] [stdout] | | ----------------------- consider calling this closure [INFO] [stdout] 1071 | | "12345678".to_owned() [INFO] [stdout] 1072 | | ); [INFO] [stdout] | |______^ `[closure@src/lib.rs:807:44: 807:49]` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = help: use parentheses to call the closure: `res(_)` [INFO] [stdout] = note: required because of the requirements on the impl of `Debug` for `&[closure@src/lib.rs:807:44: 807:49]` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 138 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0618, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lss_driver` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a12283c79c38eb58b7e41ef3ab774e7749dbcd6cad49ea300ff0386114cd13ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12283c79c38eb58b7e41ef3ab774e7749dbcd6cad49ea300ff0386114cd13ba", kill_on_drop: false }` [INFO] [stdout] a12283c79c38eb58b7e41ef3ab774e7749dbcd6cad49ea300ff0386114cd13ba