I: pbuilder: network access will be disabled during build I: Current time: Tue Jan 25 03:42:45 +14 2022 I: pbuilder-time-stamp: 1643031765 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [golang-github-google-wire_0.4.0-3.dsc] I: copying [./golang-github-google-wire_0.4.0.orig.tar.gz] I: copying [./golang-github-google-wire_0.4.0-3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.OPdlpXJd/trustedkeys.kbx': General error gpgv: Signature made Mon Mar 9 09:46:01 2020 +14 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./golang-github-google-wire_0.4.0-3.dsc dpkg-source: info: extracting golang-github-google-wire in golang-github-google-wire-0.4.0 dpkg-source: info: unpacking golang-github-google-wire_0.4.0.orig.tar.gz dpkg-source: info: unpacking golang-github-google-wire_0.4.0-3.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/D01_modify_environment starting debug: Running on ionos1-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.1.4(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' INVOCATION_ID=0902da3577b54f109394b229e88e4e3e LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=1298922 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.1hFPB2LVu9/pbuilderrc_Uouu --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.1hFPB2LVu9/b2 --logfile b2/build.log golang-github-google-wire_0.4.0-3.dsc' SUDO_GID=110 SUDO_UID=105 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://78.137.99.97:3128 I: uname -a Linux i-capture-the-hostname 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux I: ls -l /bin total 5476 -rwxr-xr-x 1 root root 1234376 Aug 5 10:25 bash -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash -rwxr-xr-x 1 root root 113664 Sep 24 2020 date -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd -rwxr-xr-x 1 root root 93936 Sep 24 2020 df -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir -rwxr-xr-x 1 root root 84440 Jul 29 09:09 dmesg lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep -rwxr-xr-x 1 root root 39680 Sep 24 2020 false -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep -rwxr-xr-x 1 root root 69032 Jul 29 09:09 findmnt -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln -rwxr-xr-x 1 root root 56952 Feb 8 2020 login -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls -rwxr-xr-x 1 root root 149736 Jul 29 09:09 lsblk -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp -rwxr-xr-x 1 root root 59632 Jul 29 09:09 more -rwsr-xr-x 1 root root 55528 Jul 29 09:09 mount -rwxr-xr-x 1 root root 18664 Jul 29 09:09 mountpoint -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Jan 25 03:42 sh -> bash lrwxrwxrwx 1 root root 4 Jan 21 23:26 sh.distrib -> dash -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty -rwsr-xr-x 1 root root 71912 Jul 29 09:09 su -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch -rwxr-xr-x 1 root root 39680 Sep 24 2020 true -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server -rwsr-xr-x 1 root root 35040 Jul 29 09:09 umount -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir -rwxr-xr-x 1 root root 63744 Jul 29 09:09 wdctl lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 12), dh-exec, dh-golang, golang-any, golang-github-google-go-cmp-dev (>= 0.2.0~), golang-github-google-subcommands-dev (>= 1.0.1~), golang-github-pmezard-go-difflib-dev (>= 1.0.0~), golang-golang-x-tools-dev (>= 1:0.0~git20190422.fe54fb3~) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19655 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 12); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-exec; however: Package dh-exec is not installed. pbuilder-satisfydepends-dummy depends on dh-golang; however: Package dh-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any is not installed. pbuilder-satisfydepends-dummy depends on golang-github-google-go-cmp-dev (>= 0.2.0~); however: Package golang-github-google-go-cmp-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-google-subcommands-dev (>= 1.0.1~); however: Package golang-github-google-subcommands-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-github-pmezard-go-difflib-dev (>= 1.0.0~); however: Package golang-github-pmezard-go-difflib-dev is not installed. pbuilder-satisfydepends-dummy depends on golang-golang-x-tools-dev (>= 1:0.0~git20190422.fe54fb3~); however: Package golang-golang-x-tools-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-exec{a} dh-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.15-go{a} golang-1.15-src{a} golang-any{a} golang-github-google-go-cmp-dev{a} golang-github-google-subcommands-dev{a} golang-github-pmezard-go-difflib-dev{a} golang-github-yuin-goldmark-dev{a} golang-go{a} golang-golang-x-crypto-dev{a} golang-golang-x-mod-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sync-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-term-dev{a} golang-golang-x-text-dev{a} golang-golang-x-tools-dev{a} golang-golang-x-xerrors-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libpipeline1{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libxml2{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx pkg-config pkgconf wget 0 packages upgraded, 51 newly installed, 0 to remove and 0 not upgraded. Need to get 88.0 MB of archives. After unpacking 491 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8 [145 kB] Get: 2 http://deb.debian.org/debian bullseye/main amd64 libuchardet0 amd64 0.0.7-1 [67.8 kB] Get: 3 http://deb.debian.org/debian bullseye/main amd64 groff-base amd64 1.22.4-6 [936 kB] Get: 4 http://deb.debian.org/debian bullseye/main amd64 libpipeline1 amd64 1.5.3-1 [34.3 kB] Get: 5 http://deb.debian.org/debian bullseye/main amd64 man-db amd64 2.9.4-2 [1354 kB] Get: 6 http://deb.debian.org/debian bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main amd64 libmagic-mgc amd64 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main amd64 libmagic1 amd64 1:5.39-3 [126 kB] Get: 9 http://deb.debian.org/debian bullseye/main amd64 file amd64 1:5.39-3 [69.1 kB] Get: 10 http://deb.debian.org/debian bullseye/main amd64 gettext-base amd64 0.21-4 [175 kB] Get: 11 http://deb.debian.org/debian bullseye/main amd64 libsigsegv2 amd64 2.13-1 [34.8 kB] Get: 12 http://deb.debian.org/debian bullseye/main amd64 m4 amd64 1.4.18-5 [204 kB] Get: 13 http://deb.debian.org/debian bullseye/main amd64 autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main amd64 autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main amd64 automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main amd64 autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main amd64 libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main amd64 libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main amd64 libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main amd64 libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main amd64 dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main amd64 libelf1 amd64 0.183-1 [165 kB] Get: 25 http://deb.debian.org/debian bullseye/main amd64 dwz amd64 0.13+20210201-1 [175 kB] Get: 26 http://deb.debian.org/debian bullseye/main amd64 libicu67 amd64 67.1-7 [8622 kB] Get: 27 http://deb.debian.org/debian bullseye/main amd64 libxml2 amd64 2.9.10+dfsg-6.7 [693 kB] Get: 28 http://deb.debian.org/debian bullseye/main amd64 gettext amd64 0.21-4 [1311 kB] Get: 29 http://deb.debian.org/debian bullseye/main amd64 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main amd64 debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main amd64 dh-exec amd64 0.23.2 [26.6 kB] Get: 33 http://deb.debian.org/debian bullseye/main amd64 dh-golang all 1.51 [24.6 kB] Get: 34 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-src amd64 1.15.15-1~deb11u2 [13.9 MB] Get: 35 http://deb.debian.org/debian bullseye/main amd64 golang-1.15-go amd64 1.15.15-1~deb11u2 [47.4 MB] Get: 36 http://deb.debian.org/debian bullseye/main amd64 golang-src amd64 2:1.15~1 [4856 B] Get: 37 http://deb.debian.org/debian bullseye/main amd64 golang-go amd64 2:1.15~1 [23.9 kB] Get: 38 http://deb.debian.org/debian bullseye/main amd64 golang-any amd64 2:1.15~1 [4976 B] Get: 39 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-xerrors-dev all 0.0~git20191204.9bdfabe-1 [14.2 kB] Get: 40 http://deb.debian.org/debian bullseye/main amd64 golang-github-google-go-cmp-dev all 0.5.4-1 [83.7 kB] Get: 41 http://deb.debian.org/debian bullseye/main amd64 golang-github-google-subcommands-dev all 1.2.0-1 [7048 B] Get: 42 http://deb.debian.org/debian bullseye/main amd64 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 43 http://deb.debian.org/debian bullseye/main amd64 golang-github-yuin-goldmark-dev all 1.3.2-1 [139 kB] Get: 44 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-sys-dev all 0.0~git20210124.22da62e-1 [308 kB] Get: 45 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-text-dev all 0.3.6-1 [3857 kB] Get: 46 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-net-dev all 1:0.0+git20210119.5f4716e+dfsg-4 [659 kB] Get: 47 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-term-dev all 0.0~git20201210.2321bbc-1 [14.5 kB] Get: 48 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-crypto-dev all 1:0.0~git20201221.eec23a3-1 [1538 kB] Get: 49 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-mod-dev all 0.4.1-1 [87.9 kB] Get: 50 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-sync-dev all 0.0~git20210220.036812b-1 [19.1 kB] Get: 51 http://deb.debian.org/debian bullseye/main amd64 golang-golang-x-tools-dev all 1:0.1.0+ds-1 [1626 kB] Fetched 88.0 MB in 2s (37.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_amd64.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../01-libuchardet0_0.0.7-1_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_amd64.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../03-libpipeline1_1.5.3-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_amd64.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_amd64.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../07-libmagic1_1%3a5.39-3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_amd64.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_amd64.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../10-libsigsegv2_2.13-1_amd64.deb ... Unpacking libsigsegv2:amd64 (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_amd64.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:amd64. Preparing to unpack .../23-libelf1_0.183-1_amd64.deb ... Unpacking libelf1:amd64 (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_amd64.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:amd64. Preparing to unpack .../25-libicu67_67.1-7_amd64.deb ... Unpacking libicu67:amd64 (67.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_amd64.deb ... Unpacking libxml2:amd64 (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_amd64.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package dh-exec. Preparing to unpack .../31-dh-exec_0.23.2_amd64.deb ... Unpacking dh-exec (0.23.2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../32-dh-golang_1.51_all.deb ... Unpacking dh-golang (1.51) ... Selecting previously unselected package golang-1.15-src. Preparing to unpack .../33-golang-1.15-src_1.15.15-1~deb11u2_amd64.deb ... Unpacking golang-1.15-src (1.15.15-1~deb11u2) ... Selecting previously unselected package golang-1.15-go. Preparing to unpack .../34-golang-1.15-go_1.15.15-1~deb11u2_amd64.deb ... Unpacking golang-1.15-go (1.15.15-1~deb11u2) ... Selecting previously unselected package golang-src:amd64. Preparing to unpack .../35-golang-src_2%3a1.15~1_amd64.deb ... Unpacking golang-src:amd64 (2:1.15~1) ... Selecting previously unselected package golang-go. Preparing to unpack .../36-golang-go_2%3a1.15~1_amd64.deb ... Unpacking golang-go (2:1.15~1) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../37-golang-any_2%3a1.15~1_amd64.deb ... Unpacking golang-any:amd64 (2:1.15~1) ... Selecting previously unselected package golang-golang-x-xerrors-dev. Preparing to unpack .../38-golang-golang-x-xerrors-dev_0.0~git20191204.9bdfabe-1_all.deb ... Unpacking golang-golang-x-xerrors-dev (0.0~git20191204.9bdfabe-1) ... Selecting previously unselected package golang-github-google-go-cmp-dev. Preparing to unpack .../39-golang-github-google-go-cmp-dev_0.5.4-1_all.deb ... Unpacking golang-github-google-go-cmp-dev (0.5.4-1) ... Selecting previously unselected package golang-github-google-subcommands-dev. Preparing to unpack .../40-golang-github-google-subcommands-dev_1.2.0-1_all.deb ... Unpacking golang-github-google-subcommands-dev (1.2.0-1) ... Selecting previously unselected package golang-github-pmezard-go-difflib-dev. Preparing to unpack .../41-golang-github-pmezard-go-difflib-dev_1.0.0-3_all.deb ... Unpacking golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Selecting previously unselected package golang-github-yuin-goldmark-dev. Preparing to unpack .../42-golang-github-yuin-goldmark-dev_1.3.2-1_all.deb ... Unpacking golang-github-yuin-goldmark-dev (1.3.2-1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../43-golang-golang-x-sys-dev_0.0~git20210124.22da62e-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../44-golang-golang-x-text-dev_0.3.6-1_all.deb ... Unpacking golang-golang-x-text-dev (0.3.6-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../45-golang-golang-x-net-dev_1%3a0.0+git20210119.5f4716e+dfsg-4_all.deb ... Unpacking golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Selecting previously unselected package golang-golang-x-term-dev. Preparing to unpack .../46-golang-golang-x-term-dev_0.0~git20201210.2321bbc-1_all.deb ... Unpacking golang-golang-x-term-dev (0.0~git20201210.2321bbc-1) ... Selecting previously unselected package golang-golang-x-crypto-dev. Preparing to unpack .../47-golang-golang-x-crypto-dev_1%3a0.0~git20201221.eec23a3-1_all.deb ... Unpacking golang-golang-x-crypto-dev (1:0.0~git20201221.eec23a3-1) ... Selecting previously unselected package golang-golang-x-mod-dev. Preparing to unpack .../48-golang-golang-x-mod-dev_0.4.1-1_all.deb ... Unpacking golang-golang-x-mod-dev (0.4.1-1) ... Selecting previously unselected package golang-golang-x-sync-dev. Preparing to unpack .../49-golang-golang-x-sync-dev_0.0~git20210220.036812b-1_all.deb ... Unpacking golang-golang-x-sync-dev (0.0~git20210220.036812b-1) ... Selecting previously unselected package golang-golang-x-tools-dev. Preparing to unpack .../50-golang-golang-x-tools-dev_1%3a0.1.0+ds-1_all.deb ... Unpacking golang-golang-x-tools-dev (1:0.1.0+ds-1) ... Setting up libpipeline1:amd64 (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:amd64 (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up golang-1.15-src (1.15.15-1~deb11u2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up golang-golang-x-sys-dev (0.0~git20210124.22da62e-1) ... Setting up libmagic1:amd64 (1:5.39-3) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Setting up gettext-base (0.21-4) ... Setting up golang-golang-x-term-dev (0.0~git20201210.2321bbc-1) ... Setting up file (1:5.39-3) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up golang-github-yuin-goldmark-dev (1.3.2-1) ... Setting up libsigsegv2:amd64 (2.13-1) ... Setting up golang-golang-x-sync-dev (0.0~git20210220.036812b-1) ... Setting up autopoint (0.21-4) ... Setting up sensible-utils (0.0.14) ... Setting up golang-golang-x-text-dev (0.3.6-1) ... Setting up golang-github-google-subcommands-dev (1.2.0-1) ... Setting up libuchardet0:amd64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up golang-golang-x-xerrors-dev (0.0~git20191204.9bdfabe-1) ... Setting up golang-src:amd64 (2:1.15~1) ... Setting up golang-1.15-go (1.15.15-1~deb11u2) ... Setting up libelf1:amd64 (0.183-1) ... Setting up libxml2:amd64 (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up golang-github-google-go-cmp-dev (0.5.4-1) ... Setting up gettext (0.21-4) ... Setting up libtool (2.4.6-15) ... Setting up golang-go (2:1.15~1) ... Setting up m4 (1.4.18-5) ... Setting up golang-any:amd64 (2:1.15~1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up golang-golang-x-net-dev (1:0.0+git20210119.5f4716e+dfsg-4) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up golang-golang-x-crypto-dev (1:0.0~git20201221.eec23a3-1) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up golang-golang-x-mod-dev (0.4.1-1) ... Setting up debhelper (13.3.4) ... Setting up dh-exec (0.23.2) ... Setting up golang-golang-x-tools-dev (1:0.1.0+ds-1) ... Setting up dh-golang (1.51) ... Processing triggers for libc-bin (2.31-13+deb11u2) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package hostname: Name or service not known I: Running cd /build/golang-github-google-wire-0.4.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../golang-github-google-wire_0.4.0-3_source.changes dpkg-buildpackage: info: source package golang-github-google-wire dpkg-buildpackage: info: source version 0.4.0-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Anthony Fok dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --builddirectory=_build --buildsystem=golang --with golang dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang dh_clean -O--builddirectory=_build -O--buildsystem=golang debian/rules binary dh binary --builddirectory=_build --buildsystem=golang --with golang dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 15 github.com/google/wire github.com/google/wire/cmd/wire github.com/google/wire/internal/wire github.com/google/wire internal/race runtime/internal/sys math/bits unicode/utf8 unicode internal/unsafeheader internal/cpu internal/goversion runtime/internal/math golang.org/x/xerrors/internal unicode/utf16 golang.org/x/mod/semver encoding runtime/internal/atomic sync/atomic internal/testlog internal/bytealg math runtime internal/reflectlite sync math/rand errors sort internal/oserror io strconv syscall bytes strings text/tabwriter container/heap reflect path bufio regexp/syntax internal/syscall/unix internal/syscall/execenv time regexp context internal/poll internal/fmtsort encoding/binary os encoding/base64 fmt path/filepath internal/lazyregexp io/ioutil os/exec flag go/token net/url text/scanner golang.org/x/tools/internal/event/label encoding/json github.com/pmezard/go-difflib/difflib log math/big golang.org/x/xerrors text/template/parse golang.org/x/tools/internal/event/keys golang.org/x/sys/execabs internal/execabs go/scanner github.com/google/subcommands internal/goroot golang.org/x/tools/internal/event/core go/ast golang.org/x/tools/internal/event golang.org/x/tools/internal/gocommand text/template golang.org/x/tools/internal/packagesinternal golang.org/x/tools/go/ast/astutil go/printer go/parser go/constant go/doc go/types go/format go/build golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/typesinternal golang.org/x/tools/go/types/typeutil golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages github.com/google/wire/internal/wire github.com/google/wire/cmd/wire dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 15 github.com/google/wire github.com/google/wire/cmd/wire github.com/google/wire/internal/wire ? github.com/google/wire [no test files] ? github.com/google/wire/cmd/wire [no test files] === RUN TestWire === RUN TestWire/BindInjectorArg === PAUSE TestWire/BindInjectorArg === RUN TestWire/BindInjectorArgPointer === PAUSE TestWire/BindInjectorArgPointer === RUN TestWire/BindInterfaceWithValue === PAUSE TestWire/BindInterfaceWithValue === RUN TestWire/BuildTagsAllPackages === PAUSE TestWire/BuildTagsAllPackages === RUN TestWire/Chain === PAUSE TestWire/Chain === RUN TestWire/Cleanup === PAUSE TestWire/Cleanup === RUN TestWire/CopyOtherDecls === PAUSE TestWire/CopyOtherDecls === RUN TestWire/Cycle === PAUSE TestWire/Cycle === RUN TestWire/EmptyVar === PAUSE TestWire/EmptyVar === RUN TestWire/ExampleWithMocks === PAUSE TestWire/ExampleWithMocks === RUN TestWire/ExportedValue === PAUSE TestWire/ExportedValue === RUN TestWire/ExportedValueDifferentPackage === PAUSE TestWire/ExportedValueDifferentPackage === RUN TestWire/FieldsOfCycle === PAUSE TestWire/FieldsOfCycle === RUN TestWire/FieldsOfImportedStruct === PAUSE TestWire/FieldsOfImportedStruct === RUN TestWire/FieldsOfStruct === PAUSE TestWire/FieldsOfStruct === RUN TestWire/FieldsOfStructDoNotProvidePtrToField === PAUSE TestWire/FieldsOfStructDoNotProvidePtrToField === RUN TestWire/FieldsOfStructPointer === PAUSE TestWire/FieldsOfStructPointer === RUN TestWire/FieldsOfValueStruct === PAUSE TestWire/FieldsOfValueStruct === RUN TestWire/FuncArgProvider === PAUSE TestWire/FuncArgProvider === RUN TestWire/Header === PAUSE TestWire/Header === RUN TestWire/ImportedInterfaceBinding === PAUSE TestWire/ImportedInterfaceBinding === RUN TestWire/InjectInput === PAUSE TestWire/InjectInput === RUN TestWire/InjectInputConflict === PAUSE TestWire/InjectInputConflict === RUN TestWire/InjectWithPanic === PAUSE TestWire/InjectWithPanic === RUN TestWire/InjectorMissingCleanup === PAUSE TestWire/InjectorMissingCleanup === RUN TestWire/InjectorMissingError === PAUSE TestWire/InjectorMissingError === RUN TestWire/InterfaceBinding === PAUSE TestWire/InterfaceBinding === RUN TestWire/InterfaceBindingDoesntImplement === PAUSE TestWire/InterfaceBindingDoesntImplement === RUN TestWire/InterfaceBindingInvalidArg0 === PAUSE TestWire/InterfaceBindingInvalidArg0 === RUN TestWire/InterfaceBindingNotEnoughArgs === PAUSE TestWire/InterfaceBindingNotEnoughArgs === RUN TestWire/InterfaceBindingReuse === PAUSE TestWire/InterfaceBindingReuse === RUN TestWire/InterfaceValue === PAUSE TestWire/InterfaceValue === RUN TestWire/InterfaceValueDoesntImplement === PAUSE TestWire/InterfaceValueDoesntImplement === RUN TestWire/InterfaceValueInvalidArg0 === PAUSE TestWire/InterfaceValueInvalidArg0 === RUN TestWire/InterfaceValueNotEnoughArgs === PAUSE TestWire/InterfaceValueNotEnoughArgs === RUN TestWire/InvalidInjector === PAUSE TestWire/InvalidInjector === RUN TestWire/MultipleArgsSameType === PAUSE TestWire/MultipleArgsSameType === RUN TestWire/MultipleBindings === PAUSE TestWire/MultipleBindings === RUN TestWire/MultipleMissingInputs === PAUSE TestWire/MultipleMissingInputs === RUN TestWire/MultipleSimilarPackages === PAUSE TestWire/MultipleSimilarPackages === RUN TestWire/NamingWorstCase === PAUSE TestWire/NamingWorstCase === RUN TestWire/NamingWorstCaseAllInOne === PAUSE TestWire/NamingWorstCaseAllInOne === RUN TestWire/NiladicIdentity === PAUSE TestWire/NiladicIdentity === RUN TestWire/NiladicValue === PAUSE TestWire/NiladicValue === RUN TestWire/NoImplicitInterface === PAUSE TestWire/NoImplicitInterface === RUN TestWire/NoInjectParamNames === PAUSE TestWire/NoInjectParamNames === RUN TestWire/NoopBuild === PAUSE TestWire/NoopBuild === RUN TestWire/PartialCleanup === PAUSE TestWire/PartialCleanup === RUN TestWire/PkgImport === PAUSE TestWire/PkgImport === RUN TestWire/ProviderSetBindingMissingConcreteType === PAUSE TestWire/ProviderSetBindingMissingConcreteType === RUN TestWire/RelativePkg === PAUSE TestWire/RelativePkg === RUN TestWire/ReservedKeywords === PAUSE TestWire/ReservedKeywords === RUN TestWire/ReturnArgumentAsInterface === PAUSE TestWire/ReturnArgumentAsInterface === RUN TestWire/ReturnError === PAUSE TestWire/ReturnError === RUN TestWire/Struct === PAUSE TestWire/Struct === RUN TestWire/StructNotAStruct === PAUSE TestWire/StructNotAStruct === RUN TestWire/StructPointer === PAUSE TestWire/StructPointer === RUN TestWire/StructWithPreventTag === PAUSE TestWire/StructWithPreventTag === RUN TestWire/TwoDeps === PAUSE TestWire/TwoDeps === RUN TestWire/UnexportedStruct === PAUSE TestWire/UnexportedStruct === RUN TestWire/UnexportedValue === PAUSE TestWire/UnexportedValue === RUN TestWire/UnusedProviders === PAUSE TestWire/UnusedProviders === RUN TestWire/ValueChain === PAUSE TestWire/ValueChain === RUN TestWire/ValueConversion === PAUSE TestWire/ValueConversion === RUN TestWire/ValueFromFunctionScope === PAUSE TestWire/ValueFromFunctionScope === RUN TestWire/ValueIsInterfaceValue === PAUSE TestWire/ValueIsInterfaceValue === RUN TestWire/ValueIsStruct === PAUSE TestWire/ValueIsStruct === RUN TestWire/VarValue === PAUSE TestWire/VarValue === RUN TestWire/Varargs === PAUSE TestWire/Varargs === CONT TestWire/BindInjectorArg === CONT TestWire/InvalidInjector === CONT TestWire/ReturnArgumentAsInterface === CONT TestWire/NoImplicitInterface === CONT TestWire/PkgImport === CONT TestWire/Varargs === CONT TestWire/PartialCleanup === CONT TestWire/NoopBuild === CONT TestWire/VarValue === CONT TestWire/ReservedKeywords === CONT TestWire/NoInjectParamNames === CONT TestWire/UnexportedValue === CONT TestWire/ValueFromFunctionScope === CONT TestWire/RelativePkg === CONT TestWire/UnexportedStruct === CONT TestWire/InvalidInjector wire_test.go:108: a call to wire.Build indicates that this function is an injector, but injectors must consist of only the wire.Build call and an optional return wire_test.go:108: a call to wire.Build indicates that this function is an injector, but injectors must consist of only the wire.Build call and an optional return === CONT TestWire/NiladicValue === CONT TestWire/ReservedKeywords wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectInterface() Interface { select2 := provideSelect() mainInterface := provideInterface(select2) return mainInterface } // wire.go: // Wire tries to disambiguate the variable "select" by prepending // the package name; this package-scoped variable conflicts with that // and forces a different name. var mainSelect = 0 === CONT TestWire/NiladicIdentity === CONT TestWire/PartialCleanup wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectBaz() (Baz, func(), error) { foo, cleanup := provideFoo() bar, cleanup2, err := provideBar(foo) if err != nil { cleanup() return 0, nil, err } baz, err := provideBaz(bar) if err != nil { cleanup2() cleanup() return 0, nil, err } return baz, func() { cleanup2() cleanup() }, nil } === CONT TestWire/NamingWorstCaseAllInOne === CONT TestWire/BindInjectorArg wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func inject(foo Foo) *Bar { bar := NewBar(foo) return bar } === CONT TestWire/NamingWorstCase === CONT TestWire/NoInjectParamNames wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( context2 "context" ) // Injectors from wire.go: func inject(contextContext context2.Context, arg struct{}) (context, error) { mainContext, err := provide(contextContext) if err != nil { return context{}, err } return mainContext, nil } === CONT TestWire/MultipleSimilarPackages === CONT TestWire/ReturnArgumentAsInterface wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "fmt" ) // Injectors from wire.go: func injectStringer(s MyString) fmt.Stringer { return s } === CONT TestWire/MultipleMissingInputs === CONT TestWire/VarValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = msg ) === CONT TestWire/MultipleBindings === CONT TestWire/Varargs wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage(t title, lines ...string) string { string2 := provideMessage(lines...) return string2 } === CONT TestWire/MultipleArgsSameType === CONT TestWire/UnexportedStruct wire_test.go:108: /tmp/wire_test098528612/src/example.com/foo/wire.go:26:17: foo not exported by package bar === CONT TestWire/InterfaceValueNotEnoughArgs === CONT TestWire/UnexportedValue wire_test.go:108: /tmp/wire_test868088015/src/example.com/foo/wire.go:24:1: inject injectedMessage: value string can't be used: uses unexported identifier privateMsg === CONT TestWire/InterfaceValueInvalidArg0 === CONT TestWire/ValueFromFunctionScope wire_test.go:108: /tmp/wire_test038680034/src/example.com/foo/wire.go:23:1: inject injectBar: value int can't be used: f is not declared in package scope === CONT TestWire/InterfaceValueDoesntImplement === CONT TestWire/RelativePkg wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/InterfaceValue === CONT TestWire/InterfaceBindingReuse === CONT TestWire/PkgImport wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/bar" ) import ( _ "example.com/anon1" _ "example.com/anon2" ) // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() barBar := bar.ProvideBar() fooBar := provideFooBar(foo, barBar) return fooBar } === CONT TestWire/InterfaceBindingNotEnoughArgs === CONT TestWire/NoImplicitInterface wire_test.go:108: /tmp/wire_test850123335/src/example.com/foo/wire.go:23:1: inject injectFooer: no provider found for example.com/foo.Fooer, output of injector === CONT TestWire/InterfaceBindingInvalidArg0 === CONT TestWire/MultipleBindings wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/wire.go:27:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFooAgain" (/tmp/wire_test766136993/src/example.com/foo/foo.go:39:6) previous: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/wire.go:32:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) previous: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test766136993/src/example.com/foo/foo.go:31:11) wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/wire.go:37:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) previous: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test766136993/src/example.com/foo/foo.go:31:11) <- provider set "SuperSet" (/tmp/wire_test766136993/src/example.com/foo/foo.go:32:16) wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/foo.go:33:32: SetWithDuplicateBindings has multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test766136993/src/example.com/foo/foo.go:31:11) <- provider set "SuperSet" (/tmp/wire_test766136993/src/example.com/foo/foo.go:32:16) previous: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test766136993/src/example.com/foo/foo.go:31:11) wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/wire.go:47:8: multiple bindings for example.com/foo.Foo current: <- wire.Value (/tmp/wire_test766136993/src/example.com/foo/wire.go:47:42) previous: <- provider "provideFoo" (/tmp/wire_test766136993/src/example.com/foo/foo.go:35:6) wire_test.go:108: /tmp/wire_test766136993/src/example.com/foo/wire.go:52:8: multiple bindings for example.com/foo.Bar current: <- wire.Bind (/tmp/wire_test766136993/src/example.com/foo/wire.go:52:31) previous: <- provider "provideBar" (/tmp/wire_test766136993/src/example.com/foo/foo.go:43:6) === CONT TestWire/InterfaceBindingDoesntImplement === CONT TestWire/MultipleSimilarPackages wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/bar" "example.com/baz" "example.com/foo" "fmt" ) // Injectors from wire.go: func newMainService(mainConfig MainConfig) *MainService { config := mainConfig.Foo service := foo.New(config) barConfig := mainConfig.Bar barService := bar.New(barConfig, service) bazConfig := mainConfig.baz bazService := baz.New(bazConfig, barService) mainService := &MainService{ Foo: service, Bar: barService, baz: bazService, } return mainService } // wire.go: type MainConfig struct { Foo *foo.Config Bar *bar.Config baz *baz.Config } type MainService struct { Foo *foo.Service Bar *bar.Service baz *baz.Service } func (m *MainService) String() string { return fmt.Sprintf("%d %d %d", m.Foo.Cfg.V, m.Bar.Cfg.V, m.baz.Cfg.V) } func main() { cfg := MainConfig{ Foo: &foo.Config{1}, Bar: &bar.Config{2}, baz: &baz.Config{3}, } svc := newMainService(cfg) fmt.Println(svc.String()) } === CONT TestWire/InterfaceBinding === CONT TestWire/MultipleMissingInputs wire_test.go:108: /tmp/wire_test032248266/src/example.com/foo/wire.go:23:1: inject injectMissingOutputType: no provider found for example.com/foo.Foo, output of injector wire_test.go:108: /tmp/wire_test032248266/src/example.com/foo/wire.go:29:1: inject injectMultipleMissingTypes: no provider found for example.com/foo.Foo needed by example.com/foo.Baz in provider "provideBaz" (/tmp/wire_test032248266/src/example.com/foo/foo.go:29:6) wire_test.go:108: /tmp/wire_test032248266/src/example.com/foo/wire.go:29:1: inject injectMultipleMissingTypes: no provider found for example.com/foo.Bar needed by example.com/foo.Baz in provider "provideBaz" (/tmp/wire_test032248266/src/example.com/foo/foo.go:29:6) wire_test.go:108: /tmp/wire_test032248266/src/example.com/foo/wire.go:35:1: inject injectMissingRecursiveType: no provider found for example.com/foo.Foo needed by example.com/foo.Zip in provider "provideZip" (/tmp/wire_test032248266/src/example.com/foo/foo.go:37:6) needed by example.com/foo.Zap in provider "provideZap" (/tmp/wire_test032248266/src/example.com/foo/foo.go:41:6) needed by example.com/foo.Zop in provider "provideZop" (/tmp/wire_test032248266/src/example.com/foo/foo.go:45:6) === CONT TestWire/InjectorMissingError === CONT TestWire/NamingWorstCaseAllInOne wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( context2 "context" "fmt" "os" "reflect" ) // Injectors from foo.go: func inject(context3 context2.Context, err2 struct{}) (context, error) { mainContext, err := Provide(context3) if err != nil { return context{}, err } return mainContext, nil } // foo.go: type context struct{} func main() { if _, ok := reflect.TypeOf(context{}).MethodByName("Provide"); !ok { fmt.Println("ERROR: context.Provide renamed") os.Exit(1) } c, err := inject(context2.Background(), struct{}{}) if err != nil { fmt.Println("ERROR:", err) os.Exit(1) } fmt.Println(c) } func Provide(context2_2 context2.Context) (context, error) { var context3 = context2.Background() _ = context2_2 _ = context3 return context{}, nil } func (context) Provide() { } === CONT TestWire/InjectorMissingCleanup === CONT TestWire/MultipleArgsSameType wire_test.go:108: /tmp/wire_test927084428/src/example.com/foo/wire.go:25:8: multiple bindings for string current: <- argument b to injector function inject (/tmp/wire_test927084428/src/example.com/foo/wire.go:23:1) previous: <- argument a to injector function inject (/tmp/wire_test927084428/src/example.com/foo/wire.go:23:1) === CONT TestWire/InjectWithPanic === CONT TestWire/InterfaceValueInvalidArg0 wire_test.go:108: /tmp/wire_test051243678/src/example.com/foo/wire.go:25:13: first argument to InterfaceValue must be a pointer to an interface type; found string === CONT TestWire/InjectInputConflict === CONT TestWire/InterfaceBindingReuse wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { bar := provideBar() fooBar := provideFooBar(bar, bar) return fooBar } === CONT TestWire/InjectInput === CONT TestWire/InterfaceBindingNotEnoughArgs wire_test.go:108: /tmp/wire_test732102322/src/example.com/foo/wire.go:25:33: too few arguments in call to wire.Bind === CONT TestWire/ImportedInterfaceBinding === CONT TestWire/InterfaceValueNotEnoughArgs wire_test.go:108: /tmp/wire_test450306427/src/example.com/foo/wire.go:25:38: too few arguments in call to wire.InterfaceValue === CONT TestWire/Header === CONT TestWire/InterfaceValueDoesntImplement wire_test.go:108: /tmp/wire_test641495909/src/example.com/foo/wire.go:26:13: string does not implement io.Reader === CONT TestWire/FuncArgProvider === CONT TestWire/NiladicValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = "Hello, World!" ) === CONT TestWire/FieldsOfValueStruct === CONT TestWire/InterfaceBindingInvalidArg0 wire_test.go:108: /tmp/wire_test984972393/src/example.com/foo/wire.go:25:13: first argument to Bind must be a pointer to an interface type; found string === CONT TestWire/FieldsOfStructPointer === CONT TestWire/InterfaceValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "io" "strings" ) // Injectors from wire.go: func injectedReader() io.Reader { reader := _wireReaderValue return reader } var ( _wireReaderValue = strings.NewReader("hello world") ) === CONT TestWire/FieldsOfStructDoNotProvidePtrToField === CONT TestWire/NamingWorstCase wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( context2 "context" ) // Injectors from wire.go: func inject(context3 context2.Context, err2 struct{}) (context, error) { mainContext, err := provide(context3) if err != nil { return context{}, err } return mainContext, nil } === CONT TestWire/FieldsOfStruct === CONT TestWire/NiladicIdentity wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/FieldsOfImportedStruct === CONT TestWire/InterfaceBindingDoesntImplement wire_test.go:108: /tmp/wire_test284428980/src/example.com/foo/wire.go:25:13: string does not implement example.com/foo.Fooer === CONT TestWire/FieldsOfCycle === CONT TestWire/InjectInputConflict wire_test.go:108: /tmp/wire_test525651559/src/example.com/foo/wire.go:24:2: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test525651559/src/example.com/foo/foo.go:37:6) <- provider set "Set" (/tmp/wire_test525651559/src/example.com/foo/foo.go:33:11) previous: <- argument foo to injector function injectBar (/tmp/wire_test525651559/src/example.com/foo/wire.go:23:1) === CONT TestWire/ExportedValueDifferentPackage === CONT TestWire/InjectorMissingError wire_test.go:108: /tmp/wire_test053648902/src/example.com/foo/wire.go:23:1: inject injectFoo: provider for example.com/foo.Foo returns error but injection not allowed to fail === CONT TestWire/ExportedValue === CONT TestWire/InjectWithPanic wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/ExampleWithMocks === CONT TestWire/ImportedInterfaceBinding wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/foo" ) // Injectors from wire.go: func injectFooer() foo.Fooer { bar := provideBar() return bar } === CONT TestWire/EmptyVar === CONT TestWire/Header wire_test.go:164: wire_gen.go: // This is a sample header file. // // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFoo() Foo { foo := provideFoo() return foo } === CONT TestWire/Cycle === CONT TestWire/InjectInput wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar(foo Foo) FooBar { bar := provideBar() fooBar := provideFooBar(foo, bar) return fooBar } === CONT TestWire/CopyOtherDecls === CONT TestWire/InterfaceBinding wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooer() Fooer { bar := provideBar() return bar } === CONT TestWire/Cleanup === CONT TestWire/FuncArgProvider wire_test.go:108: /tmp/wire_test636947595/src/example.com/foo/wire.go:25:19: var fn func() *example.com/foo.Foo is not a provider or a provider set === CONT TestWire/Chain === CONT TestWire/FieldsOfStructPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { s := provideS() string2 := s.Foo return string2 } func injectedMessagePtr() *string { s := provideS() string2 := &s.Foo return string2 } === CONT TestWire/BuildTagsAllPackages === CONT TestWire/InjectorMissingCleanup wire_test.go:108: /tmp/wire_test287454637/src/example.com/foo/wire.go:23:1: inject injectFoo: provider for example.com/foo.Foo returns cleanup but injection does not return cleanup function === CONT TestWire/BindInterfaceWithValue === CONT TestWire/FieldsOfStructDoNotProvidePtrToField wire_test.go:108: /tmp/wire_test782919632/src/example.com/foo/wire.go:23:1: inject injectedMessagePtr: no provider found for *string, output of injector === CONT TestWire/BindInjectorArgPointer === CONT TestWire/FieldsOfStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { s := provideS() string2 := s.Foo return string2 } === CONT TestWire/ValueChain === CONT TestWire/FieldsOfValueStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/bar" "example.com/baz" "example.com/foo" "fmt" ) // Injectors from wire.go: func newBazService() *baz.Service { config := _wireConfigValue fooConfig := config.Foo service := foo.New(fooConfig) barConfig := config.Bar barService := bar.New(barConfig, service) bazService := &baz.Service{ Foo: service, Bar: barService, } return bazService } var ( _wireConfigValue = &baz.Config{ Foo: &foo.Config{1}, Bar: &bar.Config{2}, } ) // wire.go: func main() { svc := newBazService() fmt.Println(svc.String()) } === CONT TestWire/ValueConversion === CONT TestWire/ExportedValueDifferentPackage wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "os" ) // Injectors from wire.go: func injectedFile() *os.File { file := _wireFileValue return file } var ( _wireFileValue = os.Stdout ) === CONT TestWire/ProviderSetBindingMissingConcreteType === CONT TestWire/CopyOtherDecls wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "fmt" ) // Injectors from foo.go: func injectedMessage() string { string2 := provideMessage() return string2 } // foo.go: func main() { fmt.Println(injectedMessage()) } // provideMessage provides a friendly user greeting. func provideMessage() string { return "Hello, World!" } === CONT TestWire/StructPointer === CONT TestWire/FieldsOfImportedStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/bar" "example.com/baz" "example.com/foo" "fmt" ) // Injectors from wire.go: func newBazService(config *baz.Config) *baz.Service { fooConfig := config.Foo service := foo.New(fooConfig) barConfig := config.Bar barService := bar.New(barConfig, service) bazService := &baz.Service{ Foo: service, Bar: barService, } return bazService } // wire.go: func main() { cfg := &baz.Config{ Foo: &foo.Config{1}, Bar: &bar.Config{2}, } svc := newBazService(cfg) fmt.Println(svc.String()) } === CONT TestWire/TwoDeps === CONT TestWire/Cycle wire_test.go:108: /tmp/wire_test444987256/src/example.com/foo/wire.go:23:1: cycle for example.com/foo.Bar: example.com/foo.Bar (example.com/foo.provideBar) -> example.com/foo.Foo (example.com/foo.provideFoo) -> example.com/foo.Baz (example.com/foo.provideBaz) -> example.com/foo.Bar === CONT TestWire/StructWithPreventTag === CONT TestWire/EmptyVar wire_test.go:108: /tmp/wire_test143405373/src/example.com/foo/wire.go:24:13: var example.com/foo.myFakeSet struct{} is not a provider or a provider set === CONT TestWire/UnusedProviders === CONT TestWire/FieldsOfCycle wire_test.go:108: /tmp/wire_test834582777/src/example.com/foo/wire.go:23:1: cycle for example.com/foo.Bar: example.com/foo.Bar (example.com/foo.provideBar) -> example.com/foo.Foo (example.com/foo.provideFoo) -> example.com/foo.Baz (example.com/foo.Bar.Bz) -> example.com/foo.Bar === CONT TestWire/Struct === CONT TestWire/BindInjectorArgPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func inject(foo *Foo) *Bar { bar := NewBar(foo) return bar } === CONT TestWire/StructNotAStruct === CONT TestWire/Cleanup wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectBar() (*Bar, func()) { foo, cleanup := provideFoo() bar, cleanup2 := provideBar(foo) return bar, func() { cleanup2() cleanup() } } === CONT TestWire/ValueIsStruct === CONT TestWire/BuildTagsAllPackages wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = "Hello, World!" ) === CONT TestWire/ValueIsInterfaceValue === CONT TestWire/ExampleWithMocks wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func initApp() *app { mainTimer := _wireRealTimeValue mainGreeter := greeter{ T: mainTimer, } mainApp := &app{ g: mainGreeter, } return mainApp } var ( _wireRealTimeValue = realTime{} ) func initMockedAppFromArgs(mt timer) *app { mainGreeter := greeter{ T: mt, } mainApp := &app{ g: mainGreeter, } return mainApp } func initMockedApp() *appWithMocks { mainMockTimer := newMockTimer() mainGreeter := greeter{ T: mainMockTimer, } mainApp := app{ g: mainGreeter, } mainAppWithMocks := &appWithMocks{ app: mainApp, mt: mainMockTimer, } return mainAppWithMocks } === CONT TestWire/ReturnError === CONT TestWire/BindInterfaceWithValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "io" "os" ) // Injectors from wire.go: func inject() io.Writer { file := _wireFileValue return file } var ( _wireFileValue = os.Stdout ) === CONT TestWire/ValueChain wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := _wireFooValue fooBar := provideFooBar(foo) return fooBar } var ( _wireFooValue = Foo(41) ) === CONT TestWire/Chain wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() fooBar := provideFooBar(foo) return fooBar } === CONT TestWire/TwoDeps wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() bar := provideBar() fooBar := provideFooBar(foo, bar) return fooBar } === CONT TestWire/ValueConversion wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectedMessage() Foo { foo := _wireFooValue return foo } var ( _wireFooValue = Foo("Hello, World!") ) === CONT TestWire/Struct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() bar := provideBar() fooBar := FooBar{ Foo: foo, Bar: bar, } return fooBar } func injectPartFooBar() FooBar { foo := provideFoo() fooBar := FooBar{ Foo: foo, } return fooBar } === CONT TestWire/StructNotAStruct wire_test.go:108: /tmp/wire_test011413709/src/example.com/foo/wire.go:24:13: first argument to Struct must be a pointer to a named struct; found **example.com/foo.A === CONT TestWire/ExportedValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main import ( "example.com/bar" ) // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = bar.PublicMsg ) === CONT TestWire/StructWithPreventTag wire_test.go:108: /tmp/wire_test380450644/src/example.com/foo/foo.go:45:2: "mu" is prevented from injecting by wire === CONT TestWire/ValueIsInterfaceValue wire_test.go:108: /tmp/wire_test831860871/src/example.com/foo/wire.go:27:13: argument to Value may not be an interface value (found io.Reader); use InterfaceValue instead === CONT TestWire/ReturnError wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFoo() (Foo, error) { foo, err := provideFoo() if err != nil { return 0, err } return foo, nil } === CONT TestWire/UnusedProviders wire_test.go:108: /tmp/wire_test377684131/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused provider set "unusedSet" wire_test.go:108: /tmp/wire_test377684131/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused provider "main.provideUnused" wire_test.go:108: /tmp/wire_test377684131/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused value of type string wire_test.go:108: /tmp/wire_test377684131/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused interface binding to type example.com/foo.Fooer wire_test.go:108: /tmp/wire_test377684131/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused field "example.com/foo.S".Cfg === CONT TestWire/ValueIsStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFoo() Foo { foo := _wireFooValue return foo } var ( _wireFooValue = Foo{X: 42} ) === CONT TestWire/StructPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate wire //+build !wireinject package main // Injectors from wire.go: func injectFooBar() *FooBar { foo := provideFoo() bar := provideBar() fooBar := &FooBar{ Foo: foo, Bar: bar, } return fooBar } func injectEmptyStruct() *Empty { empty := &Empty{} return empty } === CONT TestWire/ProviderSetBindingMissingConcreteType wire_test.go:108: /tmp/wire_test977388799/src/example.com/foo/foo.go:47:21: wire.Bind of concrete type "*example.com/foo.foo" to interface "example.com/foo.fooer", but setB does not include a provider for "*example.com/foo.foo" --- PASS: TestWire (0.13s) --- PASS: TestWire/InvalidInjector (10.94s) --- PASS: TestWire/ReservedKeywords (11.35s) --- PASS: TestWire/PartialCleanup (11.40s) --- PASS: TestWire/BindInjectorArg (11.54s) --- PASS: TestWire/NoInjectParamNames (11.88s) --- PASS: TestWire/ReturnArgumentAsInterface (12.98s) --- PASS: TestWire/VarValue (14.56s) --- PASS: TestWire/Varargs (14.63s) --- PASS: TestWire/UnexportedStruct (14.72s) --- PASS: TestWire/UnexportedValue (14.75s) --- PASS: TestWire/ValueFromFunctionScope (15.64s) --- PASS: TestWire/RelativePkg (15.72s) --- PASS: TestWire/NoopBuild (16.25s) --- PASS: TestWire/PkgImport (16.50s) --- PASS: TestWire/NoImplicitInterface (16.70s) --- PASS: TestWire/MultipleBindings (5.43s) --- PASS: TestWire/MultipleSimilarPackages (8.98s) --- PASS: TestWire/MultipleMissingInputs (8.31s) --- PASS: TestWire/NamingWorstCaseAllInOne (9.94s) --- PASS: TestWire/MultipleArgsSameType (7.35s) --- PASS: TestWire/InterfaceValueInvalidArg0 (7.43s) --- PASS: TestWire/InterfaceBindingReuse (6.75s) --- PASS: TestWire/InterfaceBindingNotEnoughArgs (7.08s) --- PASS: TestWire/InterfaceValueNotEnoughArgs (9.42s) --- PASS: TestWire/InterfaceValueDoesntImplement (8.53s) --- PASS: TestWire/NiladicValue (13.46s) --- PASS: TestWire/InterfaceBindingInvalidArg0 (8.07s) --- PASS: TestWire/InterfaceValue (11.10s) --- PASS: TestWire/NamingWorstCase (15.32s) --- PASS: TestWire/NiladicIdentity (16.21s) --- PASS: TestWire/InterfaceBindingDoesntImplement (7.83s) --- PASS: TestWire/InjectInputConflict (7.56s) --- PASS: TestWire/InjectorMissingError (8.86s) --- PASS: TestWire/InjectWithPanic (8.20s) --- PASS: TestWire/ImportedInterfaceBinding (6.96s) --- PASS: TestWire/Header (7.45s) --- PASS: TestWire/InjectInput (8.92s) --- PASS: TestWire/InterfaceBinding (11.45s) --- PASS: TestWire/FuncArgProvider (8.25s) --- PASS: TestWire/FieldsOfStructPointer (8.25s) --- PASS: TestWire/InjectorMissingCleanup (12.10s) --- PASS: TestWire/FieldsOfStructDoNotProvidePtrToField (7.87s) --- PASS: TestWire/FieldsOfStruct (8.81s) --- PASS: TestWire/FieldsOfValueStruct (11.49s) --- PASS: TestWire/ExportedValueDifferentPackage (6.61s) --- PASS: TestWire/CopyOtherDecls (6.44s) --- PASS: TestWire/FieldsOfImportedStruct (11.05s) --- PASS: TestWire/Cycle (7.31s) --- PASS: TestWire/EmptyVar (8.73s) --- PASS: TestWire/FieldsOfCycle (12.35s) --- PASS: TestWire/BindInjectorArgPointer (6.95s) --- PASS: TestWire/Cleanup (9.79s) --- PASS: TestWire/BuildTagsAllPackages (9.60s) --- PASS: TestWire/ExampleWithMocks (13.38s) --- PASS: TestWire/BindInterfaceWithValue (10.61s) --- PASS: TestWire/ValueChain (8.86s) --- PASS: TestWire/Chain (12.62s) --- PASS: TestWire/TwoDeps (6.52s) --- PASS: TestWire/ValueConversion (9.31s) --- PASS: TestWire/Struct (6.01s) --- PASS: TestWire/StructNotAStruct (5.64s) --- PASS: TestWire/ExportedValue (17.46s) --- PASS: TestWire/StructWithPreventTag (9.29s) --- PASS: TestWire/ValueIsInterfaceValue (5.94s) --- PASS: TestWire/ReturnError (5.13s) --- PASS: TestWire/UnusedProviders (9.52s) --- PASS: TestWire/ValueIsStruct (7.22s) --- PASS: TestWire/StructPointer (11.33s) --- PASS: TestWire/ProviderSetBindingMissingConcreteType (13.63s) === RUN TestUnexport --- PASS: TestUnexport (0.00s) === RUN TestExport --- PASS: TestExport (0.00s) === RUN TestTypeVariableName === RUN TestTypeVariableName/basic_type:_typeVariableName(bool,_"",_"",_map[]) === RUN TestTypeVariableName/basic_type_with_transform:_typeVariableName(bool,_"",_"suffix",_map[]) === RUN TestTypeVariableName/basic_type_with_collision:_typeVariableName(bool,_"",_"",_map[bool:true]) === RUN TestTypeVariableName/basic_type_with_transform_and_collision:_typeVariableName(bool,_"",_"suffix",_map[boolsuffix:true]) === RUN TestTypeVariableName/a_different_basic_type:_typeVariableName(string,_"",_"",_map[]) === RUN TestTypeVariableName/named_type:_typeVariableName(foo,_"",_"",_map[]) === RUN TestTypeVariableName/named_type_with_transform:_typeVariableName(foo,_"",_"suffix",_map[]) === RUN TestTypeVariableName/named_type_with_collision:_typeVariableName(foo,_"",_"",_map[foo:true]) === RUN TestTypeVariableName/named_type_with_transform_and_collision:_typeVariableName(foo,_"",_"suffix",_map[foosuffix:true]) === RUN TestTypeVariableName/noname_type:_typeVariableName(,_"bar",_"",_map[]) === RUN TestTypeVariableName/noname_type_with_transform:_typeVariableName(,_"bar",_"s",_map[]) === RUN TestTypeVariableName/noname_type_with_transform_and_collision:_typeVariableName(,_"bar",_"s",_map[bars:true]) === RUN TestTypeVariableName/var_in_pkg_type:_typeVariableName(my.example/foo.bar,_"",_"",_map[]) === RUN TestTypeVariableName/var_in_pkg_type_with_collision:_typeVariableName(my.example/foo.bar,_"",_"",_map[bar:true]) === RUN TestTypeVariableName/var_in_pkg_type_with_double_collision:_typeVariableName(my.example/foo.bar,_"",_"",_map[bar:true_fooBar:true]) --- PASS: TestTypeVariableName (0.00s) --- PASS: TestTypeVariableName/basic_type:_typeVariableName(bool,_"",_"",_map[]) (0.00s) --- PASS: TestTypeVariableName/basic_type_with_transform:_typeVariableName(bool,_"",_"suffix",_map[]) (0.00s) --- PASS: TestTypeVariableName/basic_type_with_collision:_typeVariableName(bool,_"",_"",_map[bool:true]) (0.00s) --- PASS: TestTypeVariableName/basic_type_with_transform_and_collision:_typeVariableName(bool,_"",_"suffix",_map[boolsuffix:true]) (0.00s) --- PASS: TestTypeVariableName/a_different_basic_type:_typeVariableName(string,_"",_"",_map[]) (0.00s) --- PASS: TestTypeVariableName/named_type:_typeVariableName(foo,_"",_"",_map[]) (0.00s) --- PASS: TestTypeVariableName/named_type_with_transform:_typeVariableName(foo,_"",_"suffix",_map[]) (0.00s) --- PASS: TestTypeVariableName/named_type_with_collision:_typeVariableName(foo,_"",_"",_map[foo:true]) (0.00s) --- PASS: TestTypeVariableName/named_type_with_transform_and_collision:_typeVariableName(foo,_"",_"suffix",_map[foosuffix:true]) (0.00s) --- PASS: TestTypeVariableName/noname_type:_typeVariableName(,_"bar",_"",_map[]) (0.00s) --- PASS: TestTypeVariableName/noname_type_with_transform:_typeVariableName(,_"bar",_"s",_map[]) (0.00s) --- PASS: TestTypeVariableName/noname_type_with_transform_and_collision:_typeVariableName(,_"bar",_"s",_map[bars:true]) (0.00s) --- PASS: TestTypeVariableName/var_in_pkg_type:_typeVariableName(my.example/foo.bar,_"",_"",_map[]) (0.00s) --- PASS: TestTypeVariableName/var_in_pkg_type_with_collision:_typeVariableName(my.example/foo.bar,_"",_"",_map[bar:true]) (0.00s) --- PASS: TestTypeVariableName/var_in_pkg_type_with_double_collision:_typeVariableName(my.example/foo.bar,_"",_"",_map[bar:true_fooBar:true]) (0.00s) === RUN TestDisambiguate === RUN TestDisambiguate/disambiguate("foo",_map[]) === RUN TestDisambiguate/disambiguate("foo",_map[foo:true]) === RUN TestDisambiguate/disambiguate("foo",_map[foo:true_foo1:true_foo2:true]) === RUN TestDisambiguate/disambiguate("foo1",_map[foo:true_foo1:true_foo2:true]) === RUN TestDisambiguate/disambiguate("foo١",_map[foo:true_foo1:true_foo2:true]) === RUN TestDisambiguate/disambiguate("foo١",_map[foo:true_foo1:true_foo2:true_foo١:true]) === RUN TestDisambiguate/disambiguate("select",_map[]) === RUN TestDisambiguate/disambiguate("var",_map[]) --- PASS: TestDisambiguate (0.00s) --- PASS: TestDisambiguate/disambiguate("foo",_map[]) (0.00s) --- PASS: TestDisambiguate/disambiguate("foo",_map[foo:true]) (0.00s) --- PASS: TestDisambiguate/disambiguate("foo",_map[foo:true_foo1:true_foo2:true]) (0.00s) --- PASS: TestDisambiguate/disambiguate("foo1",_map[foo:true_foo1:true_foo2:true]) (0.00s) --- PASS: TestDisambiguate/disambiguate("foo١",_map[foo:true_foo1:true_foo2:true]) (0.00s) --- PASS: TestDisambiguate/disambiguate("foo١",_map[foo:true_foo1:true_foo2:true_foo١:true]) (0.00s) --- PASS: TestDisambiguate/disambiguate("select",_map[]) (0.00s) --- PASS: TestDisambiguate/disambiguate("var",_map[]) (0.00s) PASS ok github.com/google/wire/internal/wire 50.459s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang dh_auto_install -O--builddirectory=_build -O--buildsystem=golang cd _build && mkdir -p /build/golang-github-google-wire-0.4.0/debian/tmp/usr cd _build && cp -r bin /build/golang-github-google-wire-0.4.0/debian/tmp/usr dh_install -O--builddirectory=_build -O--buildsystem=golang dh_installdocs -O--builddirectory=_build -O--buildsystem=golang dh_installchangelogs -O--builddirectory=_build -O--buildsystem=golang dh_installinit -O--builddirectory=_build -O--buildsystem=golang dh_installsystemduser -O--builddirectory=_build -O--buildsystem=golang dh_perl -O--builddirectory=_build -O--buildsystem=golang dh_link -O--builddirectory=_build -O--buildsystem=golang dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=golang dh_compress -O--builddirectory=_build -O--buildsystem=golang dh_fixperms -O--builddirectory=_build -O--buildsystem=golang dh_missing -O--builddirectory=_build -O--buildsystem=golang dh_missing: warning: usr/bin/wire exists in debian/tmp but is not installed to anywhere The following debhelper tools have reported what they installed (with files per package) * dh_install: golang-github-google-wire-dev (1), google-wire (1) * dh_installdocs: golang-github-google-wire-dev (0), google-wire (0) If the missing files are installed by another tool, please file a bug against it. When filing the report, if the tool is not part of debhelper itself, please reference the "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+). (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz) Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built If the omission is intentional or no other helper can take care of this consider adding the paths to debian/not-installed. dh_dwz -O--builddirectory=_build -O--buildsystem=golang dwz: debian/google-wire/usr/bin/google-wire: .debug_info section not present dh_strip -O--builddirectory=_build -O--buildsystem=golang dh_strip: warning: Could not find the BuildID in debian/google-wire/usr/bin/google-wire dh_makeshlibs -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -O--builddirectory=_build -O--buildsystem=golang dh_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dpkg-gencontrol: warning: Depends field of package google-wire: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-github-google-wire-dev' in '../golang-github-google-wire-dev_0.4.0-3_all.deb'. dpkg-deb: building package 'google-wire' in '../google-wire_0.4.0-3_amd64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../golang-github-google-wire_0.4.0-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/1298922/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/1298922 and its subdirectories I: Current time: Tue Jan 25 03:46:00 +14 2022 I: pbuilder-time-stamp: 1643031960