2023-09-20T21:24:04,039 Created temporary directory: /tmp/pip-build-tracker-q344haam 2023-09-20T21:24:04,041 Initialized build tracking at /tmp/pip-build-tracker-q344haam 2023-09-20T21:24:04,041 Created build tracker: /tmp/pip-build-tracker-q344haam 2023-09-20T21:24:04,041 Entered build tracker: /tmp/pip-build-tracker-q344haam 2023-09-20T21:24:04,042 Created temporary directory: /tmp/pip-wheel-m35kkwte 2023-09-20T21:24:04,045 Created temporary directory: /tmp/pip-ephem-wheel-cache-c2ud6vw9 2023-09-20T21:24:04,067 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-20T21:24:04,071 2 location(s) to search for versions of comportlist: 2023-09-20T21:24:04,071 * https://pypi.org/simple/comportlist/ 2023-09-20T21:24:04,071 * https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:04,072 Fetching project page and analyzing links: https://pypi.org/simple/comportlist/ 2023-09-20T21:24:04,072 Getting page https://pypi.org/simple/comportlist/ 2023-09-20T21:24:04,074 Found index url https://pypi.org/simple/ 2023-09-20T21:24:04,215 Fetched page https://pypi.org/simple/comportlist/ as application/vnd.pypi.simple.v1+json 2023-09-20T21:24:04,216 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:04,217 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:04,218 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:04,219 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:04,219 Fetching project page and analyzing links: https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:04,220 Getting page https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:04,221 Found index url https://www.piwheels.org/simple/ 2023-09-20T21:24:04,482 Fetched page https://www.piwheels.org/simple/comportlist/ as text/html 2023-09-20T21:24:04,483 Skipping link: not a file: https://www.piwheels.org/simple/comportlist/ 2023-09-20T21:24:04,483 Skipping link: not a file: https://pypi.org/simple/comportlist/ 2023-09-20T21:24:04,501 Given no hashes to check 1 links for project 'comportlist': discarding no candidates 2023-09-20T21:24:04,519 Collecting comportlist==0.1.1 2023-09-20T21:24:04,522 Created temporary directory: /tmp/pip-unpack-z4f7klhy 2023-09-20T21:24:04,738 Downloading comportlist-0.1.1.tar.gz (1.1 kB) 2023-09-20T21:24:04,751 Added comportlist==0.1.1 from https://files.pythonhosted.org/packages/69/fd/299ed76dc63df934c2afee18964e6d4ca5e8e1e843ba4b52308eee2a6f81/comportlist-0.1.1.tar.gz to build tracker '/tmp/pip-build-tracker-q344haam' 2023-09-20T21:24:04,755 Created temporary directory: /tmp/pip-build-env-ovq2egfi 2023-09-20T21:24:04,760 Installing build dependencies: started 2023-09-20T21:24:04,761 Running command pip subprocess to install build dependencies 2023-09-20T21:24:05,888 Using pip 23.2.1 from /usr/local/lib/python3.11/dist-packages/pip (python 3.11) 2023-09-20T21:24:06,373 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-09-20T21:24:07,746 Collecting maturin<0.13,>=0.12 2023-09-20T21:24:08,356 Using cached https://www.piwheels.org/simple/maturin/maturin-0.12.20-cp311-cp311-linux_armv7l.whl (8.3 MB) 2023-09-20T21:24:10,841 Installing collected packages: maturin 2023-09-20T21:24:11,483 Creating /tmp/pip-build-env-ovq2egfi/overlay/local/bin 2023-09-20T21:24:11,485 changing mode of /tmp/pip-build-env-ovq2egfi/overlay/local/bin/maturin to 755 2023-09-20T21:24:11,497 Successfully installed maturin-0.12.20 2023-09-20T21:24:12,014 Installing build dependencies: finished with status 'done' 2023-09-20T21:24:12,017 Getting requirements to build wheel: started 2023-09-20T21:24:12,018 Running command Getting requirements to build wheel 2023-09-20T21:24:12,218 Getting requirements to build wheel: finished with status 'done' 2023-09-20T21:24:12,221 Created temporary directory: /tmp/pip-modern-metadata-vrcmt84_ 2023-09-20T21:24:12,223 Preparing metadata (pyproject.toml): started 2023-09-20T21:24:12,224 Running command Preparing metadata (pyproject.toml) 2023-09-20T21:24:14,017 🔗 Found pyo3 bindings 2023-09-20T21:24:14,017 🐍 Found CPython 3.11 at /usr/bin/python3 2023-09-20T21:24:14,018 comportlist-0.1.1.dist-info 2023-09-20T21:24:14,018 Checking for Rust toolchain.... 2023-09-20T21:24:14,019 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-vrcmt84_ --interpreter /usr/bin/python3` 2023-09-20T21:24:14,041 Preparing metadata (pyproject.toml): finished with status 'done' 2023-09-20T21:24:14,045 Source in /tmp/pip-wheel-m35kkwte/comportlist_96b7584eea3d404bad70bff92d6f90c6 has version 0.1.1, which satisfies requirement comportlist==0.1.1 from https://files.pythonhosted.org/packages/69/fd/299ed76dc63df934c2afee18964e6d4ca5e8e1e843ba4b52308eee2a6f81/comportlist-0.1.1.tar.gz 2023-09-20T21:24:14,046 Removed comportlist==0.1.1 from https://files.pythonhosted.org/packages/69/fd/299ed76dc63df934c2afee18964e6d4ca5e8e1e843ba4b52308eee2a6f81/comportlist-0.1.1.tar.gz from build tracker '/tmp/pip-build-tracker-q344haam' 2023-09-20T21:24:14,051 Created temporary directory: /tmp/pip-unpack-7050_k4i 2023-09-20T21:24:14,052 Created temporary directory: /tmp/pip-unpack-_ow08v5x 2023-09-20T21:24:14,054 Building wheels for collected packages: comportlist 2023-09-20T21:24:14,058 Created temporary directory: /tmp/pip-wheel-pf0bftss 2023-09-20T21:24:14,058 Destination directory: /tmp/pip-wheel-pf0bftss 2023-09-20T21:24:14,061 Building wheel for comportlist (pyproject.toml): started 2023-09-20T21:24:14,062 Running command Building wheel for comportlist (pyproject.toml) 2023-09-20T21:24:14,225 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-09-20T21:24:15,694 Compiling target-lexicon v0.12.11 2023-09-20T21:24:15,695 Compiling once_cell v1.18.0 2023-09-20T21:24:15,696 Compiling proc-macro2 v1.0.67 2023-09-20T21:24:15,696 Compiling unicode-ident v1.0.12 2023-09-20T21:24:16,112 Compiling libc v0.2.148 2023-09-20T21:24:17,301 Compiling syn v1.0.109 2023-09-20T21:24:18,827 Compiling autocfg v1.1.0 2023-09-20T21:24:21,849 Compiling lock_api v0.4.10 2023-09-20T21:24:23,075 Compiling quote v1.0.33 2023-09-20T21:24:23,513 Compiling pyo3-build-config v0.16.6 2023-09-20T21:24:25,477 Compiling parking_lot_core v0.9.8 2023-09-20T21:24:27,088 Compiling scopeguard v1.2.0 2023-09-20T21:24:27,432 Compiling smallvec v1.11.1 2023-09-20T21:24:29,569 Compiling winapi v0.3.9 2023-09-20T21:24:29,664 Compiling cfg-if v1.0.0 2023-09-20T21:24:34,017 Compiling unindent v0.1.11 2023-09-20T21:24:35,648 Compiling parking_lot v0.12.1 2023-09-20T21:24:36,275 Compiling indoc v1.0.9 2023-09-20T21:24:40,286 Compiling comportlist v0.1.4 2023-09-20T21:24:40,854 error: could not compile `comportlist` (lib) due to 56 previous errors 2023-09-20T21:24:40,856 warning: build failed, waiting for other jobs to finish... 2023-09-20T21:25:00,375 💥 maturin failed 2023-09-20T21:25:00,375 Caused by: Failed to build a native library through cargo 2023-09-20T21:25:00,377 Caused by: Cargo build finished with "exit status: 101": `cargo rustc --manifest-path Cargo.toml --message-format json --release --lib --` 2023-09-20T21:25:00,378 🔗 Found pyo3 bindings 2023-09-20T21:25:00,379 🐍 Found CPython 3.11 at /usr/bin/python3 2023-09-20T21:25:00,379 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:25:00,380 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:4:13 2023-09-20T21:25:00,381 | 2023-09-20T21:25:00,382 4 | use winapi::shared::guiddef::*; 2023-09-20T21:25:00,382 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:25:00,385 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:25:00,385 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:5:13 2023-09-20T21:25:00,386 | 2023-09-20T21:25:00,387 5 | use winapi::shared::minwindef::*; 2023-09-20T21:25:00,388 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:25:00,390 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:25:00,390 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:6:13 2023-09-20T21:25:00,391 | 2023-09-20T21:25:00,391 6 | use winapi::shared::ntdef::CHAR; 2023-09-20T21:25:00,392 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:25:00,394 error[E0433]: failed to resolve: could not find `shared` in `winapi` 2023-09-20T21:25:00,394 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:7:13 2023-09-20T21:25:00,395 | 2023-09-20T21:25:00,396 7 | use winapi::shared::winerror::*; 2023-09-20T21:25:00,396 | ^^^^^^ could not find `shared` in `winapi` 2023-09-20T21:25:00,398 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:25:00,399 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:8:13 2023-09-20T21:25:00,400 | 2023-09-20T21:25:00,401 8 | use winapi::um::cguid::GUID_NULL; 2023-09-20T21:25:00,401 | ^^ could not find `um` in `winapi` 2023-09-20T21:25:00,404 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:25:00,404 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:9:13 2023-09-20T21:25:00,405 | 2023-09-20T21:25:00,405 9 | use winapi::um::errhandlingapi::GetLastError; 2023-09-20T21:25:00,406 | ^^ could not find `um` in `winapi` 2023-09-20T21:25:00,407 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:25:00,408 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:10:13 2023-09-20T21:25:00,408 | 2023-09-20T21:25:00,409 10 | use winapi::um::setupapi::*; 2023-09-20T21:25:00,409 | ^^ could not find `um` in `winapi` 2023-09-20T21:25:00,411 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:25:00,411 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:11:13 2023-09-20T21:25:00,412 | 2023-09-20T21:25:00,412 11 | use winapi::um::winnt::KEY_READ; 2023-09-20T21:25:00,413 | ^^ could not find `um` in `winapi` 2023-09-20T21:25:00,414 error[E0433]: failed to resolve: could not find `um` in `winapi` 2023-09-20T21:25:00,414 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:12:13 2023-09-20T21:25:00,415 | 2023-09-20T21:25:00,415 12 | use winapi::um::winreg::*; 2023-09-20T21:25:00,416 | ^^ could not find `um` in `winapi` 2023-09-20T21:25:00,417 error[E0412]: cannot find type `HDEVINFO` in this scope 2023-09-20T21:25:00,418 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:48:10 2023-09-20T21:25:00,418 | 2023-09-20T21:25:00,419 48 | hdi: HDEVINFO, 2023-09-20T21:25:00,419 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,421 error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:25:00,422 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:51:23 2023-09-20T21:25:00,422 | 2023-09-20T21:25:00,423 51 | pub devinfo_data: SP_DEVINFO_DATA, 2023-09-20T21:25:00,423 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,424 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:25:00,425 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:63:36 2023-09-20T21:25:00,425 | 2023-09-20T21:25:00,425 63 | let mut result_buf = [0i8; MAX_PATH]; 2023-09-20T21:25:00,426 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,427 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,427 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:69:43 2023-09-20T21:25:00,427 | 2023-09-20T21:25:00,428 69 | (result_buf.len() - 1) as DWORD, 2023-09-20T21:25:00,428 | ^^^^^ not found in this scope 2023-09-20T21:25:00,429 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:25:00,430 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:73:19 2023-09-20T21:25:00,430 | 2023-09-20T21:25:00,431 73 | if res == FALSE { 2023-09-20T21:25:00,431 | ^^^^^ not found in this scope 2023-09-20T21:25:00,431 | 2023-09-20T21:25:00,432 help: you may want to use a bool value instead 2023-09-20T21:25:00,432 | 2023-09-20T21:25:00,433 73 | if res == false { 2023-09-20T21:25:00,433 | ~~~~~ 2023-09-20T21:25:00,435 error[E0425]: cannot find value `SPDRP_HARDWAREID` in this scope 2023-09-20T21:25:00,435 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:75:27 2023-09-20T21:25:00,436 | 2023-09-20T21:25:00,436 75 | self.property(SPDRP_HARDWAREID) 2023-09-20T21:25:00,437 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,438 error[E0425]: cannot find value `DICS_FLAG_GLOBAL` in this scope 2023-09-20T21:25:00,439 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:93:17 2023-09-20T21:25:00,439 | 2023-09-20T21:25:00,440 93 | DICS_FLAG_GLOBAL, 2023-09-20T21:25:00,440 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,442 error[E0425]: cannot find value `DIREG_DEV` in this scope 2023-09-20T21:25:00,442 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:95:17 2023-09-20T21:25:00,443 | 2023-09-20T21:25:00,443 95 | DIREG_DEV, 2023-09-20T21:25:00,444 | ^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,445 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:25:00,446 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:99:42 2023-09-20T21:25:00,446 | 2023-09-20T21:25:00,447 99 | let mut port_name_buffer = [0u8; MAX_PATH]; 2023-09-20T21:25:00,447 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,449 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,449 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:100:59 2023-09-20T21:25:00,450 | 2023-09-20T21:25:00,450 100 | let mut port_name_len = port_name_buffer.len() as DWORD; 2023-09-20T21:25:00,451 | ^^^^^ not found in this scope 2023-09-20T21:25:00,452 error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope 2023-09-20T21:25:00,453 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:131:65 2023-09-20T21:25:00,454 | 2023-09-20T21:25:00,454 131 | serial_number: {if let Some(ss) = self.property(SPDRP_FRIENDLYNAME){ 2023-09-20T21:25:00,454 | ^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,455 error[E0425]: cannot find value `SPDRP_MFG` in this scope 2023-09-20T21:25:00,456 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:142:45 2023-09-20T21:25:00,456 | 2023-09-20T21:25:00,457 142 | manufacturer: self.property(SPDRP_MFG), 2023-09-20T21:25:00,457 | ^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,458 error[E0425]: cannot find value `SPDRP_FRIENDLYNAME` in this scope 2023-09-20T21:25:00,458 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:143:40 2023-09-20T21:25:00,459 | 2023-09-20T21:25:00,459 143 | product: self.property(SPDRP_FRIENDLYNAME), 2023-09-20T21:25:00,459 | ^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,461 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,461 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:150:41 2023-09-20T21:25:00,461 | 2023-09-20T21:25:00,462 150 | fn property(&mut self, property_id: DWORD) -> Option { 2023-09-20T21:25:00,462 | ^^^^^ not found in this scope 2023-09-20T21:25:00,464 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:25:00,464 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:151:36 2023-09-20T21:25:00,465 | 2023-09-20T21:25:00,465 151 | let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH]; 2023-09-20T21:25:00,466 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,467 error[E0425]: cannot find value `MAX_PATH` in this scope 2023-09-20T21:25:00,468 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:151:52 2023-09-20T21:25:00,468 | 2023-09-20T21:25:00,468 151 | let mut result_buf: [CHAR; MAX_PATH] = [0; MAX_PATH]; 2023-09-20T21:25:00,469 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,470 error[E0412]: cannot find type `PBYTE` in this scope 2023-09-20T21:25:00,471 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:158:44 2023-09-20T21:25:00,471 | 2023-09-20T21:25:00,472 158 | result_buf.as_mut_ptr() as PBYTE, 2023-09-20T21:25:00,472 | ^^^^^ not found in this scope 2023-09-20T21:25:00,474 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,474 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:159:43 2023-09-20T21:25:00,475 | 2023-09-20T21:25:00,475 159 | (result_buf.len() - 1) as DWORD, 2023-09-20T21:25:00,476 | ^^^^^ not found in this scope 2023-09-20T21:25:00,477 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:25:00,478 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:163:19 2023-09-20T21:25:00,478 | 2023-09-20T21:25:00,479 163 | if res == FALSE { 2023-09-20T21:25:00,479 | ^^^^^ not found in this scope 2023-09-20T21:25:00,480 | 2023-09-20T21:25:00,480 help: you may want to use a bool value instead 2023-09-20T21:25:00,481 | 2023-09-20T21:25:00,481 163 | if res == false { 2023-09-20T21:25:00,482 | ~~~~~ 2023-09-20T21:25:00,483 error[E0425]: cannot find value `ERROR_INSUFFICIENT_BUFFER` in this scope 2023-09-20T21:25:00,483 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:164:45 2023-09-20T21:25:00,484 | 2023-09-20T21:25:00,484 164 | if unsafe { GetLastError() } != ERROR_INSUFFICIENT_BUFFER { 2023-09-20T21:25:00,485 | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,486 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:25:00,486 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:178:54 2023-09-20T21:25:00,486 | 2023-09-20T21:25:00,487 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:25:00,487 | ^^^^ not found in this scope 2023-09-20T21:25:00,487 | 2023-09-20T21:25:00,488 help: you might be missing a type parameter 2023-09-20T21:25:00,488 | 2023-09-20T21:25:00,489 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:25:00,489 | ++++++ 2023-09-20T21:25:00,490 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:25:00,491 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:180:26 2023-09-20T21:25:00,491 | 2023-09-20T21:25:00,491 180 | let mut allguid: Vec = Vec::new(); 2023-09-20T21:25:00,492 | ^^^^ not found in this scope 2023-09-20T21:25:00,492 | 2023-09-20T21:25:00,493 help: you might be missing a type parameter 2023-09-20T21:25:00,493 | 2023-09-20T21:25:00,494 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:25:00,494 | ++++++ 2023-09-20T21:25:00,495 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,496 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:186:28 2023-09-20T21:25:00,496 | 2023-09-20T21:25:00,497 186 | let mut num_guids: DWORD = 0; 2023-09-20T21:25:00,497 | ^^^^^ not found in this scope 2023-09-20T21:25:00,499 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:25:00,499 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:187:28 2023-09-20T21:25:00,500 | 2023-09-20T21:25:00,500 187 | let mut guids: Vec = Vec::new(); 2023-09-20T21:25:00,501 | ^^^^ not found in this scope 2023-09-20T21:25:00,502 | 2023-09-20T21:25:00,502 help: you might be missing a type parameter 2023-09-20T21:25:00,503 | 2023-09-20T21:25:00,503 178 | fn get_ports_guids(serchkey:Vec<&str>) -> Option> { 2023-09-20T21:25:00,504 | ++++++ 2023-09-20T21:25:00,506 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,506 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:196:32 2023-09-20T21:25:00,507 | 2023-09-20T21:25:00,508 196 | guids.len() as DWORD, 2023-09-20T21:25:00,508 | ^^^^^ not found in this scope 2023-09-20T21:25:00,510 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:25:00,511 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:200:19 2023-09-20T21:25:00,512 | 2023-09-20T21:25:00,512 200 | if res == FALSE { 2023-09-20T21:25:00,513 | ^^^^^ not found in this scope 2023-09-20T21:25:00,514 | 2023-09-20T21:25:00,514 help: you may want to use a bool value instead 2023-09-20T21:25:00,515 | 2023-09-20T21:25:00,516 200 | if res == false { 2023-09-20T21:25:00,517 | ~~~~~ 2023-09-20T21:25:00,518 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,518 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:220:36 2023-09-20T21:25:00,519 | 2023-09-20T21:25:00,519 220 | guids.len() as DWORD, 2023-09-20T21:25:00,520 | ^^^^^ not found in this scope 2023-09-20T21:25:00,522 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:25:00,522 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:224:23 2023-09-20T21:25:00,522 | 2023-09-20T21:25:00,523 224 | if res == FALSE { 2023-09-20T21:25:00,523 | ^^^^^ not found in this scope 2023-09-20T21:25:00,524 | 2023-09-20T21:25:00,524 help: you may want to use a bool value instead 2023-09-20T21:25:00,525 | 2023-09-20T21:25:00,525 224 | if res == false { 2023-09-20T21:25:00,526 | ~~~~~ 2023-09-20T21:25:00,527 error[E0412]: cannot find type `HDEVINFO` in this scope 2023-09-20T21:25:00,528 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:264:10 2023-09-20T21:25:00,528 | 2023-09-20T21:25:00,529 264 | hdi: HDEVINFO, 2023-09-20T21:25:00,530 | ^^^^^^^^ not found in this scope 2023-09-20T21:25:00,531 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,532 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:267:14 2023-09-20T21:25:00,533 | 2023-09-20T21:25:00,533 267 | dev_idx: DWORD, 2023-09-20T21:25:00,534 | ^^^^^ not found in this scope 2023-09-20T21:25:00,536 error[E0412]: cannot find type `GUID` in this scope 2023-09-20T21:25:00,537 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:272:23 2023-09-20T21:25:00,537 | 2023-09-20T21:25:00,538 272 | pub fn new(guid: &GUID) -> Self { 2023-09-20T21:25:00,538 | ^^^^ not found in this scope 2023-09-20T21:25:00,540 error[E0425]: cannot find value `DIGCF_PRESENT` in this scope 2023-09-20T21:25:00,541 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:274:84 2023-09-20T21:25:00,542 | 2023-09-20T21:25:00,542 274 | hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) }, 2023-09-20T21:25:00,543 | ^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,545 error[E0422]: cannot find struct, variant or union type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:25:00,546 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:287:27 2023-09-20T21:25:00,546 | 2023-09-20T21:25:00,547 287 | devinfo_data: SP_DEVINFO_DATA { 2023-09-20T21:25:00,547 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,549 error[E0412]: cannot find type `SP_DEVINFO_DATA` in this scope 2023-09-20T21:25:00,550 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:288:40 2023-09-20T21:25:00,550 | 2023-09-20T21:25:00,551 288 | cbSize: mem::size_of::() as DWORD, 2023-09-20T21:25:00,552 | ^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,552 | 2023-09-20T21:25:00,553 help: you might be missing a type parameter 2023-09-20T21:25:00,554 | 2023-09-20T21:25:00,554 279 | impl Iterator for PortDevices { 2023-09-20T21:25:00,555 | +++++++++++++++++ 2023-09-20T21:25:00,557 error[E0412]: cannot find type `DWORD` in this scope 2023-09-20T21:25:00,558 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:288:62 2023-09-20T21:25:00,558 | 2023-09-20T21:25:00,559 288 | cbSize: mem::size_of::() as DWORD, 2023-09-20T21:25:00,559 | ^^^^^ not found in this scope 2023-09-20T21:25:00,560 error[E0425]: cannot find value `FALSE` in this scope 2023-09-20T21:25:00,561 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:296:19 2023-09-20T21:25:00,561 | 2023-09-20T21:25:00,562 296 | if res == FALSE { 2023-09-20T21:25:00,562 | ^^^^^ not found in this scope 2023-09-20T21:25:00,563 | 2023-09-20T21:25:00,563 help: you may want to use a bool value instead 2023-09-20T21:25:00,564 | 2023-09-20T21:25:00,564 296 | if res == false { 2023-09-20T21:25:00,565 | ~~~~~ 2023-09-20T21:25:00,566 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceInstanceIdA` in this scope 2023-09-20T21:25:00,567 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:65:13 2023-09-20T21:25:00,567 | 2023-09-20T21:25:00,568 65 | SetupDiGetDeviceInstanceIdA( 2023-09-20T21:25:00,568 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,570 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiOpenDevRegKey` in this scope 2023-09-20T21:25:00,571 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:90:13 2023-09-20T21:25:00,571 | 2023-09-20T21:25:00,572 90 | SetupDiOpenDevRegKey( 2023-09-20T21:25:00,573 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,575 error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExA` in this scope 2023-09-20T21:25:00,576 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:103:13 2023-09-20T21:25:00,576 | 2023-09-20T21:25:00,577 103 | RegQueryValueExA( 2023-09-20T21:25:00,578 | ^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,580 error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope 2023-09-20T21:25:00,580 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:112:18 2023-09-20T21:25:00,581 | 2023-09-20T21:25:00,582 112 | unsafe { RegCloseKey(hkey) }; 2023-09-20T21:25:00,582 | ^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,584 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetDeviceRegistryPropertyA` in this scope 2023-09-20T21:25:00,585 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:153:13 2023-09-20T21:25:00,585 | 2023-09-20T21:25:00,586 153 | SetupDiGetDeviceRegistryPropertyA( 2023-09-20T21:25:00,587 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,588 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope 2023-09-20T21:25:00,589 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:193:13 2023-09-20T21:25:00,590 | 2023-09-20T21:25:00,590 193 | SetupDiClassGuidsFromNameA( 2023-09-20T21:25:00,591 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,593 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiClassGuidsFromNameA` in this scope 2023-09-20T21:25:00,594 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:217:17 2023-09-20T21:25:00,594 | 2023-09-20T21:25:00,595 217 | SetupDiClassGuidsFromNameA( 2023-09-20T21:25:00,596 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,597 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiGetClassDevsA` in this scope 2023-09-20T21:25:00,598 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:274:27 2023-09-20T21:25:00,598 | 2023-09-20T21:25:00,599 274 | hdi: unsafe { SetupDiGetClassDevsA(guid, ptr::null(), ptr::null_mut(), DIGCF_PRESENT) }, 2023-09-20T21:25:00,599 | ^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,600 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiEnumDeviceInfo` in this scope 2023-09-20T21:25:00,601 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:295:22 2023-09-20T21:25:00,601 | 2023-09-20T21:25:00,601 295 | unsafe { SetupDiEnumDeviceInfo(self.hdi, self.dev_idx, &mut port_dev.devinfo_data) }; 2023-09-20T21:25:00,602 | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,603 error[E0425]: cannot find function, tuple struct or tuple variant `SetupDiDestroyDeviceInfoList` in this scope 2023-09-20T21:25:00,603 --> /home/piwheels/.cargo/registry/src/index.crates.io-1cd66030c949c28d/comportlist-0.1.4/src/lib.rs:309:13 2023-09-20T21:25:00,604 | 2023-09-20T21:25:00,604 309 | SetupDiDestroyDeviceInfoList(self.hdi); 2023-09-20T21:25:00,604 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope 2023-09-20T21:25:00,606 error: aborting due to 55 previous errors 2023-09-20T21:25:00,608 Some errors have detailed explanations: E0412, E0422, E0425, E0433. 2023-09-20T21:25:00,608 For more information about an error, try `rustc --explain E0412`. 2023-09-20T21:25:00,609 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2023-09-20T21:25:00,611 ERROR: [present-rich] Building wheel for comportlist (pyproject.toml) exited with 1 2023-09-20T21:25:00,624 [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/tmp39jcdha1[/] 2023-09-20T21:25:00,625 [bold magenta]cwd[/]: /tmp/pip-wheel-m35kkwte/comportlist_96b7584eea3d404bad70bff92d6f90c6 2023-09-20T21:25:00,626 Building wheel for comportlist (pyproject.toml): finished with status 'error' 2023-09-20T21:25:00,628 ERROR: Failed building wheel for comportlist 2023-09-20T21:25:00,630 Failed to build comportlist 2023-09-20T21:25:00,632 ERROR: Failed to build one or more wheels 2023-09-20T21:25:00,633 Exception information: 2023-09-20T21:25:00,633 Traceback (most recent call last): 2023-09-20T21:25:00,633 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper 2023-09-20T21:25:00,633 status = run_func(*args) 2023-09-20T21:25:00,633 ^^^^^^^^^^^^^^^ 2023-09-20T21:25:00,633 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/cli/req_command.py", line 248, in wrapper 2023-09-20T21:25:00,633 return func(self, options, args) 2023-09-20T21:25:00,633 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2023-09-20T21:25:00,633 File "/usr/local/lib/python3.11/dist-packages/pip/_internal/commands/wheel.py", line 181, in run 2023-09-20T21:25:00,633 raise CommandError("Failed to build one or more wheels") 2023-09-20T21:25:00,633 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-09-20T21:25:00,637 Removed build tracker: '/tmp/pip-build-tracker-q344haam'