SynchronizedSet にも混在する SortedSet を作成できないようです。問題の核心は、SortedSet が暗黙の Ordering オブジェクトを必要とすることです。
val orderByIdThenName = Ordering[(Int, String)].on[Foo](foo => foo.id -> foo.name)
new mutable.TreeSet[Foo]()(orderByIdThenName) // <- Works fine and is Ordered
new mutable.HashSet[Foo] with mutable.SynchronizedSet[Foo] // <- Mixin works
new mutable.TreeSet[Foo]()(orderByCount) with mutable.SynchronizedSet[Foo] // Fail!
最後の行で、「scala.collection.SortedSetLike のメンバ Ordering[A] が定義されていないため、オブジェクトの作成は不可能です。
助言がありますか?