Skip to content

Update pgx to v4

Update pgx to v4 #72

Triggered via push July 11, 2024 08:02
Status Failure
Total duration 1m 12s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 5 warnings
test (ubuntu-latest, 1.18): que.go#L361
c.stmtJobStats undefined (type *Client has no field or method stmtJobStats) (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L74
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L226
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L230
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L354
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L359
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn (typecheck)
test (ubuntu-latest, 1.18): work_test.go#L451
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.21): que.go#L1
: # github.com/kanmu/qg [github.com/kanmu/qg.test]
test (ubuntu-latest, 1.18): work_test.go#L630
cannot use query (variable of type string) as context.Context value in argument to c.pool.QueryRow: string does not implement context.Context (missing method Deadline) (typecheck)
test (ubuntu-latest, 1.21): que.go#L361
c.stmtJobStats undefined (type *Client has no field or method stmtJobStats)
test (ubuntu-latest, 1.18): work_test.go#L639
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.21): work_test.go#L74
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.18)
issues found
test (ubuntu-latest, 1.21): work_test.go#L226
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.21): work_test.go#L230
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.21): work_test.go#L354
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.21): work_test.go#L359
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.21): work_test.go#L451
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.21): work_test.go#L630
cannot use query (variable of type string) as context.Context value in argument to c.pool.QueryRow: string does not implement context.Context (missing method Deadline)
test (ubuntu-latest, 1.21): work_test.go#L639
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.19): que.go#L1
: # github.com/kanmu/qg [github.com/kanmu/qg.test]
test (ubuntu-latest, 1.19): que.go#L361
c.stmtJobStats undefined (type *Client has no field or method stmtJobStats)
test (ubuntu-latest, 1.19): work_test.go#L74
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.19): work_test.go#L226
cannot use c.pool (variable of type *pgxpool.Pool) as type *sql.DB in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.19): work_test.go#L230
cannot use c.pool (variable of type *pgxpool.Pool) as type *sql.DB in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.19): work_test.go#L354
cannot use c.pool (variable of type *pgxpool.Pool) as type *sql.DB in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.19): work_test.go#L359
cannot use c.pool (variable of type *pgxpool.Pool) as type *sql.DB in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.19): work_test.go#L451
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.19): work_test.go#L630
cannot use query (variable of type string) as type context.Context in argument to c.pool.QueryRow:
test (ubuntu-latest, 1.19): work_test.go#L639
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.20): que.go#L1
: # github.com/kanmu/qg [github.com/kanmu/qg.test]
test (ubuntu-latest, 1.20): que.go#L361
c.stmtJobStats undefined (type *Client has no field or method stmtJobStats)
test (ubuntu-latest, 1.20): work_test.go#L74
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.20): work_test.go#L226
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.20): work_test.go#L230
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.20): work_test.go#L354
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn
test (ubuntu-latest, 1.20): work_test.go#L359
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn
test (ubuntu-latest, 1.20): work_test.go#L451
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.20): work_test.go#L630
cannot use query (variable of type string) as context.Context value in argument to c.pool.QueryRow: string does not implement context.Context (missing method Deadline)
test (ubuntu-latest, 1.20): work_test.go#L639
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats)
test (ubuntu-latest, 1.17): que.go#L361
c.stmtJobStats undefined (type *Client has no field or method stmtJobStats) (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L74
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L226
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L230
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L354
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.AcquireConn (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L359
cannot use c.pool (variable of type *pgxpool.Pool) as *sql.DB value in argument to stdlib.ReleaseConn (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L451
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L630
cannot use query (variable of type string) as context.Context value in argument to c.pool.QueryRow: string does not implement context.Context (missing method Deadline) (typecheck)
test (ubuntu-latest, 1.17): work_test.go#L639
c.pool.Stats undefined (type *pgxpool.Pool has no field or method Stats) (typecheck)
test (ubuntu-latest, 1.17)
issues found
test (ubuntu-latest, 1.18)
Restore cache failed: Dependencies file is not found in /home/runner/work/qg/qg. Supported file pattern: go.sum
test (ubuntu-latest, 1.21)
Restore cache failed: Dependencies file is not found in /home/runner/work/qg/qg. Supported file pattern: go.sum
test (ubuntu-latest, 1.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/qg/qg. Supported file pattern: go.sum
test (ubuntu-latest, 1.20)
Restore cache failed: Dependencies file is not found in /home/runner/work/qg/qg. Supported file pattern: go.sum
test (ubuntu-latest, 1.17)
Restore cache failed: Dependencies file is not found in /home/runner/work/qg/qg. Supported file pattern: go.sum