[INFO] fetching crate esp_idf 0.1.1... [INFO] checking esp_idf-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate esp_idf 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate esp_idf 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config [INFO] started tweaking crates.io crate esp_idf 0.1.1 [INFO] finished tweaking crates.io crate esp_idf 0.1.1 [INFO] tweaked toml for crates.io crate esp_idf 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded esp_idf_dev_sys v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc5848caaf48f18860a730885e0048540bd3f58f6daa1f3d16b34b35712bb24d [INFO] running `Command { std: "docker" "start" "-a" "fc5848caaf48f18860a730885e0048540bd3f58f6daa1f3d16b34b35712bb24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc5848caaf48f18860a730885e0048540bd3f58f6daa1f3d16b34b35712bb24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc5848caaf48f18860a730885e0048540bd3f58f6daa1f3d16b34b35712bb24d", kill_on_drop: false }` [INFO] [stdout] fc5848caaf48f18860a730885e0048540bd3f58f6daa1f3d16b34b35712bb24d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69c23bc8f9a0b15b76b9d0a3d90d6d5dc4f1858c9b6b717eaa1779e9ce558515 [INFO] running `Command { std: "docker" "start" "-a" "69c23bc8f9a0b15b76b9d0a3d90d6d5dc4f1858c9b6b717eaa1779e9ce558515", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking esp_idf_dev_sys v0.1.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking esp_idf v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `WIFI_DEFAULT_TX_BA_WIN` in this scope [INFO] [stdout] --> src/wifi.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | tx_ba_win: WIFI_DEFAULT_TX_BA_WIN as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `WIFI_DEFAULT_RX_BA_WIN` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/esp_idf_dev_sys-0.1.4/src/bindings.rs:11257:1 [INFO] [stdout] | [INFO] [stdout] 11257 | pub const WIFI_DEFAULT_RX_BA_WIN: u32 = 6; [INFO] [stdout] | ------------------------------------- similarly named constant `WIFI_DEFAULT_RX_BA_WIN` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WIFI_DEFAULT_TX_BA_WIN` in this scope [INFO] [stdout] --> src/wifi.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | tx_ba_win: WIFI_DEFAULT_TX_BA_WIN as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `WIFI_DEFAULT_RX_BA_WIN` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/esp_idf_dev_sys-0.1.4/src/bindings.rs:11257:1 [INFO] [stdout] | [INFO] [stdout] 11257 | pub const WIFI_DEFAULT_RX_BA_WIN: u32 = 6; [INFO] [stdout] | ------------------------------------- similarly named constant `WIFI_DEFAULT_RX_BA_WIN` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wifi.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | event_handler: Some(esp_event_send), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "C" fn(*const i8, i32, *mut core::ffi::c_void, u32, u32) -> _` [INFO] [stdout] found fn item `unsafe extern "C" fn(*mut system_event_t) -> _ {esp_idf_dev_sys::esp_event_send}` [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut system_event_t) -> i32 {esp_idf_dev_sys::esp_event_send}` due to the type of the argument passed [INFO] [stdout] --> src/wifi.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | event_handler: Some(esp_event_send), [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `esp_idf_dev_sys::wifi_init_config_t` has no field named `tx_ba_win` [INFO] [stdout] --> src/wifi.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | tx_ba_win: WIFI_DEFAULT_TX_BA_WIN as i32, [INFO] [stdout] | ^^^^^^^^^ `esp_idf_dev_sys::wifi_init_config_t` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cache_tx_buf_num`, `feature_caps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let osi_funcs = unsafe { &mut g_wifi_osi_funcs }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | let osi_funcs = unsafe { addr_of_mut!(g_wifi_osi_funcs) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `pmf_cfg` in initializer of `esp_idf_dev_sys::wifi_sta_config_t` [INFO] [stdout] --> src/wifi.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | data: wifi_sta_config_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `pmf_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/mqtt.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn init(config: &esp_mqtt_client_config_t) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esp_idf` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/wifi.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | event_handler: Some(esp_event_send), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ incorrect number of function parameters [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `unsafe extern "C" fn(*const i8, i32, *mut core::ffi::c_void, u32, u32) -> _` [INFO] [stdout] found fn item `unsafe extern "C" fn(*mut system_event_t) -> _ {esp_idf_dev_sys::esp_event_send}` [INFO] [stdout] help: the type constructed contains `unsafe extern "C" fn(*mut system_event_t) -> i32 {esp_idf_dev_sys::esp_event_send}` due to the type of the argument passed [INFO] [stdout] --> src/wifi.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | event_handler: Some(esp_event_send), [INFO] [stdout] | ^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/option.rs:579:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `esp_idf_dev_sys::wifi_init_config_t` has no field named `tx_ba_win` [INFO] [stdout] --> src/wifi.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | tx_ba_win: WIFI_DEFAULT_TX_BA_WIN as i32, [INFO] [stdout] | ^^^^^^^^^ `esp_idf_dev_sys::wifi_init_config_t` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `cache_tx_buf_num`, `feature_caps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | let osi_funcs = unsafe { &mut g_wifi_osi_funcs }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | let osi_funcs = unsafe { addr_of_mut!(g_wifi_osi_funcs) }; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `pmf_cfg` in initializer of `esp_idf_dev_sys::wifi_sta_config_t` [INFO] [stdout] --> src/wifi.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | data: wifi_sta_config_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `pmf_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/mqtt.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn init(config: &esp_mqtt_client_config_t) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0425, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `esp_idf` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "69c23bc8f9a0b15b76b9d0a3d90d6d5dc4f1858c9b6b717eaa1779e9ce558515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69c23bc8f9a0b15b76b9d0a3d90d6d5dc4f1858c9b6b717eaa1779e9ce558515", kill_on_drop: false }` [INFO] [stdout] 69c23bc8f9a0b15b76b9d0a3d90d6d5dc4f1858c9b6b717eaa1779e9ce558515