[INFO] cloning repository https://github.com/galenguyer/mercury [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/galenguyer/mercury" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalenguyer%2Fmercury", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalenguyer%2Fmercury'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0b4b77f04cdc38f6c98f2c57b6ae4bb2fc166c2 [INFO] testing galenguyer/mercury against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalenguyer%2Fmercury" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/galenguyer/mercury on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-22/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/galenguyer/mercury [INFO] finished tweaking git repo https://github.com/galenguyer/mercury [INFO] tweaked toml for git repo https://github.com/galenguyer/mercury written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/galenguyer/mercury already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/esp-rs/esp-idf-svc` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded clang-sys v1.3.1 [INFO] [stderr] Downloaded ureq v2.4.0 [INFO] [stderr] Downloaded bindgen v0.59.2 [INFO] [stderr] Downloaded cstr_core v0.2.5 [INFO] [stderr] Downloaded enumset v1.0.8 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.7 [INFO] [stderr] Downloaded libc v0.2.118 [INFO] [stderr] Downloaded xmas-elf v0.8.0 [INFO] [stderr] Downloaded esp-idf-hal v0.33.1 [INFO] [stderr] Downloaded esp-idf-sys v0.30.6 [INFO] [stderr] Downloaded http-auth-basic v0.1.3 [INFO] [stderr] Downloaded embuild v0.28.4 [INFO] [stderr] Downloaded embedded-svc v0.17.3 [INFO] [stderr] Downloaded zero v0.1.2 [INFO] [stderr] Downloaded enumset_derive v0.5.5 [INFO] [stderr] Downloaded cargo_toml v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a30a3fbcefd72d3df03b8ce29f260e2687b59ba73095e0b4de325f36509e9d4 [INFO] running `Command { std: "docker" "start" "-a" "8a30a3fbcefd72d3df03b8ce29f260e2687b59ba73095e0b4de325f36509e9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a30a3fbcefd72d3df03b8ce29f260e2687b59ba73095e0b4de325f36509e9d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a30a3fbcefd72d3df03b8ce29f260e2687b59ba73095e0b4de325f36509e9d4", kill_on_drop: false }` [INFO] [stdout] 8a30a3fbcefd72d3df03b8ce29f260e2687b59ba73095e0b4de325f36509e9d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21115eaef6e9285f0c9c422a9745913ea22a0ffdbdf3c6ba9a8526bdbfecb24c [INFO] running `Command { std: "docker" "start" "-a" "21115eaef6e9285f0c9c422a9745913ea22a0ffdbdf3c6ba9a8526bdbfecb24c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.54 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling embuild v0.28.4 [INFO] [stderr] Compiling mercury v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `ESP32_WIFI_SSID` not defined [INFO] [stdout] --> src/main.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | env!("ESP32_WIFI_SSID"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `ESP32_MQTT_BROKER_URL` not defined [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | env!("ESP32_MQTT_BROKER_URL"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::digital::v2::OutputPin; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_hal` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use esp_idf_hal::prelude::Peripherals; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use esp_idf_svc::netif::EspNetifStack; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use esp_idf_svc::nvs::EspDefaultNvs; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use esp_idf_svc::sysloop::EspSysLoopStack; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `esp_idf_svc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_idf_svc::sntp; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_svc` [INFO] [stdout] --> src/mqtt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_svc::mqtt::client::{Connection, Publish, QoS}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/mqtt.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use esp_idf_svc::mqtt::client::{EspMqttClient, MqttClientConfiguration}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/mqtt.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_hal` [INFO] [stdout] --> src/dht22.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_hal` [INFO] [stdout] --> src/dht22.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use esp_idf_hal::{delay::Ets, interrupt::CriticalSection}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/mqtt.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/wifi.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{bail, Result}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_svc` [INFO] [stdout] --> src/wifi.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_svc::ipv4; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_svc` [INFO] [stdout] --> src/wifi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_svc::ping::{self, Ping}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `embedded_svc` [INFO] [stdout] --> src/wifi.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use embedded_svc::wifi::{ [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/wifi.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use esp_idf_svc::netif::EspNetifStack; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/wifi.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use esp_idf_svc::nvs::EspDefaultNvs; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/wifi.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use esp_idf_svc::ping::EspPing; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/wifi.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use esp_idf_svc::sysloop::EspSysLoopStack; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/wifi.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use esp_idf_svc::wifi::EspWifi; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `embedded_svc` [INFO] [stdout] --> src/wifi.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use embedded_svc::ping::{self, Ping}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `embedded_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lazy_static` [INFO] [stdout] --> src/wifi.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `lazy_static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/wifi.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use log::info; [INFO] [stdout] | ^^^ use of undeclared crate or module `log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `anyhow` [INFO] [stdout] --> src/wifi.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | .map_err(|e| anyhow::anyhow!("Unexpected Wifi status: {:?}", e))?; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `anyhow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/mqtt.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | info!("MQTT Listening for messages"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/mqtt.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | info!("MQTT Message ERROR: {}", e); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/mqtt.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | info!("MQTT connection loop exit"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `lazy_static` [INFO] [stdout] --> src/wifi.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/wifi.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/wifi.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | info!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/wifi.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | info!("Unexpected Wifi status: {:?}", status); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/wifi.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | info!("About to do some pings for {:?}", ip_settings); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `bail` [INFO] [stdout] --> src/wifi.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | bail!( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/wifi.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | info!("Pinging done"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | info!("NTP synchronized"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CriticalSection` [INFO] [stdout] --> src/dht22.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let cs = CriticalSection::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `CriticalSection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/mqtt.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MqttClientConfiguration` [INFO] [stdout] --> src/mqtt.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | ..MqttClientConfiguration::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `MqttClientConfiguration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspMqttClient` [INFO] [stdout] --> src/mqtt.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | let (client, mut connection) = EspMqttClient::new(url, &conf)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EspMqttClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_sys` [INFO] [stdout] --> src/mqtt.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QoS` [INFO] [stdout] --> src/mqtt.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | QoS::AtMostOnce, [INFO] [stdout] | ^^^ use of undeclared type `QoS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspWifi` [INFO] [stdout] --> src/wifi.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let mut wifi = Box::new(EspWifi::new(netif_stack, sys_loop_stack, default_nvs)?); [INFO] [stdout] | ^^^^^^^ use of undeclared type `EspWifi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Configuration` [INFO] [stdout] --> src/wifi.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | wifi.set_configuration(&Configuration::Client(ClientConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Configuration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthMethod` [INFO] [stdout] --> src/wifi.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | 0 => AuthMethod::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthMethod` [INFO] [stdout] --> src/wifi.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | _ => AuthMethod::WPA2Personal, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthMethod` [INFO] [stdout] --> src/wifi.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | None => AuthMethod::None, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AuthMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConfiguration` [INFO] [stdout] --> src/wifi.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | ..ClientConfiguration::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ClientConfiguration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientStatus` [INFO] [stdout] --> src/wifi.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ClientStatus::Started(ClientConnectionStatus::Connected(ClientIpStatus::Done( [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ClientStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientConnectionStatus` [INFO] [stdout] --> src/wifi.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 72 | ClientStatus::Started(ClientConnectionStatus::Connected(ClientIpStatus::Done( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ClientConnectionStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientIpStatus` [INFO] [stdout] --> src/wifi.rs:72:65 [INFO] [stdout] | [INFO] [stdout] 72 | ClientStatus::Started(ClientConnectionStatus::Connected(ClientIpStatus::Done( [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ClientIpStatus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `hex` [INFO] [stdout] --> src/wifi.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | *MAC.lock().unwrap() = hex::encode(netif.unwrap().get_mac().unwrap()); [INFO] [stdout] | ^^^ use of undeclared crate or module `hex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspPing` [INFO] [stdout] --> src/wifi.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | EspPing::default().ping(ip_settings.subnet.gateway, &ping::Configuration::default())?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `EspPing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_sys` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | esp_idf_sys::link_patches(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | esp_idf_svc::log::EspLogger::initialize_default(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `esp_idf_svc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> src/main.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspNetifStack` [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let netif_stack = Arc::new(EspNetifStack::new()?); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EspNetifStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspSysLoopStack` [INFO] [stdout] --> src/main.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let sys_loop_stack = Arc::new(EspSysLoopStack::new()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `EspSysLoopStack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EspDefaultNvs` [INFO] [stdout] --> src/main.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | let default_nvs = Arc::new(EspDefaultNvs::new()?); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EspDefaultNvs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/dht22.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | P: InputPin + OutputPin, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/dht22.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | P: InputPin + OutputPin, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/dht22.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | P: InputPin + OutputPin, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OutputPin` in this scope [INFO] [stdout] --> src/dht22.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | P: InputPin + OutputPin, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ets` in this scope [INFO] [stdout] --> src/dht22.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | Ets.delay_us(1_u32); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ets` in this scope [INFO] [stdout] --> src/dht22.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Ets.delay_ms(1_u32); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ets` in this scope [INFO] [stdout] --> src/dht22.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | Ets.delay_us(1200_u32); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ets` in this scope [INFO] [stdout] --> src/dht22.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Ets.delay_us(40_u32); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MqttClientConfiguration` in this scope [INFO] [stdout] --> src/mqtt.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let conf = MqttClientConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EspMqttClient` in this scope [INFO] [stdout] --> src/mqtt.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | client: &mut EspMqttClient, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EspNetifStack` in this scope [INFO] [stdout] --> src/wifi.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 22 | netif_stack: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EspSysLoopStack` in this scope [INFO] [stdout] --> src/wifi.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 22 | netif_stack: Arc, [INFO] [stdout] 23 | sys_loop_stack: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EspDefaultNvs` in this scope [INFO] [stdout] --> src/wifi.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 24 | default_nvs: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EspWifi` in this scope [INFO] [stdout] --> src/wifi.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 29 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ClientConfiguration` in this scope [INFO] [stdout] --> src/wifi.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | wifi.set_configuration(&Configuration::Client(ClientConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Status` in this scope [INFO] [stdout] --> src/wifi.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | if let Status( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAC` in this scope [INFO] [stdout] --> src/wifi.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | *MAC.lock().unwrap() = hex::encode(netif.unwrap().get_mac().unwrap()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAC` in this scope [INFO] [stdout] --> src/wifi.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | return (*MAC.lock().unwrap()).to_string(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/wifi.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mercury` due to 82 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "21115eaef6e9285f0c9c422a9745913ea22a0ffdbdf3c6ba9a8526bdbfecb24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21115eaef6e9285f0c9c422a9745913ea22a0ffdbdf3c6ba9a8526bdbfecb24c", kill_on_drop: false }` [INFO] [stdout] 21115eaef6e9285f0c9c422a9745913ea22a0ffdbdf3c6ba9a8526bdbfecb24c