[INFO] cloning repository https://github.com/dmweis/IronLSS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmweis/IronLSS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmweis%2FIronLSS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmweis%2FIronLSS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a5162bacc06b322a550d984b0bf315b982c53a4 [INFO] testing dmweis/IronLSS against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmweis%2FIronLSS" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmweis/IronLSS on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmweis/IronLSS [INFO] finished tweaking git repo https://github.com/dmweis/IronLSS [INFO] tweaked toml for git repo https://github.com/dmweis/IronLSS written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serial v4.3.3 [INFO] [stderr] Downloaded mio-serial v3.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6f27142bd6acb10cb251397cf2e0073d98ed6b349ce0d9bd09cc641cc39e10a [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" "b6f27142bd6acb10cb251397cf2e0073d98ed6b349ce0d9bd09cc641cc39e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6f27142bd6acb10cb251397cf2e0073d98ed6b349ce0d9bd09cc641cc39e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f27142bd6acb10cb251397cf2e0073d98ed6b349ce0d9bd09cc641cc39e10a", kill_on_drop: false }` [INFO] [stdout] b6f27142bd6acb10cb251397cf2e0073d98ed6b349ce0d9bd09cc641cc39e10a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", 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] 50fd544813162deeff433ea5c5536798d1f092178716ae2748187d992ec3b886 [INFO] running `Command { std: "docker" "start" "-a" "50fd544813162deeff433ea5c5536798d1f092178716ae2748187d992ec3b886", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling mio-serial v3.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tokio-serial v4.3.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling lss_driver v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "50fd544813162deeff433ea5c5536798d1f092178716ae2748187d992ec3b886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50fd544813162deeff433ea5c5536798d1f092178716ae2748187d992ec3b886", kill_on_drop: false }` [INFO] [stdout] 50fd544813162deeff433ea5c5536798d1f092178716ae2748187d992ec3b886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72a8d715010524362812c68dd770e6bb55f8898522c1bc86a3ca8956202de43a [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" "72a8d715010524362812c68dd770e6bb55f8898522c1bc86a3ca8956202de43a", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling futures-lite v1.11.2 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling async-io v1.3.0 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling async-std v1.7.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling ctrlc v3.1.7 [INFO] [stderr] Compiling lss_driver v0.3.0 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `lss_driver` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name replay_mode --edition=2018 examples/replay_mode.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=42ebc461736521b3 -C extra-filename=-42ebc461736521b3 --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern async_std=/opt/rustwide/target/debug/deps/libasync_std-4dc1cee4c12d168f.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-c0d71faac2d58167.so --extern bytes=/opt/rustwide/target/debug/deps/libbytes-3cc78889b255363f.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-7ad8d99d507ce6d6.rlib --extern ctrlc=/opt/rustwide/target/debug/deps/libctrlc-6a344c0fa7498cd9.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-8f3c8ee98db0b32d.rlib --extern lss_driver=/opt/rustwide/target/debug/deps/liblss_driver-41d17425ba7200f7.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-deb0f067de7d35dd.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-3383d185a796362e.rlib --extern tokio_serial=/opt/rustwide/target/debug/deps/libtokio_serial-28a71de51fea91c7.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-52167916780b3b84.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "72a8d715010524362812c68dd770e6bb55f8898522c1bc86a3ca8956202de43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a8d715010524362812c68dd770e6bb55f8898522c1bc86a3ca8956202de43a", kill_on_drop: false }` [INFO] [stdout] 72a8d715010524362812c68dd770e6bb55f8898522c1bc86a3ca8956202de43a