The ResourceEntry abstraction which allows ergonomically treating component borrows as Rust borrows can panic if the RwLock that it uses to dynamically enforce certain lifetime properties is poisoned. We should investigate in more depth whether this panic can actually happen in any situation where it would be sound to recover more gracefully.
Related to #577.