[INFO] fetching crate rustdds 0.3.0... [INFO] checking rustdds-0.3.0 against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] extracting crate rustdds 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rustdds 0.3.0 on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustdds 0.3.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate rustdds 0.3.0 [INFO] tweaked toml for crates.io crate rustdds 0.3.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate rustdds 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54b0929551b350a79ce085e471566b094051b1ca141b18fc358d19044dfb65f3 [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" "54b0929551b350a79ce085e471566b094051b1ca141b18fc358d19044dfb65f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54b0929551b350a79ce085e471566b094051b1ca141b18fc358d19044dfb65f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b0929551b350a79ce085e471566b094051b1ca141b18fc358d19044dfb65f3", kill_on_drop: false }` [INFO] [stdout] 54b0929551b350a79ce085e471566b094051b1ca141b18fc358d19044dfb65f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b00fdb81862d406bdf5a49c6a94506eb704d17656615b19c3cb687e121ac16 [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" "18b00fdb81862d406bdf5a49c6a94506eb704d17656615b19c3cb687e121ac16", 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 getrandom v0.1.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking quick-error v1.2.3 [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 fnv v1.0.7 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [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] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking timer v0.1.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling speedy-derive v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [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 thiserror v1.0.22 [INFO] [stderr] Checking speedy v0.6.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking serde_json v1.0.60 [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.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::common::bit_set` [INFO] [stdout] --> src/dds/participant.rs:795:13 [INFO] [stdout] | [INFO] [stdout] 795 | 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:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | dds::values::result::CountWithChange, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CountWithChange` in `dds::values::result` [INFO] [stdout] 698 | 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:707:34 [INFO] [stdout] | [INFO] [stdout] 707 | 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:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | 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:823:42 [INFO] [stdout] | [INFO] [stdout] 823 | 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:930:42 [INFO] [stdout] | [INFO] [stdout] 930 | 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:1064:42 [INFO] [stdout] | [INFO] [stdout] 1064 | 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:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | 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:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | 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:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | 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:287:1 [INFO] [stdout] | [INFO] [stdout] 287 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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[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:732:32 [INFO] [stdout] | [INFO] [stdout] 732 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:780:22 [INFO] [stdout] | [INFO] [stdout] 780 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:788:24 [INFO] [stdout] | [INFO] [stdout] 788 | let new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 789 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 790 | send, [INFO] [stdout] | ---- [INFO] [stdout] 791 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 792 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 793 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 794 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:830:18 [INFO] [stdout] | [INFO] [stdout] 830 | 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:833:8 [INFO] [stdout] | [INFO] [stdout] 833 | .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:836:8 [INFO] [stdout] | [INFO] [stdout] 836 | .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:839:8 [INFO] [stdout] | [INFO] [stdout] 839 | .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:858:32 [INFO] [stdout] | [INFO] [stdout] 858 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:910:22 [INFO] [stdout] | [INFO] [stdout] 910 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:918:28 [INFO] [stdout] | [INFO] [stdout] 918 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 919 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 920 | send, [INFO] [stdout] | ---- [INFO] [stdout] 921 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 922 | Arc::new(RwLock::new(DDSCache::new())), [INFO] [stdout] | -------------------------------------- [INFO] [stdout] 923 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 924 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:955:37 [INFO] [stdout] | [INFO] [stdout] 955 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:966:8 [INFO] [stdout] | [INFO] [stdout] 966 | .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:979:8 [INFO] [stdout] | [INFO] [stdout] 979 | .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:991:8 [INFO] [stdout] | [INFO] [stdout] 991 | .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:1005:8 [INFO] [stdout] | [INFO] [stdout] 1005 | .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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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/message_receiver.rs:443:38 [INFO] [stdout] | [INFO] [stdout] 443 | message_receiver.handle_user_msg(udp_bits1.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/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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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/message_receiver.rs:520:38 [INFO] [stdout] | [INFO] [stdout] 520 | message_receiver.handle_user_msg(udp_bits1); [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/message_receiver.rs:523:38 [INFO] [stdout] | [INFO] [stdout] 523 | message_receiver.handle_user_msg(udp_bits2); [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/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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:903:8 [INFO] [stdout] | [INFO] [stdout] 903 | .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:906:8 [INFO] [stdout] | [INFO] [stdout] 906 | .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:938:8 [INFO] [stdout] | [INFO] [stdout] 938 | .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:941:8 [INFO] [stdout] | [INFO] [stdout] 941 | .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:974:8 [INFO] [stdout] | [INFO] [stdout] 974 | .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:977:8 [INFO] [stdout] | [INFO] [stdout] 977 | .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:827:8 [INFO] [stdout] | [INFO] [stdout] 827 | .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:831:8 [INFO] [stdout] | [INFO] [stdout] 831 | .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:850:8 [INFO] [stdout] | [INFO] [stdout] 850 | .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:854:8 [INFO] [stdout] | [INFO] [stdout] 854 | .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:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | 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:872:9 [INFO] [stdout] | [INFO] [stdout] 872 | 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:891:20 [INFO] [stdout] | [INFO] [stdout] 891 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:824:63 [INFO] [stdout] | [INFO] [stdout] 824 | 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:835:21 [INFO] [stdout] | [INFO] [stdout] 835 | 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:837:22 [INFO] [stdout] | [INFO] [stdout] 837 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 838 | guid, [INFO] [stdout] | ---- [INFO] [stdout] 839 | send, [INFO] [stdout] | ---- [INFO] [stdout] 840 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 841 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 842 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 843 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:847:35 [INFO] [stdout] | [INFO] [stdout] 847 | 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:848:56 [INFO] [stdout] | [INFO] [stdout] 848 | 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:862:64 [INFO] [stdout] | [INFO] [stdout] 862 | 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:872:20 [INFO] [stdout] | [INFO] [stdout] 872 | 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:302:10 [INFO] [stdout] | [INFO] [stdout] 302 | 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:883:21 [INFO] [stdout] | [INFO] [stdout] 883 | 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:885:26 [INFO] [stdout] | [INFO] [stdout] 885 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 886 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 887 | send, [INFO] [stdout] | ---- [INFO] [stdout] 888 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 889 | dds_cache.clone(), [INFO] [stdout] | ----------------- [INFO] [stdout] 890 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 891 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:895:35 [INFO] [stdout] | [INFO] [stdout] 895 | 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:896:56 [INFO] [stdout] | [INFO] [stdout] 896 | 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:941:21 [INFO] [stdout] | [INFO] [stdout] 941 | 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:943:26 [INFO] [stdout] | [INFO] [stdout] 943 | let mut new_reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 944 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 945 | send, [INFO] [stdout] | ---- [INFO] [stdout] 946 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 947 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 948 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 949 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:953:35 [INFO] [stdout] | [INFO] [stdout] 953 | 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:954:56 [INFO] [stdout] | [INFO] [stdout] 954 | 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:1074:21 [INFO] [stdout] | [INFO] [stdout] 1074 | 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:1076:22 [INFO] [stdout] | [INFO] [stdout] 1076 | let mut reader = Reader::new( [INFO] [stdout] | ^^^^^^^^^^^ expected 7 arguments [INFO] [stdout] 1077 | new_guid, [INFO] [stdout] | -------- [INFO] [stdout] 1078 | send, [INFO] [stdout] | ---- [INFO] [stdout] 1079 | status_sender, [INFO] [stdout] | ------------- [INFO] [stdout] 1080 | dds_cache, [INFO] [stdout] | --------- [INFO] [stdout] 1081 | "test".to_string(), [INFO] [stdout] | ------------------ [INFO] [stdout] 1082 | reader_command_receiver, [INFO] [stdout] | ----------------------- supplied 6 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/dds/reader.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] 87 | guid: GUID, [INFO] [stdout] | ---------- [INFO] [stdout] 88 | notification_sender: mio_channel::SyncSender<()>, [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] 89 | status_sender: mio_channel::SyncSender, [INFO] [stdout] | -------------------------------------------------------- [INFO] [stdout] 90 | dds_cache: Arc>, [INFO] [stdout] | -------------------------------- [INFO] [stdout] 91 | topic_name: String, [INFO] [stdout] | ------------------ [INFO] [stdout] 92 | qos_policy: QosPolicies, [INFO] [stdout] | ----------------------- [INFO] [stdout] 93 | 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:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | 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:1087:56 [INFO] [stdout] | [INFO] [stdout] 1087 | 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:1118:71 [INFO] [stdout] | [INFO] [stdout] 1118 | 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:839:10 [INFO] [stdout] | [INFO] [stdout] 839 | .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:702:37 [INFO] [stdout] | [INFO] [stdout] 702 | test::{random_data::RandomData, datareader_util::DataReaderTestUtil}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 190 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" "18b00fdb81862d406bdf5a49c6a94506eb704d17656615b19c3cb687e121ac16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b00fdb81862d406bdf5a49c6a94506eb704d17656615b19c3cb687e121ac16", kill_on_drop: false }` [INFO] [stdout] 18b00fdb81862d406bdf5a49c6a94506eb704d17656615b19c3cb687e121ac16