Skip to content

Update migrator.go #2596

Update migrator.go

Update migrator.go #2596

Triggered via pull request September 20, 2024 09:59
Status Failure
Total duration 3m 57s
Artifacts

tests.yml

on: pull_request
Matrix: mariadb
Matrix: mysql
Matrix: postgres
Matrix: sqlite
Matrix: sqlserver
Matrix: tidb
Fit to window
Zoom out
Zoom in

Annotations

78 errors and 34 warnings
mariadb (mariadb:latest, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mariadb (mariadb:latest, 1.20, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql:5.7, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql:5.7, 1.20, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:latest, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:latest, 1.21, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql:5.7, 1.22, ubuntu-latest)
The job was canceled because "mysql_5_7_1_20_ubuntu-lat" failed.
mysql (mysql:5.7, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql:5.7, 1.22, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:13, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:13, 1.22, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:latest, 1.22, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:14, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:14, 1.22, ubuntu-latest)
Process completed with exit code 1.
mariadb (mariadb:latest, 1.22, ubuntu-latest)
The job was canceled because "mariadb_latest_1_20_ubunt" failed.
mariadb (mariadb:latest, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mariadb (mariadb:latest, 1.22, ubuntu-latest)
Process completed with exit code 1.
mariadb (mariadb:latest, 1.21, ubuntu-latest)
The job was canceled because "mariadb_latest_1_20_ubunt" failed.
mariadb (mariadb:latest, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mariadb (mariadb:latest, 1.21, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:13, 1.20, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:13, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:13, 1.20, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:14, 1.20, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:14, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:14, 1.20, ubuntu-latest)
Process completed with exit code 1.
postgres (postgres:14, 1.21, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:14, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:14, 1.21, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql/mysql-server:latest, 1.20, ubuntu-latest)
The job was canceled because "mysql_5_7_1_20_ubuntu-lat" failed.
mysql (mysql/mysql-server:latest, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql/mysql-server:latest, 1.20, ubuntu-latest)
The operation was canceled.
postgres (postgres:15, 1.20, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:15, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql/mysql-server:latest, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_20_ubuntu-lat" failed.
postgres (postgres:15, 1.20, ubuntu-latest)
Process completed with exit code 1.
mysql (mysql/mysql-server:latest, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql/mysql-server:latest, 1.21, ubuntu-latest)
The operation was canceled.
postgres (postgres:latest, 1.20, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:latest, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:latest, 1.20, ubuntu-latest)
The operation was canceled.
postgres (postgres:15, 1.21, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:15, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:15, 1.21, ubuntu-latest)
The operation was canceled.
postgres (postgres:13, 1.21, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:13, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:13, 1.21, ubuntu-latest)
The operation was canceled.
mysql (mysql/mysql-server:latest, 1.22, ubuntu-latest)
The job was canceled because "mysql_5_7_1_20_ubuntu-lat" failed.
mysql (mysql/mysql-server:latest, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql/mysql-server:latest, 1.22, ubuntu-latest)
The operation was canceled.
postgres (postgres:15, 1.22, ubuntu-latest)
The job was canceled because "postgres_latest_1_21_ubun" failed.
postgres (postgres:15, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
postgres (postgres:15, 1.22, ubuntu-latest)
The operation was canceled.
mysql (mysql:5.7, 1.21, ubuntu-latest)
The job was canceled because "mysql_5_7_1_20_ubuntu-lat" failed.
mysql (mysql:5.7, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
mysql (mysql:5.7, 1.21, ubuntu-latest)
The operation was canceled.
sqlite (1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
sqlite (1.21, ubuntu-latest)
Process completed with exit code 1.
sqlite (1.20, ubuntu-latest)
The job was canceled because "_1_21_ubuntu-latest" failed.
sqlite (1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
sqlite (1.20, ubuntu-latest)
Process completed with exit code 1.
sqlite (1.22, ubuntu-latest)
The job was canceled because "_1_21_ubuntu-latest" failed.
sqlite (1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
sqlite (1.22, ubuntu-latest)
The operation was canceled.
tidb (v6.5.0, 1.21, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
tidb (v6.5.0, 1.21, ubuntu-latest)
Process completed with exit code 1.
tidb (v6.5.0, 1.22, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
tidb (v6.5.0, 1.22, ubuntu-latest)
Process completed with exit code 1.
tidb (v6.5.0, 1.20, ubuntu-latest)
The job was canceled because "v6_5_0_1_21_ubuntu-latest" failed.
tidb (v6.5.0, 1.20, ubuntu-latest): migrator/migrator.go#L312
syntax error: non-declaration statement outside function body
tidb (v6.5.0, 1.20, ubuntu-latest)
The operation was canceled.
sqlserver (1.22, ubuntu-latest)
Failed to initialize container mcmoe/mssqldocker:latest
sqlserver (1.22, ubuntu-latest)
One or more containers failed to start.
sqlserver (1.20, ubuntu-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
sqlserver (1.20, ubuntu-latest)
Failed to initialize container mcmoe/mssqldocker:latest
sqlserver (1.20, ubuntu-latest)
One or more containers failed to start.
sqlserver (1.21, ubuntu-latest)
The job was canceled because "_1_22_ubuntu-latest" failed.
sqlserver (1.21, ubuntu-latest)
A task was canceled.
mariadb (mariadb:latest, 1.20, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
mariadb (mariadb:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.20, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
mysql (mysql:5.7, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:latest, 1.21, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
postgres (postgres:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:13, 1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
postgres (postgres:13, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:14, 1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
postgres (postgres:14, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mariadb (mariadb:latest, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mariadb (mariadb:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:13, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:14, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:14, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql/mysql-server:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:15, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql/mysql-server:latest, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:latest, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:15, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:13, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql/mysql-server:latest, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
postgres (postgres:15, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
mysql (mysql:5.7, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlite (1.21, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
sqlite (1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlite (1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
sqlite (1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.21, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tidb (v6.5.0, 1.21, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.22, ubuntu-latest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tidb (v6.5.0, 1.22, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum
tidb (v6.5.0, 1.20, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/gorm/gorm. Supported file pattern: go.sum