Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC for supporting uniffi bindgen with multiple crates #1910

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

PoC for supporting uniffi bindgen with multiple crates

36f9ac6
Select commit
Loading
Failed to load commit list.
Open

PoC for supporting uniffi bindgen with multiple crates #1910

PoC for supporting uniffi bindgen with multiple crates
36f9ac6
Select commit
Loading
Failed to load commit list.
Cirrus CI / Test (x86_64 FreeBSD) failed Jan 9, 2024 in 10m 40s

Task Summary

Instruction test failed in 07:06

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:02 clone
✅ 00:21 target
✅ 00:32 install
✅ 00:27 setup
✅ 02:07 build
❌ 07:06 test

🔗 Found uniffi bindings
📦 Built wheel to test-crates/wheels/integration-uniffi-pure-proc-macro/uniffi_pure_proc_macro-0.1.0-py3-none-freebsd_13_1_RELEASE_amd64.whl
Cause: Check install fail: exit status: 1 
--- Stdout:

--- Stderr:
Traceback (most recent call last):
  File "test-crates/uniffi-pure-proc-macro/check_installed/check_installed.py", line 3, in <module>
    import uniffi_pure_proc_macro as uniffi_pure
  File "/tmp/cirrus-ci-build/test-crates/venvs/integration-uniffi-pure-proc-macro-py3-cpython/lib/python3.8/site-packages/uniffi_pure_proc_macro/__init__.py", line 1, in <module>
    from .uniffi_pure_proc_macro.py import *  # NOQA
ModuleNotFoundError: No module named 'uniffi_pure_proc_macro.uniffi_pure_proc_macro.py'; 'uniffi_pure_proc_macro.uniffi_pure_proc_macro' is not a package

thread 'integration_uniffi_pure_proc_macro' panicked at tests/common/mod.rs:88:13:
Check install fail: exit status: 1 
--- Stdout:

--- Stderr:
Traceback (most recent call last):
  File "test-crates/uniffi-pure-proc-macro/check_installed/check_installed.py", line 3, in <module>
    import uniffi_pure_proc_macro as uniffi_pure
  File "/tmp/cirrus-ci-build/test-crates/venvs/integration-uniffi-pure-proc-macro-py3-cpython/lib/python3.8/site-packages/uniffi_pure_proc_macro/__init__.py", line 1, in <module>
    from .uniffi_pure_proc_macro.py import *  # NOQA
ModuleNotFoundError: No module named 'uniffi_pure_proc_macro.uniffi_pure_proc_macro.py'; 'uniffi_pure_proc_macro.uniffi_pure_proc_macro' is not a package

stack backtrace:
   0: rust_begin_unwind
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
   2: core::panicking::panic_display
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:178:5
   3: run::common::handle_result::panic_cold_display
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panic.rs:99:13
   4: run::common::handle_result
             at ./tests/common/mod.rs:88:13
   5: run::integration_uniffi_pure_proc_macro
             at ./tests/run.rs:334:5
   6: run::integration_uniffi_pure_proc_macro::{{closure}}
             at ./tests/run.rs:333:40
   7: core::ops::function::FnOnce::call_once
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
   8: core::ops::function::FnOnce::call_once
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    develop_uniffi_pure_proc_macro
    integration_uniffi_pure_proc_macro

test result: FAILED. 47 passed; 2 failed; 4 ignored; 0 measured; 0 filtered out; finished in 388.74s

�[1m�[31merror�[0m�[1m:�[0m test failed, to rerun pass `--test run`

Exit status: 101������������������������������������������������������������������������������������������