Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/g/golang-github-sasha-s-go-deadlock/golang-github-sasha-s-go-deadlock_0.1.0-4_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/golang-github-sasha-s-go-deadlock-0.1.0-42tf_9a9a/golang-github-sasha-s-go-deadlock_0.1.0-4_all.buildinfo Get source package info: golang-github-sasha-s-go-deadlock=0.1.0-4 Source URL: http://snapshot.notset.fr/mr/package/golang-github-sasha-s-go-deadlock/0.1.0-4/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.15.1-3 autopoint=0.19.8.1-4 autotools-dev=20171216.1 base-files=10.1 base-passwd=3.5.44 bash=4.4-5 binutils=2.30-1 binutils-common=2.30-1 binutils-x86-64-linux-gnu=2.30-1 bsdmainutils=11.1.2 bsdutils=1:2.30.2-0.3 build-essential=12.4 bzip2=1.0.6-8.1 coreutils=8.28-1 cpp=4:7.2.0-1d1 cpp-7=7.3.0-1 dash=0.5.8-2.10 debconf=1.5.65 debhelper=11.1.4 debianutils=4.8.4 dh-autoreconf=16 dh-golang=1.30 dh-strip-nondeterminism=0.040-1 diffutils=1:3.6-1 dpkg=1.19.0.5 dpkg-dev=1.19.0.5 e2fslibs=1.43.8-2 e2fsprogs=1.43.8-2 fdisk=2.30.2-0.3 file=1:5.32-1 findutils=4.6.0+git+20170828-2 g++=4:7.2.0-1d1 g++-7=7.3.0-1 gcc=4:7.2.0-1d1 gcc-7=7.3.0-1 gcc-7-base=7.3.0-1 gettext=0.19.8.1-4 gettext-base=0.19.8.1-4 golang-1.9-go=1.9.3-1 golang-1.9-src=1.9.3-1 golang-go=2:1.9~2 golang-src=2:1.9~2 grep=3.1-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.20 init-system-helpers=1.51 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.60-1 libasan4=7.3.0-1 libatomic1=7.3.0-1 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.8.2-1 libaudit1=1:2.8.2-1 libbinutils=2.30-1 libblkid1=2.30.2-0.3 libbsd0=0.8.7-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.26-6 libc-dev-bin=2.26-6 libc6=2.26-6 libc6-dev=2.26-6 libcap-ng0=0.7.7-3.1+b1 libcc1-0=7.3.0-1 libcilkrts5=7.3.0-1 libcomerr2=1.43.8-2 libcroco3=0.6.12-2 libdb5.3=5.3.28-13.1+b1 libdebconfclient0=0.239 libdpkg-perl=1.19.0.5 libfdisk1=2.30.2-0.3 libffi6=3.2.1-8 libfile-stripnondeterminism-perl=0.040-1 libgcc-7-dev=7.3.0-1 libgcc1=1:7.3.0-1 libgcrypt20=1.8.1-4 libgdbm5=1.14.1-2 libglib2.0-0=2.54.3-2 libgmp10=2:6.1.2+dfsg-2 libgomp1=7.3.0-1 libgpg-error0=1.27-5 libicu57=57.1-8 libisl15=0.18-1 libitm1=7.3.0-1 liblsan0=7.3.0-1 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.3 libmagic-mgc=1:5.32-1 libmagic1=1:5.32-1 libmount1=2.30.2-0.3 libmpc3=1.1.0-1 libmpfr6=4.0.0-7 libmpx2=7.3.0-1 libncurses5=6.0+20171125-1 libncursesw5=6.0+20171125-1 libpam-modules=1.1.8-3.6 libpam-modules-bin=1.1.8-3.6 libpam-runtime=1.1.8-3.6 libpam0g=1.1.8-3.6 libpcre3=2:8.39-9 libperl5.26=5.26.1-4+b1 libpipeline1=1.5.0-1 libquadmath0=7.3.0-1 libselinux1=2.7-2+b1 libsigsegv2=2.12-1 libsmartcols1=2.30.2-0.3 libss2=1.43.8-2 libstdc++-7-dev=7.3.0-1 libstdc++6=7.3.0-1 libsystemd0=237-1 libtimedate-perl=2.3000-2 libtinfo5=6.0+20171125-1 libtool=2.4.6-2 libtsan0=7.3.0-1 libubsan0=7.3.0-1 libudev1=237-1 libunistring2=0.9.8-1 libuuid1=2.30.2-0.3 libxml2=2.9.4+dfsg1-6.1 linux-libc-dev=4.14.13-1 login=1:4.5-1 m4=1.4.18-1 make=4.1-9.1 man-db=2.8.0-2 mawk=1.3.3-17+b3 ncurses-base=6.0+20171125-1 ncurses-bin=6.0+20171125-1 patch=2.7.5-1+b2 perl=5.26.1-4+b1 perl-base=5.26.1-4+b1 perl-modules-5.26=5.26.1-4 po-debconf=1.0.20 sed=4.4-2 sysvinit-utils=2.88dsf-59.10 tar=1.29b-2 util-linux=2.30.2-0.3 xz-utils=5.2.2-1.3 zlib1g=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20180209T230438Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180205T095626Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d golang-github-sasha-s-go-deadlock=0.1.0-4 && mkdir -p /build/golang-github-sasha-s-go-deadlock-HdeSAv && dpkg-source --no-check -x /*.dsc /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0 && chown -R builduser:builduser /build/golang-github-sasha-s-go-deadlock-HdeSAv" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1517890694" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/golang-github-sasha-s-go-deadlock-HdeSAv /tmp/golang-github-sasha-s-go-deadlock-0.1.0-42tf_9a9a buster /dev/null deb http://snapshot.notset.fr/archive/debian/20180205T095626Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.tikVSb5PGh as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.tikVSb5PGh Reading package lists... Building dependency tree... util-linux is already the newest version (2.30.2-0.3). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20180205T095626Z unstable/main amd64 libfakeroot amd64 1.22-2 [45.9 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180205T095626Z unstable/main amd64 fakeroot amd64 1.22-2 [85.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1091 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4424 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.22-2_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-2) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.22-2_amd64.deb ... Unpacking fakeroot (1.22-2) ... Processing triggers for libc-bin (2.26-6) ... Setting up libfakeroot:amd64 (1.22-2) ... Setting up fakeroot (1.22-2) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.26-6) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20180209T230438Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20180205T095626Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.tikVSb5PGh Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20180209T230438Z unstable InRelease [241 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20180205T095626Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20180209T230438Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20180209T230438Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20180209T230438Z unstable/main amd64 Packages [10.6 MB] Fetched 33.4 MB in 28s (1179 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.tikVSb5PGh I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d golang-github-sasha-s-go-deadlock=0.1.0-4 && mkdir -p /build/golang-github-sasha-s-go-deadlock-HdeSAv && dpkg-source --no-check -x /*.dsc /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0 && chown -R builduser:builduser /build/golang-github-sasha-s-go-deadlock-HdeSAv"' exec /tmp/mmdebstrap.tikVSb5PGh Reading package lists... NOTICE: 'golang-github-sasha-s-go-deadlock' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/go-team/packages/golang-github-sasha-s-go-deadlock.git Please use: git clone https://salsa.debian.org/go-team/packages/golang-github-sasha-s-go-deadlock.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 13.9 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-sasha-s-go-deadlock 0.1.0-4 (dsc) [2321 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-sasha-s-go-deadlock 0.1.0-4 (tar) [9718 B] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main golang-github-sasha-s-go-deadlock 0.1.0-4 (diff) [1868 B] Fetched 13.9 kB in 0s (263 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'golang-github-sasha-s-go-deadlock_0.1.0-4.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting golang-github-sasha-s-go-deadlock in /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0 dpkg-source: info: unpacking golang-github-sasha-s-go-deadlock_0.1.0.orig.tar.gz dpkg-source: info: unpacking golang-github-sasha-s-go-deadlock_0.1.0-4.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1517890694" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.tikVSb5PGh dpkg-buildpackage: info: source package golang-github-sasha-s-go-deadlock dpkg-buildpackage: info: source version 0.1.0-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Alexandre Viau dpkg-source --before-build golang-github-sasha-s-go-deadlock-0.1.0 fakeroot debian/rules clean dh clean --buildsystem=golang --with=golang dh_auto_clean -O--buildsystem=golang dh_clean -O--buildsystem=golang debian/rules build-indep dh build-indep --buildsystem=golang --with=golang dh_update_autotools_config -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 -gcflags=\"-trimpath=/build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src\" -asmflags=\"-trimpath=/build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src\" -v -p 1 github.com/sasha-s/go-deadlock github.com/sasha-s/go-deadlock dh_auto_test -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && go test -v -p 1 github.com/sasha-s/go-deadlock === RUN TestNoDeadlocks --- PASS: TestNoDeadlocks (0.76s) === RUN TestLockOrder POTENTIAL DEADLOCK: Inconsistent locking. saw this ordering in one goroutine: happened before deadlock_test.go:75 go-deadlock.TestLockOrder.func2 { a.Lock() } <<<<< happened after deadlock_test.go:76 go-deadlock.TestLockOrder.func2 { b.Lock() } <<<<< in another goroutine: happened before deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } <<<<< happend after deadlock_test.go:85 go-deadlock.TestLockOrder.func3 { a.RLock() } <<<<< Other goroutines holding locks: goroutine 376 lock 0xc4201621c8 deadlock_test.go:84 go-deadlock.TestLockOrder.func3 { b.Lock() } <<<<< --- PASS: TestLockOrder (0.00s) === RUN TestHardDeadlock POTENTIAL DEADLOCK: Previous place where the lock was grabbed goroutine 377 lock 0xc4201622e8 deadlock_test.go:104 go-deadlock.TestHardDeadlock { mu.Lock() } <<<<< Have been trying to lock it again for more than 20ms goroutine 367 lock 0xc4201622e8 deadlock_test.go:108 go-deadlock.TestHardDeadlock.func2 { mu.Lock() } <<<<< Here is what goroutine 377 doing now goroutine 377 [select]: github.com/sasha-s/go-deadlock.TestHardDeadlock(0xc4201d60f0) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:111 +0x1ed testing.tRunner(0xc4201d60f0, 0x5547a0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de Other goroutines holding locks: All current goroutines: goroutine 367 [running]: github.com/sasha-s/go-deadlock.stacks(0x5ed720, 0xc4200a2010, 0x0) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/stacktraces.go:101 +0xa7 github.com/sasha-s/go-deadlock.lock(0xc4201104d0, 0x525480, 0xc4201622e8) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock.go:179 +0x6c9 github.com/sasha-s/go-deadlock.(*Mutex).Lock(0xc4201622e8) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock.go:55 +0x75 github.com/sasha-s/go-deadlock.TestHardDeadlock.func2(0xc42013fce0, 0xc4201622e8) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:108 +0x55 created by github.com/sasha-s/go-deadlock.TestHardDeadlock /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:106 +0x12b goroutine 1 [chan receive]: testing.(*T).Run(0xc4200c6000, 0x54d8a2, 0x10, 0x5547a0, 0x46f201) /usr/lib/go-1.9/src/testing/testing.go:790 +0x2fc testing.runTests.func1(0xc4200c6000) /usr/lib/go-1.9/src/testing/testing.go:1004 +0x64 testing.tRunner(0xc4200c6000, 0xc420069de0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 testing.runTests(0xc4200a8080, 0x601e00, 0x3, 0x3, 0x4115c7) /usr/lib/go-1.9/src/testing/testing.go:1002 +0x2d8 testing.(*M).Run(0xc420069f18, 0xc420069f70) /usr/lib/go-1.9/src/testing/testing.go:921 +0x111 main.main() github.com/sasha-s/go-deadlock/_test/_testmain.go:48 +0xdb goroutine 377 [select]: github.com/sasha-s/go-deadlock.TestHardDeadlock(0xc4201d60f0) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock_test.go:111 +0x1ed testing.tRunner(0xc4201d60f0, 0x5547a0) /usr/lib/go-1.9/src/testing/testing.go:746 +0xd0 created by testing.(*T).Run /usr/lib/go-1.9/src/testing/testing.go:789 +0x2de goroutine 368 [semacquire]: sync.runtime_SemacquireMutex(0xc4201622ec, 0x0) /usr/lib/go-1.9/src/runtime/sema.go:71 +0x3d sync.(*Mutex).Lock(0xc4201622e8) /usr/lib/go-1.9/src/sync/mutex.go:134 +0xee sync.(*Mutex).Lock-fm() /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock.go:55 +0x2a github.com/sasha-s/go-deadlock.lock.func1(0xc4201104d0, 0xc42013fd40) /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock.go:157 +0x27 created by github.com/sasha-s/go-deadlock.lock /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/obj-x86_64-linux-gnu/src/github.com/sasha-s/go-deadlock/deadlock.go:156 +0xdb 2021/10/08 15:26:56 **************** --- PASS: TestHardDeadlock (0.10s) PASS ok github.com/sasha-s/go-deadlock 0.864s fakeroot debian/rules binary-indep dh binary-indep --buildsystem=golang --with=golang dh_testroot -i -O--buildsystem=golang dh_prep -i -O--buildsystem=golang dh_auto_install -i -O--buildsystem=golang cd obj-x86_64-linux-gnu && mkdir -p /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/debian/golang-github-sasha-s-go-deadlock-dev/usr/share/gocode/src/github.com/sasha-s/go-deadlock cd obj-x86_64-linux-gnu && cp -r -T src/github.com/sasha-s/go-deadlock /build/golang-github-sasha-s-go-deadlock-HdeSAv/golang-github-sasha-s-go-deadlock-0.1.0/debian/golang-github-sasha-s-go-deadlock-dev/usr/share/gocode/src/github.com/sasha-s/go-deadlock dh_installdocs -i -O--buildsystem=golang dh_installchangelogs -i -O--buildsystem=golang dh_perl -i -O--buildsystem=golang dh_link -i -O--buildsystem=golang dh_strip_nondeterminism -i -O--buildsystem=golang dh_compress -i -O--buildsystem=golang dh_fixperms -i -O--buildsystem=golang dh_missing -i -O--buildsystem=golang dh_installdeb -i -O--buildsystem=golang dh_golang -i -O--buildsystem=golang dh_gencontrol -i -O--buildsystem=golang dpkg-gencontrol: warning: Depends field of package golang-github-sasha-s-go-deadlock-dev: unknown substitution variable ${shlibs:Depends} dh_md5sums -i -O--buildsystem=golang dh_builddeb -i -O--buildsystem=golang dpkg-deb: building package 'golang-github-sasha-s-go-deadlock-dev' in '../golang-github-sasha-s-go-deadlock-dev_0.1.0-4_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../golang-github-sasha-s-go-deadlock_0.1.0-4_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build golang-github-sasha-s-go-deadlock-0.1.0 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/golang-github-sasha-s-go-deadlock-HdeSAv /tmp/golang-github-sasha-s-go-deadlock-0.1.0-42tf_9a9a I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.tikVSb5PGh... I: success in 248.6796 seconds md5: golang-github-sasha-s-go-deadlock-dev_0.1.0-4_all.deb: OK sha1: golang-github-sasha-s-go-deadlock-dev_0.1.0-4_all.deb: OK sha256: golang-github-sasha-s-go-deadlock-dev_0.1.0-4_all.deb: OK Checksums: OK