Build fails here because set itself doesn't have an embed sync.RWMutex. Probably you just forget it here :)