Spot the bug in the safe subscript

from Extensions
Swift 6.3.3 intermediate 4 min 1 issue to find

Find why this supposedly generic safe subscript does not compile for Collection.

swift
extension Collection {
    subscript(safe index: Int) -> Element? {
        indices.contains(index) ? self[index] : nil
    }
}
Open in playground
Report an error