[error] word 'i' is compile-time only and cannot be used at runtime while emitting 'main'