Skip to content

Version 2.0.0 fails to build on arm64 #492

@usr3

Description

@usr3

The updated dependency (impit) fails to build on AWS Graviton (arm64) with apify-client-python 2.0.0.

Log:

#9 58.49   Building wheel for impit (pyproject.toml): started
#9 119.1   Building wheel for impit (pyproject.toml): still running...
#9 188.2   Building wheel for impit (pyproject.toml): still running...
#9 255.0   Building wheel for impit (pyproject.toml): still running...
#9 323.0   Building wheel for impit (pyproject.toml): still running...
#9 383.5   Building wheel for impit (pyproject.toml): still running...
#9 388.9   Building wheel for impit (pyproject.toml): finished with status 'error'
#9 389.8   error: subprocess-exited-with-error
#9 389.8
#9 389.8   × Building wheel for impit (pyproject.toml) did not run successfully.
#9 389.8   │ exit code: 1
#9 389.8   ╰─> [301 lines of output]
#9 389.8       Running `maturin pep517 build-wheel -i /usr/local/bin/python3.12 --compatibility off`
#9 389.8       Python reports SOABI: cpython-312-aarch64-linux-gnu
#9 389.8       Computed rustc target triple: aarch64-unknown-linux-gnu
#9 389.8       Installation directory: /root/.cache/puccinialin
#9 389.8       Rustup already downloaded
#9 389.8       Installing rust to /root/.cache/puccinialin/rustup
#9 389.8       warn: It looks like you have an existing rustup settings file at:
#9 389.8       warn: /root/.rustup/settings.toml
#9 389.8       warn: Rustup will install the default toolchain as specified in the settings file,
#9 389.8       warn: instead of the one inferred from the default host triple.
#9 389.8       info: profile set to 'minimal'
#9 389.8       info: default host triple is aarch64-unknown-linux-gnu
#9 389.8       warn: Updating existing toolchain, profile choice will be ignored
#9 389.8       info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
#9 389.8       info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'
#9 389.8       Checking if cargo is installed
#9 389.8       cargo 1.89.0 (c24e10642 2025-06-23)
#9 389.8       🍹 Building a mixed python/rust project
#9 389.8       🔗 Found pyo3 bindings
#9 389.8       🐍 Found CPython 3.12 at /usr/local/bin/python3.12
#9 389.8          Compiling proc-macro2 v1.0.101
#9 389.8          Compiling unicode-ident v1.0.18
#9 389.8          Compiling libc v0.2.175
#9 389.8          Compiling quote v1.0.40
#9 389.8          Compiling cfg-if v1.0.3
#9 389.8          Compiling pin-project-lite v0.2.16
#9 389.8          Compiling autocfg v1.5.0
#9 389.8          Compiling syn v2.0.106
#9 389.8          Compiling smallvec v1.15.1
#9 389.8          Compiling jobserver v0.1.33
#9 389.8          Compiling shlex v1.3.0
#9 389.8          Compiling cc v1.2.33
#9 389.8          Compiling futures-core v0.3.31
#9 389.8          Compiling lock_api v0.4.13
#9 389.8          Compiling parking_lot_core v0.9.11
#9 389.8          Compiling scopeguard v1.2.0
#9 389.8          Compiling portable-atomic v1.11.1
#9 389.8          Compiling parking_lot v0.12.4
#9 389.8          Compiling critical-section v1.2.0
#9 389.8          Compiling slab v0.4.11
#9 389.8          Compiling bytes v1.10.1
#9 389.8          Compiling futures-io v0.3.31
#9 389.8          Compiling once_cell v1.21.3
#9 389.8          Compiling signal-hook-registry v1.4.6
#9 389.8          Compiling synstructure v0.13.2
#9 389.8          Compiling stable_deref_trait v1.2.0
#9 389.8          Compiling tokio-macros v2.5.0
#9 389.8          Compiling mio v1.0.4
#9 389.8          Compiling socket2 v0.6.0
#9 389.8          Compiling itoa v1.0.15
#9 389.8          Compiling tokio v1.47.1
#9 389.8          Compiling zerofrom-derive v0.1.6
#9 389.8          Compiling value-bag v1.11.1
#9 389.8          Compiling log v0.4.27
#9 389.8          Compiling zerofrom v0.1.6
#9 389.8          Compiling yoke-derive v0.8.0
#9 389.8          Compiling memchr v2.7.5
#9 389.8          Compiling futures-sink v0.3.31
#9 389.8          Compiling yoke v0.8.0
#9 389.8          Compiling pkg-config v0.3.32
#9 389.8          Compiling zerovec-derive v0.11.1
#9 389.8          Compiling siphasher v1.0.1
#9 389.8          Compiling pin-utils v0.1.0
#9 389.8          Compiling rand_core v0.6.4
#9 389.8          Compiling bitflags v2.9.2
#9 389.8          Compiling rand v0.8.5
#9 389.8          Compiling phf_shared v0.11.3
#9 389.8          Compiling zerovec v0.11.4
#9 389.8          Compiling futures-channel v0.3.31
#9 389.8          Compiling displaydoc v0.2.5
#9 389.8          Compiling crossbeam-utils v0.8.21
#9 389.8          Compiling target-lexicon v0.13.2
#9 389.8          Compiling phf_generator v0.11.3
#9 389.8          Compiling futures-macro v0.3.31
#9 389.8          Compiling cmake v0.1.54
#9 389.8          Compiling fs_extra v1.3.0
#9 389.8          Compiling dunce v1.0.5
#9 389.8          Compiling futures-task v0.3.31
#9 389.8          Compiling aws-lc-sys v0.30.0
#9 389.8          Compiling futures-util v0.3.31
#9 389.8          Compiling tracing-core v0.1.34
#9 389.8          Compiling fastrand v2.3.0
#9 389.8          Compiling tracing v0.1.41
#9 389.8          Compiling pyo3-build-config v0.25.1
#9 389.8          Compiling concurrent-queue v2.5.0
#9 389.8          Compiling tinystr v0.8.1
#9 389.8          Compiling writeable v0.6.1
#9 389.8          Compiling fnv v1.0.7
#9 389.8          Compiling zeroize v1.8.1
#9 389.8          Compiling litemap v0.8.0
#9 389.8          Compiling parking v2.2.1
#9 389.8          Compiling icu_locale_core v2.0.0
#9 389.8          Compiling http v1.3.1
#9 389.8          Compiling zerotrie v0.2.2
#9 389.8          Compiling potential_utf v0.1.2
#9 389.8          Compiling ring v0.17.14
#9 389.8          Compiling serde v1.0.219
#9 389.8          Compiling alloc-no-stdlib v2.0.4
#9 389.8          Compiling zerocopy v0.8.26
#9 389.8          Compiling icu_normalizer_data v2.0.0
#9 389.8          Compiling icu_properties_data v2.0.1
#9 389.8          Compiling percent-encoding v2.3.2
#9 389.8          Compiling getrandom v0.3.3
#9 389.8          Compiling atomic-waker v1.1.2
#9 389.8          Compiling aws-lc-rs v1.13.3
#9 389.8          Compiling alloc-stdlib v0.2.2
#9 389.8          Compiling icu_collections v2.0.0
#9 389.8          Compiling icu_provider v2.0.0
#9 389.8          Compiling rustls-pki-types v1.12.0
#9 389.8          Compiling openssl-src v300.5.2+3.5.2
#9 389.8          Compiling vcpkg v0.2.15
#9 389.8          Compiling openssl-sys v0.9.109
#9 389.8          Compiling brotli-decompressor v5.0.0
#9 389.8          Compiling event-listener v5.4.1
#9 389.8          Compiling phf_codegen v0.11.3
#9 389.8          Compiling getrandom v0.2.16
#9 389.8          Compiling untrusted v0.9.0
#9 389.8          Compiling event-listener-strategy v0.5.4
#9 389.8          Compiling rand_core v0.9.3
#9 389.8          Compiling icu_properties v2.0.1
#9 389.8          Compiling icu_normalizer v2.0.0
#9 389.8          Compiling ppv-lite86 v0.2.21
#9 389.8          Compiling brotli v8.0.2
#9 389.8          Compiling rustix v1.0.8
#9 389.8          Compiling rustls v0.23.29 (https://github.com/apify/rustls?branch=main#f384c6c1)
#9 389.8          Compiling new_debug_unreachable v1.0.6
#9 389.8          Compiling cfg_aliases v0.2.1
#9 389.8          Compiling thiserror v2.0.16
#9 389.8          Compiling rustls-webpki v0.103.4
#9 389.8          Compiling rand_chacha v0.9.0
#9 389.8          Compiling idna_adapter v1.2.1
#9 389.8          Compiling http-body v1.0.1
#9 389.8          Compiling futures-lite v2.6.1
#9 389.8          Compiling phf_macros v0.11.3
#9 389.8          Compiling zstd-sys v2.0.15+zstd.1.5.7
#9 389.8          Compiling tokio-util v0.7.16
#9 389.8          Compiling thiserror-impl v2.0.16
#9 389.8          Compiling httparse v1.10.1
#9 389.8          Compiling tinyvec_macros v0.1.1
#9 389.8          Compiling equivalent v1.0.2
#9 389.8          Compiling heck v0.5.0
#9 389.8          Compiling hashbrown v0.15.5
#9 389.8          Compiling subtle v2.6.1
#9 389.8          Compiling utf8_iter v1.0.4
#9 389.8          Compiling linux-raw-sys v0.9.4
#9 389.8          Compiling idna v1.1.0
#9 389.8          Compiling indexmap v2.10.0
#9 389.8          Compiling tinyvec v1.10.0
#9 389.8          Compiling phf v0.11.3
#9 389.8          Compiling rand v0.9.2
#9 389.8          Compiling form_urlencoded v1.2.2
#9 389.8          Compiling string_cache_codegen v0.5.4
#9 389.8          Compiling foreign-types-shared v0.1.1
#9 389.8          Compiling precomputed-hash v0.1.1
#9 389.8          Compiling tower-service v0.3.3
#9 389.8          Compiling try-lock v0.2.5
#9 389.8          Compiling encoding_index_tests v0.1.4
#9 389.8          Compiling ipnet v2.11.0
#9 389.8          Compiling openssl v0.10.73
#9 389.8          Compiling want v0.3.1
#9 389.8          Compiling foreign-types v0.3.2
#9 389.8          Compiling web_atoms v0.1.3
#9 389.8          Compiling h2 v0.4.7 (https://github.com/apify/h2?branch=master#7f393a72)
#9 389.8          Compiling polling v3.10.0
#9 389.8          Compiling quinn-udp v0.5.13
#9 389.8          Compiling async-lock v3.4.1
#9 389.8          Compiling openssl-macros v0.1.1
#9 389.8          Compiling mac v0.1.1
#9 389.8          Compiling powerfmt v0.2.0
#9 389.8          Compiling native-tls v0.2.14
#9 389.8          Compiling num-conv v0.1.0
#9 389.8          Compiling crc32fast v1.5.0
#9 389.8          Compiling zstd-safe v7.2.4
#9 389.8          Compiling version_check v0.9.5
#9 389.8          Compiling async-task v4.7.1
#9 389.8          Compiling time-core v0.1.4
#9 389.8          Compiling time-macros v0.2.22
#9 389.8          Compiling cookie v0.18.1
#9 389.8          Compiling deranged v0.4.0
#9 389.8          Compiling futf v0.1.5
#9 389.8          Compiling async-io v2.5.0
#9 389.8          Compiling hyper v1.7.0
#9 389.8          Compiling string_cache v0.8.9
#9 389.8          Compiling url v2.5.6
#9 389.8          Compiling quinn v0.11.8
#9 389.8          Compiling async-channel v2.5.0
#9 389.8          Compiling pyo3-macros-backend v0.25.1
#9 389.8          Compiling pyo3-ffi v0.25.1
#9 389.8          Compiling futures-executor v0.3.31
#9 389.8          Compiling num-traits v0.2.19
#9 389.8          Compiling socket2 v0.5.10
#9 389.8          Compiling adler2 v2.0.1
#9 389.8          Compiling serde_json v1.0.143
#9 389.8          Compiling openssl-probe v0.1.6
#9 389.8          Compiling utf-8 v0.7.6
#9 389.8          Compiling lru-slab v0.1.2
#9 389.8          Compiling base64 v0.22.1
#9 389.8          Compiling rustc-hash v2.1.1
#9 389.8          Compiling dtoa v1.0.10
#9 389.8          Compiling ryu v1.0.20
#9 389.8          Compiling time v0.3.41
#9 389.8          Compiling dtoa-short v0.3.5
#9 389.8          Compiling quinn-proto v0.11.12
#9 389.8          Compiling hyper-util v0.1.16
#9 389.8          Compiling tendril v0.4.3
#9 389.8          Compiling miniz_oxide v0.8.9
#9 389.8          Compiling futures v0.3.31
#9 389.8          Compiling selectors v0.31.0
#9 389.8          Compiling webpki-roots v1.0.2
#9 389.8          Compiling piper v0.2.4
#9 389.8          Compiling derive_more-impl v2.0.1
#9 389.8          Compiling cssparser-macros v0.6.1
#9 389.8          Compiling sync_wrapper v1.0.2
#9 389.8          Compiling memoffset v0.9.1
#9 389.8          Compiling byteorder v1.5.0
#9 389.8          Compiling tower-layer v0.3.3
#9 389.8          Compiling litrs v0.4.2
#9 389.8          Compiling psl-types v2.0.11
#9 389.8          Compiling publicsuffix v2.3.0
#9 389.8          Compiling document-features v0.2.11
#9 389.8          Compiling tower v0.5.2
#9 389.8          Compiling fxhash v0.2.1
#9 389.8          Compiling cssparser v0.35.0
#9 389.8          Compiling derive_more v2.0.1
#9 389.8          Compiling blocking v1.6.2
#9 389.8          Compiling flate2 v1.1.2
#9 389.8          Compiling markup5ever v0.35.0
#9 389.8          Compiling zstd v0.13.3
#9 389.8          Compiling async-signal v0.2.12
#9 389.8          Compiling async-executor v1.13.2
#9 389.8          Compiling tokio-rustls v0.26.2
#9 389.8          Compiling enum-as-inner v0.6.1
#9 389.8          Compiling http-body-util v0.1.3
#9 389.8          Compiling pyo3 v0.25.1
#9 389.8          Compiling h3 v0.0.8
#9 389.8          Compiling servo_arc v0.4.1
#9 389.8          Compiling serde_derive v1.0.219
#9 389.8          Compiling match_token v0.35.0
#9 389.8          Compiling async-trait v0.1.89
#9 389.8          Compiling nibble_vec v0.1.0
#9 389.8          Compiling data-encoding v2.9.0
#9 389.8          Compiling event-listener v2.5.3
#9 389.8          Compiling endian-type v0.1.2
#9 389.8          Compiling iri-string v0.7.8
#9 389.8          Compiling unicode-width v0.2.1
#9 389.8          Compiling getopts v0.2.23
#9 389.8          Compiling tower-http v0.6.6
#9 389.8          Compiling radix_trie v0.2.1
#9 389.8          Compiling async-channel v1.9.0
#9 389.8          Compiling hickory-proto v0.25.2
#9 389.8          Compiling html5ever v0.35.0
#9 389.8          Compiling cookie_store v0.21.1
#9 389.8          Compiling h3-quinn v0.0.10
#9 389.8          Compiling hyper-rustls v0.27.7
#9 389.8          Compiling async-global-executor v2.4.1
#9 389.8          Compiling async-process v2.4.0
#9 389.8          Compiling num-integer v0.1.46
#9 389.8          Compiling pyo3-macros v0.25.1
#9 389.8          Compiling async-compression v0.4.27
#9 389.8          Compiling serde_urlencoded v0.7.1
#9 389.8          Compiling encoding-index-simpchinese v1.20141219.5
#9 389.8          Compiling encoding-index-singlebyte v1.20141219.5
#9 389.8          Compiling encoding-index-tradchinese v1.20141219.5
#9 389.8          Compiling encoding-index-korean v1.20141219.5
#9 389.8          Compiling encoding-index-japanese v1.20141219.5
#9 389.8          Compiling kv-log-macro v1.0.7
#9 389.8          Compiling encoding_rs v0.8.35
#9 389.8          Compiling indoc v2.0.6
#9 389.8          Compiling unindent v0.2.4
#9 389.8          Compiling mime v0.3.17
#9 389.8          Compiling ego-tree v0.10.0
#9 389.8          Compiling scraper v0.24.0
#9 389.8          Compiling async-std v1.13.2
#9 389.8          Compiling encoding v0.2.33
#9 389.8          Compiling num-bigint v0.4.6
#9 389.8          Compiling hickory-client v0.25.2
#9 389.8          Compiling webpki-roots v0.26.11
#9 389.8          Compiling pyo3-async-runtimes-macros v0.25.0
#9 389.8          Compiling pyo3-async-runtimes v0.25.0
#9 389.8          Compiling tokio-native-tls v0.3.1
#9 389.8          Compiling hyper-tls v0.6.0
#9 389.8          Compiling reqwest v0.12.23
#9 389.8       error: The `http3` feature is unstable, and requires the `RUSTFLAGS='--cfg reqwest_unstable'` environment variable to be set.
#9 389.8          --> /root/.cache/puccinialin/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.23/src/lib.rs:251:1
#9 389.8           |
#9 389.8       251 | / compile_error!(
#9 389.8       252 | |     "\
#9 389.8       253 | |     The `http3` feature is unstable, and requires the \
#9 389.8       254 | |     `RUSTFLAGS='--cfg reqwest_unstable'` environment variable to be set.\
#9 389.8       255 | | "
#9 389.8       256 | | );
#9 389.8           | |_^
#9 389.8
#9 389.8          Compiling tokio-stream v0.1.17
#9 389.8          Compiling urlencoding v2.1.3
#9 389.8       error: could not compile `reqwest` (lib) due to 1 previous error
#9 389.8       💥 maturin failed
#9 389.8         Caused by: Failed to build a native library through cargo
#9 389.8         Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.12-64bit" PYO3_PYTHON="/usr/local/bin/python3.12" PYTHON_SYS_EXECUTABLE="/usr/local/bin/python3.12" "cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-wheel-wyt7cc5l/impit_4d621a8e811e4534babde65a42d1fac7/impit-python/Cargo.toml" "--release" "--lib"`
#9 389.8       Rust not found, installing into a temporary directory
#9 389.8       Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/local/bin/python3.12', '--compatibility', 'off'] returned non-zero exit status 1
#9 389.8       [end of output]
#9 389.8
#9 389.8   note: This error originates from a subprocess, and is likely not a problem with pip.
#9 389.9   ERROR: Failed building wheel for impit

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions