You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there! Thanks for building this GitHub action it's saved me a lot of hassle building our Rust codebase.
I am building for linux and macOS. Linux, macOS aarch64, and macOS x86_64 all succeed. The macOS universal2 build fails.
AFAICT, the build failure has no cause. The relevant output follows, but see also the full log. Maybe sccache is swallowing some error?
Compiling pyvortex v0.16.0 (/Users/runner/work/vortex/vortex/pyvortex)
error: could not compile `pyvortex` (lib)
Error: The process '/Users/runner/work/_temp/0acbed2e-9946-4b39-aa5c-3ecded08c021/maturin' failed with exit code 1
Caused by:
at ExecState._setResult (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1702:25)
process didn't exit successfully: `sccache /Users/runner/.rustup/toolchains/nightly-2024-09-04-x86_64-apple-darwin/bin/rustc --crate-name pyvortex --edition=2021 pyvortex/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --emit=dep-info,link -C opt-level=3 -C lto=thin -C codegen-units=1 '--deny=clippy::cargo' '--deny=clippy::all' --deny=warnings '--deny=clippy::use_debug' '--deny=clippy::unwrap_used' '--deny=clippy::unwrap_in_result' --deny=unused_qualifications --deny=unused_lifetimes --deny=unsafe_op_in_unsafe_fn '--deny=clippy::tests_outside_test_module' '--deny=clippy::same_name_method' --deny=redundant_lifetimes '--deny=clippy::panic_in_result_fn' '--deny=clippy::panic' '--deny=clippy::or_fun_call' '--allow=clippy::multiple_crate_versions' '--deny=clippy::mem_forget' '--deny=clippy::many_single_char_names' '--deny=clippy::manual_is_variant_and' '--deny=clippy::manual_assert' --deny=macro_use_extern_crate '--deny=clippy::inconsistent_struct_cons
at ExecState.CheckComplete (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1685:18)
at ChildProcess.<anonymous> (/Users/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1579:27)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Socket.<anonymous> (node:internal/child_process:457:11)
at Socket.emit (node:events:519:28)
at Pipe.<anonymous> (node:net:338:12)
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Failed to build a aarch64 library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO MACOSX_DEPLOYMENT_TARGET="11.0" "cargo" "rustc" "--features" "pyo3/extension-module" "--target" "aarch64-apple-darwin" "--message-format" "json-render-diagnostics" "--manifest-path" "/Users/runner/work/vortex/vortex/pyvortex/Cargo.toml" "--release" "--lib" "--crate-type" "cdylib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/vortex._lib.abi3.so"`
Error: The process '/Users/runner/work/_temp/0acbed2e-9946-4b39-aa5c-3ecded08c021/maturin' failed with exit code 1
My macOS step follows. .github/actions/cleanup deletes some folders. .../setup-rust runs dtolnay/rust-toolchain, Swatinem/rust-cache, and mozilla-actions/sccache-action using the rust-version from rust-toolchain.toml. setup-uv uses astral-sh/setup-uv@v3, installs Python 3.10, and installs our python dependencies.
Hey there! Thanks for building this GitHub action it's saved me a lot of hassle building our Rust codebase.
I am building for linux and macOS. Linux, macOS aarch64, and macOS x86_64 all succeed. The macOS universal2 build fails.
AFAICT, the build failure has no cause. The relevant output follows, but see also the full log. Maybe sccache is swallowing some error?
This build has run successfully before. Two major things have changed since then: we downgraded Python to 3.10 (from 3.11) and downgraded the GHA image to
macos-13
(frommacos-latest
). We downgraded the GHA image tomacos-13
to avoid the externally managed environment issue on macOS.My macOS step follows.
.github/actions/cleanup
deletes some folders..../setup-rust
runsdtolnay/rust-toolchain
,Swatinem/rust-cache
, andmozilla-actions/sccache-action
using the rust-version fromrust-toolchain.toml
.setup-uv
usesastral-sh/setup-uv@v3
, installs Python 3.10, and installs our python dependencies.I diff'ed the "Set up job" output from the successful GitHub Action to the new, failing GitHub Action:
The text was updated successfully, but these errors were encountered: