`time.Duration(attempts) * time.Millisecond` is fine, but `time.Duration((attempts)) * time.Millisecond` causes a false positive. (The real scenario was doing some maths inside the time.Duration(): `time.Duration((attempts-1)*2)*time.Millisecond)`.)