2023-04-08T16:02:12,823 Created temporary directory: /tmp/pip-ephem-wheel-cache-9geyso_3 2023-04-08T16:02:12,826 Created temporary directory: /tmp/pip-build-tracker-e3sn8xcj 2023-04-08T16:02:12,826 Initialized build tracking at /tmp/pip-build-tracker-e3sn8xcj 2023-04-08T16:02:12,826 Created build tracker: /tmp/pip-build-tracker-e3sn8xcj 2023-04-08T16:02:12,826 Entered build tracker: /tmp/pip-build-tracker-e3sn8xcj 2023-04-08T16:02:12,827 Created temporary directory: /tmp/pip-wheel-pupmgdxf 2023-04-08T16:02:12,831 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-08T16:02:12,834 Created temporary directory: /tmp/pip-ephem-wheel-cache-jy2vux3n 2023-04-08T16:02:12,867 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-04-08T16:02:12,871 2 location(s) to search for versions of food-scanner: 2023-04-08T16:02:12,871 * https://pypi.org/simple/food-scanner/ 2023-04-08T16:02:12,871 * https://www.piwheels.org/simple/food-scanner/ 2023-04-08T16:02:12,871 Fetching project page and analyzing links: https://pypi.org/simple/food-scanner/ 2023-04-08T16:02:12,872 Getting page https://pypi.org/simple/food-scanner/ 2023-04-08T16:02:12,874 Found index url https://pypi.org/simple 2023-04-08T16:02:12,926 Fetched page https://pypi.org/simple/food-scanner/ as application/vnd.pypi.simple.v1+json 2023-04-08T16:02:12,927 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-08T16:02:12,927 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-08T16:02:12,928 Fetching project page and analyzing links: https://www.piwheels.org/simple/food-scanner/ 2023-04-08T16:02:12,928 Getting page https://www.piwheels.org/simple/food-scanner/ 2023-04-08T16:02:12,929 Found index url https://www.piwheels.org/simple 2023-04-08T16:02:13,119 Fetched page https://www.piwheels.org/simple/food-scanner/ as text/html 2023-04-08T16:02:13,120 Skipping link: not a file: https://www.piwheels.org/simple/food-scanner/ 2023-04-08T16:02:13,120 Skipping link: not a file: https://pypi.org/simple/food-scanner/ 2023-04-08T16:02:13,138 Given no hashes to check 1 links for project 'food-scanner': discarding no candidates 2023-04-08T16:02:13,155 Collecting food-scanner==0.1.0 2023-04-08T16:02:13,157 Created temporary directory: /tmp/pip-unpack-mu2ngjy2 2023-04-08T16:02:13,205 Downloading food_scanner-0.1.0.tar.gz (146 kB) 2023-04-08T16:02:13,263 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-e3sn8xcj' 2023-04-08T16:02:13,267 Created temporary directory: /tmp/pip-build-env-hzjvrxpk 2023-04-08T16:02:13,277 Installing build dependencies: started 2023-04-08T16:02:13,278 Running command pip subprocess to install build dependencies 2023-04-08T16:02:14,566 Using pip 23.0.1 from /home/piwheels/.local/lib/python3.9/site-packages/pip (python 3.9) 2023-04-08T16:02:15,191 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-08T16:02:15,222 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2023-04-08T16:02:16,598 Collecting maturin<0.15,>=0.14 2023-04-08T16:02:17,584 Using cached https://www.piwheels.org/simple/maturin/maturin-0.14.17-cp39-cp39-linux_armv7l.whl (9.0 MB) 2023-04-08T16:02:18,005 Collecting tomli>=1.1.0 2023-04-08T16:02:18,021 Using cached https://www.piwheels.org/simple/tomli/tomli-2.0.1-py3-none-any.whl (12 kB) 2023-04-08T16:02:20,308 Installing collected packages: tomli, maturin 2023-04-08T16:02:21,201 Successfully installed maturin-0.14.17 tomli-2.0.1 2023-04-08T16:02:21,691 Installing build dependencies: finished with status 'done' 2023-04-08T16:02:21,697 Getting requirements to build wheel: started 2023-04-08T16:02:21,698 Running command Getting requirements to build wheel 2023-04-08T16:02:21,926 Getting requirements to build wheel: finished with status 'done' 2023-04-08T16:02:21,931 Created temporary directory: /tmp/pip-modern-metadata-gwpskilm 2023-04-08T16:02:21,934 Preparing metadata (pyproject.toml): started 2023-04-08T16:02:21,939 Running command Preparing metadata (pyproject.toml) 2023-04-08T16:02:23,900 Updating crates.io index 2023-04-08T16:02:28,277 Downloading crates ... 2023-04-08T16:02:32,674 Downloaded tesseract-plumbing v0.8.0 2023-04-08T16:02:32,706 Downloaded tesseract-plumbing v0.9.0 2023-04-08T16:02:32,725 Downloaded parking v2.1.0 2023-04-08T16:02:32,748 Downloaded leptonica-sys v0.4.4 2023-04-08T16:02:32,773 Downloaded concurrent-queue v2.2.0 2023-04-08T16:02:32,823 Downloaded polling v2.7.0 2023-04-08T16:02:32,881 Downloaded futures-lite v1.13.0 2023-04-08T16:02:32,915 Downloaded tesseract-sys v0.5.15 2023-04-08T16:02:32,948 Downloaded leptonica-plumbing v1.0.1 2023-04-08T16:02:32,986 Downloaded chat-gpt-lib-rs v0.1.7 2023-04-08T16:02:33,064 Downloaded atomic-waker v1.1.1 2023-04-08T16:02:33,093 Downloaded async-process v1.7.0 2023-04-08T16:02:33,132 Downloaded blocking v1.3.1 2023-04-08T16:02:33,165 Downloaded async-executor v1.5.1 2023-04-08T16:02:33,195 Downloaded leptess v0.14.0 2023-04-08T16:02:33,532 🔗 Found pyo3 bindings 2023-04-08T16:02:33,847 🐍 Found CPython 3.9 at /usr/bin/python3 2023-04-08T16:02:33,847 📡 Using build options features from pyproject.toml 2023-04-08T16:02:33,861 food_scanner-0.1.0.dist-info 2023-04-08T16:02:33,861 Checking for Rust toolchain.... 2023-04-08T16:02:33,862 Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-gwpskilm --interpreter /usr/bin/python3` 2023-04-08T16:02:33,883 Preparing metadata (pyproject.toml): finished with status 'done' 2023-04-08T16:02:33,890 Source in /tmp/pip-wheel-pupmgdxf/food-scanner_5c1e6dc69cbd471aba97f2f91c937cf6 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-08T16:02:33,890 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-e3sn8xcj' 2023-04-08T16:02:33,896 Created temporary directory: /tmp/pip-unpack-bu59_p0y 2023-04-08T16:02:33,897 Building wheels for collected packages: food-scanner 2023-04-08T16:02:33,902 Created temporary directory: /tmp/pip-wheel-tx02tee9 2023-04-08T16:02:33,902 Destination directory: /tmp/pip-wheel-tx02tee9 2023-04-08T16:02:33,904 Building wheel for food-scanner (pyproject.toml): started 2023-04-08T16:02:33,905 Running command Building wheel for food-scanner (pyproject.toml) 2023-04-08T16:02:34,080 Running `maturin pep517 build-wheel -i /usr/bin/python3 --compatibility off` 2023-04-08T16:02:35,672 🔗 Found pyo3 bindings 2023-04-08T16:02:35,986 🐍 Found CPython 3.9 at /usr/bin/python3 2023-04-08T16:02:35,987 📡 Using build options features from pyproject.toml 2023-04-08T16:02:37,932 Compiling proc-macro2 v1.0.56 2023-04-08T16:02:37,933 Compiling unicode-ident v1.0.8 2023-04-08T16:02:37,933 Compiling quote v1.0.26 2023-04-08T16:02:37,933 Compiling autocfg v1.1.0 2023-04-08T16:02:38,636 Compiling syn v1.0.109 2023-04-08T16:02:41,002 Compiling libc v0.2.141 2023-04-08T16:02:41,633 Compiling cfg-if v1.0.0 2023-04-08T16:02:41,719 Compiling version_check v0.9.4 2023-04-08T16:02:41,998 Compiling log v0.4.17 2023-04-08T16:02:44,162 Compiling futures-core v0.3.28 2023-04-08T16:02:44,967 Compiling value-bag v1.0.0-alpha.9 2023-04-08T16:02:47,366 Compiling pkg-config v0.3.26 2023-04-08T16:02:49,638 Compiling syn v2.0.13 2023-04-08T16:02:52,533 Compiling memchr v2.5.0 2023-04-08T16:02:55,015 Compiling pin-project-lite v0.2.9 2023-04-08T16:03:03,884 Compiling slab v0.4.8 2023-04-08T16:03:05,841 Compiling futures-io v0.3.28 2023-04-08T16:03:11,631 Compiling glob v0.3.1 2023-04-08T16:03:13,919 Compiling bitflags v1.3.2 2023-04-08T16:03:14,314 Compiling once_cell v1.17.1 2023-04-08T16:03:15,931 Compiling clang-sys v1.6.1 2023-04-08T16:03:23,574 Compiling socket2 v0.4.9 2023-04-08T16:03:25,363 Compiling lock_api v0.4.9 2023-04-08T16:03:27,240 Compiling parking_lot_core v0.9.7 2023-04-08T16:03:29,332 Compiling minimal-lexical v0.2.1 2023-04-08T16:03:33,020 Compiling nom v7.1.3 2023-04-08T16:03:34,522 Compiling libloading v0.7.4 2023-04-08T16:03:36,188 Compiling signal-hook-registry v1.4.1 2023-04-08T16:03:38,587 Compiling smallvec v1.10.0 2023-04-08T16:03:40,894 Compiling either v1.8.1 2023-04-08T16:03:42,371 Compiling scopeguard v1.1.0 2023-04-08T16:03:42,876 Compiling bindgen v0.64.0 2023-04-08T16:03:44,658 Compiling target-lexicon v0.12.6 2023-04-08T16:03:45,223 Compiling regex-syntax v0.6.29 2023-04-08T16:03:52,967 Compiling which v4.4.0 2023-04-08T16:03:55,684 Compiling ctor v0.1.26 2023-04-08T16:03:56,099 Compiling cexpr v0.6.0 2023-04-08T16:04:03,870 Compiling regex v1.7.3 2023-04-08T16:04:14,735 Compiling futures-channel v0.3.28 2023-04-08T16:04:15,339 Compiling cc v1.0.79 2023-04-08T16:04:16,951 Compiling io-lifetimes v1.0.10 2023-04-08T16:04:18,485 Compiling shlex v1.1.0 2023-04-08T16:04:19,776 Compiling rustc-hash v1.1.0 2023-04-08T16:04:20,044 Compiling peeking_take_while v0.1.2 2023-04-08T16:04:20,329 Compiling futures-sink v0.3.28 2023-04-08T16:04:20,473 Compiling lazy_static v1.4.0 2023-04-08T16:04:20,978 Compiling futures-task v0.3.28 2023-04-08T16:04:21,299 Compiling lazycell v1.3.0 2023-04-08T16:04:21,993 Compiling crossbeam-utils v0.8.15 2023-04-08T16:04:24,240 Compiling parking_lot v0.12.1 2023-04-08T16:04:27,925 Compiling openssl-sys v0.9.84 2023-04-08T16:04:33,085 Compiling pin-utils v0.1.0 2023-04-08T16:04:33,422 Compiling futures-util v0.3.28 2023-04-08T16:04:34,702 Compiling rustix v0.37.8 2023-04-08T16:04:35,475 Compiling bytes v1.4.0 2023-04-08T16:04:39,579 Compiling pyo3-build-config v0.18.2 2023-04-08T16:04:53,129 Compiling futures-macro v0.3.28 2023-04-08T16:04:53,279 Compiling tokio v1.27.0 2023-04-08T16:04:55,581 Compiling linux-raw-sys v0.3.1 2023-04-08T16:05:04,810 Compiling itoa v1.0.6 2023-04-08T16:05:04,819 Compiling event-listener v2.5.3 2023-04-08T16:05:11,253 Compiling concurrent-queue v2.2.0 2023-04-08T16:05:13,321 Compiling mio v0.8.6 2023-04-08T16:05:25,412 Compiling tokio-macros v2.0.0 2023-04-08T16:05:33,829 Compiling num_cpus v1.15.0 2023-04-08T16:05:38,231 Compiling fastrand v1.9.0 2023-04-08T16:05:41,422 Compiling leptonica-sys v0.4.4 2023-04-08T16:05:42,305 Compiling parking v2.1.0 2023-04-08T16:05:44,426 Compiling waker-fn v1.1.0 2023-04-08T16:05:44,868 Compiling futures-lite v1.13.0 2023-04-08T16:05:53,500 error: failed to run custom build command for `leptonica-sys v0.4.4` 2023-04-08T16:05:53,501 Caused by: 2023-04-08T16:05:53,501 process didn't exit successfully: `/tmp/pip-wheel-pupmgdxf/food-scanner_5c1e6dc69cbd471aba97f2f91c937cf6/target/release/build/leptonica-sys-a87722e9685e27d5/build-script-build` (exit status: 101) 2023-04-08T16:05:53,502 --- stdout 2023-04-08T16:05:53,502 cargo:rerun-if-env-changed=LEPT_NO_PKG_CONFIG 2023-04-08T16:05:53,502 cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf 2023-04-08T16:05:53,503 cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf 2023-04-08T16:05:53,503 cargo:rerun-if-env-changed=HOST_PKG_CONFIG 2023-04-08T16:05:53,503 cargo:rerun-if-env-changed=PKG_CONFIG 2023-04-08T16:05:53,503 cargo:rerun-if-env-changed=LEPT_STATIC 2023-04-08T16:05:53,504 cargo:rerun-if-env-changed=LEPT_DYNAMIC 2023-04-08T16:05:53,504 cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC 2023-04-08T16:05:53,505 cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC 2023-04-08T16:05:53,505 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7-unknown-linux-gnueabihf 2023-04-08T16:05:53,505 cargo:rerun-if-env-changed=PKG_CONFIG_PATH_armv7_unknown_linux_gnueabihf 2023-04-08T16:05:53,506 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH 2023-04-08T16:05:53,506 cargo:rerun-if-env-changed=PKG_CONFIG_PATH 2023-04-08T16:05:53,506 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7-unknown-linux-gnueabihf 2023-04-08T16:05:53,507 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_armv7_unknown_linux_gnueabihf 2023-04-08T16:05:53,507 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR 2023-04-08T16:05:53,508 cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR 2023-04-08T16:05:53,508 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf 2023-04-08T16:05:53,508 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf 2023-04-08T16:05:53,509 cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR 2023-04-08T16:05:53,509 cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR 2023-04-08T16:05:53,510 --- stderr 2023-04-08T16:05:53,510 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-08T16:05:53,511 error: could not find system library 'lept' required by the 'leptonica-sys' crate 2023-04-08T16:05:53,511 --- stderr 2023-04-08T16:05:53,522 Package lept was not found in the pkg-config search path. 2023-04-08T16:05:53,523 Perhaps you should add the directory containing `lept.pc' 2023-04-08T16:05:53,523 to the PKG_CONFIG_PATH environment variable 2023-04-08T16:05:53,524 No package 'lept' found 2023-04-08T16:05:53,524 ', /home/piwheels/.cargo/registry/src/github.com-1285ae84e5963aae/leptonica-sys-0.4.4/build.rs:57:54 2023-04-08T16:05:53,524 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace 2023-04-08T16:05:53,525 warning: build failed, waiting for other jobs to finish... 2023-04-08T16:06:41,059 💥 maturin failed 2023-04-08T16:06:41,059 Caused by: Failed to build a native library through cargo 2023-04-08T16:06:41,060 Caused by: Cargo build finished with "exit status: 101": `"cargo" "rustc" "--release" "--features" "pyo3/extension-module" "--manifest-path" "/tmp/pip-wheel-pupmgdxf/food-scanner_5c1e6dc69cbd471aba97f2f91c937cf6/Cargo.toml" "--message-format" "json" "--lib"` 2023-04-08T16:06:41,061 Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/bin/python3', '--compatibility', 'off'] returned non-zero exit status 1 2023-04-08T16:06:41,082 ERROR: [present-rich] Building wheel for food-scanner (pyproject.toml) exited with 1 2023-04-08T16:06:41,100 [bold magenta]full command[/]: [blue]/usr/bin/python3 /home/piwheels/.local/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmppxrf848x[/] 2023-04-08T16:06:41,100 [bold magenta]cwd[/]: /tmp/pip-wheel-pupmgdxf/food-scanner_5c1e6dc69cbd471aba97f2f91c937cf6 2023-04-08T16:06:41,101 Building wheel for food-scanner (pyproject.toml): finished with status 'error' 2023-04-08T16:06:41,103 ERROR: Failed building wheel for food-scanner 2023-04-08T16:06:41,106 Failed to build food-scanner 2023-04-08T16:06:41,107 ERROR: Failed to build one or more wheels 2023-04-08T16:06:41,108 Exception information: 2023-04-08T16:06:41,108 Traceback (most recent call last): 2023-04-08T16:06:41,108 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2023-04-08T16:06:41,108 status = run_func(*args) 2023-04-08T16:06:41,108 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2023-04-08T16:06:41,108 return func(self, options, args) 2023-04-08T16:06:41,108 File "/home/piwheels/.local/lib/python3.9/site-packages/pip/_internal/commands/wheel.py", line 201, in run 2023-04-08T16:06:41,108 raise CommandError("Failed to build one or more wheels") 2023-04-08T16:06:41,108 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2023-04-08T16:06:41,113 Removed build tracker: '/tmp/pip-build-tracker-e3sn8xcj'