error[E0740]: unions may not contain fields that need dropping
/Users/LoganDark/.cargo/bin/cargo +nightly run --color=always --package rust-objrs-test --bin rust-objrs-test
Updating crates.io index
Compiling libc v0.2.72
Compiling autocfg v1.0.0
Compiling proc-macro2 v0.4.30
Compiling proc-macro2 v1.0.18
Compiling unicode-xid v0.1.0
Compiling unicode-xid v0.2.1
Compiling syn v0.15.44
Compiling version_check v0.9.2
Compiling syn v1.0.33
Compiling cc v1.0.58
Compiling cfg-if v0.1.10
Compiling log v0.4.8
Compiling unicode-segmentation v1.6.0
Compiling bitflags v1.2.1
Compiling arc-swap v0.3.11
Compiling unicode-width v0.1.8
Compiling log-mdc v0.1.0
Compiling block v0.1.6
Compiling antidote v1.0.0
Compiling fnv v1.0.7
Compiling lazy_static v1.4.0
Compiling strsim v0.10.0
Compiling os_str_bytes v2.3.1
Compiling vec_map v0.8.2
Compiling termcolor v1.1.0
Compiling textwrap v0.11.0
Compiling proc-macro-error-attr v0.4.12
Compiling proc-macro-error v0.4.12
Compiling num-traits v0.2.12
Compiling num-integer v0.1.43
Compiling indexmap v1.4.0
Compiling heck v0.3.1
Compiling malloc_buf v0.0.6
Compiling objrs_runtime v0.0.2
Compiling time v0.1.43
Compiling thread-id v3.3.0
error[E0740]: unions may not contain fields that need dropping
--> /Users/LoganDark/.cargo/registry/src/github.com-1ecc6299db9ec823/objrs_runtime-0.0.2/src/objc_exception.rs:96:5
|
96 | f: F,
| ^^^^
|
note: `std::mem::ManuallyDrop` can be used to wrap the type
--> /Users/LoganDark/.cargo/registry/src/github.com-1ecc6299db9ec823/objrs_runtime-0.0.2/src/objc_exception.rs:96:5
|
96 | f: F,
| ^^^^
Compiling dirs-sys v0.3.5
error: aborting due to previous error
For more information about this error, try `rustc --explain E0740`.
error: could not compile `objrs_runtime`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
Process finished with exit code 101