[INFO] fetching crate rustdds 0.2.2... [INFO] checking rustdds-0.2.2 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate rustdds 0.2.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate rustdds 0.2.2 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustdds 0.2.2 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate rustdds 0.2.2 [INFO] tweaked toml for crates.io crate rustdds 0.2.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate crates.io crate rustdds 0.2.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c34c0a752193f1764925cb32186e5d75be826d3f3a86734cc8c4007075dc57e7 [INFO] running `Command { std: "docker" "start" "-a" "c34c0a752193f1764925cb32186e5d75be826d3f3a86734cc8c4007075dc57e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c34c0a752193f1764925cb32186e5d75be826d3f3a86734cc8c4007075dc57e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c34c0a752193f1764925cb32186e5d75be826d3f3a86734cc8c4007075dc57e7", kill_on_drop: false }` [INFO] [stdout] c34c0a752193f1764925cb32186e5d75be826d3f3a86734cc8c4007075dc57e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 441a7dfe780a538d99acdb498f9e5eb452372bed7b0dc0c6b243a5de2afb8430 [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" "441a7dfe780a538d99acdb498f9e5eb452372bed7b0dc0c6b243a5de2afb8430", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling anyhow v1.0.36 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking timer v0.1.6 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling speedy-derive v0.6.0 [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 speedy v0.6.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking serde_json v1.0.60 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.14 [INFO] [stderr] Checking enumflags2 v0.6.4 [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 log4rs v1.0.0 [INFO] [stderr] Checking mio-extras v2.0.6 [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.2.2 (/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[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:1192:34 [INFO] [stdout] | [INFO] [stdout] 1192 | 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:1217:34 [INFO] [stdout] | [INFO] [stdout] 1217 | 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:1232:34 [INFO] [stdout] | [INFO] [stdout] 1232 | 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:1314:34 [INFO] [stdout] | [INFO] [stdout] 1314 | 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:1325:34 [INFO] [stdout] | [INFO] [stdout] 1325 | 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:1395:34 [INFO] [stdout] | [INFO] [stdout] 1395 | 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:1405:34 [INFO] [stdout] | [INFO] [stdout] 1405 | 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:1415:34 [INFO] [stdout] | [INFO] [stdout] 1415 | 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:1425:34 [INFO] [stdout] | [INFO] [stdout] 1425 | 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:1544:34 [INFO] [stdout] | [INFO] [stdout] 1544 | 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:1555:34 [INFO] [stdout] | [INFO] [stdout] 1555 | 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:1566:34 [INFO] [stdout] | [INFO] [stdout] 1566 | 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:807:42 [INFO] [stdout] | [INFO] [stdout] 807 | 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:914:42 [INFO] [stdout] | [INFO] [stdout] 914 | 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:1048:42 [INFO] [stdout] | [INFO] [stdout] 1048 | 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] 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[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1078:8 [INFO] [stdout] | [INFO] [stdout] 1078 | .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:1087:8 [INFO] [stdout] | [INFO] [stdout] 1087 | .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:1096:8 [INFO] [stdout] | [INFO] [stdout] 1096 | .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 `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery.rs:1167:8 [INFO] [stdout] | [INFO] [stdout] 1167 | .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:1176:8 [INFO] [stdout] | [INFO] [stdout] 1176 | .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:1185:8 [INFO] [stdout] | [INFO] [stdout] 1185 | .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:1212:43 [INFO] [stdout] | [INFO] [stdout] 1212 | 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[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:675:8 [INFO] [stdout] | [INFO] [stdout] 675 | .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:683:8 [INFO] [stdout] | [INFO] [stdout] 683 | .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:692:8 [INFO] [stdout] | [INFO] [stdout] 692 | .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:700:62 [INFO] [stdout] | [INFO] [stdout] 700 | 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 `create_publisher` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:707:8 [INFO] [stdout] | [INFO] [stdout] 707 | .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:714:64 [INFO] [stdout] | [INFO] [stdout] 714 | 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 `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> src/discovery/discovery_db.rs:762:8 [INFO] [stdout] | [INFO] [stdout] 762 | .create_topic( [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:787:43 [INFO] [stdout] | [INFO] [stdout] 787 | 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:791:43 [INFO] [stdout] | [INFO] [stdout] 791 | 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:804:43 [INFO] [stdout] | [INFO] [stdout] 804 | 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[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[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:855:38 [INFO] [stdout] | [INFO] [stdout] 855 | domain_participant_guid: GUID::new(), [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:903:28 [INFO] [stdout] | [INFO] [stdout] 903 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [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:953:18 [INFO] [stdout] | [INFO] [stdout] 953 | 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:956:8 [INFO] [stdout] | [INFO] [stdout] 956 | .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:959:8 [INFO] [stdout] | [INFO] [stdout] 959 | .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:962:8 [INFO] [stdout] | [INFO] [stdout] 962 | .create_topic("TOPIC_3", "jotain", &somePolicies, TopicKind::WithKey) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:981:38 [INFO] [stdout] | [INFO] [stdout] 981 | domain_participant_guid: GUID::new(), [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:1033:28 [INFO] [stdout] | [INFO] [stdout] 1033 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/dp_event_loop.rs:1078:43 [INFO] [stdout] | [INFO] [stdout] 1078 | new_reader.matched_writer_add(GUID::new(), EntityId::ENTITYID_UNKNOWN, vec![], vec![]); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/message_receiver.rs:427:37 [INFO] [stdout] | [INFO] [stdout] 427 | let guiPrefix = GuidPrefix::new(vec![ [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 428 | | 0x01, 0x03, 0x00, 0x0c, 0x29, 0x2d, 0x31, 0xa2, 0x28, 0x20, 0x02, 0x8, [INFO] [stdout] 429 | | ]); [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:435:60 [INFO] [stdout] | [INFO] [stdout] 435 | 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:498:89 [INFO] [stdout] | [INFO] [stdout] 498 | 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[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/message_receiver.rs:535:26 [INFO] [stdout] | [INFO] [stdout] 535 | let guid_new = GUID::new(); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/message_receiver.rs:549:26 [INFO] [stdout] | [INFO] [stdout] 549 | let guid_new = GUID::new(); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [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:449:8 [INFO] [stdout] | [INFO] [stdout] 449 | .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:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | .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:484:8 [INFO] [stdout] | [INFO] [stdout] 484 | .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:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | .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:1135:18 [INFO] [stdout] | [INFO] [stdout] 1135 | 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:1137:8 [INFO] [stdout] | [INFO] [stdout] 1137 | .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:1147:55 [INFO] [stdout] | [INFO] [stdout] 1147 | 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[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:1153:10 [INFO] [stdout] | [INFO] [stdout] 1153 | 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:1173:35 [INFO] [stdout] | [INFO] [stdout] 1173 | 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:1174:56 [INFO] [stdout] | [INFO] [stdout] 1174 | 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:1187:64 [INFO] [stdout] | [INFO] [stdout] 1187 | 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:1212:65 [INFO] [stdout] | [INFO] [stdout] 1212 | 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:1227:65 [INFO] [stdout] | [INFO] [stdout] 1227 | data3.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [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:1254:18 [INFO] [stdout] | [INFO] [stdout] 1254 | 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:1256:8 [INFO] [stdout] | [INFO] [stdout] 1256 | .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:1265:55 [INFO] [stdout] | [INFO] [stdout] 1265 | 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[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:1271:10 [INFO] [stdout] | [INFO] [stdout] 1271 | 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:1285:35 [INFO] [stdout] | [INFO] [stdout] 1285 | 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[E0599]: no method named `create_topic` found for enum `std::result::Result` in the current scope [INFO] [stdout] --> examples/shapes_demo/main.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | .create_topic("Square", "ShapeType", &pub_qos, TopicKind::WithKey) [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:1286:56 [INFO] [stdout] | [INFO] [stdout] 1286 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [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] --> examples/shapes_demo/main.rs:116:6 [INFO] [stdout] | [INFO] [stdout] 116 | .create_topic("Triangle", "ShapeType", &pub_qos, TopicKind::WithKey) [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] --> examples/shapes_demo/main.rs:121:6 [INFO] [stdout] | [INFO] [stdout] 121 | .create_subscriber(&QosPolicies::builder().build()) [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] --> examples/shapes_demo/main.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | let shapes_pub = domain_participant.create_publisher(&pub_qos).unwrap(); [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:1479:18 [INFO] [stdout] | [INFO] [stdout] 1479 | 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:1481:8 [INFO] [stdout] | [INFO] [stdout] 1481 | .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:1490:55 [INFO] [stdout] | [INFO] [stdout] 1490 | 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[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:1496:10 [INFO] [stdout] | [INFO] [stdout] 1496 | dp.get_dds_cache(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::result::Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdds` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/with_key/datareader.rs:1511:35 [INFO] [stdout] | [INFO] [stdout] 1511 | 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:1512:56 [INFO] [stdout] | [INFO] [stdout] 1512 | entityId: EntityId::createCustomEntityID([1; 3], 1), [INFO] [stdout] | ^ expected struct `guid::EntityKind`, found integer [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:889:8 [INFO] [stdout] | [INFO] [stdout] 889 | .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:892:8 [INFO] [stdout] | [INFO] [stdout] 892 | .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:924:8 [INFO] [stdout] | [INFO] [stdout] 924 | .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:927:8 [INFO] [stdout] | [INFO] [stdout] 927 | .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:960:8 [INFO] [stdout] | [INFO] [stdout] 960 | .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:963:8 [INFO] [stdout] | [INFO] [stdout] 963 | .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[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/participant.rs:891:26 [INFO] [stdout] | [INFO] [stdout] 891 | guid_prefix: GUID::new().guidPrefix, [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:808:63 [INFO] [stdout] | [INFO] [stdout] 808 | 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:831:35 [INFO] [stdout] | [INFO] [stdout] 831 | 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:832:56 [INFO] [stdout] | [INFO] [stdout] 832 | 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:846:64 [INFO] [stdout] | [INFO] [stdout] 846 | data.reader_id = EntityId::createCustomEntityID([1, 2, 3], 111); [INFO] [stdout] | ^^^ expected struct `guid::EntityKind`, found integer [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `guid::GUID` in the current scope [INFO] [stdout] --> src/dds/reader.rs:856:26 [INFO] [stdout] | [INFO] [stdout] 856 | let new_guid = GUID::new(); [INFO] [stdout] | ^^^ function or associated item not found in `guid::GUID` [INFO] [stdout] | [INFO] [stdout] ::: src/structure/guid.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | pub struct GUID { [INFO] [stdout] | --------------- function or associated item `new` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dds/reader.rs:879:35 [INFO] [stdout] | [INFO] [stdout] 879 | 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:880:56 [INFO] [stdout] | [INFO] [stdout] 880 | 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:937:35 [INFO] [stdout] | [INFO] [stdout] 937 | 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:938:56 [INFO] [stdout] | [INFO] [stdout] 938 | 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:1070:35 [INFO] [stdout] | [INFO] [stdout] 1070 | 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:1071:56 [INFO] [stdout] | [INFO] [stdout] 1071 | 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:1102:71 [INFO] [stdout] | [INFO] [stdout] 1102 | 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] warning: unused import: `entity::RTPSEntity` [INFO] [stdout] --> src/discovery/discovery.rs:1019:17 [INFO] [stdout] | [INFO] [stdout] 1019 | 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:825:37 [INFO] [stdout] | [INFO] [stdout] 825 | test::{random_data::RandomData, datareader_util::DataReaderTestUtil}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 102 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0433, E0560, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "441a7dfe780a538d99acdb498f9e5eb452372bed7b0dc0c6b243a5de2afb8430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441a7dfe780a538d99acdb498f9e5eb452372bed7b0dc0c6b243a5de2afb8430", kill_on_drop: false }` [INFO] [stdout] 441a7dfe780a538d99acdb498f9e5eb452372bed7b0dc0c6b243a5de2afb8430