The correct comparison of the voice in the sentences is: The first sentence uses passive voice and the second sentence uses active voice.
In "Mistakes were made," the subject (mistakes) receives the action rather than performing it, which is indicative of passive voice. In "We will do all we can to connect them," the subject (we) is performing the action, which is characteristic of active voice.