[INFO] cloning repository https://github.com/Jakubklas/factory_simulator
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jakubklas/factory_simulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubklas%2Ffactory_simulator"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubklas%2Ffactory_simulator'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] fd52c1900376e3f650ac27a58a522c964acf0c5e
[INFO] testing Jakubklas/factory_simulator against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakubklas%2Ffactory_simulator" "/workspace/builds/worker-6-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  23% (1604/6917)
Updating files:  24% (1661/6917)
Updating files:  24% (1708/6917)
Updating files:  25% (1730/6917)
Updating files:  26% (1799/6917)
Updating files:  26% (1828/6917)
Updating files:  27% (1868/6917)
Updating files:  28% (1937/6917)
Updating files:  29% (2006/6917)
Updating files:  29% (2064/6917)
Updating files:  30% (2076/6917)
Updating files:  31% (2145/6917)
Updating files:  32% (2214/6917)
Updating files:  33% (2283/6917)
Updating files:  34% (2352/6917)
Updating files:  35% (2421/6917)
Updating files:  36% (2491/6917)
Updating files:  37% (2560/6917)
Updating files:  38% (2629/6917)
Updating files:  39% (2698/6917)
Updating files:  40% (2767/6917)
Updating files:  41% (2836/6917)
Updating files:  42% (2906/6917)
Updating files:  43% (2975/6917)
Updating files:  44% (3044/6917)
Updating files:  45% (3113/6917)
Updating files:  46% (3182/6917)
Updating files:  47% (3251/6917)
Updating files:  48% (3321/6917)
Updating files:  49% (3390/6917)
Updating files:  50% (3459/6917)
Updating files:  51% (3528/6917)
Updating files:  52% (3597/6917)
Updating files:  53% (3667/6917)
Updating files:  54% (3736/6917)
Updating files:  55% (3805/6917)
Updating files:  55% (3849/6917)
Updating files:  56% (3874/6917)
Updating files:  57% (3943/6917)
Updating files:  58% (4012/6917)
Updating files:  59% (4082/6917)
Updating files:  60% (4151/6917)
Updating files:  61% (4220/6917)
Updating files:  62% (4289/6917)
Updating files:  63% (4358/6917)
Updating files:  64% (4427/6917)
Updating files:  65% (4497/6917)
Updating files:  66% (4566/6917)
Updating files:  67% (4635/6917)
Updating files:  68% (4704/6917)
Updating files:  69% (4773/6917)
Updating files:  70% (4842/6917)
Updating files:  71% (4912/6917)
Updating files:  72% (4981/6917)
Updating files:  73% (5050/6917)
Updating files:  74% (5119/6917)
Updating files:  75% (5188/6917)
Updating files:  76% (5257/6917)
Updating files:  77% (5327/6917)
Updating files:  78% (5396/6917)
Updating files:  79% (5465/6917)
Updating files:  80% (5534/6917)
Updating files:  81% (5603/6917)
Updating files:  82% (5672/6917)
Updating files:  83% (5742/6917)
Updating files:  84% (5811/6917)
Updating files:  85% (5880/6917)
Updating files:  86% (5949/6917)
Updating files:  87% (6018/6917)
Updating files:  88% (6087/6917)
Updating files:  89% (6157/6917)
Updating files:  90% (6226/6917)
Updating files:  91% (6295/6917)
Updating files:  92% (6364/6917)
Updating files:  93% (6433/6917)
Updating files:  94% (6502/6917)
Updating files:  95% (6572/6917)
Updating files:  96% (6641/6917)
Updating files:  97% (6710/6917)
Updating files:  98% (6779/6917)
Updating files:  99% (6848/6917)
Updating files: 100% (6917/6917)
Updating files: 100% (6917/6917), done.
[INFO] started tweaking git repo https://github.com/Jakubklas/factory_simulator
[INFO] finished tweaking git repo https://github.com/Jakubklas/factory_simulator
[INFO] tweaked toml for git repo https://github.com/Jakubklas/factory_simulator written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jakubklas/factory_simulator on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/Jakubklas/factory_simulator already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7
[INFO] running `"docker" "start" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7"`
[INFO] running `"docker" "inspect" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7"`
[INFO] running `"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" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7"`
[INFO] running `"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" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.23
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling data-encoding v2.10.0
[INFO] [stderr]    Compiling syn v2.0.115
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling socket2 v0.6.2
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling indexmap v2.13.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling gethostname v0.4.3
[INFO] [stderr]    Compiling uuid v1.20.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling opcua v0.12.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling water-plant-twin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `plant::Plant`
[INFO] [stdout]  --> src/simulator/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use plant::Plant;
[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 imports: `Boiler`, `FlowMeter`, `PressureMeter`, and `Valve`
[INFO] [stdout]  --> src/simulator/mod.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use devices::{Boiler, PressureMeter, FlowMeter, Valve};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]   --> src/ws_bridge/bridge.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::sync::Arc;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/opcua_server/plc1.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut server = ServerBuilder::new()
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/opcua_server/plc2.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut server = ServerBuilder::new()
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` is not a future
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:168:101
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0).await?;
[INFO] [stdout]     |                                                                                                     ^^^^^ `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` is not a future
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Future` is not implemented for `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>`
[INFO] [stdout]     = note: Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]     = note: required for `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout] 168 -     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0).await?;
[INFO] [stdout] 168 +     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:170:43
[INFO] [stdout]     |
[INFO] [stdout] 170 |     if let Some(data_value) = read_result.first() {
[INFO] [stdout]     |                                           ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for type `!` in the current scope
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:170:43
[INFO] [stdout]     |
[INFO] [stdout] 170 |     if let Some(data_value) = read_result.first() {
[INFO] [stdout]     |                                           ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `f64` cannot be dereferenced
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:173:27
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 return Ok(*val);
[INFO] [stdout]     |                           ^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` is not a future
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:183:101
[INFO] [stdout]     |
[INFO] [stdout] 183 |     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0).await?;
[INFO] [stdout]     |                                                                                                     ^^^^^ `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` is not a future
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Future` is not implemented for `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>`
[INFO] [stdout]     = note: Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]     = note: required for `Result<Vec<opcua::types::DataValue>, opcua::types::StatusCode>` to implement `IntoFuture`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]     |
[INFO] [stdout] 183 -     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0).await?;
[INFO] [stdout] 183 +     let read_result = session.read(&[ReadValueId::from(node_id)], TimestampsToReturn::Neither, 0.0)?;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(data_value) = read_result.first() {
[INFO] [stdout]     |                                           ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `first` found for type `!` in the current scope
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:185:43
[INFO] [stdout]     |
[INFO] [stdout] 185 |     if let Some(data_value) = read_result.first() {
[INFO] [stdout]     |                                           ^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:188:27
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 return Ok(val.as_ref().clone());
[INFO] [stdout]     |                        -- ^^^^^^^^^^^^^^^^^^^^ expected `String`, found `&str`
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        arguments to this enum variant are incorrect
[INFO] [stdout]     |
[INFO] [stdout] help: the type constructed contains `&str` due to the type of the argument passed
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:188:24
[INFO] [stdout]     |
[INFO] [stdout] 188 |                 return Ok(val.as_ref().clone());
[INFO] [stdout]     |                        ^^^--------------------^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           this argument influences the type of `Ok`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]    --> /rustc/bbcdfd90a3f81ca2a5f6d69b943a6ff0d8582102/library/core/src/result.rs:562:4
[INFO] [stdout] help: try using a conversion method
[INFO] [stdout]     |
[INFO] [stdout] 188 -                 return Ok(val.as_ref().clone());
[INFO] [stdout] 188 +                 return Ok(val.as_ref().to_string());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: future cannot be sent between threads safely
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:60:5
[INFO] [stdout]     |
[INFO] [stdout]  60 | /     tokio::spawn(async move {
[INFO] [stdout]  61 | |         let mut interval = tokio::time::interval(tokio::time::Duration::from_millis(100));
[INFO] [stdout]  62 | |
[INFO] [stdout]  63 | |         loop {
[INFO] [stdout] ...   |
[INFO] [stdout]  80 | |     });
[INFO] [stdout]     | |______^ future created by async block is not `Send`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Send` is not implemented for `dyn StdError`
[INFO] [stdout] note: future is not `Send` as this value is used across an await
[INFO] [stdout]    --> src/opcua_server/scada_client.rs:70:55
[INFO] [stdout]     |
[INFO] [stdout]  67 |             let plc1_data = read_plc1_data(&session1).await;
[INFO] [stdout]     |                 --------- has type `Result<HashMap<std::string::String, DeviceState>, Box<dyn StdError>>` which is not `Send`
[INFO] [stdout] ...
[INFO] [stdout]  70 |             let plc2_data = read_plc2_data(&session2).await;
[INFO] [stdout]     |                                                       ^^^^^ await occurs here, with `plc1_data` maybe used later
[INFO] [stdout] note: required by a bound in `tokio::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/task/spawn.rs:171:21
[INFO] [stdout]     |
[INFO] [stdout] 169 |     pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
[INFO] [stdout] 170 |     where
[INFO] [stdout] 171 |         F: Future + Send + 'static,
[INFO] [stdout]     |                     ^^^^ required by this bound in `spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plant_clone`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let plant_clone = plant.clone();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plant_clone`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `water-plant-twin` (bin "water-plant-twin") due to 7 previous errors; 10 warnings emitted
[INFO] running `"docker" "inspect" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7"`
[INFO] running `"docker" "rm" "-f" "957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7"`
[INFO] [stdout] 957bdd7c56c08426db4569c404bf2adc6777ba84c019f8d1085f7cccfbf79dc7
