2023-09-20T21:23:59,773 Created temporary directory: /tmp/pip-build-tracker-7da0pvoa 2023-09-20T21:23:59,774 Initialized build tracking at /tmp/pip-build-tracker-7da0pvoa 2023-09-20T21:23:59,775 Created build tracker: /tmp/pip-build-tracker-7da0pvoa 2023-09-20T21:23:59,775 Entered build tracker: /tmp/pip-build-tracker-7da0pvoa 2023-09-20T21:23:59,776 Created temporary directory: /tmp/pip-wheel-p08epjc7 2023-09-20T21:23:59,779 Created temporary directory: /tmp/pip-ephem-wheel-cache-h515qi1a 2023-09-20T21:23:59,801 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-20T21:23:59,804 2 location(s) to search for versions of comportlist: 2023-09-20T21:23:59,804 * https://pypi.org/simple/comportlist/ 2023-09-20T21:23:59,804 * https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:23:59,806 Fetching project page and analyzing links: https://pypi.org/simple/comportlist/ 2023-09-20T21:23:59,806 Getting page https://pypi.org/simple/comportlist/ 2023-09-20T21:23:59,808 Found index url https://pypi.org/simple/ 2023-09-20T21:24:00,031 Fetched page https://pypi.org/simple/comportlist/ as application/vnd.pypi.simple.v1+json 2023-09-20T21:24:00,033 Skipping link: No binaries permitted for comportlist: https://files.pythonhosted.org/packages/7e/9e/80a4e998c69726ea63aea78a21c5940de96b2467a26227306d757fcf46db/comportlist-0.1.0-cp38-none-win_amd64.whl (from https://pypi.org/simple/comportlist/) (requires-python:>=3.6) 2023-09-20T21:24:00,034 Found link https://files.pythonhosted.org/packages/80/3d/a5e6150eb33e69dc80da40304e232b90de9781d54f8d41b00df60f131a81/comportlist-0.1.0.tar.gz (from https://pypi.org/simple/comportlist/) (requires-python:>=3.6), version: 0.1.0 2023-09-20T21:24:00,035 Skipping link: No binaries permitted for comportlist: https://files.pythonhosted.org/packages/ec/eb/7a0d10cda808ebd03dd85de0d73d94564e20d68de5d25fd82fe0888a5a07/comportlist-0.1.1-cp38-none-win_amd64.whl (from https://pypi.org/simple/comportlist/) (requires-python:>=3.6) 2023-09-20T21:24:00,036 Found link https://files.pythonhosted.org/packages/69/fd/299ed76dc63df934c2afee18964e6d4ca5e8e1e843ba4b52308eee2a6f81/comportlist-0.1.1.tar.gz (from https://pypi.org/simple/comportlist/) (requires-python:>=3.6), version: 0.1.1 2023-09-20T21:24:00,037 Fetching project page and analyzing links: https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:00,037 Getting page https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:00,039 Found index url https://www.piwheels.org/simple/ 2023-09-20T21:24:00,308 Fetched page https://www.piwheels.org/simple/comportlist/ as text/html 2023-09-20T21:24:00,309 Skipping link: not a file: https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:00,310 Skipping link: not a file: https://pypi.org/simple/comportlist/ 2023-09-20T21:24:00,328 Given no hashes to check 1 links for project 'comportlist': discarding no candidates 2023-09-20T21:24:00,346 Collecting comportlist==0.1.0 2023-09-20T21:24:00,349 Created temporary directory: /tmp/pip-unpack-ig9dy7rk 2023-09-20T21:24:00,892 Downloading comportlist-0.1.0.tar.gz (965 bytes) 2023-09-20T21:24:00,909 Added comportlist==0.1.0 from https://files.pythonhosted.org/packages/80/3d/a5e6150eb33e69dc80da40304e232b90de9781d54f8d41b00df60f131a81/comportlist-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-7da0pvoa' 2023-09-20T21:24:00,916 Created temporary directory: /tmp/pip-build-env-3frh0svw 2023-09-20T21:24:00,923 Installing build dependencies: started 2023-09-20T21:24:00,926 Running command pip subprocess to install build dependencies 2023-09-20T21:24:02,118 Using pip 23.2.1 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11) 2023-09-20T21:24:02,603 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-20T21:24:03,995 Collecting maturin<0.13,>=0.12 2023-09-20T21:24:04,585 Using cached https://www.piwheels.org/simple/maturin/maturin-0.12.20-cp311-cp311-linux_armv7l.whl (8.3 MB) 2023-09-20T21:24:07,059 Installing collected packages: maturin 2023-09-20T21:24:07,715 Creating /tmp/pip-build-env-3frh0svw/overlay/local/bin 2023-09-20T21:24:07,717 changing mode of /tmp/pip-build-env-3frh0svw/overlay/local/bin/maturin to 755 2023-09-20T21:24:07,729 Successfully installed maturin-0.12.20 2023-09-20T21:24:08,294 Installing build dependencies: finished with status 'done' 2023-09-20T21:24:08,297 Getting requirements to build wheel: started 2023-09-20T21:24:08,298 Running command Getting requirements to build wheel 2023-09-20T21:24:08,492 Getting requirements to build wheel: finished with status 'done' 2023-09-20T21:24:08,495 Created temporary directory: /tmp/pip-modern-metadata-undnurow 2023-09-20T21:24:08,497 Preparing metadata (pyproject.toml): started 2023-09-20T21:24:08,498 Running command Preparing metadata (pyproject.toml) 2023-09-20T21:24:12,110 🔗 Found pyo3 bindings 2023-09-20T21:24:12,110 🐍 Found CPython 3.11 at /usr/bin/python3 2023-09-20T21:24:12,111 comportlist-0.1.0.dist-info 2023-09-20T21:24:12,111 Checking for Rust toolchain.... 2023-09-20T21:24:12,112 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-undnurow --interpreter /usr/bin/python3` 2023-09-20T21:24:12,134 Preparing metadata (pyproject.toml): finished with status 'done' 2023-09-20T21:24:12,138 Source in /tmp/pip-wheel-p08epjc7/comportlist_89afc8073c404c338e6398c47d921cf5 has version 0.1.0, which satisfies requirement comportlist==0.1.0 from https://files.pythonhosted.org/packages/80/3d/a5e6150eb33e69dc80da40304e232b90de9781d54f8d41b00df60f131a81/comportlist-0.1.0.tar.gz 2023-09-20T21:24:12,139 Removed comportlist==0.1.0 from https://files.pythonhosted.org/packages/80/3d/a5e6150eb33e69dc80da40304e232b90de9781d54f8d41b00df60f131a81/comportlist-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-7da0pvoa' 2023-09-20T21:24:12,144 Created temporary directory: /tmp/pip-unpack-2zzfdptc 2023-09-20T21:24:12,145 Created temporary directory: /tmp/pip-unpack-e8lnt12j 2023-09-20T21:24:12,147 Building wheels for collected packages: comportlist 2023-09-20T21:24:12,151 Created temporary directory: /tmp/pip-wheel-k4f50l0k 2023-09-20T21:24:12,151 Destination directory: /tmp/pip-wheel-k4f50l0k 2023-09-20T21:24:12,154 Building wheel for comportlist (pyproject.toml): started 2023-09-20T21:24:12,155 Running command Building wheel for comportlist (pyproject.toml) 2023-09-20T21:24:12,318 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-09-20T21:24:14,066 Compiling target-lexicon v0.12.11 2023-09-20T21:24:14,067 Compiling proc-macro2 v1.0.67 2023-09-20T21:24:14,068 Compiling once_cell v1.18.0 2023-09-20T21:24:14,069 Compiling libc v0.2.148 2023-09-20T21:24:15,653 Compiling unicode-ident v1.0.12 2023-09-20T21:24:16,134 Compiling autocfg v1.1.0 2023-09-20T21:24:16,896 Compiling syn v1.0.109 2023-09-20T21:24:19,464 Compiling lock_api v0.4.10 2023-09-20T21:24:20,619 Compiling quote v1.0.33 2023-09-20T21:24:21,543 Compiling pyo3-build-config v0.16.6 2023-09-20T21:24:23,587 Compiling parking_lot_core v0.9.8 2023-09-20T21:24:25,267 Compiling cfg-if v1.0.0 2023-09-20T21:24:25,423 Compiling winapi v0.3.9 2023-09-20T21:24:28,371 Compiling smallvec v1.11.1 2023-09-20T21:24:29,304 Compiling scopeguard v1.2.0 2023-09-20T21:24:31,956 Compiling parking_lot v0.12.1 2023-09-20T21:24:33,737 Compiling indoc v1.0.9 2023-09-20T21:24:37,891 Compiling unindent v0.1.11 2023-09-20T21:24:39,194 Compiling pyo3-ffi v0.16.6 2023-09-20T21:24:40,066 Compiling pyo3 v0.16.6 2023-09-20T21:24:41,418 Compiling comportlist v0.1.4 2023-09-20T21:24:41,964 error: could not compile `comportlist` (lib) due to 56 previous errors 2023-09-20T21:24:41,964 warning: build failed, waiting for other jobs to finish... 2023-09-20T21:24:59,667 💥 maturin failed 2023-09-20T21:24:59,668 Caused by: Failed to build a native library through cargo 2023-09-20T21:24:59,669 Caused by: Cargo build finished with "exit status: 101": `cargo rustc --manifest-path Cargo.toml --message-format json --release --lib --` 2023-09-20T21:24:59,670 🔗 Found pyo3 bindings 2023-09-20T21:24:59,671 🐍 Found CPython 3.11 at /usr/bin/python3 2023-09-20T21:24:59,672 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:24:59,673 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:4:13 2023-09-20T21:24:59,673 | 2023-09-20T21:24:59,674 4 | use winapi::shared::guiddef::*; 2023-09-20T21:24:59,675 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:24:59,677 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:24:59,678 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:5:13 2023-09-20T21:24:59,679 | 2023-09-20T21:24:59,679 5 | use winapi::shared::minwindef::*; 2023-09-20T21:24:59,680 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:24:59,682 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:24:59,683 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:6:13 2023-09-20T21:24:59,683 | 2023-09-20T21:24:59,684 6 | use winapi::shared::ntdef::CHAR; 2023-09-20T21:24:59,684 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:24:59,686 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:24:59,687 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:7:13 2023-09-20T21:24:59,688 | 2023-09-20T21:24:59,689 7 | use winapi::shared::winerror::*; 2023-09-20T21:24:59,689 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:24:59,692 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:24:59,693 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:8:13 2023-09-20T21:24:59,694 | 2023-09-20T21:24:59,694 8 | use winapi::um::cguid::GUID_NULL; 2023-09-20T21:24:59,695 | ^^ could not find `um` in `winapi` 2023-09-20T21:24:59,697 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:24:59,698 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:9:13 2023-09-20T21:24:59,698 | 2023-09-20T21:24:59,699 9 | use winapi::um::errhandlingapi::GetLastError; 2023-09-20T21:24:59,699 | ^^ could not find `um` in `winapi` 2023-09-20T21:24:59,701 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:24:59,701 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:10:13 2023-09-20T21:24:59,702 | 2023-09-20T21:24:59,703 10 | use winapi::um::setupapi::*; 2023-09-20T21:24:59,703 | ^^ could not find `um` in `winapi` 2023-09-20T21:24:59,704 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:24:59,705 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:11:13 2023-09-20T21:24:59,705 | 2023-09-20T21:24:59,706 11 | use winapi::um::winnt::KEY_READ; 2023-09-20T21:24:59,706 | ^^ could not find `um` in `winapi` 2023-09-20T21:24:59,708 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:24:59,708 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:12:13 2023-09-20T21:24:59,709 | 2023-09-20T21:24:59,709 12 | use winapi::um::winreg::*; 2023-09-20T21:24:59,710 | ^^ could not find `um` in `winapi` 2023-09-20T21:24:59,712 error[E0412]: cannot find type `HDEVINFO` in this scope 2023-09-20T21:24:59,712 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:48:10 2023-09-20T21:24:59,713 | 2023-09-20T21:24:59,713 48 | hdi: HDEVINFO, 2023-09-20T21:24:59,714 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,715 error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:24:59,716 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:51:23 2023-09-20T21:24:59,716 | 2023-09-20T21:24:59,716 51 | pub devinfo_data: SP_DEVINFO_DATA, 2023-09-20T21:24:59,717 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,718 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:24:59,718 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:63:36 2023-09-20T21:24:59,719 | 2023-09-20T21:24:59,719 63 | let mut result_buf = [0i8; MAX_PATH]; 2023-09-20T21:24:59,719 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,720 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,721 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:69:43 2023-09-20T21:24:59,721 | 2023-09-20T21:24:59,722 69 | (result_buf.len() - 1) as DWORD, 2023-09-20T21:24:59,722 | ^^^^^ not found in this scope 2023-09-20T21:24:59,723 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:24:59,723 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:73:19 2023-09-20T21:24:59,724 | 2023-09-20T21:24:59,724 73 | if res == FALSE { 2023-09-20T21:24:59,725 | ^^^^^ not found in this scope 2023-09-20T21:24:59,725 | 2023-09-20T21:24:59,726 help: you may want to use a bool value instead 2023-09-20T21:24:59,726 | 2023-09-20T21:24:59,727 73 | if res == false { 2023-09-20T21:24:59,727 | ~~~~~ 2023-09-20T21:24:59,729 error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope 2023-09-20T21:24:59,730 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:75:27 2023-09-20T21:24:59,730 | 2023-09-20T21:24:59,731 75 | self.property(SPDRP_HARDWAREID) 2023-09-20T21:24:59,731 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,733 error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope 2023-09-20T21:24:59,734 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:93:17 2023-09-20T21:24:59,734 | 2023-09-20T21:24:59,735 93 | DICS_FLAG_GLOBAL, 2023-09-20T21:24:59,735 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,737 error[E0425]: cannot find value `DIREG_DEV` in this scope 2023-09-20T21:24:59,737 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:95:17 2023-09-20T21:24:59,738 | 2023-09-20T21:24:59,738 95 | DIREG_DEV, 2023-09-20T21:24:59,739 | ^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,740 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:24:59,741 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:99:42 2023-09-20T21:24:59,741 | 2023-09-20T21:24:59,742 99 | let mut port_name_buffer = [0u8; MAX_PATH]; 2023-09-20T21:24:59,742 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,744 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,744 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:100:59 2023-09-20T21:24:59,745 | 2023-09-20T21:24:59,745 100 | let mut port_name_len = port_name_buffer.len() as DWORD; 2023-09-20T21:24:59,746 | ^^^^^ not found in this scope 2023-09-20T21:24:59,748 error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope 2023-09-20T21:24:59,748 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:131:65 2023-09-20T21:24:59,748 | 2023-09-20T21:24:59,749 131 | serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){ 2023-09-20T21:24:59,749 | ^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,750 error[E0425]: cannot find value `SPDRP_MFG` in this scope 2023-09-20T21:24:59,751 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:142:45 2023-09-20T21:24:59,751 | 2023-09-20T21:24:59,751 142 | manufacturer: self.property(SPDRP_MFG), 2023-09-20T21:24:59,752 | ^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,753 error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope 2023-09-20T21:24:59,753 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:143:40 2023-09-20T21:24:59,754 | 2023-09-20T21:24:59,754 143 | product: self.property(SPDRP_FRIENDLYNAME), 2023-09-20T21:24:59,754 | ^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,755 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,756 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:150:41 2023-09-20T21:24:59,756 | 2023-09-20T21:24:59,757 150 | fn property(&mut self, property_id: DWORD) -> Option { 2023-09-20T21:24:59,757 | ^^^^^ not found in this scope 2023-09-20T21:24:59,759 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:24:59,759 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:151:36 2023-09-20T21:24:59,760 | 2023-09-20T21:24:59,761 151 | let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH]; 2023-09-20T21:24:59,761 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,763 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:24:59,764 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:151:52 2023-09-20T21:24:59,764 | 2023-09-20T21:24:59,765 151 | let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH]; 2023-09-20T21:24:59,765 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,767 error[E0412]: cannot find type `PBYTE` in this scope 2023-09-20T21:24:59,767 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:158:44 2023-09-20T21:24:59,768 | 2023-09-20T21:24:59,768 158 | result_buf.as_mut_ptr() as PBYTE, 2023-09-20T21:24:59,769 | ^^^^^ not found in this scope 2023-09-20T21:24:59,770 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,771 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:159:43 2023-09-20T21:24:59,771 | 2023-09-20T21:24:59,772 159 | (result_buf.len() - 1) as DWORD, 2023-09-20T21:24:59,772 | ^^^^^ not found in this scope 2023-09-20T21:24:59,774 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:24:59,774 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:163:19 2023-09-20T21:24:59,775 | 2023-09-20T21:24:59,775 163 | if res == FALSE { 2023-09-20T21:24:59,776 | ^^^^^ not found in this scope 2023-09-20T21:24:59,776 | 2023-09-20T21:24:59,777 help: you may want to use a bool value instead 2023-09-20T21:24:59,777 | 2023-09-20T21:24:59,778 163 | if res == false { 2023-09-20T21:24:59,778 | ~~~~~ 2023-09-20T21:24:59,779 error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope 2023-09-20T21:24:59,779 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:164:45 2023-09-20T21:24:59,780 | 2023-09-20T21:24:59,780 164 | if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER { 2023-09-20T21:24:59,780 | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,782 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:24:59,782 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:178:54 2023-09-20T21:24:59,782 | 2023-09-20T21:24:59,783 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:24:59,783 | ^^^^ not found in this scope 2023-09-20T21:24:59,783 | 2023-09-20T21:24:59,784 help: you might be missing a type parameter 2023-09-20T21:24:59,784 | 2023-09-20T21:24:59,784 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:24:59,785 | ++++++ 2023-09-20T21:24:59,786 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:24:59,786 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:180:26 2023-09-20T21:24:59,787 | 2023-09-20T21:24:59,787 180 | let mut allguid: Vec = Vec::new(); 2023-09-20T21:24:59,787 | ^^^^ not found in this scope 2023-09-20T21:24:59,788 | 2023-09-20T21:24:59,788 help: you might be missing a type parameter 2023-09-20T21:24:59,789 | 2023-09-20T21:24:59,790 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:24:59,790 | ++++++ 2023-09-20T21:24:59,792 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,792 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:186:28 2023-09-20T21:24:59,793 | 2023-09-20T21:24:59,794 186 | let mut num_guids: DWORD = 0; 2023-09-20T21:24:59,794 | ^^^^^ not found in this scope 2023-09-20T21:24:59,796 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:24:59,796 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:187:28 2023-09-20T21:24:59,797 | 2023-09-20T21:24:59,797 187 | let mut guids: Vec = Vec::new(); 2023-09-20T21:24:59,798 | ^^^^ not found in this scope 2023-09-20T21:24:59,798 | 2023-09-20T21:24:59,799 help: you might be missing a type parameter 2023-09-20T21:24:59,799 | 2023-09-20T21:24:59,800 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:24:59,800 | ++++++ 2023-09-20T21:24:59,802 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,802 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:196:32 2023-09-20T21:24:59,803 | 2023-09-20T21:24:59,803 196 | guids.len() as DWORD, 2023-09-20T21:24:59,804 | ^^^^^ not found in this scope 2023-09-20T21:24:59,805 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:24:59,806 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:200:19 2023-09-20T21:24:59,806 | 2023-09-20T21:24:59,807 200 | if res == FALSE { 2023-09-20T21:24:59,807 | ^^^^^ not found in this scope 2023-09-20T21:24:59,808 | 2023-09-20T21:24:59,809 help: you may want to use a bool value instead 2023-09-20T21:24:59,809 | 2023-09-20T21:24:59,810 200 | if res == false { 2023-09-20T21:24:59,810 | ~~~~~ 2023-09-20T21:24:59,811 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,811 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:220:36 2023-09-20T21:24:59,812 | 2023-09-20T21:24:59,812 220 | guids.len() as DWORD, 2023-09-20T21:24:59,812 | ^^^^^ not found in this scope 2023-09-20T21:24:59,813 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:24:59,814 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:224:23 2023-09-20T21:24:59,814 | 2023-09-20T21:24:59,815 224 | if res == FALSE { 2023-09-20T21:24:59,815 | ^^^^^ not found in this scope 2023-09-20T21:24:59,815 | 2023-09-20T21:24:59,816 help: you may want to use a bool value instead 2023-09-20T21:24:59,816 | 2023-09-20T21:24:59,816 224 | if res == false { 2023-09-20T21:24:59,817 | ~~~~~ 2023-09-20T21:24:59,818 error[E0412]: cannot find type `HDEVINFO` in this scope 2023-09-20T21:24:59,819 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:264:10 2023-09-20T21:24:59,820 | 2023-09-20T21:24:59,820 264 | hdi: HDEVINFO, 2023-09-20T21:24:59,821 | ^^^^^^^^ not found in this scope 2023-09-20T21:24:59,822 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,823 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:267:14 2023-09-20T21:24:59,823 | 2023-09-20T21:24:59,824 267 | dev_idx: DWORD, 2023-09-20T21:24:59,824 | ^^^^^ not found in this scope 2023-09-20T21:24:59,826 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:24:59,827 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:272:23 2023-09-20T21:24:59,827 | 2023-09-20T21:24:59,828 272 | pub fn new(guid: &GUID) -> Self { 2023-09-20T21:24:59,828 | ^^^^ not found in this scope 2023-09-20T21:24:59,831 error[E0425]: cannot find value `DIGCF_PRESENT` in this scope 2023-09-20T21:24:59,870 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:274:84 2023-09-20T21:24:59,871 | 2023-09-20T21:24:59,871 274 | hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) }, 2023-09-20T21:24:59,872 | ^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,873 error[E0422]: cannot find struct, variant or union type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:24:59,874 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:287:27 2023-09-20T21:24:59,874 | 2023-09-20T21:24:59,875 287 | devinfo_data: SP_DEVINFO_DATA { 2023-09-20T21:24:59,875 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,876 error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:24:59,877 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:288:40 2023-09-20T21:24:59,877 | 2023-09-20T21:24:59,878 288 | cbSize: mem::size_of::() as DWORD, 2023-09-20T21:24:59,879 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,879 | 2023-09-20T21:24:59,880 help: you might be missing a type parameter 2023-09-20T21:24:59,880 | 2023-09-20T21:24:59,881 279 | impl Iterator for PortDevices { 2023-09-20T21:24:59,882 | +++++++++++++++++ 2023-09-20T21:24:59,883 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:24:59,883 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:288:62 2023-09-20T21:24:59,883 | 2023-09-20T21:24:59,884 288 | cbSize: mem::size_of::() as DWORD, 2023-09-20T21:24:59,884 | ^^^^^ not found in this scope 2023-09-20T21:24:59,885 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:24:59,885 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:296:19 2023-09-20T21:24:59,886 | 2023-09-20T21:24:59,886 296 | if res == FALSE { 2023-09-20T21:24:59,886 | ^^^^^ not found in this scope 2023-09-20T21:24:59,887 | 2023-09-20T21:24:59,887 help: you may want to use a bool value instead 2023-09-20T21:24:59,887 | 2023-09-20T21:24:59,888 296 | if res == false { 2023-09-20T21:24:59,888 | ~~~~~ 2023-09-20T21:24:59,889 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope 2023-09-20T21:24:59,890 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:65:13 2023-09-20T21:24:59,890 | 2023-09-20T21:24:59,890 65 | SetupDiGetDeviceInstanceIdA( 2023-09-20T21:24:59,891 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,892 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiOpenDevRegKey` in this scope 2023-09-20T21:24:59,893 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:90:13 2023-09-20T21:24:59,893 | 2023-09-20T21:24:59,894 90 | SetupDiOpenDevRegKey( 2023-09-20T21:24:59,895 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,896 error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope 2023-09-20T21:24:59,897 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:103:13 2023-09-20T21:24:59,897 | 2023-09-20T21:24:59,898 103 | RegQueryValueExA( 2023-09-20T21:24:59,898 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,900 error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope 2023-09-20T21:24:59,901 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:112:18 2023-09-20T21:24:59,901 | 2023-09-20T21:24:59,902 112 | unsafe { RegCloseKey(hkey) }; 2023-09-20T21:24:59,902 | ^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,904 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyA` in this scope 2023-09-20T21:24:59,904 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:153:13 2023-09-20T21:24:59,905 | 2023-09-20T21:24:59,905 153 | SetupDiGetDeviceRegistryPropertyA( 2023-09-20T21:24:59,906 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,907 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope 2023-09-20T21:24:59,908 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:193:13 2023-09-20T21:24:59,908 | 2023-09-20T21:24:59,909 193 | SetupDiClassGuidsFromNameA( 2023-09-20T21:24:59,909 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,911 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope 2023-09-20T21:24:59,912 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:217:17 2023-09-20T21:24:59,913 | 2023-09-20T21:24:59,913 217 | SetupDiClassGuidsFromNameA( 2023-09-20T21:24:59,913 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,914 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope 2023-09-20T21:24:59,915 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:274:27 2023-09-20T21:24:59,915 | 2023-09-20T21:24:59,915 274 | hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) }, 2023-09-20T21:24:59,916 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,917 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInfo` in this scope 2023-09-20T21:24:59,917 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:295:22 2023-09-20T21:24:59,917 | 2023-09-20T21:24:59,918 295 | unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) }; 2023-09-20T21:24:59,918 | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,919 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope 2023-09-20T21:24:59,920 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:309:13 2023-09-20T21:24:59,920 | 2023-09-20T21:24:59,921 309 | SetupDiDestroyDeviceInfoList(self.hdi); 2023-09-20T21:24:59,921 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:24:59,923 error: aborting due to 55 previous errors 2023-09-20T21:24:59,925 Some errors have detailed explanations: E0412, E0422, E0425, E0433. 2023-09-20T21:24:59,926 For more information about an error, try `rustc --explain E0412`. 2023-09-20T21:24:59,927 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2023-09-20T21:24:59,928 ERROR: [present-rich] Building wheel for comportlist (pyproject.toml) exited with 1 2023-09-20T21:24:59,942 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.11/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmplkhqr5o4[/] 2023-09-20T21:24:59,943 [bold magenta]cwd[/]: /tmp/pip-wheel-p08epjc7/comportlist_89afc8073c404c338e6398c47d921cf5 2023-09-20T21:24:59,943 Building wheel for comportlist (pyproject.toml): finished with status 'error' 2023-09-20T21:24:59,946 ERROR: Failed building wheel for comportlist 2023-09-20T21:24:59,948 Failed to build comportlist 2023-09-20T21:24:59,950 ERROR: Failed to build one or more wheels 2023-09-20T21:24:59,951 Exception information: 2023-09-20T21:24:59,951 Traceback (most recent call last): 2023-09-20T21:24:59,951 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-20T21:24:59,951 status = run_func(*args) 2023-09-20T21:24:59,951 ^^^^^^^^^^^^^^^ 2023-09-20T21:24:59,951 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-20T21:24:59,951 return func(self, options, args) 2023-09-20T21:24:59,951 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-20T21:24:59,951 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-20T21:24:59,951 raise CommandError("Failed to build one or more wheels") 2023-09-20T21:24:59,951 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-20T21:24:59,955 Removed build tracker: '/tmp/pip-build-tracker-7da0pvoa'