[INFO] fetching crate rainmaker 0.1.1...
[INFO] testing rainmaker-0.1.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate rainmaker 0.1.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate rainmaker 0.1.1
[INFO] finished tweaking crates.io crate rainmaker 0.1.1
[INFO] tweaked toml for crates.io crate rainmaker 0.1.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rainmaker 0.1.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 289 packages to latest compatible versions
[INFO] [stderr]       Adding esp-idf-svc v0.49.1 (available: v0.51.0)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding simple_logger v4.3.3 (available: v5.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6da304234504e37a1f35769c0e6ab5257b1b1ed8d14451106a78f31fdfb66c6a
[INFO] running `Command { std: "docker" "start" "-a" "6da304234504e37a1f35769c0e6ab5257b1b1ed8d14451106a78f31fdfb66c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6da304234504e37a1f35769c0e6ab5257b1b1ed8d14451106a78f31fdfb66c6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6da304234504e37a1f35769c0e6ab5257b1b1ed8d14451106a78f31fdfb66c6a", kill_on_drop: false }`
[INFO] [stdout] 6da304234504e37a1f35769c0e6ab5257b1b1ed8d14451106a78f31fdfb66c6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50412c787678fd17a4bc0df47f7b900a83a9367e3161fc4c241e6c83bf913d33
[INFO] running `Command { std: "docker" "start" "-a" "50412c787678fd17a4bc0df47f7b900a83a9367e3161fc4c241e6c83bf913d33", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.179
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libdbus-sys v0.2.7
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling macaddr v1.0.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling chunked_transfer v1.5.0
[INFO] [stderr]    Compiling ascii v1.1.0
[INFO] [stderr]    Compiling quick-protobuf v0.8.1
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling tiny_http v0.12.0
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling colored v2.2.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling ed25519-compact v2.2.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling simple_logger v4.3.3
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling custom_debug_derive v0.6.2
[INFO] [stderr]    Compiling custom_debug v0.6.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling pickledb v0.5.1
[INFO] [stderr]    Compiling bluer v0.17.4
[INFO] [stderr]    Compiling dbus v0.9.10
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling rumqttc v0.23.0
[INFO] [stderr]    Compiling dbus-crossroads v0.5.3
[INFO] [stderr]    Compiling dbus-tokio v0.7.6
[INFO] [stderr]    Compiling rainmaker-components v0.1.0
[INFO] [stderr]    Compiling rainmaker v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if unsafe { RAINMAKER.get().is_some() } {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             RAINMAKER.set(Self { node: None }).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Ok(unsafe { RAINMAKER.get_mut().unwrap() })
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.32s
[INFO] running `Command { std: "docker" "inspect" "50412c787678fd17a4bc0df47f7b900a83a9367e3161fc4c241e6c83bf913d33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50412c787678fd17a4bc0df47f7b900a83a9367e3161fc4c241e6c83bf913d33", kill_on_drop: false }`
[INFO] [stdout] 50412c787678fd17a4bc0df47f7b900a83a9367e3161fc4c241e6c83bf913d33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08ac5d413f4d9675e7a1e70fd916a0d34cc2d8019cc7588ca3c39e198da37976
[INFO] running `Command { std: "docker" "start" "-a" "08ac5d413f4d9675e7a1e70fd916a0d34cc2d8019cc7588ca3c39e198da37976", kill_on_drop: false }`
[INFO] [stderr]    Compiling rainmaker v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if unsafe { RAINMAKER.get().is_some() } {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             RAINMAKER.set(Self { node: None }).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Ok(unsafe { RAINMAKER.get_mut().unwrap() })
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if unsafe { RAINMAKER.get().is_some() } {
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 |             RAINMAKER.set(Self { node: None }).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |         Ok(unsafe { RAINMAKER.get_mut().unwrap() })
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s
[INFO] running `Command { std: "docker" "inspect" "08ac5d413f4d9675e7a1e70fd916a0d34cc2d8019cc7588ca3c39e198da37976", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08ac5d413f4d9675e7a1e70fd916a0d34cc2d8019cc7588ca3c39e198da37976", kill_on_drop: false }`
[INFO] [stdout] 08ac5d413f4d9675e7a1e70fd916a0d34cc2d8019cc7588ca3c39e198da37976
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4e46c42d290840a327f6a014847bfd171f4d797cd35361629b9bea6b59dc0143
[INFO] running `Command { std: "docker" "start" "-a" "4e46c42d290840a327f6a014847bfd171f4d797cd35361629b9bea6b59dc0143", kill_on_drop: false }`
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/lib.rs:90:21
[INFO] [stderr]    |
[INFO] [stderr] 90 |         if unsafe { RAINMAKER.get().is_some() } {
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/lib.rs:94:13
[INFO] [stderr]    |
[INFO] [stderr] 94 |             RAINMAKER.set(Self { node: None }).unwrap();
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/lib.rs:96:21
[INFO] [stderr]    |
[INFO] [stderr] 96 |         Ok(unsafe { RAINMAKER.get_mut().unwrap() })
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `rainmaker` (lib) generated 3 warnings
[INFO] [stderr] warning: `rainmaker` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rainmaker-0f534f9f3937ab09)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rainmaker
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/device.rs - device (line 13) ... FAILED
[INFO] [stdout] test src/device.rs - device (line 8) ... FAILED
[INFO] [stdout] test src/node.rs - node::Node::new (line 65) ... FAILED
[INFO] [stdout] test src/node.rs - node::Node::add_device (line 102) ... FAILED
[INFO] [stdout] test src/node.rs - node::Node::set_info (line 82) ... FAILED
[INFO] [stdout] test src/lib.rs - report_params (line 283) ... FAILED
[INFO] [stdout] test src/device.rs - device (line 24) ... FAILED
[INFO] [stdout] test src/lib.rs - Rainmaker::register_node (line 147) ... FAILED
[INFO] [stdout] test src/device.rs - device (line 32) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/device.rs - device (line 13) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]   --> src/device.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | let power_param = Param::new_power(name:"Power", initial_value: false);
[INFO] [stdout]    | ^^^
[INFO] [stdout]    | |
[INFO] [stdout]    | `let` cannot be used for global variables
[INFO] [stdout]    | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/device.rs - device (line 8) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]  --> src/device.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | let device = Device::new(name:"DeviceName", device_type:DeviceType::Switch);
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: if `Device::new` is a struct, use braces as delimiters
[INFO] [stdout]   |
[INFO] [stdout] 9 - let device = Device::new(name:"DeviceName", device_type:DeviceType::Switch);
[INFO] [stdout] 9 + let device = Device::new { name:"DeviceName", device_type:DeviceType::Switch };
[INFO] [stdout]   |
[INFO] [stdout] help: if `Device::new` is a function, use the arguments directly
[INFO] [stdout]   |
[INFO] [stdout] 9 - let device = Device::new(name:"DeviceName", device_type:DeviceType::Switch);
[INFO] [stdout] 9 + let device = Device::new("DeviceName", DeviceType::Switch);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/node.rs - node::Node::new (line 65) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rainmaker`
[INFO] [stdout]   --> src/node.rs:66:14
[INFO] [stdout]    |
[INFO] [stdout] 66 | let rmaker = Rainmaker::init()?;
[INFO] [stdout]    |              ^^^^^^^^^ use of undeclared type `Rainmaker`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 65 + use rainmaker::Rainmaker;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]   --> src/node.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 | let mut node = Node::new(node_id);
[INFO] [stdout]    |                ^^^^ use of undeclared type `Node`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 65 + use rainmaker::node::Node;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/node.rs - node::Node::add_device (line 102) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `node` in this scope
[INFO] [stdout]    --> src/node.rs:103:1
[INFO] [stdout]     |
[INFO] [stdout] 103 | node.add_device(device);
[INFO] [stdout]     | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `device` in this scope
[INFO] [stdout]    --> src/node.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 | node.add_device(device);
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/node.rs - node::Node::set_info (line 82) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `node` in this scope
[INFO] [stdout]   --> src/node.rs:83:1
[INFO] [stdout]    |
[INFO] [stdout] 83 | node.set_info(Info{
[INFO] [stdout]    | ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Info` in this scope
[INFO] [stdout]   --> src/node.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 | node.set_info(Info{
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 82 + use log::Level::Info;
[INFO] [stdout]    |
[INFO] [stdout] 82 + use log::LevelFilter::Info;
[INFO] [stdout]    |
[INFO] [stdout] 82 + use rainmaker::node::Info;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - report_params (line 283) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `HashMaps` in this scope
[INFO] [stdout]    --> src/lib.rs:285:22
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn device_cb(params: HashMaps<String, Value>)
[INFO] [stdout]     |                      ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Value` in this scope
[INFO] [stdout]    --> src/lib.rs:285:39
[INFO] [stdout]     |
[INFO] [stdout] 285 | fn device_cb(params: HashMaps<String, Value>)
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 282 + use serde_json::Value;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/device.rs - device (line 24) stdout ----
[INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments
[INFO] [stdout]   --> src/device.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 |     rainmaker::report_params(device_name: "DeviceName", params);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if `rainmaker::report_params` is a struct, use braces as delimiters
[INFO] [stdout]    |
[INFO] [stdout] 28 -     rainmaker::report_params(device_name: "DeviceName", params);
[INFO] [stdout] 28 +     rainmaker::report_params { device_name: "DeviceName", params };
[INFO] [stdout]    |
[INFO] [stdout] help: if `rainmaker::report_params` is a function, use the arguments directly
[INFO] [stdout]    |
[INFO] [stdout] 28 -     rainmaker::report_params(device_name: "DeviceName", params);
[INFO] [stdout] 28 +     rainmaker::report_params("DeviceName", params);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashMap` in this scope
[INFO] [stdout]   --> src/device.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn device_callback(params: HashMap<String, Value>){
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use std::collections::HashMap;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Value` in this scope
[INFO] [stdout]   --> src/device.rs:26:44
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn device_callback(params: HashMap<String, Value>){
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 23 + use serde_json::Value;
[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 E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Rainmaker::register_node (line 147) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rainmaker`
[INFO] [stdout]    --> src/lib.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 | let rmaker = Rainmaker::init()?;
[INFO] [stdout]     |              ^^^^^^^^^ use of undeclared type `Rainmaker`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 147 + use rainmaker::Rainmaker;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node`
[INFO] [stdout]    --> src/lib.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 | let mut node = Node::new(rmaker.get_node_id());
[INFO] [stdout]     |                ^^^^ use of undeclared type `Node`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 147 + use rainmaker::node::Node;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/device.rs - device (line 32) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `device` in this scope
[INFO] [stdout]   --> src/device.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | device.register_callback(Box::new(device_callback));
[INFO] [stdout]    | ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `device_callback` in this scope
[INFO] [stdout]   --> src/device.rs:33:35
[INFO] [stdout]    |
[INFO] [stdout] 33 | device.register_callback(Box::new(device_callback));
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/device.rs - device (line 13)
[INFO] [stdout]     src/device.rs - device (line 24)
[INFO] [stdout]     src/device.rs - device (line 32)
[INFO] [stdout]     src/device.rs - device (line 8)
[INFO] [stdout]     src/lib.rs - Rainmaker::register_node (line 147)
[INFO] [stdout]     src/lib.rs - report_params (line 283)
[INFO] [stdout]     src/node.rs - node::Node::add_device (line 102)
[INFO] [stdout]     src/node.rs - node::Node::new (line 65)
[INFO] [stdout]     src/node.rs - node::Node::set_info (line 82)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "4e46c42d290840a327f6a014847bfd171f4d797cd35361629b9bea6b59dc0143", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e46c42d290840a327f6a014847bfd171f4d797cd35361629b9bea6b59dc0143", kill_on_drop: false }`
[INFO] [stdout] 4e46c42d290840a327f6a014847bfd171f4d797cd35361629b9bea6b59dc0143
