cast indices to uint
fix rust url examples
fix clang example