[INFO] cloning repository https://github.com/bjoernQ/bl602-wifi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjoernQ/bl602-wifi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fbl602-wifi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fbl602-wifi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ef80af0a00a9bdea9fa3da219f3f5809ba7b5d5 [INFO] checking bjoernQ/bl602-wifi-rs/5ef80af0a00a9bdea9fa3da219f3f5809ba7b5d5 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FbjoernQ%2Fbl602-wifi-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjoernQ/bl602-wifi-rs 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-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/bjoernQ/bl602-wifi-rs [INFO] finished tweaking git repo https://github.com/bjoernQ/bl602-wifi-rs [INFO] tweaked toml for git repo https://github.com/bjoernQ/bl602-wifi-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bjoernQ/bl602-wifi-rs already has a lockfile, it will not be regenerated [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] Updating git repository `https://github.com/bjoernQ/riscv-rt` [INFO] [stderr] Updating git repository `https://github.com/sipeed/bl602-hal` [INFO] [stderr] Updating git repository `https://github.com/bjoernQ/ble-hci` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/sipeed/bl602-pac` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded riscv-target v0.1.2 [INFO] [stderr] Downloaded managed v0.7.2 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded riscv v0.6.0 [INFO] [stderr] Downloaded embedded-hal v0.2.6 [INFO] [stderr] Downloaded embedded-time v0.12.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.5 [INFO] [stderr] Downloaded riscv v0.7.0 [INFO] [stderr] Downloaded smoltcp v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e6b8eb87568e37578a53acd717ac99ca550f5b0f3393a87b6966dc83783d21d [INFO] running `Command { std: "docker" "start" "-a" "9e6b8eb87568e37578a53acd717ac99ca550f5b0f3393a87b6966dc83783d21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e6b8eb87568e37578a53acd717ac99ca550f5b0f3393a87b6966dc83783d21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6b8eb87568e37578a53acd717ac99ca550f5b0f3393a87b6966dc83783d21d", kill_on_drop: false }` [INFO] [stdout] 9e6b8eb87568e37578a53acd717ac99ca550f5b0f3393a87b6966dc83783d21d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f52e16ecf72a7dacc5e1fe2fca04fae6f21f5da839c40c177e6e2d9f03adffd2 [INFO] running `Command { std: "docker" "start" "-a" "f52e16ecf72a7dacc5e1fe2fca04fae6f21f5da839c40c177e6e2d9f03adffd2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bl602-pac v0.1.0 (https://github.com/sipeed/bl602-pac?branch=main#4c8e6985) [INFO] [stderr] Checking bare-metal v1.0.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling bl602wifi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking managed v0.7.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v1.0.0-alpha.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking ble-hci v0.1.0 (https://github.com/bjoernQ/ble-hci#bd07cb74) [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking smoltcp v0.7.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-rational v0.3.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling riscv-target v0.1.2 [INFO] [stderr] Compiling riscv v0.6.0 [INFO] [stderr] Compiling bl602-hal v0.1.0 (https://github.com/sipeed/bl602-hal?rev=dfc9946e79ea4dac18be11efce11d0592a8517fb#dfc9946e) [INFO] [stderr] Compiling riscv v0.7.0 [INFO] [stderr] Compiling riscv-rt v0.8.0 (https://github.com/bjoernQ/riscv-rt?branch=support-ilp32f#ef373496) [INFO] [stderr] Compiling riscv-rt-macros v0.1.6 (https://github.com/bjoernQ/riscv-rt?branch=support-ilp32f#ef373496) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/compat/common.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | &mut ERRNO [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] 319 | addr_of_mut!(ERRNO) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/compat/common.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | &mut ERRNO [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] 319 | addr_of_mut!(ERRNO) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/preemt/mod.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | CTX_TASKS[i].trap_frame.sp = &TASK_STACK as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | CTX_TASKS[i].trap_frame.sp = addr_of!(TASK_STACK) as *const _ as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/preemt/mod.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | CTX_TASKS[i].trap_frame.sp = &TASK_STACK as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 79 | CTX_TASKS[i].trap_frame.sp = addr_of!(TASK_STACK) as *const _ as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/preemt/mod.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | CTX_TASKS[i].trap_frame.sp = &TASK_STACK as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 64 | CTX_TASKS[i].trap_frame.sp = addr_of!(TASK_STACK) as *const _ as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/preemt/mod.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | CTX_TASKS[i].trap_frame.sp = &TASK_STACK as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^ shared 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 shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 79 | CTX_TASKS[i].trap_frame.sp = addr_of!(TASK_STACK) as *const _ as usize [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let mut sbss = &mut __wifi_bss_start as *mut u32; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 55 | let mut sbss = addr_of_mut!(__wifi_bss_start) as *mut u32; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let ebss = &mut __wifi_bss_end as *mut u32; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | let ebss = addr_of_mut!(__wifi_bss_end) as *mut u32; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | let mut sbss = &mut __wifi_bss_start as *mut u32; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 55 | let mut sbss = addr_of_mut!(__wifi_bss_start) as *mut u32; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let ebss = &mut __wifi_bss_end as *mut u32; [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 56 | let ebss = addr_of_mut!(__wifi_bss_end) as *mut u32; [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | (&mut TX_BUFFER as *mut u8).offset(128), [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 323 | (addr_of_mut!(TX_BUFFER) as *mut u8).offset(128), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/wifi/mod.rs:323:26 [INFO] [stdout] | [INFO] [stdout] 323 | (&mut TX_BUFFER as *mut u8).offset(128), [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] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 323 | (addr_of_mut!(TX_BUFFER) as *mut u8).offset(128), [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os_adapter.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut timer = &mut EMULATED_TIMER[timerid as usize - 1].unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/os_adapter.rs:435:9 [INFO] [stdout] | [INFO] [stdout] 435 | let mut timer = &mut EMULATED_TIMER[timerid as usize - 1].unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `wifi_mgmr_scan_ap_all` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:1730:5 [INFO] [stdout] | [INFO] [stdout] 1730 | / pub fn wifi_mgmr_scan_ap_all( [INFO] [stdout] 1731 | | env: *mut wifi_mgmr_ap_item_t, [INFO] [stdout] 1732 | | param1: *mut u32, [INFO] [stdout] 1733 | | cb: scan_item_cb_t, [INFO] [stdout] 1734 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |_______________________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:1727:5 [INFO] [stdout] | [INFO] [stdout] 1727 | / pub fn wifi_mgmr_scan_ap_all( [INFO] [stdout] 1728 | | env: *mut wifi_mgmr_ap_item_t, [INFO] [stdout] 1729 | | param1: *mut u32, [INFO] [stdout] 1730 | | cb: scan_item_cb_t, [INFO] [stdout] 1731 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |________________________________________- `wifi_mgmr_scan_ap_all` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::wifi_mgmr_ap_item, *mut u32, Option) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::wifi_mgmr_ap_item, *mut u32, Option) -> i32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_init` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2061:5 [INFO] [stdout] | [INFO] [stdout] 2061 | / pub fn stateM_init( [INFO] [stdout] 2062 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2063 | | initialState: *const state, [INFO] [stdout] 2064 | | errorState: *const state, [INFO] [stdout] 2065 | | ); [INFO] [stdout] | |______^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2058:5 [INFO] [stdout] | [INFO] [stdout] 2058 | / pub fn stateM_init( [INFO] [stdout] 2059 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2060 | | initialState: *const state, [INFO] [stdout] 2061 | | errorState: *const state, [INFO] [stdout] 2062 | | ); [INFO] [stdout] | |_______- `stateM_init` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine, *const binary::wifi_mgmr::state, *const binary::wifi_mgmr::state)` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine, *const wifi_mgmr_api::state, *const wifi_mgmr_api::state)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_handleEvent` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2115:5 [INFO] [stdout] | [INFO] [stdout] 2115 | / pub fn stateM_handleEvent( [INFO] [stdout] 2116 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2117 | | event: *mut event, [INFO] [stdout] 2118 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |_______________________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2112:5 [INFO] [stdout] | [INFO] [stdout] 2112 | / pub fn stateM_handleEvent( [INFO] [stdout] 2113 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2114 | | event: *mut event, [INFO] [stdout] 2115 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |________________________________________- `stateM_handleEvent` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine, *mut binary::wifi_mgmr::event) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine, *mut wifi_mgmr_api::event) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_currentState` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2127:5 [INFO] [stdout] | [INFO] [stdout] 2127 | pub fn stateM_currentState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2124:5 [INFO] [stdout] | [INFO] [stdout] 2124 | pub fn stateM_currentState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ---------------------------------------------------------------------------- `stateM_currentState` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> *const binary::wifi_mgmr::state` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> *const wifi_mgmr_api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_previousState` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2137:5 [INFO] [stdout] | [INFO] [stdout] 2137 | pub fn stateM_previousState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2134:5 [INFO] [stdout] | [INFO] [stdout] 2134 | pub fn stateM_previousState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ----------------------------------------------------------------------------- `stateM_previousState` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> *const binary::wifi_mgmr::state` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> *const wifi_mgmr_api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_stopped` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2147:5 [INFO] [stdout] | [INFO] [stdout] 2147 | pub fn stateM_stopped(stateMachine: *mut stateMachine) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2144:5 [INFO] [stdout] | [INFO] [stdout] 2144 | pub fn stateM_stopped(stateMachine: *mut stateMachine) -> bool; [INFO] [stdout] | --------------------------------------------------------------- `stateM_stopped` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> bool` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `wifi_mgmr_scan_ap_all` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:1730:5 [INFO] [stdout] | [INFO] [stdout] 1730 | / pub fn wifi_mgmr_scan_ap_all( [INFO] [stdout] 1731 | | env: *mut wifi_mgmr_ap_item_t, [INFO] [stdout] 1732 | | param1: *mut u32, [INFO] [stdout] 1733 | | cb: scan_item_cb_t, [INFO] [stdout] 1734 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |_______________________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:1727:5 [INFO] [stdout] | [INFO] [stdout] 1727 | / pub fn wifi_mgmr_scan_ap_all( [INFO] [stdout] 1728 | | env: *mut wifi_mgmr_ap_item_t, [INFO] [stdout] 1729 | | param1: *mut u32, [INFO] [stdout] 1730 | | cb: scan_item_cb_t, [INFO] [stdout] 1731 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |________________________________________- `wifi_mgmr_scan_ap_all` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::wifi_mgmr_ap_item, *mut u32, Option) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::wifi_mgmr_ap_item, *mut u32, Option) -> i32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_init` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2061:5 [INFO] [stdout] | [INFO] [stdout] 2061 | / pub fn stateM_init( [INFO] [stdout] 2062 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2063 | | initialState: *const state, [INFO] [stdout] 2064 | | errorState: *const state, [INFO] [stdout] 2065 | | ); [INFO] [stdout] | |______^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2058:5 [INFO] [stdout] | [INFO] [stdout] 2058 | / pub fn stateM_init( [INFO] [stdout] 2059 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2060 | | initialState: *const state, [INFO] [stdout] 2061 | | errorState: *const state, [INFO] [stdout] 2062 | | ); [INFO] [stdout] | |_______- `stateM_init` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine, *const binary::wifi_mgmr::state, *const binary::wifi_mgmr::state)` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine, *const wifi_mgmr_api::state, *const wifi_mgmr_api::state)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_handleEvent` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2115:5 [INFO] [stdout] | [INFO] [stdout] 2115 | / pub fn stateM_handleEvent( [INFO] [stdout] 2116 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2117 | | event: *mut event, [INFO] [stdout] 2118 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |_______________________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2112:5 [INFO] [stdout] | [INFO] [stdout] 2112 | / pub fn stateM_handleEvent( [INFO] [stdout] 2113 | | stateMachine: *mut stateMachine, [INFO] [stdout] 2114 | | event: *mut event, [INFO] [stdout] 2115 | | ) -> crate::binary::c_types::c_int; [INFO] [stdout] | |________________________________________- `stateM_handleEvent` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine, *mut binary::wifi_mgmr::event) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine, *mut wifi_mgmr_api::event) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_currentState` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2127:5 [INFO] [stdout] | [INFO] [stdout] 2127 | pub fn stateM_currentState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2124:5 [INFO] [stdout] | [INFO] [stdout] 2124 | pub fn stateM_currentState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ---------------------------------------------------------------------------- `stateM_currentState` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> *const binary::wifi_mgmr::state` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> *const wifi_mgmr_api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_previousState` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2137:5 [INFO] [stdout] | [INFO] [stdout] 2137 | pub fn stateM_previousState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2134:5 [INFO] [stdout] | [INFO] [stdout] 2134 | pub fn stateM_previousState(stateMachine: *mut stateMachine) -> *const state; [INFO] [stdout] | ----------------------------------------------------------------------------- `stateM_previousState` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> *const binary::wifi_mgmr::state` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> *const wifi_mgmr_api::state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `stateM_stopped` redeclared with a different signature [INFO] [stdout] --> src/binary/wifi_mgmr_api.rs:2147:5 [INFO] [stdout] | [INFO] [stdout] 2147 | pub fn stateM_stopped(stateMachine: *mut stateMachine) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/binary/wifi_mgmr.rs:2144:5 [INFO] [stdout] | [INFO] [stdout] 2144 | pub fn stateM_stopped(stateMachine: *mut stateMachine) -> bool; [INFO] [stdout] | --------------------------------------------------------------- `stateM_stopped` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut binary::wifi_mgmr::stateMachine) -> bool` [INFO] [stdout] found `unsafe extern "C" fn(*mut wifi_mgmr_api::stateMachine) -> bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bl602wifi` (example "scan") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bl602wifi` (example "ble_advertising") due to 2 previous errors [INFO] [stderr] error: could not compile `bl602wifi` (example "simple") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bl602wifi` (example "dhcp") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f52e16ecf72a7dacc5e1fe2fca04fae6f21f5da839c40c177e6e2d9f03adffd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52e16ecf72a7dacc5e1fe2fca04fae6f21f5da839c40c177e6e2d9f03adffd2", kill_on_drop: false }` [INFO] [stdout] f52e16ecf72a7dacc5e1fe2fca04fae6f21f5da839c40c177e6e2d9f03adffd2