[INFO] fetching crate esp_idf 0.1.1...
[INFO] checking esp_idf-0.1.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate esp_idf 0.1.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate esp_idf 0.1.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8388a5cab5c89d4fada3b6ce8fab5b02958a1100e899b42dd43a18d9cabff95
[INFO] running `Command { std: "docker" "start" "-a" "f8388a5cab5c89d4fada3b6ce8fab5b02958a1100e899b42dd43a18d9cabff95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8388a5cab5c89d4fada3b6ce8fab5b02958a1100e899b42dd43a18d9cabff95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8388a5cab5c89d4fada3b6ce8fab5b02958a1100e899b42dd43a18d9cabff95", kill_on_drop: false }`
[INFO] [stdout] f8388a5cab5c89d4fada3b6ce8fab5b02958a1100e899b42dd43a18d9cabff95
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa5b91de24c1508f80a5d0e41506b3a08d517d815ea75d285cac2f04616c87d8
[INFO] running `Command { std: "docker" "start" "-a" "fa5b91de24c1508f80a5d0e41506b3a08d517d815ea75d285cac2f04616c87d8", kill_on_drop: false }`
[INFO] [stderr]     Checking esp_idf_dev_sys v0.1.4
[INFO] [stderr]     Checking cty v0.2.2
[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/5518eaa946291f00471af8b254b2a1715f234882/library/core/src/option.rs:578: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: mutable reference of 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 of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; 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] error: aborting due to 4 previous errors; 1 warning 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; 1 warning 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/5518eaa946291f00471af8b254b2a1715f234882/library/core/src/option.rs:578: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: mutable reference of 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 of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; 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] error: aborting due to 4 previous errors; 1 warning 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; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fa5b91de24c1508f80a5d0e41506b3a08d517d815ea75d285cac2f04616c87d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa5b91de24c1508f80a5d0e41506b3a08d517d815ea75d285cac2f04616c87d8", kill_on_drop: false }`
[INFO] [stdout] fa5b91de24c1508f80a5d0e41506b3a08d517d815ea75d285cac2f04616c87d8
[INFO] checking esp_idf-0.1.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate esp_idf 0.1.1 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate esp_idf 0.1.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 66797528feb709be1ff8bc56678f0829d65d21d60344d43cfd7b1a46e2251115
[INFO] running `Command { std: "docker" "start" "-a" "66797528feb709be1ff8bc56678f0829d65d21d60344d43cfd7b1a46e2251115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66797528feb709be1ff8bc56678f0829d65d21d60344d43cfd7b1a46e2251115", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66797528feb709be1ff8bc56678f0829d65d21d60344d43cfd7b1a46e2251115", kill_on_drop: false }`
[INFO] [stdout] 66797528feb709be1ff8bc56678f0829d65d21d60344d43cfd7b1a46e2251115
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8859a138332e5dea765bd1cebeabe512a56ca41b5850272175ef441ba967e5df
[INFO] running `Command { std: "docker" "start" "-a" "8859a138332e5dea765bd1cebeabe512a56ca41b5850272175ef441ba967e5df", kill_on_drop: false }`
[INFO] [stderr]     Checking esp_idf_dev_sys v0.1.4
[INFO] [stderr]     Checking cty v0.2.2
[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/7622c0f807a4e13c4db886a1681bf343795692df/library/core/src/option.rs:578: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: mutable reference of 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 of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; 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] error: aborting due to 4 previous errors; 1 warning 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; 1 warning 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/7622c0f807a4e13c4db886a1681bf343795692df/library/core/src/option.rs:578: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: mutable reference of 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 of mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see issue #114447 <https://github.com/rust-lang/rust/issues/114447>
[INFO] [stdout]    = note: reference of mutable static is a hard error from 2024 edition
[INFO] [stdout]    = note: mutable statics can be written to by multiple threads: aliasing violations or data races will cause undefined behavior
[INFO] [stdout]    = note: `#[warn(static_mut_ref)]` on by default
[INFO] [stdout] help: mutable references are dangerous since if there's any other pointer or reference used for that static while the reference lives, that's UB; 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] error: aborting due to 4 previous errors; 1 warning 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; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8859a138332e5dea765bd1cebeabe512a56ca41b5850272175ef441ba967e5df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8859a138332e5dea765bd1cebeabe512a56ca41b5850272175ef441ba967e5df", kill_on_drop: false }`
[INFO] [stdout] 8859a138332e5dea765bd1cebeabe512a56ca41b5850272175ef441ba967e5df
