2023-04-08T15:44:05,097 Created temporary directory: /tmp/pip-ephem-wheel-cache-85fn2igb 2023-04-08T15:44:05,103 Created temporary directory: /tmp/pip-build-tracker-5wdithqn 2023-04-08T15:44:05,103 Initialized build tracking at /tmp/pip-build-tracker-5wdithqn 2023-04-08T15:44:05,104 Created build tracker: /tmp/pip-build-tracker-5wdithqn 2023-04-08T15:44:05,104 Entered build tracker: /tmp/pip-build-tracker-5wdithqn 2023-04-08T15:44:05,105 Created temporary directory: /tmp/pip-wheel-5artc35n 2023-04-08T15:44:05,115 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-04-08T15:44:05,121 Created temporary directory: /tmp/pip-ephem-wheel-cache-to3tjdm6 2023-04-08T15:44:05,175 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-04-08T15:44:05,182 2 location(s) to search for versions of food-scanner: 2023-04-08T15:44:05,182 * https://pypi.org/simple/food-scanner/ 2023-04-08T15:44:05,182 * https://www.piwheels.org/simple/food-scanner/ 2023-04-08T15:44:05,183 Fetching project page and analyzing links: https://pypi.org/simple/food-scanner/ 2023-04-08T15:44:05,184 Getting page https://pypi.org/simple/food-scanner/ 2023-04-08T15:44:05,187 Found index url https://pypi.org/simple 2023-04-08T15:44:05,374 Fetched page https://pypi.org/simple/food-scanner/ as application/vnd.pypi.simple.v1+json 2023-04-08T15:44:05,377 Skipping link: No binaries permitted for food-scanner: https://files.pythonhosted.org/packages/6d/28/59ae9ec1d7555e3a16abd954dd88dda18a34cd5a520e29397b5ad0d5f620/food_scanner-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl (from https://pypi.org/simple/food-scanner/) (requires-python:>=3.7) 2023-04-08T15:44:05,378 Found link https://files.pythonhosted.org/packages/91/ac/6877d852f0632233f5679279a1527d95e0fbeab64d612deb711fd05a4536/food_scanner-0.1.0.tar.gz (from https://pypi.org/simple/food-scanner/) (requires-python:>=3.7), version: 0.1.0 2023-04-08T15:44:05,379 Fetching project page and analyzing links: https://www.piwheels.org/simple/food-scanner/ 2023-04-08T15:44:05,380 Getting page https://www.piwheels.org/simple/food-scanner/ 2023-04-08T15:44:05,382 Found index url https://www.piwheels.org/simple 2023-04-08T15:44:05,610 Fetched page https://www.piwheels.org/simple/food-scanner/ as text/html 2023-04-08T15:44:05,612 Skipping link: not a file: https://www.piwheels.org/simple/food-scanner/ 2023-04-08T15:44:05,612 Skipping link: not a file: https://pypi.org/simple/food-scanner/ 2023-04-08T15:44:05,645 Given no hashes to check 1 links for project 'food-scanner': discarding no candidates 2023-04-08T15:44:05,675 Collecting food-scanner==0.1.0 2023-04-08T15:44:05,680 Created temporary directory: /tmp/pip-unpack-y2smgnpm 2023-04-08T15:44:06,076 Downloading food_scanner-0.1.0.tar.gz (146 kB) 2023-04-08T15:44:06,199 Added food-scanner==0.1.0 from https://files.pythonhosted.org/packages/91/ac/6877d852f0632233f5679279a1527d95e0fbeab64d612deb711fd05a4536/food_scanner-0.1.0.tar.gz to build tracker '/tmp/pip-build-tracker-5wdithqn' 2023-04-08T15:44:06,208 Created temporary directory: /tmp/pip-build-env-vxrsc5yv 2023-04-08T15:44:06,228 Installing build dependencies: started 2023-04-08T15:44:06,230 Running command pip subprocess to install build dependencies 2023-04-08T15:44:09,023 Using pip 23.0.1 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7) 2023-04-08T15:44:10,360 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2023-04-08T15:44:10,417 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-04-08T15:44:13,122 Collecting maturin<0.15,>=0.14 2023-04-08T15:44:14,940 Using cached https://www.piwheels.org/simple/maturin/maturin-0.14.17-cp37-cp37m-linux_armv7l.whl (9.0 MB) 2023-04-08T15:44:15,954 Collecting tomli>=1.1.0 2023-04-08T15:44:16,005 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-04-08T15:44:21,613 Installing collected packages: tomli, maturin 2023-04-08T15:44:23,932 Successfully installed maturin-0.14.17 tomli-2.0.1 2023-04-08T15:44:24,885 Installing build dependencies: finished with status 'done' 2023-04-08T15:44:24,896 Getting requirements to build wheel: started 2023-04-08T15:44:24,898 Running command Getting requirements to build wheel 2023-04-08T15:44:25,321 Getting requirements to build wheel: finished with status 'done' 2023-04-08T15:44:25,332 Created temporary directory: /tmp/pip-modern-metadata-hq0ykgfd 2023-04-08T15:44:25,338 Preparing metadata (pyproject.toml): started 2023-04-08T15:44:25,340 Running command Preparing metadata (pyproject.toml) 2023-04-08T15:44:28,751 Updating crates.io index 2023-04-08T15:44:33,030 Downloading crates ... 2023-04-08T15:44:36,738 Downloaded futures-lite v1.13.0 2023-04-08T15:44:36,795 Downloaded concurrent-queue v2.2.0 2023-04-08T15:44:36,858 Downloaded polling v2.7.0 2023-04-08T15:44:36,969 Downloaded leptonica-sys v0.4.4 2023-04-08T15:44:37,008 Downloaded leptonica-plumbing v1.0.1 2023-04-08T15:44:37,067 Downloaded blocking v1.3.1 2023-04-08T15:44:37,111 Downloaded parking v2.1.0 2023-04-08T15:44:37,151 Downloaded async-process v1.7.0 2023-04-08T15:44:37,213 Downloaded atomic-waker v1.1.1 2023-04-08T15:44:37,253 Downloaded async-executor v1.5.1 2023-04-08T15:44:37,331 Downloaded tesseract-plumbing v0.9.0 2023-04-08T15:44:37,371 Downloaded bindgen v0.64.0 2023-04-08T15:44:37,599 Downloaded tesseract-plumbing v0.8.0 2023-04-08T15:44:37,658 Downloaded chat-gpt-lib-rs v0.1.7 2023-04-08T15:44:37,742 Downloaded tesseract-sys v0.5.15 2023-04-08T15:44:37,881 Downloaded leptess v0.14.0 2023-04-08T15:44:38,639 🔗 Found pyo3 bindings 2023-04-08T15:44:39,379 🐍 Found CPython 3.7m at /usr/bin/python3 2023-04-08T15:44:39,380 📡 Using build options features from pyproject.toml 2023-04-08T15:44:39,408 food_scanner-0.1.0.dist-info 2023-04-08T15:44:39,408 Checking for Rust toolchain.... 2023-04-08T15:44:39,409 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-hq0ykgfd --interpreter /usr/bin/python3` 2023-04-08T15:44:39,450 Preparing metadata (pyproject.toml): finished with status 'done' 2023-04-08T15:44:39,464 Source in /tmp/pip-wheel-5artc35n/food-scanner_e51b658a8dce441c83e3a5968b5031ad has version 0.1.0, which satisfies requirement food-scanner==0.1.0 from https://files.pythonhosted.org/packages/91/ac/6877d852f0632233f5679279a1527d95e0fbeab64d612deb711fd05a4536/food_scanner-0.1.0.tar.gz 2023-04-08T15:44:39,466 Removed food-scanner==0.1.0 from https://files.pythonhosted.org/packages/91/ac/6877d852f0632233f5679279a1527d95e0fbeab64d612deb711fd05a4536/food_scanner-0.1.0.tar.gz from build tracker '/tmp/pip-build-tracker-5wdithqn' 2023-04-08T15:44:39,480 Created temporary directory: /tmp/pip-unpack-_3el1_8d 2023-04-08T15:44:39,481 Building wheels for collected packages: food-scanner 2023-04-08T15:44:39,491 Created temporary directory: /tmp/pip-wheel-xd0m4lvp 2023-04-08T15:44:39,492 Destination directory: /tmp/pip-wheel-xd0m4lvp 2023-04-08T15:44:39,497 Building wheel for food-scanner (pyproject.toml): started 2023-04-08T15:44:39,499 Running command Building wheel for food-scanner (pyproject.toml) 2023-04-08T15:44:39,912 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-04-08T15:44:43,350 🔗 Found pyo3 bindings 2023-04-08T15:44:44,092 🐍 Found CPython 3.7m at /usr/bin/python3 2023-04-08T15:44:44,092 📡 Using build options features from pyproject.toml 2023-04-08T15:44:48,197 Compiling proc-macro2 v1.0.56 2023-04-08T15:44:48,197 Compiling unicode-ident v1.0.8 2023-04-08T15:44:48,198 Compiling quote v1.0.26 2023-04-08T15:44:48,198 Compiling autocfg v1.1.0 2023-04-08T15:44:49,692 Compiling syn v1.0.109 2023-04-08T15:44:53,774 Compiling libc v0.2.141 2023-04-08T15:44:54,643 Compiling cfg-if v1.0.0 2023-04-08T15:44:55,462 Compiling version_check v0.9.4 2023-04-08T15:44:55,819 Compiling log v0.4.17 2023-04-08T15:44:59,592 Compiling pin-project-lite v0.2.9 2023-04-08T15:45:00,513 Compiling futures-core v0.3.28 2023-04-08T15:45:01,384 Compiling value-bag v1.0.0-alpha.9 2023-04-08T15:45:05,961 Compiling pkg-config v0.3.26 2023-04-08T15:45:10,149 Compiling syn v2.0.13 2023-04-08T15:45:15,624 Compiling memchr v2.5.0 2023-04-08T15:45:35,979 Compiling slab v0.4.8 2023-04-08T15:45:39,537 Compiling futures-io v0.3.28 2023-04-08T15:45:44,448 Compiling glob v0.3.1 2023-04-08T15:45:52,060 Compiling clang-sys v1.6.1 2023-04-08T15:45:58,020 Compiling bitflags v1.3.2 2023-04-08T15:45:58,625 Compiling once_cell v1.17.1 2023-04-08T15:46:06,409 Compiling socket2 v0.4.9 2023-04-08T15:46:18,584 Compiling lock_api v0.4.9 2023-04-08T15:46:22,027 Compiling minimal-lexical v0.2.1 2023-04-08T15:46:23,430 Compiling parking_lot_core v0.9.7 2023-04-08T15:46:27,472 Compiling nom v7.1.3 2023-04-08T15:46:31,736 Compiling libloading v0.7.4 2023-04-08T15:46:34,776 Compiling signal-hook-registry v1.4.1 2023-04-08T15:46:38,091 Compiling smallvec v1.10.0 2023-04-08T15:46:42,202 Compiling scopeguard v1.1.0 2023-04-08T15:46:43,144 Compiling target-lexicon v0.12.6 2023-04-08T15:46:55,153 Compiling either v1.8.1 2023-04-08T15:46:57,867 Compiling regex-syntax v0.6.29 2023-04-08T15:46:58,185 Compiling bindgen v0.64.0 2023-04-08T15:47:02,641 Compiling cexpr v0.6.0 2023-04-08T15:47:04,967 Compiling which v4.4.0 2023-04-08T15:47:13,033 Compiling ctor v0.1.26 2023-04-08T15:47:24,673 Compiling cc v1.0.79 2023-04-08T15:47:44,581 Compiling regex v1.7.3 2023-04-08T15:47:48,760 Compiling crossbeam-utils v0.8.15 2023-04-08T15:47:53,283 Compiling io-lifetimes v1.0.10 2023-04-08T15:47:55,296 Compiling lazy_static v1.4.0 2023-04-08T15:47:56,187 Compiling futures-task v0.3.28 2023-04-08T15:47:58,847 Compiling peeking_take_while v0.1.2 2023-04-08T15:47:59,701 Compiling rustc-hash v1.1.0 2023-04-08T15:48:00,080 Compiling futures-channel v0.3.28 2023-04-08T15:48:00,805 Compiling futures-sink v0.3.28 2023-04-08T15:48:01,947 Compiling shlex v1.1.0 2023-04-08T15:48:03,960 Compiling lazycell v1.3.0 2023-04-08T15:48:05,158 Compiling openssl-sys v0.9.84 2023-04-08T15:48:12,938 Compiling parking_lot v0.12.1 2023-04-08T15:48:20,727 Compiling futures-util v0.3.28 2023-04-08T15:48:24,930 Compiling bytes v1.4.0 2023-04-08T15:48:34,955 Compiling rustix v0.37.8 2023-04-08T15:48:40,744 Compiling pin-utils v0.1.0 2023-04-08T15:48:42,579 Compiling pyo3-build-config v0.18.2 2023-04-08T15:49:01,304 Compiling futures-macro v0.3.28 2023-04-08T15:49:04,288 Compiling tokio v1.27.0 2023-04-08T15:49:08,658 Compiling linux-raw-sys v0.3.1 2023-04-08T15:49:10,799 Compiling itoa v1.0.6 2023-04-08T15:49:12,760 Compiling event-listener v2.5.3 2023-04-08T15:49:34,276 Compiling concurrent-queue v2.2.0 2023-04-08T15:49:37,236 Compiling mio v0.8.6 2023-04-08T15:49:58,785 Compiling tokio-macros v2.0.0 2023-04-08T15:50:15,449 Compiling num_cpus v1.15.0 2023-04-08T15:50:19,933 Compiling leptonica-sys v0.4.4 2023-04-08T15:50:21,851 Compiling waker-fn v1.1.0 2023-04-08T15:50:26,777 Compiling fastrand v1.9.0 2023-04-08T15:50:32,729 Compiling parking v2.1.0 2023-04-08T15:50:36,077 Compiling futures-lite v1.13.0 2023-04-08T15:50:43,990 error: failed to run custom build command for `leptonica-sys v0.4.4` 2023-04-08T15:50:43,992 Caused by: 2023-04-08T15:50:43,992 process didn't exit successfully: `/tmp/pip-wheel-5artc35n/food-scanner_e51b658a8dce441c83e3a5968b5031ad/target/release/build/leptonica-sys-a87722e9685e27d5/build-script-build` (exit status: 101) 2023-04-08T15:50:43,993 --- stdout 2023-04-08T15:50:43,993 cargo:rerun-if-env-changed=LEPT_NO_PKG_CONFIG 2023-04-08T15:50:43,994 cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf 2023-04-08T15:50:43,994 cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf 2023-04-08T15:50:43,995 cargo:rerun-if-env-changed=HOST_PKG_CONFIG 2023-04-08T15:50:43,995 cargo:rerun-if-env-changed=PKG_CONFIG 2023-04-08T15:50:43,996 cargo:rerun-if-env-changed=LEPT_STATIC 2023-04-08T15:50:43,996 cargo:rerun-if-env-changed=LEPT_DYNAMIC 2023-04-08T15:50:43,997 cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC 2023-04-08T15:50:43,997 cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC 2023-04-08T15:50:43,997 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7-unknown-linux-gnueabihf 2023-04-08T15:50:43,998 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7_unknown_linux_gnueabihf 2023-04-08T15:50:43,998 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH 2023-04-08T15:50:43,999 cargo:rerun-if-env-changed=PKG_CONFIG_PATH 2023-04-08T15:50:43,999 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7-unknown-linux-gnueabihf 2023-04-08T15:50:44,000 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7_unknown_linux_gnueabihf 2023-04-08T15:50:44,000 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR 2023-04-08T15:50:44,001 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR 2023-04-08T15:50:44,001 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf 2023-04-08T15:50:44,001 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf 2023-04-08T15:50:44,002 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR 2023-04-08T15:50:44,002 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR 2023-04-08T15:50:44,003 --- stderr 2023-04-08T15:50:44,014 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: `"pkg-config" "--libs" "--cflags" "lept"` did not exit successfully: exit status: 1 2023-04-08T15:50:44,015 error: could not find system library 'lept' required by the 'leptonica-sys' crate 2023-04-08T15:50:44,016 --- stderr 2023-04-08T15:50:44,017 Package lept was not found in the pkg-config search path. 2023-04-08T15:50:44,018 Perhaps you should add the directory containing `lept.pc' 2023-04-08T15:50:44,019 to the PKG_CONFIG_PATH environment variable 2023-04-08T15:50:44,019 No package 'lept' found 2023-04-08T15:50:44,020 ', /home/piwheels/.cargo/registry/src/github.com-1285ae84e5963aae/leptonica-sys-0.4.4/build.rs:57:54 2023-04-08T15:50:44,021 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace 2023-04-08T15:50:44,021 warning: build failed, waiting for other jobs to finish... 2023-04-08T15:52:28,962 💥 maturin failed 2023-04-08T15:52:28,963 Caused by: Failed to build a native library through cargo 2023-04-08T15:52:28,964 Caused by: Cargo build finished with "exit status: 101": `"cargo" "rustc" "--release" "--features" "pyo3/extension-module" "--manifest-path" "/tmp/pip-wheel-5artc35n/food-scanner_e51b658a8dce441c83e3a5968b5031ad/Cargo.toml" "--message-format" "json" "--lib"` 2023-04-08T15:52:28,968 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2023-04-08T15:52:29,010 ERROR: [present-rich] Building wheel for food-scanner (pyproject.toml) exited with 1 2023-04-08T15:52:29,055 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmp7letu1sx[/] 2023-04-08T15:52:29,056 [bold magenta]cwd[/]: /tmp/pip-wheel-5artc35n/food-scanner_e51b658a8dce441c83e3a5968b5031ad 2023-04-08T15:52:29,057 Building wheel for food-scanner (pyproject.toml): finished with status 'error' 2023-04-08T15:52:29,061 ERROR: Failed building wheel for food-scanner 2023-04-08T15:52:29,067 Failed to build food-scanner 2023-04-08T15:52:29,069 ERROR: Failed to build one or more wheels 2023-04-08T15:52:29,072 Exception information: 2023-04-08T15:52:29,072 Traceback (most recent call last): 2023-04-08T15:52:29,072 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-04-08T15:52:29,072 status = run_func(*args) 2023-04-08T15:52:29,072 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-04-08T15:52:29,072 return func(self, options, args) 2023-04-08T15:52:29,072 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2023-04-08T15:52:29,072 raise CommandError("Failed to build one or more wheels") 2023-04-08T15:52:29,072 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-04-08T15:52:29,081 Removed build tracker: '/tmp/pip-build-tracker-5wdithqn'