I agree with @Frank van Puffelen and in addition to that, migration is not a direct process like a one-click conversion. If you want to migrate your 1st gen Cloud Functions to Cloud Run functions, you should upgrade and redeploy it to 2nd gen Cloud Functions (also known as Cloud Run functions). However, take note of the differences between the two when making some adjustments. Also, here’s a Reddit discussion about moving from Cloud Functions to Cloud Run which might be helpful.