Client::connect_ports requires that the first argument is an input port and the second argument is an output port, however it compiles with arguments that do not satisfy these constraints. In that case, it fails at runtime with an Error::PortConnectionError.