[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] 9472882bf5c30d41a9853cfe3ae6c80612cdb1ac [INFO] testing galenguyer/mercury against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgalenguyer%2Fmercury" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/galenguyer/mercury on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-24/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-24/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbabff7e77287d93cb8adaf01bce200caa695635ea1dbb46f7c2a46df372ef2f [INFO] running `Command { std: "docker" "start" "-a" "fbabff7e77287d93cb8adaf01bce200caa695635ea1dbb46f7c2a46df372ef2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbabff7e77287d93cb8adaf01bce200caa695635ea1dbb46f7c2a46df372ef2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbabff7e77287d93cb8adaf01bce200caa695635ea1dbb46f7c2a46df372ef2f", kill_on_drop: false }` [INFO] [stdout] fbabff7e77287d93cb8adaf01bce200caa695635ea1dbb46f7c2a46df372ef2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a55ad8bf8bd89173a43bb8cfd4d0ca6ed66a6f8ff50ed5c6f80649c1cd395f7 [INFO] running `Command { std: "docker" "start" "-a" "1a55ad8bf8bd89173a43bb8cfd4d0ca6ed66a6f8ff50ed5c6f80649c1cd395f7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling zero v0.1.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling xmas-elf v0.8.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [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.5 [INFO] [stderr] Compiling mercury v1.1.2 (/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:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | 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:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | .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:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | 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:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 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:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | 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:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | 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:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | 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:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | 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:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | 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:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | ) -> 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:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | ..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:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | 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:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | ) -> 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:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | 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:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | 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:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | 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:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | 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:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | _ => 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:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | 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:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | ..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:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | 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:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | 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:73:65 [INFO] [stdout] | [INFO] [stdout] 73 | 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:104:32 [INFO] [stdout] | [INFO] [stdout] 104 | *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:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | 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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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 `EspNetifStack` [INFO] [stdout] --> src/main.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | 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:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let default_nvs = Arc::new(EspDefaultNvs::new()?); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EspDefaultNvs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Peripherals` [INFO] [stdout] --> src/main.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let peripherals = Peripherals::take().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Peripherals` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `InputPin` in this scope [INFO] [stdout] --> src/dht22.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | 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:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | 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:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | 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:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | 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:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | 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:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | 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:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | 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:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | 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:23:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 23 | 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:24:25 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 23 | netif_stack: Arc, [INFO] [stdout] 24 | 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:25:22 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 25 | 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:30:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn connect( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | ) -> 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:51:51 [INFO] [stdout] | [INFO] [stdout] 51 | 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:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | 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:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | *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:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | 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 80 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 81 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1a55ad8bf8bd89173a43bb8cfd4d0ca6ed66a6f8ff50ed5c6f80649c1cd395f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a55ad8bf8bd89173a43bb8cfd4d0ca6ed66a6f8ff50ed5c6f80649c1cd395f7", kill_on_drop: false }` [INFO] [stdout] 1a55ad8bf8bd89173a43bb8cfd4d0ca6ed66a6f8ff50ed5c6f80649c1cd395f7