[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkczimm%2Fdds-rtps" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kczimm/dds-rtps on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-95/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9724644a773b6d8c3f5e1d7f4c1fb831e64ad18ac1d2865396f69289f1b033a7 [INFO] running `Command { std: "docker" "start" "-a" "9724644a773b6d8c3f5e1d7f4c1fb831e64ad18ac1d2865396f69289f1b033a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9724644a773b6d8c3f5e1d7f4c1fb831e64ad18ac1d2865396f69289f1b033a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9724644a773b6d8c3f5e1d7f4c1fb831e64ad18ac1d2865396f69289f1b033a7", kill_on_drop: false }` [INFO] [stdout] 9724644a773b6d8c3f5e1d7f4c1fb831e64ad18ac1d2865396f69289f1b033a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4e96c97ec6ae4166ac30f88126031e83ffe4e7c203a395a8c85413421769131 [INFO] running `Command { std: "docker" "start" "-a" "b4e96c97ec6ae4166ac30f88126031e83ffe4e7c203a395a8c85413421769131", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 1.41s [INFO] running `Command { std: "docker" "inspect" "b4e96c97ec6ae4166ac30f88126031e83ffe4e7c203a395a8c85413421769131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4e96c97ec6ae4166ac30f88126031e83ffe4e7c203a395a8c85413421769131", kill_on_drop: false }` [INFO] [stdout] b4e96c97ec6ae4166ac30f88126031e83ffe4e7c203a395a8c85413421769131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc762525178dfef4bc8f8a40f04a2330289f0c0065ad06565e9b4c4ffcd71a05 [INFO] running `Command { std: "docker" "start" "-a" "cc762525178dfef4bc8f8a40f04a2330289f0c0065ad06565e9b4c4ffcd71a05", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling rtps v0.1.0 (/opt/rustwide/workdir/rtps) [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 rtps-udp v0.1.0 (/opt/rustwide/workdir/rtps-udp) [INFO] [stderr] Compiling dds v0.1.0 (/opt/rustwide/workdir/dds) [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.01s [INFO] running `Command { std: "docker" "inspect" "cc762525178dfef4bc8f8a40f04a2330289f0c0065ad06565e9b4c4ffcd71a05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc762525178dfef4bc8f8a40f04a2330289f0c0065ad06565e9b4c4ffcd71a05", kill_on_drop: false }` [INFO] [stdout] cc762525178dfef4bc8f8a40f04a2330289f0c0065ad06565e9b4c4ffcd71a05 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a317078c402bcc898c37e94b5d6c0d75f9df717c146189a391dd945440c018a6 [INFO] running `Command { std: "docker" "start" "-a" "a317078c402bcc898c37e94b5d6c0d75f9df717c146189a391dd945440c018a6", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `domain_id_gain` [INFO] [stderr] --> rtps-udp/src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | domain_id_gain: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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.00s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dds-a0be155d7ff2853d) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test qos::tests::test_destinationorderkind_partialord ... ok [INFO] [stdout] test qos::tests::test_livelinesskind_partialord ... ok [INFO] [stdout] test qos::tests::test_durabilitykind_partialord ... ok [INFO] [stdout] test qos::tests::test_presentationaccessscopekind_partialord ... ok [INFO] [stdout] test qos::tests::test_reliabilitykind_partialord ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rtps-684874f2515a31ca) [INFO] [stdout] [INFO] [stdout] running 1 test [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.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rtps_udp-7fb8812c95f1a8ee) [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/subscription/mod.rs - subscription (line 10) - compile ... FAILED [INFO] [stdout] test src/publication/mod.rs - publication (line 10) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] ---- 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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] note: required by `from_residual` [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] [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" "a317078c402bcc898c37e94b5d6c0d75f9df717c146189a391dd945440c018a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a317078c402bcc898c37e94b5d6c0d75f9df717c146189a391dd945440c018a6", kill_on_drop: false }` [INFO] [stdout] a317078c402bcc898c37e94b5d6c0d75f9df717c146189a391dd945440c018a6