{"$message_type":"diagnostic","message":"duplicate lang item in crate `std` (which `test` depends on): `panic_impl`","code":{"code":"E0152","explanation":"A lang item was redefined.\n\nErroneous code example:\n\n```compile_fail,E0152\n#![feature(lang_items)]\n\n#[lang = \"owned_box\"]\nstruct Foo<T>(T); // error: duplicate lang item found: `owned_box`\n```\n\nLang items are already implemented in the standard library. Unless you are\nwriting a free-standing application (e.g., a kernel), you do not need to provide\nthem yourself.\n\nYou can build a free-standing crate by adding `#![no_std]` to the crate\nattributes:\n\n```ignore (only-for-syntax-highlight)\n#![no_std]\n```\n\nSee also [this section of the Rustonomicon][beneath std].\n\n[beneath std]: https://doc.rust-lang.org/nomicon/beneath-std.html\n"},"level":"error","spans":[],"children":[{"message":"the lang item is first defined in crate `panic_halt` (which `qtpy_samd21_fw` depends on)","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"first definition in `panic_halt` loaded from \\\\?\\C:\\Users\\decid\\Documents\\projects\\qt-py-haptics\\target\\debug\\deps\\libpanic_halt-ce67125222099b23.rmeta","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"second definition in `std` loaded from C:\\Users\\decid\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-505ed9e40954533c.rlib","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[1m\u001b[91merror[E0152]\u001b[0m\u001b[1m\u001b[97m: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`\u001b[0m\n  \u001b[1m\u001b[96m|\u001b[0m\n  \u001b[1m\u001b[96m= \u001b[0m\u001b[1m\u001b[97mnote\u001b[0m: the lang item is first defined in crate `panic_halt` (which `qtpy_samd21_fw` depends on)\n  \u001b[1m\u001b[96m= \u001b[0m\u001b[1m\u001b[97mnote\u001b[0m: first definition in `panic_halt` loaded from \\\\?\\C:\\Users\\decid\\Documents\\projects\\qt-py-haptics\\target\\debug\\deps\\libpanic_halt-ce67125222099b23.rmeta\n  \u001b[1m\u001b[96m= \u001b[0m\u001b[1m\u001b[97mnote\u001b[0m: second definition in `std` loaded from C:\\Users\\decid\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-505ed9e40954533c.rlib\n\n"}
{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[1m\u001b[91merror\u001b[0m\u001b[1m\u001b[97m: aborting due to 1 previous error\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0152`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[1m\u001b[97mFor more information about this error, try `rustc --explain E0152`.\u001b[0m\n"}
