docs: update pyo3 to match tutorial #2029
Merged
Cirrus CI / Test (x86_64 FreeBSD)
failed
Apr 9, 2024 in 26m 15s
Task Summary
Instruction test failed in 23:34
Details
✅ 00:02 clone
✅ 00:01 target
✅ 00:13 install
✅ 00:23 setup
✅ 01:57 build
❌ 23:34 test
4: cmake::Config::build
5: build_script_build_zng::build_zlib_ng
6: build_script_build_zng::main
7: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
�[1m�[33mwarning�[0m�[1m:�[0m build failed, waiting for other jobs to finish...
💥 maturin failed
Caused by: Failed to build a native library through cargo
Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "/.rustup/toolchains/stable-x86_64-unknown-freebsd/bin/cargo" "rustc" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-ilrltl1g/uv_83b817dd10c94cc3814ea8663b8abe6d/crates/uv/Cargo.toml" "--release" "--bin" "uv" "--" "-C" "link-arg=-s"`
Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/tmp/cirrus-ci-build/test-crates/venvs/develop-uniffi-pure-proc-macro-cpython/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for uv
ERROR: Could not build wheels for uv, which is required to install pyproject.toml-based projects
stack backtrace:
0: rust_begin_unwind
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/std/src/panicking.rs:647:5
1: core::panicking::panic_fmt
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/panicking.rs:72:14
2: run::common::develop::test_develop
at ./tests/common/develop.rs:42:9
3: run::develop_uniffi_pure_proc_macro
at ./tests/run.rs:167:19
4: run::develop_uniffi_pure_proc_macro::{{closure}}
at ./tests/run.rs:166:36
5: core::ops::function::FnOnce::call_once
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
6: core::ops::function::FnOnce::call_once
at /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
failures:
develop_cffi_mixed
develop_cffi_pure
develop_hello_world::case_1
develop_hello_world::case_2
develop_pyo3_ffi_pure::case_1
develop_pyo3_ffi_pure::case_2
develop_pyo3_mixed
develop_pyo3_mixed_implicit
develop_pyo3_mixed_include_exclude
develop_pyo3_mixed_py_subdir
develop_pyo3_mixed_src_layout
develop_pyo3_mixed_submodule
develop_pyo3_mixed_with_path_dep
develop_pyo3_pure
develop_uniffi_pure_proc_macro
test result: FAILED. 38 passed; 15 failed; 4 ignored; 0 measured; 0 filtered out; finished in 1335.84s
�[1m�[31merror�[0m�[1m:�[0m test failed, to rerun pass `--test run`
Exit status: 101�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
Loading