Open
Description
Before posting the bug, take a look at the
FAQ
for a possible solution.
Required information
Operating system:
Darwin Nawazs-MacBook-Air.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:06 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T8103 arm64
Rust version:
rustc 1.84.1 (e71f9a9a9 2025-01-27)
Cargo version:
cargo 1.84.1 (66221abde 2024-11-19)
iceoryx2 version:
main branch (working with current development version)
Detailed log output:
Not applicable for this issue as it's a build-time warning rather than a runtime issue. The warning appears during compilation and is related to deprecated type usage.
Observed result or behaviour:
During cargo build --release
, the following deprecation warnings are observed in multiple CLI files:
warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead
--> iceoryx2-cli/iox2/src/main.rs:31:9
|
31 | setup_panic!();
| ^^^^^^^^^^^^^^
**Expected result or behaviour:**
- Build process should complete without deprecation warnings
- System should handle panics appropriately in both debug and release modes
- Error messages should remain user-friendly and informative
**Conditions where it occurred / Performed steps:**
1. Clone repository:
```bash
git clone https://github.com/eclipse-iceoryx/iceoryx2.git
cd iceoryx2
Build project:
cargo build --release