This doesn't seem like a serious bug. Without the import of net/http, the program crashes with no goroutines (main called runtime.Goexit) - deadlock!. With the import of net/http, the program doesn't crash because it is a cgo program. See #25538. That issue was closed, but this one could be fixed in principle because the use of cgo is only implicit.