Fri Apr 21 05:25:19 UTC 2023 I: starting to build golang-github-google-wire/bookworm/arm64 on jenkins on '2023-04-21 05:25' Fri Apr 21 05:25:19 UTC 2023 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/arm64_15/15416/console.log Fri Apr 21 05:25:19 UTC 2023 I: Downloading source for bookworm/golang-github-google-wire=0.5.0-2 --2023-04-21 05:25:19-- http://cdn-fastly.deb.debian.org/debian/pool/main/g/golang-github-google-wire/golang-github-google-wire_0.5.0-2.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2503 (2.4K) [text/prs.lines.tag] Saving to: ‘golang-github-google-wire_0.5.0-2.dsc’ 0K .. 100% 287M=0s 2023-04-21 05:25:19 (287 MB/s) - ‘golang-github-google-wire_0.5.0-2.dsc’ saved [2503/2503] Fri Apr 21 05:25:19 UTC 2023 I: golang-github-google-wire_0.5.0-2.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: golang-github-google-wire Binary: golang-github-google-wire-dev, google-wire Architecture: any all Version: 0.5.0-2 Maintainer: Debian Go Packaging Team Uploaders: Anthony Fok Homepage: https://github.com/google/wire Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-google-wire Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-google-wire.git Testsuite: autopkgtest-pkg-go Build-Depends: debhelper-compat (= 13), dh-exec, dh-sequence-golang, golang-any (>= 2:1.17~), 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) Package-List: golang-github-google-wire-dev deb golang optional arch=all google-wire deb golang optional arch=any Checksums-Sha1: d3a450b560cc2e44605c327fdaa67deca24b4b7d 88112 golang-github-google-wire_0.5.0.orig.tar.gz bf6e06936cfb88871de79c43962f72d386259576 5612 golang-github-google-wire_0.5.0-2.debian.tar.xz Checksums-Sha256: 97f21d31d8a2b3b04feeee1467697c863919b62882ab2ec450ee282dab076812 88112 golang-github-google-wire_0.5.0.orig.tar.gz a60da9a623ac800c80413057e2cf83660e49d596753bdd1cf4dc46541a1b4836 5612 golang-github-google-wire_0.5.0-2.debian.tar.xz Files: 6a9c025d664330f19f6170922cea26cc 88112 golang-github-google-wire_0.5.0.orig.tar.gz 0e72a446598089602014839d6c6cc402 5612 golang-github-google-wire_0.5.0-2.debian.tar.xz Go-Import-Path: github.com/google/wire -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmJVfzsQHGZva2FAZGVi aWFuLm9yZwAKCRDqJQC0EsWaz6hJEACRZ4/IsXo2ARHDzGvOIMCu9Y6ir2EF+K9e EhJasDb+zeLyMLkjzZrYTIdWBI+Jf4ZlXL5TqeaStRqpZ3tY+z226xWoBPc0FBd6 ReY2pieQ+Zzwsht5g5sUwlPsUa16KLRtN66cOURXs5skIT27qiHwWBm51qCHhbTX G1+1HZVs7N2FmKuUiULiwxJnRrT1UpHtT4iUmXDEuIuGQLkQ78Y2xslTpN3aJfCJ I698qdl0PBCZnjg1zBN/yt6LmOKyUHb1axnFdPdbO2sPlOKvOL23V3U2XI8kSSrq HQ/E9h8Ac/FJrpuAos115Qq8j4y75TpZjwrlENaR/ZVWqwxbXMZSvNLNPEU+Nqa0 cc33pdITMIisUi+bpymBeTmbLoXfR2c/iZom4TjGiaK6U7oG7gywzjAweNJHxT4c NPsQAcBPS6JlGNvxQXdOlmVhp0+KDntmJgdUAnetvjhQLBxpjLpqi/5L5Wq+f+Kl FSKEKVlzREba2HPL1+Tz8U6m6ssV2YPJi8At5htjz8yXtGLBJNcgzxu6vlvZBALi s7B1bWJXRjvBJyRjHA9GEhk2GuzR6sTfKHvvrSaCnC+DFubDjsudRsfMJTHHw3sI 3xVJrPEOoYhvrWVeqpUOfYoRwnwJ/0fDYDzI8R3DV1dW+W5jiwz6zSfcWG25cLFr 3aeS4/uXxQ== =QFwf -----END PGP SIGNATURE----- Fri Apr 21 05:25:19 UTC 2023 I: Checking whether the package is not for us Fri Apr 21 05:25:19 UTC 2023 I: Starting 1st build on remote node codethink12-arm64.debian.net. Fri Apr 21 05:25:19 UTC 2023 I: Preparing to do remote build '1' on codethink12-arm64.debian.net. Fri Apr 21 05:29:17 UTC 2023 I: Deleting $TMPDIR on codethink12-arm64.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Thu Apr 20 17:25:23 -12 2023 I: pbuilder-time-stamp: 1682054723 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. 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.5.0-2.dsc] I: copying [./golang-github-google-wire_0.5.0.orig.tar.gz] I: copying [./golang-github-google-wire_0.5.0-2.debian.tar.xz] I: Extracting source gpgv: Signature made Tue Apr 12 01:31:39 2022 -12 gpgv: using RSA key 142421B19AD4A95996F95072EA2500B412C59ACF gpgv: issuer "foka@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-google-wire_0.5.0-2.dsc: no acceptable signature found dpkg-source: info: extracting golang-github-google-wire in golang-github-google-wire-0.5.0 dpkg-source: info: unpacking golang-github-google-wire_0.5.0.orig.tar.gz dpkg-source: info: unpacking golang-github-google-wire_0.5.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-update-record-replay-files-for-go1.17.patch dpkg-source: info: applying 0002-update-record-replay-files-for-go1.18.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/31868/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='arm64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' DISTRIBUTION='bookworm' HOME='/var/lib/jenkins' HOST_ARCH='arm64' IFS=' ' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='31868' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/pbuilderrc_76mm --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/b1 --logfile b1/build.log golang-github-google-wire_0.5.0-2.dsc' SUDO_GID='117' SUDO_UID='110' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' USERNAME='root' _='/usr/bin/systemd-run' http_proxy='http://192.168.101.16:3128' I: uname -a Linux codethink12-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 17 22:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/31868/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: arm64 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 (= 13), dh-exec, dh-sequence-golang, golang-any (>= 2:1.17~), 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 ... 19616 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 (= 13); 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-sequence-golang; however: Package dh-sequence-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any (>= 2:1.17~); 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.19-go{a} golang-1.19-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-mod-dev{a} golang-golang-x-net-dev{a} golang-golang-x-sys-dev{a} golang-golang-x-text-dev{a} golang-golang-x-tools-dev{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu72{a} libmagic-mgc{a} libmagic1{a} libpipeline1{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, 46 newly installed, 0 to remove and 0 not upgraded. Need to get 100 MB of archives. After unpacking 596 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bookworm/main arm64 sensible-utils all 0.0.17+nmu1 [19.0 kB] Get: 2 http://deb.debian.org/debian bookworm/main arm64 libmagic-mgc arm64 1:5.44-3 [305 kB] Get: 3 http://deb.debian.org/debian bookworm/main arm64 libmagic1 arm64 1:5.44-3 [98.5 kB] Get: 4 http://deb.debian.org/debian bookworm/main arm64 file arm64 1:5.44-3 [42.5 kB] Get: 5 http://deb.debian.org/debian bookworm/main arm64 gettext-base arm64 0.21-12 [159 kB] Get: 6 http://deb.debian.org/debian bookworm/main arm64 libuchardet0 arm64 0.0.7-1 [67.9 kB] Get: 7 http://deb.debian.org/debian bookworm/main arm64 groff-base arm64 1.22.4-10 [861 kB] Get: 8 http://deb.debian.org/debian bookworm/main arm64 bsdextrautils arm64 2.38.1-5+b1 [86.9 kB] Get: 9 http://deb.debian.org/debian bookworm/main arm64 libpipeline1 arm64 1.5.7-1 [36.4 kB] Get: 10 http://deb.debian.org/debian bookworm/main arm64 man-db arm64 2.11.2-2 [1369 kB] Get: 11 http://deb.debian.org/debian bookworm/main arm64 m4 arm64 1.4.19-3 [276 kB] Get: 12 http://deb.debian.org/debian bookworm/main arm64 autoconf all 2.71-3 [332 kB] Get: 13 http://deb.debian.org/debian bookworm/main arm64 autotools-dev all 20220109.1 [51.6 kB] Get: 14 http://deb.debian.org/debian bookworm/main arm64 automake all 1:1.16.5-1.3 [823 kB] Get: 15 http://deb.debian.org/debian bookworm/main arm64 autopoint all 0.21-12 [495 kB] Get: 16 http://deb.debian.org/debian bookworm/main arm64 libdebhelper-perl all 13.11.4 [81.2 kB] Get: 17 http://deb.debian.org/debian bookworm/main arm64 libtool all 2.4.7-5 [517 kB] Get: 18 http://deb.debian.org/debian bookworm/main arm64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian bookworm/main arm64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian bookworm/main arm64 libsub-override-perl all 0.09-4 [9304 B] Get: 21 http://deb.debian.org/debian bookworm/main arm64 libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB] Get: 22 http://deb.debian.org/debian bookworm/main arm64 dh-strip-nondeterminism all 1.13.1-1 [8620 B] Get: 23 http://deb.debian.org/debian bookworm/main arm64 libelf1 arm64 0.188-2.1 [173 kB] Get: 24 http://deb.debian.org/debian bookworm/main arm64 dwz arm64 0.15-1 [101 kB] Get: 25 http://deb.debian.org/debian bookworm/main arm64 libicu72 arm64 72.1-3 [9204 kB] Get: 26 http://deb.debian.org/debian bookworm/main arm64 libxml2 arm64 2.9.14+dfsg-1.1+b3 [619 kB] Get: 27 http://deb.debian.org/debian bookworm/main arm64 gettext arm64 0.21-12 [1248 kB] Get: 28 http://deb.debian.org/debian bookworm/main arm64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main arm64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 dh-exec arm64 0.27 [27.6 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 dh-golang all 1.59 [27.8 kB] Get: 33 http://deb.debian.org/debian bookworm/main arm64 golang-1.19-src all 1.19.8-2 [18.3 MB] Get: 34 http://deb.debian.org/debian bookworm/main arm64 golang-1.19-go arm64 1.19.8-2 [56.6 MB] Get: 35 http://deb.debian.org/debian bookworm/main arm64 golang-src all 2:1.19~1 [5756 B] Get: 36 http://deb.debian.org/debian bookworm/main arm64 golang-go arm64 2:1.19~1 [45.0 kB] Get: 37 http://deb.debian.org/debian bookworm/main arm64 golang-any arm64 2:1.19~1 [5876 B] Get: 38 http://deb.debian.org/debian bookworm/main arm64 golang-github-google-go-cmp-dev all 0.5.9-1 [86.4 kB] Get: 39 http://deb.debian.org/debian bookworm/main arm64 golang-github-google-subcommands-dev all 1.2.0-2 [7160 B] Get: 40 http://deb.debian.org/debian bookworm/main arm64 golang-github-pmezard-go-difflib-dev all 1.0.0-3 [12.3 kB] Get: 41 http://deb.debian.org/debian bookworm/main arm64 golang-github-yuin-goldmark-dev all 1.5.4-1 [109 kB] Get: 42 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-mod-dev all 0.7.0-1 [101 kB] Get: 43 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-sys-dev all 0.3.0-1 [393 kB] Get: 44 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-text-dev all 0.7.0-1 [3863 kB] Get: 45 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-net-dev all 1:0.7.0+dfsg-1 [731 kB] Get: 46 http://deb.debian.org/debian bookworm/main arm64 golang-golang-x-tools-dev all 1:0.5.0+ds-1 [1469 kB] Fetched 100 MB in 2s (60.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19616 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.17+nmu1_all.deb ... Unpacking sensible-utils (0.0.17+nmu1) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.44-3_arm64.deb ... Unpacking libmagic-mgc (1:5.44-3) ... Selecting previously unselected package libmagic1:arm64. Preparing to unpack .../02-libmagic1_1%3a5.44-3_arm64.deb ... Unpacking libmagic1:arm64 (1:5.44-3) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.44-3_arm64.deb ... Unpacking file (1:5.44-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.21-12_arm64.deb ... Unpacking gettext-base (0.21-12) ... Selecting previously unselected package libuchardet0:arm64. Preparing to unpack .../05-libuchardet0_0.0.7-1_arm64.deb ... Unpacking libuchardet0:arm64 (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.22.4-10_arm64.deb ... Unpacking groff-base (1.22.4-10) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.38.1-5+b1_arm64.deb ... Unpacking bsdextrautils (2.38.1-5+b1) ... Selecting previously unselected package libpipeline1:arm64. Preparing to unpack .../08-libpipeline1_1.5.7-1_arm64.deb ... Unpacking libpipeline1:arm64 (1.5.7-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.11.2-2_arm64.deb ... Unpacking man-db (2.11.2-2) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-3_arm64.deb ... Unpacking m4 (1.4.19-3) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.71-3_all.deb ... Unpacking autoconf (2.71-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.21-12_all.deb ... Unpacking autopoint (0.21-12) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.11.4_all.deb ... Unpacking libdebhelper-perl (13.11.4) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.4.7-5_all.deb ... Unpacking libtool (2.4.7-5) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../17-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../18-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 .../19-libsub-override-perl_0.09-4_all.deb ... Unpacking libsub-override-perl (0.09-4) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.1-1) ... Selecting previously unselected package libelf1:arm64. Preparing to unpack .../22-libelf1_0.188-2.1_arm64.deb ... Unpacking libelf1:arm64 (0.188-2.1) ... Selecting previously unselected package dwz. Preparing to unpack .../23-dwz_0.15-1_arm64.deb ... Unpacking dwz (0.15-1) ... Selecting previously unselected package libicu72:arm64. Preparing to unpack .../24-libicu72_72.1-3_arm64.deb ... Unpacking libicu72:arm64 (72.1-3) ... Selecting previously unselected package libxml2:arm64. Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.1+b3_arm64.deb ... Unpacking libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Selecting previously unselected package gettext. Preparing to unpack .../26-gettext_0.21-12_arm64.deb ... Unpacking gettext (0.21-12) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../29-debhelper_13.11.4_all.deb ... Unpacking debhelper (13.11.4) ... Selecting previously unselected package dh-exec. Preparing to unpack .../30-dh-exec_0.27_arm64.deb ... Unpacking dh-exec (0.27) ... Selecting previously unselected package dh-golang. Preparing to unpack .../31-dh-golang_1.59_all.deb ... Unpacking dh-golang (1.59) ... Selecting previously unselected package golang-1.19-src. Preparing to unpack .../32-golang-1.19-src_1.19.8-2_all.deb ... Unpacking golang-1.19-src (1.19.8-2) ... Selecting previously unselected package golang-1.19-go. Preparing to unpack .../33-golang-1.19-go_1.19.8-2_arm64.deb ... Unpacking golang-1.19-go (1.19.8-2) ... Selecting previously unselected package golang-src. Preparing to unpack .../34-golang-src_2%3a1.19~1_all.deb ... Unpacking golang-src (2:1.19~1) ... Selecting previously unselected package golang-go:arm64. Preparing to unpack .../35-golang-go_2%3a1.19~1_arm64.deb ... Unpacking golang-go:arm64 (2:1.19~1) ... Selecting previously unselected package golang-any:arm64. Preparing to unpack .../36-golang-any_2%3a1.19~1_arm64.deb ... Unpacking golang-any:arm64 (2:1.19~1) ... Selecting previously unselected package golang-github-google-go-cmp-dev. Preparing to unpack .../37-golang-github-google-go-cmp-dev_0.5.9-1_all.deb ... Unpacking golang-github-google-go-cmp-dev (0.5.9-1) ... Selecting previously unselected package golang-github-google-subcommands-dev. Preparing to unpack .../38-golang-github-google-subcommands-dev_1.2.0-2_all.deb ... Unpacking golang-github-google-subcommands-dev (1.2.0-2) ... Selecting previously unselected package golang-github-pmezard-go-difflib-dev. Preparing to unpack .../39-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 .../40-golang-github-yuin-goldmark-dev_1.5.4-1_all.deb ... Unpacking golang-github-yuin-goldmark-dev (1.5.4-1) ... Selecting previously unselected package golang-golang-x-mod-dev. Preparing to unpack .../41-golang-golang-x-mod-dev_0.7.0-1_all.deb ... Unpacking golang-golang-x-mod-dev (0.7.0-1) ... Selecting previously unselected package golang-golang-x-sys-dev. Preparing to unpack .../42-golang-golang-x-sys-dev_0.3.0-1_all.deb ... Unpacking golang-golang-x-sys-dev (0.3.0-1) ... Selecting previously unselected package golang-golang-x-text-dev. Preparing to unpack .../43-golang-golang-x-text-dev_0.7.0-1_all.deb ... Unpacking golang-golang-x-text-dev (0.7.0-1) ... Selecting previously unselected package golang-golang-x-net-dev. Preparing to unpack .../44-golang-golang-x-net-dev_1%3a0.7.0+dfsg-1_all.deb ... Unpacking golang-golang-x-net-dev (1:0.7.0+dfsg-1) ... Selecting previously unselected package golang-golang-x-tools-dev. Preparing to unpack .../45-golang-golang-x-tools-dev_1%3a0.5.0+ds-1_all.deb ... Unpacking golang-golang-x-tools-dev (1:0.5.0+ds-1) ... Setting up libpipeline1:arm64 (1.5.7-1) ... Setting up golang-github-google-go-cmp-dev (0.5.9-1) ... Setting up libicu72:arm64 (72.1-3) ... Setting up bsdextrautils (2.38.1-5+b1) ... Setting up libmagic-mgc (1:5.44-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.11.4) ... Setting up golang-golang-x-sys-dev (0.3.0-1) ... Setting up libmagic1:arm64 (1:5.44-3) ... Setting up golang-github-pmezard-go-difflib-dev (1.0.0-3) ... Setting up gettext-base (0.21-12) ... Setting up golang-1.19-src (1.19.8-2) ... Setting up m4 (1.4.19-3) ... Setting up file (1:5.44-3) ... Setting up autotools-dev (20220109.1) ... Setting up golang-github-yuin-goldmark-dev (1.5.4-1) ... Setting up golang-golang-x-mod-dev (0.7.0-1) ... Setting up autopoint (0.21-12) ... Setting up autoconf (2.71-3) ... Setting up sensible-utils (0.0.17+nmu1) ... Setting up golang-golang-x-text-dev (0.7.0-1) ... Setting up golang-github-google-subcommands-dev (1.2.0-2) ... Setting up libuchardet0:arm64 (0.0.7-1) ... Setting up libsub-override-perl (0.09-4) ... Setting up golang-src (2:1.19~1) ... Setting up libelf1:arm64 (0.188-2.1) ... Setting up libxml2:arm64 (2.9.14+dfsg-1.1+b3) ... Setting up golang-1.19-go (1.19.8-2) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.13.1-1) ... Setting up gettext (0.21-12) ... Setting up libtool (2.4.7-5) ... Setting up golang-go:arm64 (2:1.19~1) ... Setting up golang-any:arm64 (2:1.19~1) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up golang-golang-x-net-dev (1:0.7.0+dfsg-1) ... Setting up dh-strip-nondeterminism (1.13.1-1) ... Setting up dwz (0.15-1) ... Setting up groff-base (1.22.4-10) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up golang-golang-x-tools-dev (1:0.5.0+ds-1) ... Setting up man-db (2.11.2-2) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.11.4) ... Setting up dh-exec (0.27) ... Setting up dh-golang (1.59) ... Processing triggers for libc-bin (2.36-9) ... 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 I: Running cd /build/golang-github-google-wire-0.5.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../golang-github-google-wire_0.5.0-2_source.changes dpkg-buildpackage: info: source package golang-github-google-wire dpkg-buildpackage: info: source version 0.5.0-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Anthony Fok dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean dh clean --builddirectory=_build --buildsystem=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 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 8 github.com/google/wire github.com/google/wire/cmd/wire github.com/google/wire/internal/wire internal/goarch internal/unsafeheader internal/goexperiment internal/goos internal/race github.com/google/wire runtime/internal/syscall internal/cpu internal/abi runtime/internal/math sync/atomic internal/itoa runtime/internal/sys encoding math/bits unicode/utf8 unicode unicode/utf16 internal/goversion internal/bytealg math runtime/internal/atomic runtime internal/reflectlite sync internal/testlog math/rand errors sort internal/oserror io strconv path internal/safefilepath syscall container/heap golang.org/x/mod/semver strings bytes text/tabwriter hash crypto reflect go/build/constraint bufio regexp/syntax time internal/syscall/execenv internal/syscall/unix regexp context internal/poll io/fs os internal/fmtsort encoding/binary encoding/base64 crypto/md5 fmt path/filepath internal/godebug internal/lazyregexp io/ioutil os/exec internal/goroot go/token flag go/doc/comment golang.org/x/sys/execabs internal/buildcfg math/big encoding/json golang.org/x/tools/internal/event/label log github.com/pmezard/go-difflib/difflib golang.org/x/tools/internal/event/keys go/scanner github.com/google/subcommands golang.org/x/tools/internal/event/core go/ast golang.org/x/tools/internal/event golang.org/x/tools/internal/gocommand golang.org/x/tools/internal/packagesinternal go/internal/typeparams go/doc go/printer go/constant go/parser golang.org/x/tools/internal/pkgbits go/format go/build go/types golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/typesinternal golang.org/x/tools/internal/typeparams golang.org/x/tools/go/ast/astutil golang.org/x/tools/internal/gcimporter 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 8 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/DocComment === PAUSE TestWire/DocComment === 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/InterfaceValueNotEnoughArgs === CONT TestWire/Varargs === CONT TestWire/FieldsOfValueStruct === CONT TestWire/InterfaceBinding === CONT TestWire/VarValue === CONT TestWire/InterfaceValueInvalidArg0 === CONT TestWire/InjectorMissingError === CONT TestWire/InterfaceValueInvalidArg0 wire_test.go:108: /tmp/wire_test2276520479/src/example.com/foo/wire.go:25:13: first argument to InterfaceValue must be a pointer to an interface type; found string === CONT TestWire/ValueIsStruct === CONT TestWire/FieldsOfValueStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/ValueIsInterfaceValue === CONT TestWire/VarValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = msg ) === CONT TestWire/ValueFromFunctionScope === CONT TestWire/InjectorMissingError wire_test.go:108: /tmp/wire_test4206592168/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/ValueConversion === CONT TestWire/InterfaceBinding wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooer() Fooer { bar := provideBar() return bar } === CONT TestWire/ValueChain === CONT TestWire/BindInjectorArg wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func inject(foo Foo) *Bar { bar := NewBar(foo) return bar } === CONT TestWire/UnusedProviders === CONT TestWire/Varargs wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage(t title, lines ...string) string { string2 := provideMessage(lines...) return string2 } === CONT TestWire/UnexportedValue === CONT TestWire/InterfaceValueNotEnoughArgs wire_test.go:108: /tmp/wire_test2655481954/src/example.com/foo/wire.go:25:38: not enough arguments in call to wire.InterfaceValue have (string) want (interface{}, interface{}) === CONT TestWire/UnexportedStruct === CONT TestWire/ValueIsStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFoo() Foo { foo := _wireFooValue return foo } var ( _wireFooValue = Foo{X: 42} ) === CONT TestWire/TwoDeps === CONT TestWire/ValueIsInterfaceValue wire_test.go:108: /tmp/wire_test3506605485/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/StructWithPreventTag === CONT TestWire/ValueFromFunctionScope wire_test.go:108: /tmp/wire_test2033589055/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/StructPointer === CONT TestWire/UnexportedValue wire_test.go:108: /tmp/wire_test18864840/src/example.com/foo/wire.go:24:1: inject injectedMessage: value string can't be used: uses unexported identifier privateMsg === CONT TestWire/StructNotAStruct === CONT TestWire/ValueConversion wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() Foo { foo := _wireFooValue return foo } var ( _wireFooValue = Foo("Hello, World!") ) === CONT TestWire/Struct === CONT TestWire/ValueChain wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := _wireFooValue fooBar := provideFooBar(foo) return fooBar } var ( _wireFooValue = Foo(41) ) === CONT TestWire/ReturnError === CONT TestWire/UnusedProviders wire_test.go:108: /tmp/wire_test1614160571/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused provider set "unusedSet" wire_test.go:108: /tmp/wire_test1614160571/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused provider "main.provideUnused" wire_test.go:108: /tmp/wire_test1614160571/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused value of type string wire_test.go:108: /tmp/wire_test1614160571/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_test1614160571/src/example.com/foo/wire.go:23:1: inject injectFooBar: unused field "example.com/foo.S".Cfg === CONT TestWire/ReturnArgumentAsInterface === CONT TestWire/UnexportedStruct wire_test.go:108: /tmp/wire_test2375376440/src/example.com/foo/wire.go:26:17: foo not exported by package bar === CONT TestWire/ReservedKeywords === CONT TestWire/TwoDeps wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() bar := provideBar() fooBar := provideFooBar(foo, bar) return fooBar } === CONT TestWire/RelativePkg === CONT TestWire/StructWithPreventTag wire_test.go:108: /tmp/wire_test1467940052/src/example.com/foo/foo.go:45:2: "mu" is prevented from injecting by wire === CONT TestWire/ProviderSetBindingMissingConcreteType === CONT TestWire/ReturnError wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/PkgImport === CONT TestWire/ReturnArgumentAsInterface wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main import ( "fmt" ) // Injectors from wire.go: func injectStringer(s MyString) fmt.Stringer { return s } === CONT TestWire/PartialCleanup === CONT TestWire/Struct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/NoopBuild === CONT TestWire/StructPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/NoInjectParamNames === CONT TestWire/StructNotAStruct wire_test.go:108: /tmp/wire_test4038816635/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/NoImplicitInterface === CONT TestWire/ReservedKeywords wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/NiladicValue === CONT TestWire/RelativePkg wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/NiladicIdentity === CONT TestWire/ProviderSetBindingMissingConcreteType wire_test.go:108: /tmp/wire_test2523953931/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" === CONT TestWire/NamingWorstCaseAllInOne === CONT TestWire/PartialCleanup wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/NamingWorstCase === CONT TestWire/MultipleSimilarPackages === CONT TestWire/PkgImport wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/MultipleMissingInputs === CONT TestWire/NoInjectParamNames wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/MultipleBindings === CONT TestWire/NiladicValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = "Hello, World!" ) === CONT TestWire/MultipleArgsSameType === CONT TestWire/NoImplicitInterface wire_test.go:108: /tmp/wire_test514850871/src/example.com/foo/wire.go:23:1: inject injectFooer: no provider found for example.com/foo.Fooer, output of injector === CONT TestWire/InvalidInjector === CONT TestWire/NiladicIdentity wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/EmptyVar === CONT TestWire/NamingWorstCaseAllInOne wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/FieldsOfStructPointer === CONT TestWire/MultipleBindings wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/wire.go:27:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFooAgain" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:39:6) previous: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/wire.go:32:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) previous: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:31:11) wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/wire.go:37:8: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) previous: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:31:11) <- provider set "SuperSet" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:32:16) wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/foo.go:33:32: SetWithDuplicateBindings has multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:31:11) <- provider set "SuperSet" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:32:16) previous: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) <- provider set "Set" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:31:11) wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/wire.go:47:8: multiple bindings for example.com/foo.Foo current: <- wire.Value (/tmp/wire_test2891557781/src/example.com/foo/wire.go:47:42) previous: <- provider "provideFoo" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:35:6) wire_test.go:108: /tmp/wire_test2891557781/src/example.com/foo/wire.go:52:8: multiple bindings for example.com/foo.Bar current: <- wire.Bind (/tmp/wire_test2891557781/src/example.com/foo/wire.go:52:31) previous: <- provider "provideBar" (/tmp/wire_test2891557781/src/example.com/foo/foo.go:43:6) === CONT TestWire/FieldsOfStructDoNotProvidePtrToField === CONT TestWire/NamingWorstCase wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/MultipleSimilarPackages wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/FieldsOfImportedStruct === CONT TestWire/MultipleMissingInputs wire_test.go:108: /tmp/wire_test2638942896/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_test2638942896/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_test2638942896/src/example.com/foo/foo.go:29:6) wire_test.go:108: /tmp/wire_test2638942896/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_test2638942896/src/example.com/foo/foo.go:29:6) wire_test.go:108: /tmp/wire_test2638942896/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_test2638942896/src/example.com/foo/foo.go:37:6) needed by example.com/foo.Zap in provider "provideZap" (/tmp/wire_test2638942896/src/example.com/foo/foo.go:41:6) needed by example.com/foo.Zop in provider "provideZop" (/tmp/wire_test2638942896/src/example.com/foo/foo.go:45:6) === CONT TestWire/FieldsOfCycle === CONT TestWire/MultipleArgsSameType wire_test.go:108: /tmp/wire_test2521170561/src/example.com/foo/wire.go:25:8: multiple bindings for string current: <- argument b to injector function inject (/tmp/wire_test2521170561/src/example.com/foo/wire.go:23:1) previous: <- argument a to injector function inject (/tmp/wire_test2521170561/src/example.com/foo/wire.go:23:1) === CONT TestWire/ExportedValueDifferentPackage === 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/ExportedValue === CONT TestWire/EmptyVar wire_test.go:108: /tmp/wire_test1672294869/src/example.com/foo/wire.go:24:13: var example.com/foo.myFakeSet struct{} is not a provider or a provider set === CONT TestWire/ExampleWithMocks === CONT TestWire/FieldsOfStructPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/Cleanup === CONT TestWire/FieldsOfStructDoNotProvidePtrToField wire_test.go:108: /tmp/wire_test57385652/src/example.com/foo/wire.go:23:1: inject injectedMessagePtr: no provider found for *string, output of injector === CONT TestWire/DocComment === CONT TestWire/FieldsOfCycle wire_test.go:108: /tmp/wire_test2773177962/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/Cycle === CONT TestWire/FieldsOfImportedStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/CopyOtherDecls === CONT TestWire/FieldsOfStruct wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { s := provideS() string2 := s.Foo return string2 } === CONT TestWire/BuildTagsAllPackages === CONT TestWire/ExportedValueDifferentPackage wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main import ( "os" ) // Injectors from wire.go: func injectedFile() *os.File { file := _wireFileValue return file } var ( _wireFileValue = os.Stdout ) === CONT TestWire/Chain === CONT TestWire/ExportedValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/InjectInput === CONT TestWire/ExampleWithMocks wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: // initApp returns a real app. func initApp() *app { mainTimer := _wireRealTimeValue mainGreeter := greeter{ T: mainTimer, } mainApp := &app{ g: mainGreeter, } return mainApp } var ( _wireRealTimeValue = realTime{} ) // initMockedAppFromArgs returns an app with mocked dependencies provided via // arguments (Approach A). Note that the argument's type is the interface // type (timer), but the concrete mock type should be passed. func initMockedAppFromArgs(mt timer) *app { mainGreeter := greeter{ T: mt, } mainApp := &app{ g: mainGreeter, } return mainApp } // initMockedApp returns an app with its mocked dependencies, created // via providers (Approach B). func initMockedApp() *appWithMocks { mainMockTimer := newMockTimer() mainGreeter := greeter{ T: mainMockTimer, } mainApp := app{ g: mainGreeter, } mainAppWithMocks := &appWithMocks{ app: mainApp, mt: mainMockTimer, } return mainAppWithMocks } === CONT TestWire/InjectorMissingCleanup === CONT TestWire/Cleanup wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/InjectWithPanic === CONT TestWire/DocComment wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: /* blockComment returns Foo and has a /*- style doc comment */ func blockComment() *Foo { foo := &Foo{} return foo } // lineComment returns Bar and has a //- style doc comment func lineComment() *Bar { bar := &Bar{} return bar } === CONT TestWire/InjectInputConflict === CONT TestWire/BuildTagsAllPackages wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := _wireStringValue return string2 } var ( _wireStringValue = "Hello, World!" ) === CONT TestWire/Header === CONT TestWire/Cycle wire_test.go:108: /tmp/wire_test3223520265/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/ImportedInterfaceBinding === CONT TestWire/CopyOtherDecls wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/InterfaceBindingReuse === CONT TestWire/InjectInput wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooBar(foo Foo) FooBar { bar := provideBar() fooBar := provideFooBar(foo, bar) return fooBar } === CONT TestWire/InterfaceValueDoesntImplement === CONT TestWire/Chain wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { foo := provideFoo() fooBar := provideFooBar(foo) return fooBar } === CONT TestWire/InterfaceValue === CONT TestWire/InjectorMissingCleanup wire_test.go:108: /tmp/wire_test1124876532/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/FuncArgProvider === CONT TestWire/InjectInputConflict wire_test.go:108: /tmp/wire_test2723716000/src/example.com/foo/wire.go:24:2: multiple bindings for example.com/foo.Foo current: <- provider "provideFoo" (/tmp/wire_test2723716000/src/example.com/foo/foo.go:37:6) <- provider set "Set" (/tmp/wire_test2723716000/src/example.com/foo/foo.go:33:11) previous: <- argument foo to injector function injectBar (/tmp/wire_test2723716000/src/example.com/foo/wire.go:23:1) === CONT TestWire/BindInterfaceWithValue === 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 go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFoo() Foo { foo := provideFoo() return foo } === CONT TestWire/BindInjectorArgPointer === CONT TestWire/InjectWithPanic wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectedMessage() string { string2 := provideMessage() return string2 } === CONT TestWire/InterfaceBindingInvalidArg0 === CONT TestWire/ImportedInterfaceBinding wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main import ( "example.com/foo" ) // Injectors from wire.go: func injectFooer() foo.Fooer { bar := provideBar() return bar } === CONT TestWire/InterfaceBindingNotEnoughArgs === CONT TestWire/InterfaceBindingReuse wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func injectFooBar() FooBar { bar := provideBar() fooBar := provideFooBar(bar, bar) return fooBar } === CONT TestWire/InterfaceBindingDoesntImplement === CONT TestWire/InterfaceValueDoesntImplement wire_test.go:108: /tmp/wire_test840733204/src/example.com/foo/wire.go:26:13: string does not implement io.Reader === CONT TestWire/InterfaceValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/FuncArgProvider wire_test.go:108: /tmp/wire_test2914729033/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/BindInterfaceWithValue wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +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/BindInjectorArgPointer wire_test.go:164: wire_gen.go: // Code generated by Wire. DO NOT EDIT. //go:generate go run github.com/google/wire/cmd/wire //go:build !wireinject // +build !wireinject package main // Injectors from wire.go: func inject(foo *Foo) *Bar { bar := NewBar(foo) return bar } === CONT TestWire/InterfaceBindingInvalidArg0 wire_test.go:108: /tmp/wire_test172934401/src/example.com/foo/wire.go:25:13: first argument to Bind must be a pointer to an interface type; found string === CONT TestWire/InterfaceBindingNotEnoughArgs wire_test.go:108: /tmp/wire_test3016630183/src/example.com/foo/wire.go:25:33: not enough arguments in call to wire.Bind have (*Fooer) want (interface{}, interface{}) === CONT TestWire/InterfaceBindingDoesntImplement wire_test.go:108: /tmp/wire_test554800180/src/example.com/foo/wire.go:25:13: string does not implement example.com/foo.Fooer --- PASS: TestWire (0.06s) --- PASS: TestWire/InterfaceValueInvalidArg0 (13.53s) --- PASS: TestWire/FieldsOfValueStruct (14.28s) --- PASS: TestWire/VarValue (14.40s) --- PASS: TestWire/InjectorMissingError (14.51s) --- PASS: TestWire/InterfaceBinding (14.61s) --- PASS: TestWire/BindInjectorArg (15.12s) --- PASS: TestWire/Varargs (16.32s) --- PASS: TestWire/InterfaceValueNotEnoughArgs (16.78s) --- PASS: TestWire/ValueIsStruct (11.56s) --- PASS: TestWire/ValueIsInterfaceValue (12.11s) --- PASS: TestWire/ValueFromFunctionScope (12.10s) --- PASS: TestWire/UnexportedValue (10.56s) --- PASS: TestWire/ValueConversion (12.42s) --- PASS: TestWire/ValueChain (12.41s) --- PASS: TestWire/UnusedProviders (11.93s) --- PASS: TestWire/UnexportedStruct (10.33s) --- PASS: TestWire/TwoDeps (11.97s) --- PASS: TestWire/StructWithPreventTag (13.26s) --- PASS: TestWire/ReturnError (13.29s) --- PASS: TestWire/ReturnArgumentAsInterface (13.74s) --- PASS: TestWire/Struct (13.87s) --- PASS: TestWire/StructPointer (15.49s) --- PASS: TestWire/StructNotAStruct (16.07s) --- PASS: TestWire/ReservedKeywords (15.93s) --- PASS: TestWire/RelativePkg (12.64s) --- PASS: TestWire/ProviderSetBindingMissingConcreteType (10.84s) --- PASS: TestWire/PartialCleanup (10.48s) --- PASS: TestWire/NoopBuild (10.78s) --- PASS: TestWire/PkgImport (11.73s) --- PASS: TestWire/NoInjectParamNames (10.69s) --- PASS: TestWire/NiladicValue (10.23s) --- PASS: TestWire/NoImplicitInterface (10.57s) --- PASS: TestWire/NiladicIdentity (7.72s) --- PASS: TestWire/NamingWorstCaseAllInOne (7.91s) --- PASS: TestWire/MultipleBindings (7.45s) --- PASS: TestWire/NamingWorstCase (9.68s) --- PASS: TestWire/MultipleSimilarPackages (9.44s) --- PASS: TestWire/MultipleMissingInputs (9.75s) --- PASS: TestWire/MultipleArgsSameType (10.63s) --- PASS: TestWire/InvalidInjector (10.38s) --- PASS: TestWire/EmptyVar (10.48s) --- PASS: TestWire/FieldsOfStructPointer (13.33s) --- PASS: TestWire/FieldsOfStructDoNotProvidePtrToField (12.28s) --- PASS: TestWire/FieldsOfCycle (10.74s) --- PASS: TestWire/FieldsOfImportedStruct (12.02s) --- PASS: TestWire/FieldsOfStruct (12.63s) --- PASS: TestWire/ExportedValueDifferentPackage (12.33s) --- PASS: TestWire/ExportedValue (12.55s) --- PASS: TestWire/ExampleWithMocks (12.78s) --- PASS: TestWire/Cleanup (12.34s) --- PASS: TestWire/DocComment (11.91s) --- PASS: TestWire/BuildTagsAllPackages (12.20s) --- PASS: TestWire/Cycle (14.11s) --- PASS: TestWire/CopyOtherDecls (14.21s) --- PASS: TestWire/InjectInput (12.98s) --- PASS: TestWire/Chain (14.00s) --- PASS: TestWire/InjectorMissingCleanup (14.39s) --- PASS: TestWire/InjectInputConflict (11.68s) --- PASS: TestWire/Header (10.42s) --- PASS: TestWire/InjectWithPanic (14.50s) --- PASS: TestWire/ImportedInterfaceBinding (12.81s) --- PASS: TestWire/InterfaceBindingReuse (12.67s) --- PASS: TestWire/InterfaceValueDoesntImplement (11.88s) --- PASS: TestWire/InterfaceValue (14.23s) --- PASS: TestWire/FuncArgProvider (9.82s) --- PASS: TestWire/BindInterfaceWithValue (9.20s) --- PASS: TestWire/BindInjectorArgPointer (9.13s) --- PASS: TestWire/InterfaceBindingInvalidArg0 (8.20s) --- PASS: TestWire/InterfaceBindingNotEnoughArgs (7.90s) --- PASS: TestWire/InterfaceBindingDoesntImplement (7.42s) === 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 107.679s 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.5.0/debian/tmp/usr cd _build && cp -r bin /build/golang-github-google-wire-0.5.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_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_strip -a -O--builddirectory=_build -O--buildsystem=golang dh_strip: warning: Could not find the BuildID in debian/google-wire/usr/bin/google-wire dh_makeshlibs -a -O--builddirectory=_build -O--buildsystem=golang dh_shlibdeps -a -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 dpkg-gencontrol: warning: package google-wire: substitution variable ${misc:Static-Built-Using} unused, but is 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.5.0-2_all.deb'. dpkg-deb: building package 'google-wire' in '../google-wire_0.5.0-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../golang-github-google-wire_0.5.0-2_arm64.buildinfo dpkg-genchanges --build=binary -O../golang-github-google-wire_0.5.0-2_arm64.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: 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/31868 and its subdirectories I: Current time: Thu Apr 20 17:29:16 -12 2023 I: pbuilder-time-stamp: 1682054956 Fri Apr 21 05:29:17 UTC 2023 I: 1st build successful. Starting 2nd build on remote node codethink13-arm64.debian.net. Fri Apr 21 05:29:17 UTC 2023 I: Preparing to do remote build '2' on codethink13-arm64.debian.net. Fri Apr 21 05:32:42 UTC 2023 I: Deleting $TMPDIR on codethink13-arm64.debian.net. Fri Apr 21 05:32:43 UTC 2023 I: golang-github-google-wire_0.5.0-2_arm64.changes: Format: 1.8 Date: Tue, 12 Apr 2022 07:26:05 -0600 Source: golang-github-google-wire Binary: golang-github-google-wire-dev google-wire Architecture: all arm64 Version: 0.5.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team Changed-By: Anthony Fok Description: golang-github-google-wire-dev - Compile-time Dependency Injection for Go (library) google-wire - Compile-time Dependency Injection for Go (program) Closes: 1008413 Changes: golang-github-google-wire (0.5.0-2) unstable; urgency=medium . * Update record/replay files for Go 1.18. This fixes error message mismatch in TestWire/InterfaceBindingNotEnoughArgs and TestWire/InterfaceValueNotEnoughArgs which caused FTBFS with Go 1.18. Thanks to Lucas Nussbaum for the bug report! (Closes: #1008413) * Reorder fields in debian/control Checksums-Sha1: be566310374202022db5118ce83f668e21bea67e 60056 golang-github-google-wire-dev_0.5.0-2_all.deb 4808ea88b397b783235b20cef6e7313a27a32a01 5808 golang-github-google-wire_0.5.0-2_arm64.buildinfo 4a3eccf0b87c597b84c16cfe0b3df4209f44ab34 1356568 google-wire_0.5.0-2_arm64.deb Checksums-Sha256: d7908418f3c8cb556a811ed502f9572d44a7cc2b43185c06323d480d4e36c87a 60056 golang-github-google-wire-dev_0.5.0-2_all.deb 1237f62fcb2921f54457677c70b79b54b767dba4adcd919766f7c981f383de0c 5808 golang-github-google-wire_0.5.0-2_arm64.buildinfo 87a6d4fe3287c5d9f53e03529359b0958417d5534eb05d5bb8699756ad630de1 1356568 google-wire_0.5.0-2_arm64.deb Files: f3232d79bd7e59099a4665c517ac7d12 60056 golang optional golang-github-google-wire-dev_0.5.0-2_all.deb f7c76340b6fac51a7e8ca988de4ec451 5808 golang optional golang-github-google-wire_0.5.0-2_arm64.buildinfo bf0772c56455a48dfda2603df0f6749c 1356568 golang optional google-wire_0.5.0-2_arm64.deb Fri Apr 21 05:32:45 UTC 2023 I: diffoscope 240 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --timeout 7200 --html /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/golang-github-google-wire_0.5.0-2.diffoscope.html --text /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/golang-github-google-wire_0.5.0-2.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/golang-github-google-wire_0.5.0-2.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/b1/golang-github-google-wire_0.5.0-2_arm64.changes /srv/reproducible-results/rbuild-debian/r-b-build.ycB1yq7x/b2/golang-github-google-wire_0.5.0-2_arm64.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.755s) 0.755s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.030s) 0.030s 12 calls diffoscope.comparators.binary.FilesystemFile 0.000s 10 calls abc.DotChangesFile ## specialize (total time: 0.000s) 0.000s 1 call specialize Fri Apr 21 05:32:49 UTC 2023 I: diffoscope 240 found no differences in the changes files, and a .buildinfo file also exists. Fri Apr 21 05:32:49 UTC 2023 I: golang-github-google-wire from bookworm built successfully and reproducibly on arm64. Fri Apr 21 05:32:50 UTC 2023 I: Submitting .buildinfo files to external archives: Fri Apr 21 05:32:50 UTC 2023 I: Submitting 8.0K b1/golang-github-google-wire_0.5.0-2_arm64.buildinfo.asc Fri Apr 21 05:32:51 UTC 2023 I: Submitting 8.0K b2/golang-github-google-wire_0.5.0-2_arm64.buildinfo.asc Fri Apr 21 05:32:52 UTC 2023 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Fri Apr 21 05:32:52 UTC 2023 I: Done submitting .buildinfo files. Fri Apr 21 05:32:52 UTC 2023 I: Removing signed golang-github-google-wire_0.5.0-2_arm64.buildinfo.asc files: removed './b1/golang-github-google-wire_0.5.0-2_arm64.buildinfo.asc' removed './b2/golang-github-google-wire_0.5.0-2_arm64.buildinfo.asc'