Package: src:golang-github-jinzhu-gorm Version: 1.9.6-1 Severity: serious Tags: ftbfs patch
Dear maintainer: During a rebuild of all packages in bullseye, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --buildsystem=golang --with=golang dh_update_autotools_config -i -O--buildsystem=golang dh_autoreconf -i -O--buildsystem=golang dh_auto_configure -i -O--buildsystem=golang dh_auto_build -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite internal/unsafeheader internal/cpu runtime/internal/atomic runtime/internal/sys internal/bytealg runtime/internal/math internal/race sync/atomic unicode runtime unicode/utf8 math/bits math internal/testlog encoding unicode/utf16 crypto/internal/subtle crypto/subtle container/list vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace runtime/cgo vendor/golang.org/x/crypto/internal/subtle github.com/lib/pq/oid sync internal/reflectlite math/rand internal/singleflight errors sort io internal/oserror syscall bytes hash strconv crypto reflect time context internal/syscall/unix internal/poll internal/syscall/execenv os encoding/binary crypto/sha1 internal/fmtsort fmt encoding/base64 strings regexp/syntax database/sql/driver database/sql encoding/json regexp github.com/jinzhu/inflection go/token path/filepath log go/scanner crypto/cipher go/ast crypto/des crypto/md5 bufio github.com/jinzhu/gorm crypto/aes math/big crypto/rand crypto/elliptic crypto/internal/randutil crypto/sha512 encoding/asn1 crypto/ed25519/internal/edwards25519 vendor/golang.org/x/crypto/cryptobyte crypto/ed25519 crypto/hmac crypto/rc4 crypto/ecdsa crypto/rsa crypto/sha256 crypto/dsa encoding/hex encoding/pem crypto/x509/pkix io/ioutil vendor/golang.org/x/net/dns/dnsmessage net/url vendor/golang.org/x/crypto/chacha20 vendor/golang.org/x/crypto/poly1305 net vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 vendor/golang.org/x/crypto/curve25519 vendor/golang.org/x/crypto/hkdf golang.org/x/crypto/md4 golang.org/x/net/context github.com/lib/pq/scram os/user path github.com/lib/pq/hstore github.com/mattn/go-sqlite3 crypto/x509 crypto/tls github.com/denisenkom/go-mssqldb github.com/go-sql-driver/mysql github.com/jinzhu/gorm/dialects/mysql github.com/lib/pq github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/sqlite github.com/jinzhu/gorm/dialects/postgres dh_auto_test -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite testing sqlite3... [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:292)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: animals [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:292)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: user_languages [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: shorts [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: really_long_thing_that_references_shorts [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: really_long_table_name_to_test_my_sql_name_length_limits [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: not_so_long_table_names [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: products [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: emails [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: addresses [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: credit_cards [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: companies [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: roles [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: languages [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: hn_posts [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: engadget_posts [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: animals [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: users [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: join_tables [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: posts [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: categories [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: comments [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: cats [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: dogs [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: hamsters [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: toys [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: element_with_ignored_field [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/migration_test.go:297)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: places [0m === RUN TestRegisterCallback [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:28[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:29[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:30[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:31[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:32[0m [31;1m [0m --- PASS: TestRegisterCallback (0.00s) === RUN TestRegisterCallbackWithOrder [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:41[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:42[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:43[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:44[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:51[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:52[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:53[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:54[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:55[0m [31;1m [0m --- PASS: TestRegisterCallbackWithOrder (0.00s) === RUN TestRegisterCallbackWithComplexOrder [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:65[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:66[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:67[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:75[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:76[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:77[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:78[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create2` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:79[0m [31;1m [0m --- PASS: TestRegisterCallbackWithComplexOrder (0.00s) === RUN TestReplaceCallback [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:91[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:92[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:93[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] replacing callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:94[0m [31;1m [0m --- PASS: TestReplaceCallback (0.00s) === RUN TestRemoveCallback [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:104[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `before_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:105[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `after_create1` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:106[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] removing callback `create` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callback_system_test.go:107[0m [31;1m [0m --- PASS: TestRemoveCallback (0.00s) === RUN TestCloneSearch --- PASS: TestCloneSearch (0.00s) === RUN TestWhereCloneCorruption === RUN TestWhereCloneCorruption/w=1 === RUN TestWhereCloneCorruption/w=2 === RUN TestWhereCloneCorruption/w=3 === RUN TestWhereCloneCorruption/w=4 === RUN TestWhereCloneCorruption/w=5 === RUN TestWhereCloneCorruption/w=6 === RUN TestWhereCloneCorruption/w=7 === RUN TestWhereCloneCorruption/w=8 --- PASS: TestWhereCloneCorruption (0.00s) --- PASS: TestWhereCloneCorruption/w=1 (0.00s) --- PASS: TestWhereCloneCorruption/w=2 (0.00s) --- PASS: TestWhereCloneCorruption/w=3 (0.00s) --- PASS: TestWhereCloneCorruption/w=4 (0.00s) --- PASS: TestWhereCloneCorruption/w=5 (0.00s) --- PASS: TestWhereCloneCorruption/w=6 (0.00s) --- PASS: TestWhereCloneCorruption/w=7 (0.00s) --- PASS: TestWhereCloneCorruption/w=8 (0.00s) === RUN TestBelongsTo --- PASS: TestBelongsTo (0.02s) === RUN TestBelongsToOverrideForeignKey1 --- PASS: TestBelongsToOverrideForeignKey1 (0.00s) === RUN TestBelongsToOverrideForeignKey2 --- PASS: TestBelongsToOverrideForeignKey2 (0.00s) === RUN TestHasOne --- PASS: TestHasOne (0.02s) === RUN TestHasOneOverrideForeignKey1 --- PASS: TestHasOneOverrideForeignKey1 (0.00s) === RUN TestHasOneOverrideForeignKey2 --- PASS: TestHasOneOverrideForeignKey2 (0.00s) === RUN TestHasMany --- PASS: TestHasMany (0.03s) === RUN TestHasManyOverrideForeignKey1 --- PASS: TestHasManyOverrideForeignKey1 (0.00s) === RUN TestHasManyOverrideForeignKey2 --- PASS: TestHasManyOverrideForeignKey2 (0.00s) === RUN TestManyToMany --- PASS: TestManyToMany (0.06s) === RUN TestRelated --- PASS: TestRelated (0.00s) === RUN TestForeignKey --- PASS: TestForeignKey (0.00s) === RUN TestLongForeignKey --- PASS: TestLongForeignKey (0.00s) === RUN TestLongForeignKeyWithShortDest --- PASS: TestLongForeignKeyWithShortDest (0.00s) === RUN TestHasManyChildrenWithOneStruct --- PASS: TestHasManyChildrenWithOneStruct (0.00s) === RUN TestAutoSaveBelongsToAssociation [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/association_test.go:901)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such column: deleted_at [0m --- PASS: TestAutoSaveBelongsToAssociation (0.03s) === RUN TestAutoSaveHasOneAssociation --- PASS: TestAutoSaveHasOneAssociation (0.01s) === RUN TestAutoSaveMany2ManyAssociation --- PASS: TestAutoSaveMany2ManyAssociation (0.02s) === RUN TestRunCallbacks --- PASS: TestRunCallbacks (0.01s) === RUN TestCallbacksWithErrors [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:117)[0m [33m[2022-11-30 15:52:24][0m [31;1m invalid product [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:125)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't save [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:133)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't update [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:146)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't save [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:152)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't delete [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:161)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't save [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:172)[0m [33m[2022-11-30 15:52:24][0m [31;1m can't delete [0m --- PASS: TestCallbacksWithErrors (0.01s) === RUN TestGetCallback [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:185[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] replacing callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:195[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] removing callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:205[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[info] registering callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:210[0m [31;1m [0m [33m[2022-11-30 15:52:24][0m [35m[warning] duplicated callback `gorm:test_callback` from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/callbacks_test.go:210[0m [31;1m [0m --- PASS: TestGetCallback (0.00s) === RUN TestUseDefaultCallback --- PASS: TestUseDefaultCallback (0.00s) === RUN TestCreate --- PASS: TestCreate (0.00s) === RUN TestCreateEmptyStrut --- PASS: TestCreateEmptyStrut (0.00s) === RUN TestCreateWithExistingTimestamp --- PASS: TestCreateWithExistingTimestamp (0.00s) === RUN TestCreateWithNowFuncOverride --- PASS: TestCreateWithNowFuncOverride (0.00s) === RUN TestCreateWithAutoIncrement create_test.go:151: Skipping this because only postgres properly support auto_increment on a non-primary_key column --- SKIP: TestCreateWithAutoIncrement (0.00s) === RUN TestCreateWithNoGORMPrimayKey --- PASS: TestCreateWithNoGORMPrimayKey (0.00s) === RUN TestCreateWithNoStdPrimaryKeyAndDefaultValues --- PASS: TestCreateWithNoStdPrimaryKeyAndDefaultValues (0.00s) === RUN TestAnonymousScanner --- PASS: TestAnonymousScanner (0.00s) === RUN TestAnonymousField --- PASS: TestAnonymousField (0.00s) === RUN TestSelectWithCreate --- PASS: TestSelectWithCreate (0.00s) === RUN TestOmitWithCreate --- PASS: TestOmitWithCreate (0.00s) === RUN TestCreateIgnore --- PASS: TestCreateIgnore (0.00s) === RUN TestCustomizeColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:25)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: customize_columns [0m --- PASS: TestCustomizeColumn (0.00s) === RUN TestCustomColumnAndIgnoredFieldClash [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:64)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: custom_column_and_ignored_field_clashes [0m --- PASS: TestCustomColumnAndIgnoredFieldClash (0.00s) === RUN TestManyToManyWithCustomizedColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:81)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: customize_people [0m --- PASS: TestManyToManyWithCustomizedColumn (0.01s) === RUN TestOneToOneWithCustomizedColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:121)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: customize_users [0m --- PASS: TestOneToOneWithCustomizedColumn (0.01s) === RUN TestOneToManyWithCustomizedColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:176)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: promotion_discounts [0m --- PASS: TestOneToManyWithCustomizedColumn (0.01s) === RUN TestHasOneWithPartialCustomizedColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:211)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: promotion_rules [0m --- PASS: TestHasOneWithPartialCustomizedColumn (0.01s) === RUN TestBelongsToWithPartialCustomizedColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:249)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: promotion_benefits [0m --- PASS: TestBelongsToWithPartialCustomizedColumn (0.01s) === RUN TestSelfReferencingMany2ManyColumn [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/customize_column_test.go:290)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: self_referencing_users [0m --- PASS: TestSelfReferencingMany2ManyColumn (0.02s) === RUN TestDelete --- PASS: TestDelete (0.00s) === RUN TestInlineDelete --- PASS: TestInlineDelete (0.01s) === RUN TestSoftDelete --- PASS: TestSoftDelete (0.00s) === RUN TestSoftDeleteWithCustomizedDeletedAtColumnName --- PASS: TestSoftDeleteWithCustomizedDeletedAtColumnName (0.00s) === RUN TestPrefixColumnNameForEmbeddedStruct --- PASS: TestPrefixColumnNameForEmbeddedStruct (0.00s) === RUN TestSaveAndQueryEmbeddedStruct --- PASS: TestSaveAndQueryEmbeddedStruct (0.00s) === RUN TestEmbeddedPointerTypeStruct --- PASS: TestEmbeddedPointerTypeStruct (0.00s) === RUN TestErrorsCanBeUsedOutsideGorm --- PASS: TestErrorsCanBeUsedOutsideGorm (0.00s) === RUN TestCalculateField --- PASS: TestCalculateField (0.00s) === RUN TestFieldSet --- PASS: TestFieldSet (0.00s) === RUN TestJoinTable [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/join_table_test.go:56)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: person_addresses [0m --- PASS: TestJoinTable (0.01s) === RUN TestEmbeddedMany2ManyRelationship --- PASS: TestEmbeddedMany2ManyRelationship (0.01s) === RUN TestOpen_ReturnsError_WithBadArgs === RUN TestOpen_ReturnsError_WithBadArgs/42 === RUN TestOpen_ReturnsError_WithBadArgs/2022-11-30_15:52:24.857959222_+0000_UTC_m=+0.456957948 === RUN TestOpen_ReturnsError_WithBadArgs/0xc000501450 --- PASS: TestOpen_ReturnsError_WithBadArgs (0.00s) --- PASS: TestOpen_ReturnsError_WithBadArgs/42 (0.00s) --- PASS: TestOpen_ReturnsError_WithBadArgs/2022-11-30_15:52:24.857959222_+0000_UTC_m=+0.456957948 (0.00s) --- PASS: TestOpen_ReturnsError_WithBadArgs/0xc000501450 (0.00s) === RUN TestStringPrimaryKey [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:112)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: uuid_structs [0m --- PASS: TestStringPrimaryKey (0.01s) === RUN TestExceptionsWithInvalidSql [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:128)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:132)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such column: aaa [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:136)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such column: sdsd.zaaa [0m --- PASS: TestExceptionsWithInvalidSql (0.00s) === RUN TestSetTable [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:170)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: invalid_table [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:174)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: deleted_users [0m --- PASS: TestSetTable (0.03s) === RUN TestHasTable [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:220)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: foos [0m --- PASS: TestHasTable (0.00s) === RUN TestTableName --- PASS: TestTableName (0.00s) === RUN TestTableNameConcurrently --- PASS: TestTableNameConcurrently (0.00s) === RUN TestNullValues [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:322)[0m [33m[2022-11-30 15:52:24][0m [31;1m no such table: null_values [0m --- PASS: TestNullValues (0.01s) === RUN TestNullValuesWithFirstOrCreate [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:360)[0m [33m[2022-11-30 15:52:24][0m [31;1m NOT NULL constraint failed: null_values.name [0m --- PASS: TestNullValuesWithFirstOrCreate (0.00s) === RUN TestTransaction [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:419)[0m [33m[2022-11-30 15:52:24][0m [31;1m sql: transaction has already been committed or rolled back [0m [35m(/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:451)[0m [33m[2022-11-30 15:52:24][0m [31;1m sql: transaction has already been committed or rolled back [0m --- PASS: TestTransaction (0.01s) === RUN TestTransactionWithBlock --- PASS: TestTransactionWithBlock (0.00s) === RUN TestTransaction_NoErrorOnRollbackAfterCommit --- PASS: TestTransaction_NoErrorOnRollbackAfterCommit (0.00s) === RUN TestTransactionReadonly main_test.go:567: sqlite does not support readonly transactions --- SKIP: TestTransactionReadonly (0.00s) === RUN TestRow --- PASS: TestRow (0.01s) === RUN TestRows --- PASS: TestRows (0.01s) === RUN TestScanRows --- PASS: TestScanRows (0.01s) === RUN TestScan --- PASS: TestScan (0.01s) === RUN TestRaw --- PASS: TestRaw (0.01s) === RUN TestGroup --- PASS: TestGroup (0.00s) === RUN TestJoins --- PASS: TestJoins (0.00s) === RUN TestScanIdenticalColumnNames --- PASS: TestScanIdenticalColumnNames (0.00s) === RUN TestJoinsWithSelect --- PASS: TestJoinsWithSelect (0.00s) === RUN TestHaving --- PASS: TestHaving (0.00s) === RUN TestQueryBuilderSubselectInWhere --- PASS: TestQueryBuilderSubselectInWhere (0.01s) === RUN TestQueryBuilderRawQueryWithSubquery --- PASS: TestQueryBuilderRawQueryWithSubquery (0.01s) === RUN TestQueryBuilderSubselectInHaving --- PASS: TestQueryBuilderSubselectInHaving (0.01s) === RUN TestTimeWithZone --- FAIL: TestTimeWithZone (0.00s) panic: time: missing Location in call to Date [recovered] panic: time: missing Location in call to Date goroutine 1590 [running]: testing.tRunner.func1.1(0x8643c0, 0x96a1f0) /usr/lib/go-1.15/src/testing/testing.go:1072 +0x30d testing.tRunner.func1(0xc0003ded80) /usr/lib/go-1.15/src/testing/testing.go:1075 +0x41a panic(0x8643c0, 0x96a1f0) /usr/lib/go-1.15/src/runtime/panic.go:969 +0x1b9 time.Date(0x7dd, 0x2, 0x13, 0x1, 0x33, 0x31, 0x75bcd15, 0x0, 0x0, 0x516c00, ...) /usr/lib/go-1.15/src/time/time.go:1344 +0x636 github.com/jinzhu/gorm_test.TestTimeWithZone(0xc0003ded80) /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jinzhu/gorm/main_test.go:977 +0x98 testing.tRunner(0xc0003ded80, 0x909d88) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1168 +0x2b3 FAIL github.com/jinzhu/gorm 0.586s ? github.com/jinzhu/gorm/dialects/mssql [no test files] ? github.com/jinzhu/gorm/dialects/mysql [no test files] ? github.com/jinzhu/gorm/dialects/postgres [no test files] ? github.com/jinzhu/gorm/dialects/sqlite [no test files] FAIL dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 2 github.com/jinzhu/gorm github.com/jinzhu/gorm/dialects/mssql github.com/jinzhu/gorm/dialects/mysql github.com/jinzhu/gorm/dialects/postgres github.com/jinzhu/gorm/dialects/sqlite returned exit code 1 make: *** [debian/rules:4: build-indep] Error 25 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 -------------------------------------------------------------------------------- (The above is just how the build ends and not necessarily the most relevant part) Note: I'm using the "patch" tag because there is an obvious fix (indicated in the subject). About the archive rebuild: The build was made using virtual machines from Hetzner, with enough memory, enough disk, and either one or two CPUs, using a reduced chroot with only build-essential packages (plus debhelper). If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.