pub fn ensure_port_unique(
    port: Port,
    validation_context: Rc<RefCell<ValidationContext>>
) -> Result<(), Error>