[INFO] fetching crate rustdds 0.3.3... [INFO] checking rustdds-0.3.3 against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [INFO] extracting crate rustdds 0.3.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rustdds 0.3.3 on toolchain 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustdds 0.3.3 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate rustdds 0.3.3 [INFO] tweaked toml for crates.io crate rustdds 0.3.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate rustdds 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9f1c489d58923fc82c6e9d545139791a844390d06fcc70ed60a4e9cdea0fef5 [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" "c9f1c489d58923fc82c6e9d545139791a844390d06fcc70ed60a4e9cdea0fef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9f1c489d58923fc82c6e9d545139791a844390d06fcc70ed60a4e9cdea0fef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f1c489d58923fc82c6e9d545139791a844390d06fcc70ed60a4e9cdea0fef5", kill_on_drop: false }` [INFO] [stdout] c9f1c489d58923fc82c6e9d545139791a844390d06fcc70ed60a4e9cdea0fef5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--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] f92a9e0b0dfd2a05bd6340bbd2d27ad24c3314dfbcd66af0360906162c134b57 [INFO] running `Command { std: "docker" "start" "-a" "f92a9e0b0dfd2a05bd6340bbd2d27ad24c3314dfbcd66af0360906162c134b57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking timer v0.1.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling speedy-derive v0.6.0 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking speedy v0.6.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking log4rs v1.0.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking rustdds v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::common::bit_set` [INFO] [stdout] --> src/dds/participant.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | common::bit_set::BitSetRef, [INFO] [stdout] | ^^^^^^^ could not find `bit_set` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dds::values::result::StatusChange` [INFO] [stdout] --> src/discovery/discovery_db.rs:513:7 [INFO] [stdout] | [INFO] [stdout] 513 | use crate::dds::values::result::StatusChange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusChange` in `dds::values::result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dds::error::StatusChange` [INFO] [stdout] --> src/test/datareader_util.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | dds::error::StatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusChange` in `dds::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::dds::values::result::CountWithChange`, `crate::dds::values::result::RequestedDeadlineMissedStatus` [INFO] [stdout] --> src/dds/dp_event_loop.rs:669:5 [INFO] [stdout] | [INFO] [stdout] 669 | dds::values::result::CountWithChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CountWithChange` in `dds::values::result` [INFO] [stdout] 670 | dds::values::result::RequestedDeadlineMissedStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RequestedDeadlineMissedStatus` in `dds::values::result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dds::values::result::StatusChange` [INFO] [stdout] --> src/dds/dp_event_loop.rs:679:34 [INFO] [stdout] | [INFO] [stdout] 679 | dds::{qos::policy::Deadline, values::result::StatusChange}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusChange` in `dds::values::result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dds::values::result::StatusChange` [INFO] [stdout] --> src/dds/message_receiver.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | dds::values::result::StatusChange, dds::writer::WriterCommand, messages::header::Header, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusChange` in `dds::values::result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::dds::values::result::StatusChange` [INFO] [stdout] --> src/dds/reader.rs:829:5 [INFO] [stdout] | [INFO] [stdout] 829 | dds::values::result::StatusChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StatusChange` in `dds::values::result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntiTyKind` [INFO] [stdout] --> src/test/test_data.rs:207:52 [INFO] [stdout] | [INFO] [stdout] 207 | remote_reader_guid: Some(GUID::dummy_test_guid(EntiTyKind::READER_NO_KEY_USER_DEFINED)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntiTyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntiTyKind` [INFO] [stdout] --> src/test/test_data.rs:224:52 [INFO] [stdout] | [INFO] [stdout] 224 | remote_writer_guid: Some(GUID::dummy_test_guid(EntiTyKind::WRITER_NO_KEY_USER_DEFINED)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntiTyKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1213:34 [INFO] [stdout] | [INFO] [stdout] 1213 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1238:34 [INFO] [stdout] | [INFO] [stdout] 1238 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1253:34 [INFO] [stdout] | [INFO] [stdout] 1253 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1335:34 [INFO] [stdout] | [INFO] [stdout] 1335 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1346:34 [INFO] [stdout] | [INFO] [stdout] 1346 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1416:34 [INFO] [stdout] | [INFO] [stdout] 1416 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1426:34 [INFO] [stdout] | [INFO] [stdout] 1426 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1436:34 [INFO] [stdout] | [INFO] [stdout] 1436 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1446:34 [INFO] [stdout] | [INFO] [stdout] 1446 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1565:34 [INFO] [stdout] | [INFO] [stdout] 1565 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1576:34 [INFO] [stdout] | [INFO] [stdout] 1576 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RepresentationIdentifier` [INFO] [stdout] --> src/dds/with_key/datareader.rs:1587:34 [INFO] [stdout] | [INFO] [stdout] 1587 | representation_identifier: RepresentationIdentifier::CDR_LE as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RepresentationIdentifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityKind` [INFO] [stdout] --> src/dds/reader.rs:839:42 [INFO] [stdout] | [INFO] [stdout] 839 | let mut guid = GUID::dummy_test_guid(EntityKind::READER_NO_KEY_USER_DEFINED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityKind` [INFO] [stdout] --> src/dds/reader.rs:946:42 [INFO] [stdout] | [INFO] [stdout] 946 | let new_guid = GUID::dummy_test_guid(EntityKind::READER_NO_KEY_USER_DEFINED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityKind` [INFO] [stdout] --> src/dds/reader.rs:1080:42 [INFO] [stdout] | [INFO] [stdout] 1080 | let new_guid = GUID::dummy_test_guid(EntityKind::READER_NO_KEY_USER_DEFINED); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntityKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusChange` in this scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1162:81 [INFO] [stdout] | [INFO] [stdout] 1151 | fn dr_get_samples_from_ddschache() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1162 | let (status_sender, _status_reciever) = mio_extras::channel::sync_channel::(100); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusChange` in this scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1281:81 [INFO] [stdout] | [INFO] [stdout] 1269 | fn dr_read_and_take() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1281 | let (status_sender, _status_reciever) = mio_extras::channel::sync_channel::(100); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusChange` in this scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1506:81 [INFO] [stdout] | [INFO] [stdout] 1494 | fn dr_wake_up() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 1506 | let (status_sender, _status_reciever) = mio_extras::channel::sync_channel::(100); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:857:6 [INFO] [stdout] | [INFO] [stdout] 857 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fragment_number::FragmentNumber: std::convert::From` is not satisfied [INFO] [stdout] --> src/messages/submessages/heartbeat_frag.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | last_fragment_num: FragmentNumber::from(99), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From` is not implemented for `fragment_number::FragmentNumber` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/data_types/spdp_participant_data.rs:215:45 [INFO] [stdout] | [INFO] [stdout] 215 | let rtpsmsg = Message::read_from_buffer(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/data_types/topic_data.rs:833:39 [INFO] [stdout] | [INFO] [stdout] 833 | reader_proxy.remote_reader_guid = sub_topic_data.key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `guid::GUID`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::GUID` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/data_types/topic_data.rs:870:41 [INFO] [stdout] | [INFO] [stdout] 870 | let msg = Message::read_from_buffer(&raw_data).unwrap(); [INFO] [stdout] | ^^^^^^^^^ expected struct `bytes::Bytes`, found `&[{integer}; 256]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/data_types/topic_data.rs:878:39 [INFO] [stdout] | [INFO] [stdout] 878 | writer_proxy.remote_writer_guid = pub_topic_data.key.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `guid::GUID`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::GUID` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery.rs:1145:9 [INFO] [stdout] | [INFO] [stdout] 1145 | None, topic.clone(), None, [INFO] [stdout] | ^^^^ expected struct `guid::EntityId`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::EntityId` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery.rs:1153:95 [INFO] [stdout] | [INFO] [stdout] 1153 | .create_datareader_with_entityid::>(topic, None, None); [INFO] [stdout] | ^^^^ expected struct `guid::EntityId`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::EntityId` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery.rs:1194:60 [INFO] [stdout] | [INFO] [stdout] 1194 | d.serialized_payload.as_mut().unwrap().value = data.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1221:8 [INFO] [stdout] | [INFO] [stdout] 1221 | .create_topic( [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1230:8 [INFO] [stdout] | [INFO] [stdout] 1230 | .create_publisher(&QosPolicies::qos_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_subscriber` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1239:8 [INFO] [stdout] | [INFO] [stdout] 1239 | .create_subscriber(&QosPolicies::qos_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_guid_prefix` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1266:43 [INFO] [stdout] | [INFO] [stdout] 1266 | dst.guid_prefix = participant.get_guid_prefix().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `entity::RTPSEntity` defines an item `get_guid_prefix`, perhaps you need to implement it [INFO] [stdout] --> src/structure/entity.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait RTPSEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery.rs:1301:13 [INFO] [stdout] | [INFO] [stdout] 1301 | name: Some(String::from("Square")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery.rs:1302:18 [INFO] [stdout] | [INFO] [stdout] 1302 | type_name: Some(String::from("ShapeType")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `std::string::String: AsRef>` is not satisfied [INFO] [stdout] --> src/discovery/discovery_db.rs:474:55 [INFO] [stdout] | [INFO] [stdout] 474 | *match p.subscription_topic_data.topic_name().as_ref() { [INFO] [stdout] | ^^^^^^ the trait `AsRef>` is not implemented for `std::string::String` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:551:8 [INFO] [stdout] | [INFO] [stdout] 551 | .create_topic( [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:559:8 [INFO] [stdout] | [INFO] [stdout] 559 | .create_topic( [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:568:8 [INFO] [stdout] | [INFO] [stdout] 568 | .create_publisher(&QosPolicies::qos_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery_db.rs:576:62 [INFO] [stdout] | [INFO] [stdout] 576 | let writer_data = DiscoveredWriterData::new(&dw, &topic, &domain_participant); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `participant::DomainParticipant`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&participant::DomainParticipant` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:578:67 [INFO] [stdout] | [INFO] [stdout] 578 | let _writer_key = writer_data.writer_proxy.remote_writer_guid.unwrap().clone(); [INFO] [stdout] | ^^^^^^ method not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct GUID { [INFO] [stdout] | --------------- method `unwrap` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 583 | .create_publisher(&QosPolicies::qos_none()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery_db.rs:590:64 [INFO] [stdout] | [INFO] [stdout] 590 | let writer_data2 = DiscoveredWriterData::new(&dw2, &topic, &domain_participant); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `participant::DomainParticipant`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&participant::DomainParticipant` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:594:8 [INFO] [stdout] | [INFO] [stdout] 594 | .unwrap() [INFO] [stdout] | ^^^^^^ method not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct GUID { [INFO] [stdout] | --------------- method `unwrap` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:602:51 [INFO] [stdout] | [INFO] [stdout] 602 | reader1sub.set_key(reader1.remote_reader_guid.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct GUID { [INFO] [stdout] | --------------- method `unwrap` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:613:51 [INFO] [stdout] | [INFO] [stdout] 613 | reader2sub.set_key(reader2.remote_reader_guid.unwrap()); [INFO] [stdout] | ^^^^^^ method not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 351 | pub struct GUID { [INFO] [stdout] | --------------- method `unwrap` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:638:8 [INFO] [stdout] | [INFO] [stdout] 638 | .create_topic( [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/discovery/discovery_db.rs:654:18 [INFO] [stdout] | [INFO] [stdout] 654 | let reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 655 | GUID::dummy_test_guid(EntityKind::READER_NO_KEY_USER_DEFINED), [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] 656 | notification_sender.clone(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 657 | status_sender.clone(), [INFO] [stdout] | --------------------- [INFO] [stdout] 658 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 659 | topic.get_name().to_string(), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 660 | reader_command_receiver1, [INFO] [stdout] | ------------------------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery_db.rs:663:43 [INFO] [stdout] | [INFO] [stdout] 663 | discoverydb.update_local_topic_reader(&dp, &topic, &reader); [INFO] [stdout] | ^^^ expected struct `participant::DomainParticipant`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&participant::DomainParticipant` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery_db.rs:667:43 [INFO] [stdout] | [INFO] [stdout] 667 | discoverydb.update_local_topic_reader(&dp, &topic, &reader); [INFO] [stdout] | ^^^ expected struct `participant::DomainParticipant`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&participant::DomainParticipant` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/discovery/discovery_db.rs:671:18 [INFO] [stdout] | [INFO] [stdout] 671 | let reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 672 | GUID::dummy_test_guid(EntityKind::READER_NO_KEY_USER_DEFINED), [INFO] [stdout] | ------------------------------------------------------------- [INFO] [stdout] 673 | notification_sender.clone(), [INFO] [stdout] | --------------------------- [INFO] [stdout] 674 | status_sender.clone(), [INFO] [stdout] | --------------------- [INFO] [stdout] 675 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 676 | topic.get_name().to_string(), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 677 | reader_command_receiver2, [INFO] [stdout] | ------------------------ supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discovery/discovery_db.rs:680:43 [INFO] [stdout] | [INFO] [stdout] 680 | discoverydb.update_local_topic_reader(&dp, &topic, &reader); [INFO] [stdout] | ^^^ expected struct `participant::DomainParticipant`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&participant::DomainParticipant` [INFO] [stdout] found reference `&std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/structure/dds_cache.rs:357:21 [INFO] [stdout] | [INFO] [stdout] 357 | TypeDesc::new("IDontKnowIfThisIsNecessary".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"IDontKnowIfThisIsNecessary".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:443:53 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 443 | let entity = EntityId::from_usize(e.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:447:55 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 447 | let entity2 = EntityId::from_usize(e2.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:451:55 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 451 | let entity3 = EntityId::from_usize(e3.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:455:55 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 455 | let entity4 = EntityId::from_usize(e4.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:459:55 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 459 | let entity5 = EntityId::from_usize(e5.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `guid::EntityId` in the current scope [INFO] [stdout] --> src/structure/guid.rs:463:55 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct EntityId { [INFO] [stdout] | ------------------- method `unwrap` not found for this [INFO] [stdout] ... [INFO] [stdout] 463 | let entity6 = EntityId::from_usize(e6.as_usize()).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `guid::EntityId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `status_receiver` of struct `with_key::datareader::DataReader` is private [INFO] [stdout] --> src/test/datareader_util.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | self.status_receiver = receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `reader_command` of struct `with_key::datareader::DataReader` is private [INFO] [stdout] --> src/test/datareader_util.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | self.reader_command = commander; [INFO] [stdout] | ^^^^^^^^^^^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:122:43 [INFO] [stdout] | [INFO] [stdout] 122 | let rtpsmsg = Message::read_from_buffer(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:129:43 [INFO] [stdout] | [INFO] [stdout] 129 | let rtpsmsg = Message::read_from_buffer(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:136:43 [INFO] [stdout] | [INFO] [stdout] 136 | let rtpsmsg = Message::read_from_buffer(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:164:58 [INFO] [stdout] | [INFO] [stdout] 164 | d.serialized_payload.as_mut().unwrap().value = data.clone(); [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | let rtpsmsg = Message::read_from_buffer(&data).unwrap(); [INFO] [stdout] | ^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | remote_reader_guid: Some(GUID::dummy_test_guid(EntiTyKind::READER_NO_KEY_USER_DEFINED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `guid::GUID`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::GUID` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | expects_inline_qos: Some(false), [INFO] [stdout] | ^^^^^^^^^^^ expected `bool`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `bool` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | remote_writer_guid: Some(GUID::dummy_test_guid(EntiTyKind::WRITER_NO_KEY_USER_DEFINED)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `guid::GUID`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `guid::GUID` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 277 | topic_name: Some("rand topic namm".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 278 | type_name: Some("RandomData".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:309:11 [INFO] [stdout] | [INFO] [stdout] 309 | name: Some("SomeTopicName".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | type_name: Some("RandomData".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::string::String` [INFO] [stdout] found enum `std::option::Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u16: std::convert::From` is not satisfied [INFO] [stdout] --> src/test/test_data.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | representation_identifier: u16::from(RepresentationIdentifier::PL_CDR_LE), [INFO] [stdout] | ^^^^^^^^^ the trait `std::convert::From` is not implemented for `u16` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:366:32 [INFO] [stdout] | [INFO] [stdout] 366 | representation_identifier: u16::from(RepresentationIdentifier::PL_CDR_LE), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serialized_payload::RepresentationIdentifier`, found `u16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_data.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 368 | value: tdata.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:704:32 [INFO] [stdout] | [INFO] [stdout] 704 | domain_participant_guid: GUID::new(), [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:752:22 [INFO] [stdout] | [INFO] [stdout] 752 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:760:24 [INFO] [stdout] | [INFO] [stdout] 760 | let new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 761 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 762 | send, [INFO] [stdout] | ---- [INFO] [stdout] 763 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 764 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 765 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 766 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_subscriber` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:802:18 [INFO] [stdout] | [INFO] [stdout] 802 | let sub = dp.create_subscriber(&somePolicies).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:805:8 [INFO] [stdout] | [INFO] [stdout] 805 | .create_topic("TOPIC_1", "jotain", &somePolicies, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:808:8 [INFO] [stdout] | [INFO] [stdout] 808 | .create_topic("TOPIC_2", "jotain", &somePolicies, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:811:8 [INFO] [stdout] | [INFO] [stdout] 811 | .create_topic("TOPIC_3", "jotain", &somePolicies, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:830:32 [INFO] [stdout] | [INFO] [stdout] 830 | domain_participant_guid: GUID::new(), [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:882:22 [INFO] [stdout] | [INFO] [stdout] 882 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:890:28 [INFO] [stdout] | [INFO] [stdout] 890 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 891 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 892 | send, [INFO] [stdout] | ---- [INFO] [stdout] 893 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 894 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 895 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 896 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/dp_event_loop.rs:927:37 [INFO] [stdout] | [INFO] [stdout] 927 | new_reader.matched_writer_add(GUID::new(), EntityId::ENTITYID_UNKNOWN, vec![], vec![]); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_requested_deadline_missed_status` found for mutable reference `&mut with_key::datareader::DataReader` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:938:8 [INFO] [stdout] | [INFO] [stdout] 938 | .get_requested_deadline_missed_status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut with_key::datareader::DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_requested_deadline_missed_status` found for mutable reference `&mut with_key::datareader::DataReader` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:951:8 [INFO] [stdout] | [INFO] [stdout] 951 | .get_requested_deadline_missed_status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut with_key::datareader::DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_requested_deadline_missed_status` found for mutable reference `&mut with_key::datareader::DataReader` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:963:8 [INFO] [stdout] | [INFO] [stdout] 963 | .get_requested_deadline_missed_status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut with_key::datareader::DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_requested_deadline_missed_status` found for mutable reference `&mut with_key::datareader::DataReader` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:977:8 [INFO] [stdout] | [INFO] [stdout] 977 | .get_requested_deadline_missed_status(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut with_key::datareader::DataReader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/message_receiver.rs:407:37 [INFO] [stdout] | [INFO] [stdout] 407 | let guiPrefix = GuidPrefix::new(vec![ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 408 | | 0x01, 0x03, 0x00, 0x0c, 0x29, 0x2d, 0x31, 0xa2, 0x28, 0x20, 0x02, 0x8, [INFO] [stdout] 409 | | ]); [INFO] [stdout] | |_____^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/message_receiver.rs:415:60 [INFO] [stdout] | [INFO] [stdout] 415 | let entity = EntityId::createCustomEntityID([0, 0, 0], 7); [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/message_receiver.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | TypeDesc::new("testi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"testi".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/message_receiver.rs:430:22 [INFO] [stdout] | [INFO] [stdout] 430 | let new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 431 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 432 | send, [INFO] [stdout] | ---- [INFO] [stdout] 433 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 434 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 435 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 436 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `handle_user_msg` found for struct `message_receiver::MessageReceiver` in the current scope [INFO] [stdout] --> src/dds/message_receiver.rs:443:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct MessageReceiver { [INFO] [stdout] | --------------------------------- method `handle_user_msg` not found for this [INFO] [stdout] ... [INFO] [stdout] 443 | message_receiver.handle_user_msg(udp_bits1.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `message_receiver::MessageReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/message_receiver.rs:478:89 [INFO] [stdout] | [INFO] [stdout] 478 | GUID::new_with_prefix_and_id(guiPrefix, EntityId::createCustomEntityID([0, 0, 2], 2)), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/message_receiver.rs:515:20 [INFO] [stdout] | [INFO] [stdout] 515 | let guid_new = GUID::new(); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `handle_user_msg` found for struct `message_receiver::MessageReceiver` in the current scope [INFO] [stdout] --> src/dds/message_receiver.rs:520:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct MessageReceiver { [INFO] [stdout] | --------------------------------- method `handle_user_msg` not found for this [INFO] [stdout] ... [INFO] [stdout] 520 | message_receiver.handle_user_msg(udp_bits1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `message_receiver::MessageReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `handle_user_msg` found for struct `message_receiver::MessageReceiver` in the current scope [INFO] [stdout] --> src/dds/message_receiver.rs:523:22 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct MessageReceiver { [INFO] [stdout] | --------------------------------- method `handle_user_msg` not found for this [INFO] [stdout] ... [INFO] [stdout] 523 | message_receiver.handle_user_msg(udp_bits2); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `message_receiver::MessageReceiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/message_receiver.rs:529:20 [INFO] [stdout] | [INFO] [stdout] 529 | let guid_new = GUID::new(); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/no_key/datawriter.rs:447:8 [INFO] [stdout] | [INFO] [stdout] 447 | .create_publisher(&qos) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/no_key/datawriter.rs:450:8 [INFO] [stdout] | [INFO] [stdout] 450 | .create_topic("Aasii", "Huh?", &qos, TopicKind::NoKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/no_key/datawriter.rs:482:8 [INFO] [stdout] | [INFO] [stdout] 482 | .create_publisher(&qos) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/no_key/datawriter.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | .create_topic("Aasii", "Huh?", &qos, TopicKind::NoKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_subscriber` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1156:18 [INFO] [stdout] | [INFO] [stdout] 1156 | let sub = dp.create_subscriber(&qos).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1158:8 [INFO] [stdout] | [INFO] [stdout] 1158 | .create_topic("dr", "drtest?", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_guid_prefix` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1168:55 [INFO] [stdout] | [INFO] [stdout] 1168 | let reader_guid = GUID::new_with_prefix_and_id(dp.get_guid_prefix(), reader_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `entity::RTPSEntity` defines an item `get_guid_prefix`, perhaps you need to implement it [INFO] [stdout] --> src/structure/entity.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait RTPSEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/with_key/datareader.rs:1170:26 [INFO] [stdout] | [INFO] [stdout] 1170 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 1171 | reader_guid, [INFO] [stdout] | ----------- [INFO] [stdout] 1172 | send, [INFO] [stdout] | ---- [INFO] [stdout] 1173 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 1174 | dp.get_dds_cache(), [INFO] [stdout] | ------------------ [INFO] [stdout] 1175 | topic.get_name().to_string(), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 1176 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dds_cache` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1174:10 [INFO] [stdout] | [INFO] [stdout] 1174 | dp.get_dds_cache(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1194:35 [INFO] [stdout] | [INFO] [stdout] 1194 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1195:56 [INFO] [stdout] | [INFO] [stdout] 1195 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1208:64 [INFO] [stdout] | [INFO] [stdout] 1208 | data.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1215:14 [INFO] [stdout] | [INFO] [stdout] 1215 | value: to_bytes::(&random_data).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1233:65 [INFO] [stdout] | [INFO] [stdout] 1233 | data2.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1240:14 [INFO] [stdout] | [INFO] [stdout] 1240 | value: to_bytes::(&random_data2).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1248:65 [INFO] [stdout] | [INFO] [stdout] 1248 | data3.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1255:14 [INFO] [stdout] | [INFO] [stdout] 1255 | value: to_bytes::(&random_data3).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_subscriber` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1275:18 [INFO] [stdout] | [INFO] [stdout] 1275 | let sub = dp.create_subscriber(&qos).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1277:8 [INFO] [stdout] | [INFO] [stdout] 1277 | .create_topic("dr read", "read fn test?", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_guid_prefix` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1286:55 [INFO] [stdout] | [INFO] [stdout] 1286 | let reader_guid = GUID::new_with_prefix_and_id(dp.get_guid_prefix(), default_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `entity::RTPSEntity` defines an item `get_guid_prefix`, perhaps you need to implement it [INFO] [stdout] --> src/structure/entity.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait RTPSEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/with_key/datareader.rs:1288:22 [INFO] [stdout] | [INFO] [stdout] 1288 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 1289 | reader_guid, [INFO] [stdout] | ----------- [INFO] [stdout] 1290 | send, [INFO] [stdout] | ---- [INFO] [stdout] 1291 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 1292 | dp.get_dds_cache(), [INFO] [stdout] | ------------------ [INFO] [stdout] 1293 | topic.get_name().to_string(), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 1294 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dds_cache` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1292:10 [INFO] [stdout] | [INFO] [stdout] 1292 | dp.get_dds_cache(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1306:35 [INFO] [stdout] | [INFO] [stdout] 1306 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1307:56 [INFO] [stdout] | [INFO] [stdout] 1307 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1337:14 [INFO] [stdout] | [INFO] [stdout] 1337 | value: to_bytes::(&test_data).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1348:14 [INFO] [stdout] | [INFO] [stdout] 1348 | value: to_bytes::(&test_data2).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1418:14 [INFO] [stdout] | [INFO] [stdout] 1418 | value: to_bytes::(&data_key1).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1428:14 [INFO] [stdout] | [INFO] [stdout] 1428 | value: to_bytes::(&data_key2_1).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1438:14 [INFO] [stdout] | [INFO] [stdout] 1438 | value: to_bytes::(&data_key2_2).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1448:14 [INFO] [stdout] | [INFO] [stdout] 1448 | value: to_bytes::(&data_key2_3).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_subscriber` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1500:18 [INFO] [stdout] | [INFO] [stdout] 1500 | let sub = dp.create_subscriber(&qos).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1502:8 [INFO] [stdout] | [INFO] [stdout] 1502 | .create_topic("wakeup", "Wake up!", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_guid_prefix` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1511:55 [INFO] [stdout] | [INFO] [stdout] 1511 | let reader_guid = GUID::new_with_prefix_and_id(dp.get_guid_prefix(), default_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `entity::RTPSEntity` defines an item `get_guid_prefix`, perhaps you need to implement it [INFO] [stdout] --> src/structure/entity.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait RTPSEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/with_key/datareader.rs:1513:22 [INFO] [stdout] | [INFO] [stdout] 1513 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 1514 | reader_guid, [INFO] [stdout] | ----------- [INFO] [stdout] 1515 | send, [INFO] [stdout] | ---- [INFO] [stdout] 1516 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 1517 | dp.get_dds_cache(), [INFO] [stdout] | ------------------ [INFO] [stdout] 1518 | topic.get_name().to_string(), [INFO] [stdout] | ---------------------------- [INFO] [stdout] 1519 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_dds_cache` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datareader.rs:1517:10 [INFO] [stdout] | [INFO] [stdout] 1517 | dp.get_dds_cache(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1532:35 [INFO] [stdout] | [INFO] [stdout] 1532 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1533:56 [INFO] [stdout] | [INFO] [stdout] 1533 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1567:14 [INFO] [stdout] | [INFO] [stdout] 1567 | value: to_bytes::(&test_data1).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1578:14 [INFO] [stdout] | [INFO] [stdout] 1578 | value: to_bytes::(&test_data2).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1589:14 [INFO] [stdout] | [INFO] [stdout] 1589 | value: to_bytes::(&test_data3).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:904:8 [INFO] [stdout] | [INFO] [stdout] 904 | .create_publisher(&qos) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:907:8 [INFO] [stdout] | [INFO] [stdout] 907 | .create_topic("Aasii", "Huh?", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:939:8 [INFO] [stdout] | [INFO] [stdout] 939 | .create_publisher(&qos) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:942:8 [INFO] [stdout] | [INFO] [stdout] 942 | .create_topic("Aasii", "Huh?", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:975:8 [INFO] [stdout] | [INFO] [stdout] 975 | .create_publisher(&qos) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/with_key/datawriter.rs:978:8 [INFO] [stdout] | [INFO] [stdout] 978 | .create_topic("Aasii", "Huh?", &qos, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/participant.rs:832:8 [INFO] [stdout] | [INFO] [stdout] 832 | .create_publisher(&qos.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/participant.rs:836:8 [INFO] [stdout] | [INFO] [stdout] 836 | .create_topic("Aasii", "RandomData", &qos.clone(), TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/participant.rs:855:8 [INFO] [stdout] | [INFO] [stdout] 855 | .create_publisher(&qos.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/dds/participant.rs:859:8 [INFO] [stdout] | [INFO] [stdout] 859 | .create_topic("Aasii", "Huh?", &qos.clone(), TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `NumberSet` has no field named `base` [INFO] [stdout] --> src/dds/participant.rs:876:9 [INFO] [stdout] | [INFO] [stdout] 876 | base: SequenceNumber::default(), [INFO] [stdout] | ^^^^ `NumberSet` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `NumberSet` has no field named `set` [INFO] [stdout] --> src/dds/participant.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | set: BitSetRef::new(), [INFO] [stdout] | ^^^ `NumberSet` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/participant.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | guid_prefix: GUID::new().guidPrefix, [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:840:63 [INFO] [stdout] | [INFO] [stdout] 840 | guid.entityId = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:851:21 [INFO] [stdout] | [INFO] [stdout] 851 | TypeDesc::new("testi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"testi".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/reader.rs:853:22 [INFO] [stdout] | [INFO] [stdout] 853 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 854 | guid, [INFO] [stdout] | ---- [INFO] [stdout] 855 | send, [INFO] [stdout] | ---- [INFO] [stdout] 856 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 857 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 858 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 859 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:863:35 [INFO] [stdout] | [INFO] [stdout] 863 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:864:56 [INFO] [stdout] | [INFO] [stdout] 864 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:878:64 [INFO] [stdout] | [INFO] [stdout] 878 | data.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 0 arguments were supplied [INFO] [stdout] --> src/dds/reader.rs:888:20 [INFO] [stdout] | [INFO] [stdout] 888 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/structure/guid.rs:366:10 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn new(prefix: GuidPrefix, entity_id: EntityId) -> GUID { [INFO] [stdout] | ^^^ ------------------ ------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:899:21 [INFO] [stdout] | [INFO] [stdout] 899 | TypeDesc::new("testi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"testi".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/reader.rs:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 902 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 903 | send, [INFO] [stdout] | ---- [INFO] [stdout] 904 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 905 | dds_cache.clone(), [INFO] [stdout] | ----------------- [INFO] [stdout] 906 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 907 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:911:35 [INFO] [stdout] | [INFO] [stdout] 911 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:912:56 [INFO] [stdout] | [INFO] [stdout] 912 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:957:21 [INFO] [stdout] | [INFO] [stdout] 957 | TypeDesc::new("testi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"testi".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/reader.rs:959:26 [INFO] [stdout] | [INFO] [stdout] 959 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 960 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 961 | send, [INFO] [stdout] | ---- [INFO] [stdout] 962 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 963 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 964 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 965 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:969:35 [INFO] [stdout] | [INFO] [stdout] 969 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:970:56 [INFO] [stdout] | [INFO] [stdout] 970 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:1090:21 [INFO] [stdout] | [INFO] [stdout] 1090 | TypeDesc::new("testi".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `std::string::String` [INFO] [stdout] | help: consider borrowing here: `&"testi".to_string()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 7 arguments but 6 arguments were supplied [INFO] [stdout] --> src/dds/reader.rs:1092:22 [INFO] [stdout] | [INFO] [stdout] 1092 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 1093 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 1094 | send, [INFO] [stdout] | ---- [INFO] [stdout] 1095 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 1096 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 1097 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 1098 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 85 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 86 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 87 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 88 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 89 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 90 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 91 | data_reader_command_receiver: mio_channel::Receiver, //qos_policy: QosPolicies, add later to constructor [INFO] [stdout] | ------------------------------------------------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:1102:35 [INFO] [stdout] | [INFO] [stdout] 1102 | guidPrefix: GuidPrefix::new(vec![1; 12]), [INFO] [stdout] | ^^^^^^^^^^^ expected `&[u8]`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec<{integer}>` [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[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:1103:56 [INFO] [stdout] | [INFO] [stdout] 1103 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:1134:71 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut gap_list = SequenceNumberSet::new(SequenceNumber::from(4),SequenceNumber::from(7)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found struct `sequence_number::SequenceNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> src/dds/writer.rs:845:10 [INFO] [stdout] | [INFO] [stdout] 845 | .create_datawriter(None, topic, None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---- ----- ---- supplied 3 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/pubsub.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn create_datawriter( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | &self, [INFO] [stdout] | ----- [INFO] [stdout] 130 | topic: Topic, [INFO] [stdout] | ------------ [INFO] [stdout] 131 | qos: Option, [INFO] [stdout] | ------------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | let deSerializedNmberU8 = deserialize_from_little_endian(&serializedNumberU8).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberU8` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:903:9 [INFO] [stdout] | [INFO] [stdout] 903 | let deSerializedNmberU16 = deserialize_from_little_endian(&serializedNumberu16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberU16` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | let deSerializedNmberU32 = deserialize_from_little_endian(&serializedNumberu32).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberU32` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:921:9 [INFO] [stdout] | [INFO] [stdout] 921 | let deSerializedNmberU64 = deserialize_from_little_endian(&serializedNumberu64).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberU64` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:930:9 [INFO] [stdout] | [INFO] [stdout] 930 | let deSerializedNmberi8 = deserialize_from_little_endian(&serializedNumberi8).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberi8` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | let deSerializedNmberi16 = deserialize_from_little_endian(&serializedNumberi16).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberi16` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:949:9 [INFO] [stdout] | [INFO] [stdout] 949 | let deSerializedNmberi32 = deserialize_from_little_endian(&serializedNumberi32).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberi32` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/serialization/cdr_deserializer.rs:958:9 [INFO] [stdout] | [INFO] [stdout] 958 | let deSerializedNmberi64 = deserialize_from_little_endian(&serializedNumberi64).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ consider giving `deSerializedNmberi64` a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:499:42 [INFO] [stdout] | [INFO] [stdout] 499 | let rtps = Message::read_from_buffer(&bits1).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:536:47 [INFO] [stdout] | [INFO] [stdout] 536 | let rtps_data = Message::read_from_buffer(&bits2).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | let rtps = Message::read_from_buffer(&bits1).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:589:42 [INFO] [stdout] | [INFO] [stdout] 589 | let rtps = Message::read_from_buffer(&bits1).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:619:42 [INFO] [stdout] | [INFO] [stdout] 619 | let rtps = Message::read_from_buffer(&bits1).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/message.rs:661:42 [INFO] [stdout] | [INFO] [stdout] 661 | let rtps = Message::read_from_buffer(&bits1).unwrap(); [INFO] [stdout] | ^^^^^^ expected struct `bytes::Bytes`, found `&Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `bytes::Bytes` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/serialization/submessage.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | let suba = Data::deserialize_data(&serializedDataSubMessage[4..], flags) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `bytes::Bytes`, found `&[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entity::RTPSEntity` [INFO] [stdout] --> src/discovery/discovery.rs:1073:17 [INFO] [stdout] | [INFO] [stdout] 1073 | structure::{entity::RTPSEntity, locator::Locator}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `datareader_util::DataReaderTestUtil` [INFO] [stdout] --> src/dds/dp_event_loop.rs:674:37 [INFO] [stdout] | [INFO] [stdout] 674 | test::{random_data::RandomData, datareader_util::DataReaderTestUtil}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 196 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0308, E0412, E0432, E0433, E0560, E0599... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdds` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f92a9e0b0dfd2a05bd6340bbd2d27ad24c3314dfbcd66af0360906162c134b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92a9e0b0dfd2a05bd6340bbd2d27ad24c3314dfbcd66af0360906162c134b57", kill_on_drop: false }` [INFO] [stdout] f92a9e0b0dfd2a05bd6340bbd2d27ad24c3314dfbcd66af0360906162c134b57