[INFO] cloning repository https://github.com/kczimm/dds-rtps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kczimm/dds-rtps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fdds-rtps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fdds-rtps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b6635db1aa5fd4664171945975571785b657b87 [INFO] testing kczimm/dds-rtps against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fdds-rtps" "/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/kczimm/dds-rtps on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kczimm/dds-rtps [INFO] finished tweaking git repo https://github.com/kczimm/dds-rtps [INFO] tweaked toml for git repo https://github.com/kczimm/dds-rtps written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e67dfbff4a180f03aa2370ffb9c9c55b9c1067985bf335c46b801537a04a5fca [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" "e67dfbff4a180f03aa2370ffb9c9c55b9c1067985bf335c46b801537a04a5fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e67dfbff4a180f03aa2370ffb9c9c55b9c1067985bf335c46b801537a04a5fca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e67dfbff4a180f03aa2370ffb9c9c55b9c1067985bf335c46b801537a04a5fca", kill_on_drop: false }` [INFO] [stdout] e67dfbff4a180f03aa2370ffb9c9c55b9c1067985bf335c46b801537a04a5fca [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 476547ae74466a96bdc488c7087688e8d34daa07eadf83e35d27c7af7f9e8161 [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" "476547ae74466a96bdc488c7087688e8d34daa07eadf83e35d27c7af7f9e8161", kill_on_drop: false }` [INFO] [stderr] Compiling rtps v0.1.0 (/opt/rustwide/workdir/rtps) [INFO] [stderr] Compiling rtps-udp v0.1.0 (/opt/rustwide/workdir/rtps-udp) [INFO] [stdout] warning: field is never read: `domain_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | domain_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `participant_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | participant_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port_base_number` [INFO] [stdout] --> rtps-udp/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | port_base_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d0` [INFO] [stdout] --> rtps-udp/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | additional_offset_d0: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d1` [INFO] [stdout] --> rtps-udp/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | additional_offset_d1: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d2` [INFO] [stdout] --> rtps-udp/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | additional_offset_d2: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d3` [INFO] [stdout] --> rtps-udp/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | additional_offset_d3: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | const fn spdp_well_known_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | const fn spdp_well_known_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | const fn user_defined_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | const fn user_defined_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_multicast_locator` [INFO] [stdout] --> rtps-udp/src/lib.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn default_multicast_locator(domain_id: u16, params: Option) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dds v0.1.0 (/opt/rustwide/workdir/dds) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.56s [INFO] running `Command { std: "docker" "inspect" "476547ae74466a96bdc488c7087688e8d34daa07eadf83e35d27c7af7f9e8161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "476547ae74466a96bdc488c7087688e8d34daa07eadf83e35d27c7af7f9e8161", kill_on_drop: false }` [INFO] [stdout] 476547ae74466a96bdc488c7087688e8d34daa07eadf83e35d27c7af7f9e8161 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5fcc43d6be981dc2615a08d8a3e82a8a52933abad4bfd93bfcede05e631aa1f [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" "b5fcc43d6be981dc2615a08d8a3e82a8a52933abad4bfd93bfcede05e631aa1f", kill_on_drop: false }` [INFO] [stderr] Compiling rtps v0.1.0 (/opt/rustwide/workdir/rtps) [INFO] [stdout] warning: field is never read: `domain_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | domain_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rtps-udp v0.1.0 (/opt/rustwide/workdir/rtps-udp) [INFO] [stdout] warning: field is never read: `participant_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | participant_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dds v0.1.0 (/opt/rustwide/workdir/dds) [INFO] [stdout] warning: field is never read: `port_base_number` [INFO] [stdout] --> rtps-udp/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | port_base_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d0` [INFO] [stdout] --> rtps-udp/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | additional_offset_d0: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d1` [INFO] [stdout] --> rtps-udp/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | additional_offset_d1: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d2` [INFO] [stdout] --> rtps-udp/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | additional_offset_d2: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d3` [INFO] [stdout] --> rtps-udp/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | additional_offset_d3: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | const fn spdp_well_known_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | const fn spdp_well_known_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | const fn user_defined_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | const fn user_defined_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_multicast_locator` [INFO] [stdout] --> rtps-udp/src/lib.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn default_multicast_locator(domain_id: u16, params: Option) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `domain_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | domain_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `participant_id_gain` [INFO] [stdout] --> rtps-udp/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | participant_id_gain: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port_base_number` [INFO] [stdout] --> rtps-udp/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | port_base_number: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d0` [INFO] [stdout] --> rtps-udp/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | additional_offset_d0: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d1` [INFO] [stdout] --> rtps-udp/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | additional_offset_d1: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d2` [INFO] [stdout] --> rtps-udp/src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | additional_offset_d2: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `additional_offset_d3` [INFO] [stdout] --> rtps-udp/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | additional_offset_d3: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | const fn spdp_well_known_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `spdp_well_known_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | const fn spdp_well_known_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_multicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | const fn user_defined_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `user_defined_unicast_port` [INFO] [stdout] --> rtps-udp/src/lib.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 34 | const fn user_defined_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_multicast_locator` [INFO] [stdout] --> rtps-udp/src/lib.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn default_multicast_locator(domain_id: u16, params: Option) -> SocketAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.40s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/dds-0b8f067bc0c317bb) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtps-bc0cbb0c9bc52064) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtps_udp-66fe41eb13434383) [INFO] running `Command { std: "docker" "inspect" "b5fcc43d6be981dc2615a08d8a3e82a8a52933abad4bfd93bfcede05e631aa1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fcc43d6be981dc2615a08d8a3e82a8a52933abad4bfd93bfcede05e631aa1f", kill_on_drop: false }` [INFO] [stdout] b5fcc43d6be981dc2615a08d8a3e82a8a52933abad4bfd93bfcede05e631aa1f [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92aebbbbc1d3d096039aedb67ccec4593c8349a8d9b223fbdbe326bbd8934bf3 [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" "92aebbbbc1d3d096039aedb67ccec4593c8349a8d9b223fbdbe326bbd8934bf3", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `domain_id_gain` [INFO] [stdout] [INFO] [stderr] --> rtps-udp/src/lib.rs:9:5 [INFO] [stdout] running 5 tests [INFO] [stderr] | [INFO] [stdout] test qos::tests::test_durabilitykind_partialord ... ok [INFO] [stderr] 9 | domain_id_gain: u16, [INFO] [stdout] test qos::tests::test_presentationaccessscopekind_partialord ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test qos::tests::test_reliabilitykind_partialord ... ok [INFO] [stderr] | [INFO] [stdout] test qos::tests::test_livelinesskind_partialord ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `participant_id_gain` [INFO] [stderr] --> rtps-udp/src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | participant_id_gain: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `port_base_number` [INFO] [stderr] --> rtps-udp/src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | port_base_number: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional_offset_d0` [INFO] [stderr] --> rtps-udp/src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | additional_offset_d0: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional_offset_d1` [INFO] [stderr] --> rtps-udp/src/lib.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | additional_offset_d1: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional_offset_d2` [INFO] [stderr] --> rtps-udp/src/lib.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | additional_offset_d2: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `additional_offset_d3` [INFO] [stderr] --> rtps-udp/src/lib.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | additional_offset_d3: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `spdp_well_known_multicast_port` [INFO] [stderr] --> rtps-udp/src/lib.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | const fn spdp_well_known_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `spdp_well_known_unicast_port` [INFO] [stderr] --> rtps-udp/src/lib.rs:23:14 [INFO] [stderr] | [INFO] [stderr] 23 | const fn spdp_well_known_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `user_defined_multicast_port` [INFO] [stderr] --> rtps-udp/src/lib.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | const fn user_defined_multicast_port(&self, domain_id: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `user_defined_unicast_port` [INFO] [stderr] --> rtps-udp/src/lib.rs:34:14 [INFO] [stderr] | [INFO] [stderr] 34 | const fn user_defined_unicast_port(&self, domain_id: u16, participant_id: u16) -> u16 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `default_multicast_locator` [INFO] [stderr] --> rtps-udp/src/lib.rs:56:4 [INFO] [stderr] | [INFO] [stderr] 56 | fn default_multicast_locator(domain_id: u16, params: Option) -> SocketAddr { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rtps-udp` (lib) generated 12 warnings [INFO] [stderr] warning: `rtps-udp` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dds-0b8f067bc0c317bb) [INFO] [stdout] test qos::tests::test_destinationorderkind_partialord ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtps-bc0cbb0c9bc52064) [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rtps_udp-66fe41eb13434383) [INFO] [stdout] test structure::tests::test_sequence_number_cmp ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests dds [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/publication/mod.rs - publication (line 10) - compile ... FAILED [INFO] [stdout] test src/subscription/mod.rs - subscription (line 10) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/publication/mod.rs - publication (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DomainParticipant` [INFO] [stdout] --> src/publication/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 12 | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::domain::DomainParticipant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/publication/mod.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 14 | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/publication/mod.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 15 | let mut publisher = dp.create_publisher(QoS::publisher_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/publication/mod.rs:24:66 [INFO] [stdout] | [INFO] [stdout] 16 | let mut writer = publisher.create_datawriter::(topic, QoS::datawriter_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:23:70 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] 15 | | let mut publisher = dp.create_publisher(QoS::publisher_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:24:92 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 16 | | let mut writer = publisher.create_datawriter::(topic, QoS::datawriter_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 25 | | writer.write(&sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 26 | | writer.dispose(&sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 30 | | writer.write(&sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 31 | | writer.dispose(&sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/publication/mod.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 32 | | writer.write(&sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | publisher.resume_publications(); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/subscription/mod.rs - subscription (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DomainParticipant` [INFO] [stdout] --> src/subscription/mod.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 12 | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::domain::DomainParticipant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/subscription/mod.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 14 | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/subscription/mod.rs:23:47 [INFO] [stdout] | [INFO] [stdout] 15 | let mut subscriber = dp.create_subscriber(QoS::subscriber_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/subscription/mod.rs:24:67 [INFO] [stdout] | [INFO] [stdout] 16 | let mut reader = subscriber.create_datareader::(topic, QoS::datareader_default())?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use dds::qos::QoS; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/subscription/mod.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 19 | | reader.read(&mut sample).await?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/subscription/mod.rs:22:63 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 19 | | reader.read(&mut sample).await?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/subscription/mod.rs:23:73 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] 14 | | let topic = dp.create_topic("Shape", QoS::topic_default())?; [INFO] [stdout] 15 | | let mut subscriber = dp.create_subscriber(QoS::subscriber_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 19 | | reader.read(&mut sample).await?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/subscription/mod.rs:24:93 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 16 | | let mut reader = subscriber.create_datareader::(topic, QoS::datareader_default())?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 19 | | reader.read(&mut sample).await?; [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Shape` in the current scope [INFO] [stdout] --> src/subscription/mod.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 3 | struct Shape { [INFO] [stdout] | ------------ function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 18 | let mut sample = Shape::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Shape` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/subscription/mod.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 10 | async fn publish() { [INFO] [stdout] | ____________________- [INFO] [stdout] 11 | | let domain_id = 0; [INFO] [stdout] 12 | | let dp = DomainParticipant::new(domain_id)?; [INFO] [stdout] 13 | | [INFO] [stdout] ... | [INFO] [stdout] 19 | | reader.read(&mut sample).await?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `()` [INFO] [stdout] 20 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/publication/mod.rs - publication (line 10) [INFO] [stdout] src/subscription/mod.rs - subscription (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "92aebbbbc1d3d096039aedb67ccec4593c8349a8d9b223fbdbe326bbd8934bf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92aebbbbc1d3d096039aedb67ccec4593c8349a8d9b223fbdbe326bbd8934bf3", kill_on_drop: false }` [INFO] [stdout] 92aebbbbc1d3d096039aedb67ccec4593c8349a8d9b223fbdbe326bbd8934bf3