Skip to content

First commit of the sequel package #2

First commit of the sequel package

First commit of the sequel package #2

Triggered via pull request December 2, 2023 02:44
@marainomaraino
synchronize #1
first-commit
Status Failure
Total duration 51s
Artifacts

ci.yml

on: pull_request
ci  /  ...  /  set-go-matrix
ci / build / set-go-matrix
ci  /  ...  /  set-go-matrix
0s
ci / test / set-go-matrix
ci  /  actionlint
5s
ci / actionlint
ci  /  ...  /  lint
14s
ci / lint / lint
ci  /  ...  /  govulncheck
10s
ci / govulncheck / govulncheck
Matrix: ci / codeql / CodeQL Analyze
Matrix: ci / build / build
Waiting for pending jobs
Matrix: ci / test / test
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ci / codeql / CodeQL Analyze (go)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Encountered a fatal error while running "/opt/hostedtoolcache/CodeQL/2.15.3/x64/codeql/go/tools/autobuild.sh". Exit code was 1 and last log line was: 2023/12/02 02:45:24 Extraction failed: exit status 1. See the logs for more details.
ci / test / test (stable): array_test.go#L95
array_test.go:95: Error Trace: /home/runner/work/sequel/sequel/array_test.go:95 Error: Not equal: expected: &sequel.arrayModel{Base:sequel.Base{ID:"1963b824-b15d-4090-8bab-272260e273ec", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix]{netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff7f000001}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x21}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffffc0a80a00}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x19}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff0a0a0000}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x11}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff0a000000}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x9}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x200104f8000300ba, lo:0x0}, z:(*intern.Value)(0xc00012e018)}, bitsPlusOne:0x41}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x200104f8000300ba, lo:0x2e081fffe22d1f1}, z:(*intern.Value)(0xc00012e018)}, bitsPlusOne:0x81}}, Integers:sequel.Array[int]{2, 3, 5, 7, 11, 13, 17, 19}, Varchars:sequel.Array[string]{"foo", "bar", "foobar"}, Texts:sequel.Array[string]{"foobar", "barzar"}} actual : &sequel.arrayModel{Base:sequel.Base{ID:"1963b824-b15d-4090-8bab-272260e273ec", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix]{netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff7f000001}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x21}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffffc0a80a00}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x19}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff0a0a0000}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x11}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x0, lo:0xffff0a000000}, z:(*intern.Value)(0xc00012e000)}, bitsPlusOne:0x9}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x200104f8000300ba, lo:0x0}, z:(*intern.Value)(0xc00012e018)}, bitsPlusOne:0x41}, netip.Prefix{ip:netip.Addr{addr:netip.uint128{hi:0x200104f8000300ba, lo:0x2e081fffe22d1f1}, z:(*intern.Value)(0xc00012e018)}, bitsPlusOne:0x81}}, Integers:sequel.Array[int]{2, 3, 5, 7, 11, 13, 17, 19}, Varchars:sequel.Array[string]{"foo", "bar", "foobar"}, Texts:sequel.Array[string]{"foobar", "barzar"}} Diff: --- Expected +++ Actual @@ -4,3 +4,3 @@ CreatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, @@ -9,3 +9,3 @@ UpdatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, Test: TestArray_Scan/select_m1 ---
ci / test / test (stable): array_test.go#L95
array_test.go:95: Error Trace: /home/runner/work/sequel/sequel/array_test.go:95 Error: Not equal: expected: &sequel.arrayModel{Base:sequel.Base{ID:"3300ac26-707f-4b9d-9124-2ef30cd381d1", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix](nil), Integers:sequel.Array[int]{2, 3, 5, 7, 11, 13, 17, 19}, Varchars:sequel.Array[string]{}, Texts:sequel.Array[string]{"foobar", "barzar"}} actual : &sequel.arrayModel{Base:sequel.Base{ID:"3300ac26-707f-4b9d-9124-2ef30cd381d1", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix](nil), Integers:sequel.Array[int]{2, 3, 5, 7, 11, 13, 17, 19}, Varchars:sequel.Array[string]{}, Texts:sequel.Array[string]{"foobar", "barzar"}} Diff: --- Expected +++ Actual @@ -4,3 +4,3 @@ CreatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, @@ -9,3 +9,3 @@ UpdatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, Test: TestArray_Scan/select_m2 ---
ci / test / test (stable): array_test.go#L95
array_test.go:95: Error Trace: /home/runner/work/sequel/sequel/array_test.go:95 Error: Not equal: expected: &sequel.arrayModel{Base:sequel.Base{ID:"ad5c42f2-d942-49e1-bd5e-976e7429e5f5", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818535, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix](nil), Integers:sequel.Array[int](nil), Varchars:sequel.Array[string](nil), Texts:sequel.Array[string](nil)} actual : &sequel.arrayModel{Base:sequel.Base{ID:"ad5c42f2-d942-49e1-bd5e-976e7429e5f5", CreatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), UpdatedAt:time.Date(2023, time.December, 2, 2, 45, 39, 317818000, time.UTC), DeletedAt:sql.NullTime{Time:time.Date(1, time.January, 1, 0, 0, 0, 0, time.UTC), Valid:false}}, CIDRs:sequel.Array[net/netip.Prefix](nil), Integers:sequel.Array[int](nil), Varchars:sequel.Array[string](nil), Texts:sequel.Array[string](nil)} Diff: --- Expected +++ Actual @@ -4,3 +4,3 @@ CreatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, @@ -9,3 +9,3 @@ UpdatedAt: (time.Time) { - wall: (uint64) 317818535, + wall: (uint64) 317818000, ext: (int64) 63837081939, Test: TestArray_Scan/select_m3 ---
ci / test / test (stable): array_test.go#L115
array_test.go:115: Error Trace: /home/runner/work/sequel/sequel/array_test.go:115 Error: elements differ extra elements in list A: ([]interface {}) (len=3) { (*sequel.arrayModel)({ Base: (sequel.Base) { ID: (string) (len=36) "1963b824-b15d-4090-8bab-272260e273ec", CreatedAt: (time.Time) { wall: (uint64) 317818535, ext: (int64) 63837081939, loc: (*time.Location)(<nil>) }, UpdatedAt: (time.Time) { wall: (uint64) 317818535, ext: (int64) 63837081939, loc: (*time.Location)(<nil>) }, DeletedAt: (sql.NullTime) { Time: (time.Time) { wall: (uint64) 0, ext: (int64) 0, loc: (*time.Location)(<nil>) }, Valid: (bool) false } }, CIDRs: (sequel.Array[net/netip.Prefix]) (len=6) { (netip.Prefix) { ip: (netip.Addr) { addr: (netip.uint128) { hi: (uint64) 0, lo: (uint64) 281472812449793 }, z: (*intern.Value)({ _: ([0]func()) { }, cmpVal: (interface {}) <nil>, resurrected: (bool) false }) }, bitsPlusOne: (uint8) 33 }, (netip.Prefix) { ip: (netip.Addr) { addr: (netip.uint128) { hi: (uint64) 0, lo: (uint64) 281473913981440 }, z: (*intern.Value)({ _: ([0]func()) { }, cmpVal: (interface {}) <nil>, resurrected: (bool) false }) }, bitsPlusOne: (uint8) 25 }, (netip.Prefix) { ip: (netip.Addr) { addr: (netip.uint128) { hi: (uint64) 0, lo: (uint64) 281470850170880 }, z: (*intern.Value)({ _: ([0]func()) { }, cmpVal: (interface {}) <nil>, resurrected: (bool) false }) }, bitsPlusOne: (uint8) 17 }, (netip.Prefix) { ip: (netip.Addr) { addr: (netip.uint128) { hi: (uint64) 0, lo: (uint64) 281470849515520 }, z: (*intern.Value)({ _: ([0]func()) { }, cmpVal: (interface {}) <nil>, resurrected: (bool) false }) }, bitsPlusOne: (uint8) 9 }, (netip.Prefix) { ip: (netip.Addr) { addr: (netip.uint128) { hi: (uint6
ci / test / test (stable)
Process completed with exit code 2.