[INFO] fetching crate rosrust_async 0.2.0... [INFO] testing rosrust_async-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rosrust_async 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rosrust_async 0.2.0 [INFO] finished tweaking crates.io crate rosrust_async 0.2.0 [INFO] tweaked toml for crates.io crate rosrust_async 0.2.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rosrust_async 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 347 packages to latest compatible versions [INFO] [stderr] Adding axum v0.7.9 (available: v0.8.9) [INFO] [stderr] Adding dxr v0.7.1 (available: v0.8.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding md-5 v0.10.6 (available: v0.11.0) [INFO] [stderr] Adding quick-xml v0.37.5 (available: v0.39.2) [INFO] [stderr] Adding reqwest v0.12.28 (available: v0.13.2) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded xml-rpc v0.1.0 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded dxr_derive v0.7.1 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded tokio_with_wasm_proc v0.8.8 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded async-shutdown v0.2.2 [INFO] [stderr] Downloaded dxr v0.7.1 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded rosrust v0.9.12 [INFO] [stderr] Downloaded bon-macros v2.3.0 [INFO] [stderr] Downloaded tokio_with_wasm v0.8.8 [INFO] [stderr] Downloaded ros_message v0.1.1 [INFO] [stderr] Downloaded ractor v0.15.12 [INFO] [stderr] Downloaded diatomic-waker v0.2.3 [INFO] [stderr] Downloaded bon v2.3.0 [INFO] [stderr] Downloaded rosrust_codegen v0.9.6 [INFO] [stderr] Downloaded serde-xml-rs v0.6.0 [INFO] [stderr] Downloaded gzip-header v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a34b46189bceace824ed4da9105e83df8cdb793bd0c6c86709cd49392aa332fb [INFO] running `Command { std: "docker" "start" "-a" "a34b46189bceace824ed4da9105e83df8cdb793bd0c6c86709cd49392aa332fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a34b46189bceace824ed4da9105e83df8cdb793bd0c6c86709cd49392aa332fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a34b46189bceace824ed4da9105e83df8cdb793bd0c6c86709cd49392aa332fb", kill_on_drop: false }` [INFO] [stdout] a34b46189bceace824ed4da9105e83df8cdb793bd0c6c86709cd49392aa332fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e181d942dc31e2e1a40785fc771133931db982688fe3d57052cde24c76104a15 [INFO] running `Command { std: "docker" "start" "-a" "e181d942dc31e2e1a40785fc771133931db982688fe3d57052cde24c76104a15", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling winnow v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling gzip-header v1.1.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling filetime v0.2.27 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde-xml-rs v0.6.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling bon-macros v2.3.0 [INFO] [stderr] Compiling ros_message v0.1.1 [INFO] [stderr] Compiling rouille v3.6.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling xml-rpc v0.1.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bon v2.3.0 [INFO] [stderr] Compiling dxr_derive v0.7.1 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ctrlc v3.5.2 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rosrust_codegen v0.9.6 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling ractor v0.15.12 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling async-shutdown v0.2.2 [INFO] [stderr] Compiling diatomic-waker v0.2.3 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling dxr v0.7.1 [INFO] [stderr] Compiling rosrust v0.9.12 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rosrust_async v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/node/actors/service.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{error, instrument, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/tcpros/subscription.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, error, span, trace, warn, Instrument, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "e181d942dc31e2e1a40785fc771133931db982688fe3d57052cde24c76104a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e181d942dc31e2e1a40785fc771133931db982688fe3d57052cde24c76104a15", kill_on_drop: false }` [INFO] [stdout] e181d942dc31e2e1a40785fc771133931db982688fe3d57052cde24c76104a15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3290e76aa79389878fbc8f02bc2db50e15a3626f25f73d80d23e800b6f7ef394 [INFO] running `Command { std: "docker" "start" "-a" "3290e76aa79389878fbc8f02bc2db50e15a3626f25f73d80d23e800b6f7ef394", kill_on_drop: false }` [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ractor v0.15.12 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling rosrust_async v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/node/actors/service.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{error, instrument, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/tcpros/subscription.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, error, span, trace, warn, Instrument, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/node/actors/service.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{error, instrument, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/tcpros/subscription.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | use tracing::{debug, error, span, trace, warn, Instrument, Level}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3290e76aa79389878fbc8f02bc2db50e15a3626f25f73d80d23e800b6f7ef394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3290e76aa79389878fbc8f02bc2db50e15a3626f25f73d80d23e800b6f7ef394", kill_on_drop: false }` [INFO] [stdout] 3290e76aa79389878fbc8f02bc2db50e15a3626f25f73d80d23e800b6f7ef394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 84d02f2e1baa7f95445b26b6501660587c1866e40ce1c05f03ff97a8c5cda9cd [INFO] running `Command { std: "docker" "start" "-a" "84d02f2e1baa7f95445b26b6501660587c1866e40ce1c05f03ff97a8c5cda9cd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/node/actors/service.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | use tracing::{error, instrument, trace, warn}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/tcpros/subscription.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | use tracing::{debug, error, span, trace, warn, Instrument, Level}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rosrust_async` (lib) generated 2 warnings (run `cargo fix --lib -p rosrust_async` to apply 2 suggestions) [INFO] [stderr] warning: `rosrust_async` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rosrust_async-7c6d7661e0c3a3be) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tcpros::header::de::tests::deserialize_from_bytes ... ok [INFO] [stdout] test tcpros::header::ser::tests::serialize_to_bytes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rosrust_async [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 169) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 195) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 140) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 229) ... FAILED [INFO] [stdout] test src/lib.rs - (line 93) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 60) ... FAILED [INFO] [stdout] test src/lib.rs - (line 119) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Ipv4Addr` in this scope [INFO] [stdout] --> src/lib.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | .advertise_ip(Ipv4Addr::from_str("192.168.100.6").unwrap()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use std::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SocketAddrV4` in this scope [INFO] [stdout] --> src/lib.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | .bind_address(SocketAddrV4::new(Ipv4Addr::LOCALHOST, 123).into()) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SocketAddrV4` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use std::net::SocketAddrV4; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Ipv4Addr` in this scope [INFO] [stdout] --> src/lib.rs:41:45 [INFO] [stdout] | [INFO] [stdout] 41 | .bind_address(SocketAddrV4::new(Ipv4Addr::LOCALHOST, 123).into()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ipv4Addr` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 14 + use std::net::Ipv4Addr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 169) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | info!("Handling sum request: {} + {} = {sum}", req.a, req.b,); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 171 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TwoIntsRes` in this scope [INFO] [stdout] --> src/lib.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(TwoIntsRes { sum }) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TwoInts` in this scope [INFO] [stdout] --> src/lib.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | .advertise_service::("/add_two_ints", |req| async move { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `signal` in this scope [INFO] [stdout] --> src/lib.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | signal::ctrl_c().await [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 171 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `NodeError` [INFO] [stdout] --> src/lib.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | let node = NodeBuilder::new().build().await?; [INFO] [stdout] | --------------------------------^ the trait `From` is not implemented for `NodeError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, BuilderError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `NodeError` implements `From` [INFO] [stdout] `NodeError` implements `From` [INFO] [stdout] `NodeError` implements `From` [INFO] [stdout] `NodeError` implements `From>>` [INFO] [stdout] `NodeError` implements `From>>` [INFO] [stdout] `NodeError` implements `From` [INFO] [stdout] `NodeError` implements `From` [INFO] [stdout] `NodeError` implements `From>` [INFO] [stdout] and 3 others [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 195) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/lib.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 220 | let results: Option = node.search_param("meaning_")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future, NodeError>>` [INFO] [stdout] | [INFO] [stdout] = help: the nightly-only, unstable trait `Try` is not implemented for `impl Future, NodeError>>` [INFO] [stdout] help: consider `await`ing on the `Future` [INFO] [stdout] | [INFO] [stdout] 220 | let results: Option = node.search_param("meaning_").await?; [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:201:48 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 200 | async fn main() -> Result<(), NodeError>{ [INFO] [stdout] 201 | let node = NodeBuilder::new().build().await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:205:77 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 205 | let param: Option = node.get_param::("/meaning_of_life").await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:208:56 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 208 | node.set_param::("/meaning_of_life", 42).await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:211:48 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 211 | node.delete_param("/meaning_of_life").await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:214:48 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 214 | if node.has_param("/meaning_of_life").await?{ [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:220:64 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ----------------------------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 220 | let results: Option = node.search_param("meaning_")?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `{async block@src/lib.rs:6:1: 6:60}` to be a future that resolves to `Result<(), NodeError>`, but it resolves to `()` [INFO] [stdout] --> src/lib.rs:199:1 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main(flavor = "multi_thread", worker_threads = 4)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), NodeError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), NodeError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: required for the cast from `&{async block@src/lib.rs:6:1: 6:60}` to `&dyn Future>` [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 200 | async fn main() -> Result<(), NodeError>{ [INFO] [stdout] | --------------------- expected `Result<(), NodeError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 214 | / if node.has_param("/meaning_of_life").await?{ [INFO] [stdout] 215 | | println!("Param exists!"); [INFO] [stdout] ... | [INFO] [stdout] 220 | | let results: Option = node.search_param("meaning_")?; [INFO] [stdout] | |_________________________________________________________________^ expected `Result<(), NodeError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), NodeError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 220 ~ let results: Option = node.search_param("meaning_")?;; [INFO] [stdout] 221 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 140) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Trigger` in this scope [INFO] [stdout] --> src/lib.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let cool_svc = node.service_client::("/cool_svc", false).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TriggerRes` in this scope [INFO] [stdout] --> src/lib.rs:150:19 [INFO] [stdout] | [INFO] [stdout] 150 | let response: TriggerRes = [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | tokio::time::timeout(Duration::from_secs(5), cool_svc.call(TriggerReq {})) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 142 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 142 + use ractor::concurrency::Duration; [INFO] [stdout] | [INFO] [stdout] 142 + use ros_message::Duration; [INFO] [stdout] | [INFO] [stdout] 142 + use rosrust::Duration; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TriggerReq` in this scope [INFO] [stdout] --> src/lib.rs:151:68 [INFO] [stdout] | [INFO] [stdout] 151 | tokio::time::timeout(Duration::from_secs(5), cool_svc.call(TriggerReq {})) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 229) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Uri` in this scope [INFO] [stdout] --> src/lib.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 236 | let node_url = Uri::parse("http://127.0.0.1:12345").unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Uri` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 236 - let node_url = Uri::parse("http://127.0.0.1:12345").unwrap(); [INFO] [stdout] 236 + let node_url = Url::parse("http://127.0.0.1:12345").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 93) stdout ---- [INFO] [stdout] error[E0061]: this method takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/lib.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | .subscribe::("echo", false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- argument #2 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/node/mod.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 369 | pub async fn subscribe( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 102 | .subscribe::("echo", /* usize */, false).await.unwrap(); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std_msgs` in this scope [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | .subscribe::("echo", false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `std_msgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std_msgs`, use `cargo add std_msgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 60) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | tokio::time::sleep(Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 62 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 62 + use ractor::concurrency::Duration; [INFO] [stdout] | [INFO] [stdout] 62 + use ros_message::Duration; [INFO] [stdout] | [INFO] [stdout] 62 + use rosrust::Duration; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `publish` found for enum `Result` in the current scope [INFO] [stdout] --> src/lib.rs:68:26 [INFO] [stdout] | [INFO] [stdout] 68 | let publisher = node.publish::("count", 1024, false, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `publish` exists on the type `rosrust_async::Node` [INFO] [stdout] --> src/node/mod.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | / pub async fn publish( [INFO] [stdout] 241 | | &self, [INFO] [stdout] 242 | | topic_name: impl Into, [INFO] [stdout] 243 | | queue_size: usize, [INFO] [stdout] ... | [INFO] [stdout] 247 | | where [INFO] [stdout] 248 | | T: Message, [INFO] [stdout] | |___________________^ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `rosrust_async::Node` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 68 | let publisher = node.expect("REASON").publish::("count", 1024, false, false).await.unwrap(); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std_msgs` in this scope [INFO] [stdout] --> src/lib.rs:68:36 [INFO] [stdout] | [INFO] [stdout] 68 | let publisher = node.publish::("count", 1024, false, false).await.unwrap(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `std_msgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std_msgs`, use `cargo add std_msgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std_msgs` in this scope [INFO] [stdout] --> src/lib.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | let msg = std_msgs::String{data: String::from(format!("count: {count}"))}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `std_msgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std_msgs`, use `cargo add std_msgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 119) stdout ---- [INFO] [stdout] error[E0061]: this method takes 4 arguments but 3 arguments were supplied [INFO] [stdout] --> src/lib.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | .subscribe_callback("echo", false, |msg: std_msgs::String| async move { [INFO] [stdout] | ___________^^^^^^^^^^^^^^^^^^-________-----__- [INFO] [stdout] | | | | [INFO] [stdout] | | ____________________________| argument #2 of type `usize` is missing [INFO] [stdout] | || [INFO] [stdout] 129 | || println!("Hello from the callback! Got some data: {}", msg.data); [INFO] [stdout] 130 | || }) [INFO] [stdout] | ||_________-- argument #4 is missing [INFO] [stdout] | |__________| [INFO] [stdout] | unexpected argument #3 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/node/mod.rs:396:18 [INFO] [stdout] | [INFO] [stdout] 396 | pub async fn subscribe_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 128 - .subscribe_callback("echo", false, |msg: std_msgs::String| async move { [INFO] [stdout] 129 - println!("Hello from the callback! Got some data: {}", msg.data); [INFO] [stdout] 130 - }) [INFO] [stdout] 128 + .subscribe_callback("echo", /* usize */, false, /* callback */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `std_msgs` in this scope [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | .subscribe_callback("echo", false, |msg: std_msgs::String| async move { [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `std_msgs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std_msgs`, use `cargo add std_msgs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 119) [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 140) [INFO] [stdout] src/lib.rs - (line 169) [INFO] [stdout] src/lib.rs - (line 195) [INFO] [stdout] src/lib.rs - (line 229) [INFO] [stdout] src/lib.rs - (line 60) [INFO] [stdout] src/lib.rs - (line 93) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "84d02f2e1baa7f95445b26b6501660587c1866e40ce1c05f03ff97a8c5cda9cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84d02f2e1baa7f95445b26b6501660587c1866e40ce1c05f03ff97a8c5cda9cd", kill_on_drop: false }` [INFO] [stdout] 84d02f2e1baa7f95445b26b6501660587c1866e40ce1c05f03ff97a8c5cda9cd