[INFO] cloning repository https://github.com/luksan/serial-pcap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luksan/serial-pcap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksan%2Fserial-pcap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksan%2Fserial-pcap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2441a7e0505efb798b5222ac1419d07b3def9c68 [INFO] testing luksan/serial-pcap against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluksan%2Fserial-pcap" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/luksan/serial-pcap [INFO] finished tweaking git repo https://github.com/luksan/serial-pcap [INFO] tweaked toml for git repo https://github.com/luksan/serial-pcap written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/luksan/serial-pcap on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/luksan/serial-pcap already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x328-proto v0.2.0 [INFO] [stderr] Downloaded snafu v0.7.5 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded bytepack_derive v0.2.0 [INFO] [stderr] Downloaded rpcap v1.0.0 [INFO] [stderr] Downloaded tokio-serial v5.4.4 [INFO] [stderr] Downloaded terminal_size v0.2.6 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded errno v0.3.4 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded abort-on-drop v0.2.2 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded mio-serial v5.0.5 [INFO] [stderr] Downloaded bytepack v0.4.1 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded clap_derive v4.4.2 [INFO] [stderr] Downloaded snafu-derive v0.7.5 [INFO] [stderr] Downloaded bitflags v2.0.2 [INFO] [stderr] Downloaded sharded-slab v0.1.6 [INFO] [stderr] Downloaded socket2 v0.5.4 [INFO] [stderr] Downloaded serialport v4.2.2 [INFO] [stderr] Downloaded clap v4.4.3 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded clap_builder v4.4.2 [INFO] [stderr] Downloaded aho-corasick v1.1.1 [INFO] [stderr] Downloaded etherparse v0.13.0 [INFO] [stderr] Downloaded regex v1.9.6 [INFO] [stderr] Downloaded rustix v0.37.24 [INFO] [stderr] Downloaded regex-automata v0.3.9 [INFO] [stderr] Downloaded tokio v1.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0 [INFO] running `Command { std: "docker" "start" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.37.24 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling bitflags v2.0.2 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.6 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling etherparse v0.13.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling bytepack_derive v0.2.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.4 [INFO] [stderr] Compiling bytepack v0.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rpcap v1.0.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling serialport v4.2.2 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling mio-serial v5.0.5 [INFO] [stderr] Compiling snafu v0.7.5 [INFO] [stderr] Compiling x328-proto v0.2.0 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-serial v5.4.4 [INFO] [stderr] Compiling abort-on-drop v0.2.2 [INFO] [stderr] Compiling serial-pcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 34.05s [INFO] running `Command { std: "docker" "inspect" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling serial-pcap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> tests/x328_chat_test.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | struct Node(Option); [INFO] [stdout] | ^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 48 | struct Node<'a>(Option>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `x328_proto::master::ReceiveDataProgress`, `x328_proto::master::Receiver` [INFO] [stdout] --> examples/real_uarts_sim_chat.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use x328_proto::master::{ReceiveDataProgress, Receiver}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ no `Receiver` in `master` [INFO] [stdout] | | [INFO] [stdout] | no `ReceiveDataProgress` in `master` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::sync::mpsc::Receiver [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> examples/real_uarts_sim_chat.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | struct Node(Option); [INFO] [stdout] | ^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 77 | struct Node<'a>(Option>); [INFO] [stdout] | ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_data` found for opaque type `impl x328_proto::master::SendData + '_` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | master_tx.write_all(send.get_data())?; [INFO] [stdout] | ^^^^^^^^ method not found in `impl x328_proto::master::SendData + '_` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x328-proto-0.2.0/src/master.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_data(&self) -> &[u8]; [INFO] [stdout] | -------- the method is available for `impl x328_proto::master::SendData + '_` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SendData` which provides `get_data` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use x328_proto::master::SendData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> examples/real_uarts_sim_chat.rs:52:15 [INFO] [stdout] | [INFO] [stdout] 52 | send: master::SendData<'_, Rec, R>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use a new generic type parameter, constrained by `master::SendData<'_, Rec, R>` [INFO] [stdout] | [INFO] [stdout] 51 ~ async fn master_trx, R, T: master::SendData<'_, Rec, R>>( [INFO] [stdout] 52 ~ send: T, [INFO] [stdout] | [INFO] [stdout] help: you can also use an opaque type, but users won't be able to specify the type parameter when calling the `fn`, having to rely exclusively on type inference [INFO] [stdout] | [INFO] [stdout] 52 | send: impl master::SendData<'_, Rec, R>, [INFO] [stdout] | ++++ [INFO] [stdout] help: alternatively, use a trait object to accept any type that implements `master::SendData<'_, Rec, R>`, accessing its methods at runtime using dynamic dispatch [INFO] [stdout] | [INFO] [stdout] 52 | send: &dyn master::SendData<'_, Rec, R>, [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0432, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serial-pcap` (example "real_uarts_sim_chat") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `get_data` found for opaque type `impl x328_proto::master::SendData + '_` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | node.next(send.get_data(), &mut client_tx) [INFO] [stdout] | ^^^^^^^^ method not found in `impl x328_proto::master::SendData + '_` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x328-proto-0.2.0/src/master.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_data(&self) -> &[u8]; [INFO] [stdout] | -------- the method is available for `impl x328_proto::master::SendData + '_` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SendData` which provides `get_data` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use x328_proto::master::SendData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_data` found for opaque type `impl x328_proto::master::SendData + '_` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | master_tx.write_all(send.get_data())?; [INFO] [stdout] | ^^^^^^^^ method not found in `impl x328_proto::master::SendData + '_` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x328-proto-0.2.0/src/master.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_data(&self) -> &[u8]; [INFO] [stdout] | -------- the method is available for `impl x328_proto::master::SendData + '_` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SendData` which provides `get_data` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use x328_proto::master::SendData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_data` found for opaque type `impl x328_proto::master::SendData + '_` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | node.next(send.get_data(), &mut client_tx) [INFO] [stdout] | ^^^^^^^^ method not found in `impl x328_proto::master::SendData + '_` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/x328-proto-0.2.0/src/master.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn get_data(&self) -> &[u8]; [INFO] [stdout] | -------- the method is available for `impl x328_proto::master::SendData + '_` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `SendData` which provides `get_data` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use x328_proto::master::SendData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `x328_proto::node::ReceiveData<'node>` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | Self(node::ReceiveData::new(address).ok()) [INFO] [stdout] | ^^^ associated function or constant not found in `x328_proto::node::ReceiveData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/x328_chat_test.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 58 | state = match state { [INFO] [stdout] | ----- this expression has type `StateToken` [INFO] [stdout] 59 | NodeState::ReceiveData(r) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `StateToken`, found `NodeState<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/x328_chat_test.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 58 | state = match state { [INFO] [stdout] | ----- this expression has type `StateToken` [INFO] [stdout] ... [INFO] [stdout] 63 | NodeState::SendData(mut s) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `StateToken`, found `NodeState<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/x328_chat_test.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 58 | state = match state { [INFO] [stdout] | ----- this expression has type `StateToken` [INFO] [stdout] ... [INFO] [stdout] 67 | NodeState::ReadParameter(read) => read.send_reply_ok(value(33)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `StateToken`, found `NodeState<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/x328_chat_test.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 58 | state = match state { [INFO] [stdout] | ----- this expression has type `StateToken` [INFO] [stdout] ... [INFO] [stdout] 68 | NodeState::WriteParameter(write) => write.write_ok(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `StateToken`, found `NodeState<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_data` found for struct `x328_proto::node::SendData<'node>` in the current scope [INFO] [stdout] --> tests/x328_chat_test.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | send.write_all(s.get_data()).expect("Write failed"); [INFO] [stdout] | ^^^^^^^^ method not found in `x328_proto::node::SendData<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serial-pcap` (test "x328_chat_test") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0", kill_on_drop: false }` [INFO] [stdout] 051a5bafbd157fc39460481c3fed5f00d2db0e0ca16489c2b001cd391069cad0