Skip to content

Refactor StartBackup to Support Custom Backup Handlers #805

Refactor StartBackup to Support Custom Backup Handlers

Refactor StartBackup to Support Custom Backup Handlers #805

Re-run triggered February 1, 2024 14:06
Status Failure
Total duration 1m 32s
Artifacts

ci.yml

on: pull_request
Matrix: platforms
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

87 errors and 28 warnings
Tests Go 1.19 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as type mysql.Position in argument to b.StartBackup
Tests Go 1.19 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as type time.Duration in argument to b.StartBackup
Tests Go 1.19 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as type mysql.Position in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as type time.Duration in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as type func(filename string) (io.WriteCloser, error) in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as type mysql.Position in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as type time.Duration in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as type func(filename string) (io.WriteCloser, error) in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-20.04
Process completed with exit code 1.
Tests Go 1.19 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as type mysql.Position in argument to b.StartBackup
Tests Go 1.19 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as type time.Duration in argument to b.StartBackup
Tests Go 1.19 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as type mysql.Position in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as type time.Duration in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as type func(filename string) (io.WriteCloser, error) in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as type mysql.Position in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as type time.Duration in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as type func(filename string) (io.WriteCloser, error) in argument to t.b.StartBackup
Tests Go 1.19 on ubuntu-22.04
Process completed with exit code 1.
Tests Go 1.20 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-20.04
The operation was canceled.
platforms (amd64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (amd64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (amd64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (amd64, linux)
Process completed with exit code 1.
Tests Go 1.21 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-20.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-20.04
The operation was canceled.
Tests Go 1.20 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.20 on ubuntu-22.04
The operation was canceled.
platforms (amd64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (amd64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (amd64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (amd64, freebsd)
Process completed with exit code 1.
Tests Go 1.21 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-22.04: cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/backup_test.go#L31
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/backup_test.go#L31
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/backup_test.go#L31
cannot use timeout (variable of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/replication_test.go#L429
cannot use binlogDir (variable of type string) as mysql.Position value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/replication_test.go#L429
cannot use mysql.Position{…} (value of type mysql.Position) as time.Duration value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04: replication/replication_test.go#L429
cannot use 2 * time.Second (constant 2000000000 of type time.Duration) as func(filename string) (io.WriteCloser, error) value in argument to t.b.StartBackup
Tests Go 1.21 on ubuntu-22.04
The operation was canceled.
platforms (arm64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (arm64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (arm64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (arm64, darwin)
The operation was canceled.
platforms (arm64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (arm64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (arm64, linux): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (arm64, linux)
The operation was canceled.
platforms (amd64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (amd64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (amd64, darwin): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (amd64, darwin)
The operation was canceled.
platforms (arm64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use *backupPath (variable of type string) as mysql.Position value in argument to b.StartBackup
platforms (arm64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use pos (variable of type mysql.Position) as time.Duration value in argument to b.StartBackup
platforms (arm64, freebsd): cmd/go-mysqlbinlog/main.go#L57
cannot use 0 (untyped int constant) as func(filename string) (io.WriteCloser, error) value in argument to b.StartBackup
platforms (arm64, freebsd)
The operation was canceled.
golangci: cmd/go-mysqlbinlog/main.go#L1
: # github.com/go-mysql-org/go-mysql/cmd/go-mysqlbinlog
golangci: replication/backup.go#L1
: # github.com/go-mysql-org/go-mysql/replication [github.com/go-mysql-org/go-mysql/replication.test]
golangci
issues found
Tests Go 1.19 on ubuntu-20.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.19 on ubuntu-20.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
Tests Go 1.19 on ubuntu-22.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.19 on ubuntu-22.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
Tests Go 1.20 on ubuntu-20.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.20 on ubuntu-20.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
platforms (amd64, linux)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (amd64, linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests Go 1.21 on ubuntu-20.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.21 on ubuntu-20.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
Tests Go 1.20 on ubuntu-22.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.20 on ubuntu-22.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
platforms (amd64, freebsd)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (amd64, freebsd)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests Go 1.21 on ubuntu-22.04
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Tests Go 1.21 on ubuntu-22.04
Restore cache failed: Dependencies file is not found in /home/runner/work/go-mysql/go-mysql. Supported file pattern: go.sum
platforms (arm64, darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (arm64, darwin)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
platforms (arm64, linux)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (arm64, linux)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
platforms (amd64, darwin)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (amd64, darwin)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
platforms (arm64, freebsd)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
platforms (arm64, freebsd)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
golangci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
golangci
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
golangci
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/