This is a bogus comparison though. A bridge has one obvious use and can't be picked up and re-used in many other bridges. An OS (particularly an open source one) has nearly unlimited uses beyond the realm of the author's control.
Let's not put Linus in prison when a kernel panic results in a Tesla slamming into a wall.
On a more discouraging note, there was normally single digit attendance out of triple digit enrollment in the particular course I took. I'd say average engagement was ~6 hours total over the course of the semester... Including a movie. I don't know anyone that didn't get an A. There were a few from that class that went onto big names, and they weren't among the regular attendees.
I think the general point stands though that for everyone calling for ethics classes -- a lot of CS and CS related degrees like CE already have them. Furthermore many companies already have various code of conduct types of annual training. The solution has to be something else than "education".