I: pbuilder: network access will be disabled during build I: Current time: Wed Jul 23 18:18:22 -12 2025 I: pbuilder-time-stamp: 1753337902 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-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-fortio-safecast_1.0.0-1.dsc] I: copying [./golang-fortio-safecast_1.0.0.orig.tar.gz] I: copying [./golang-fortio-safecast_1.0.0-1.debian.tar.xz] I: Extracting source dpkg-source: warning: cannot verify inline signature for ./golang-fortio-safecast_1.0.0-1.dsc: no acceptable signature found dpkg-source: info: extracting golang-fortio-safecast in golang-fortio-safecast-1.0.0 dpkg-source: info: unpacking golang-fortio-safecast_1.0.0.orig.tar.gz dpkg-source: info: unpacking golang-fortio-safecast_1.0.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/4005416/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build/reproducible-path' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='amd64' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' DISTRIBUTION='experimental' HOME='/root' HOST_ARCH='amd64' IFS=' ' INVOCATION_ID='00a7eae445624c72b8f80c12677b02ee' 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='4005416' 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.cHnJzCth/pbuilderrc_M3R0 --distribution experimental --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.cHnJzCth/b1 --logfile b1/build.log golang-fortio-safecast_1.0.0-1.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://46.16.76.132:3128' I: uname -a Linux ionos11-amd64 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin I: user script /srv/workspace/pbuilder/4005416/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 (= 13), dh-sequence-golang, golang-any dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19849 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-sequence-golang; however: Package dh-sequence-golang is not installed. pbuilder-satisfydepends-dummy depends on golang-any; however: Package golang-any 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-golang{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} golang-1.24-go{a} golang-1.24-src{a} golang-any{a} golang-go{a} golang-src{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libelf1t64{a} libfile-stripnondeterminism-perl{a} libmagic-mgc{a} libmagic1t64{a} libpipeline1{a} libtool{a} libuchardet0{a} libunistring5{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 pkgconf wget 0 packages upgraded, 35 newly installed, 0 to remove and 0 not upgraded. Need to get 61.2 MB of archives. After unpacking 301 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.25 [25.0 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.46-5 [338 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.46-5 [109 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.46-5 [43.6 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.23.1-2 [243 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-9 [1187 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.41-5 [94.6 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.1-1 [1469 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-8 [294 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3.1 [494 kB] Get: 13 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20240727.1 [60.2 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.17-4 [862 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.23.1-2 [770 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.24.2 [90.9 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libtool all 2.5.4-4 [539 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.1-2 [19.7 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.1-2 [8620 B] Get: 22 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 23 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libunistring5 amd64 1.3-2 [477 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-2 [698 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.23.1-2 [1680 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.24.2 [919 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 dh-golang all 1.63 [24.4 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 golang-1.24-src all 1.24.4-1 [21.2 MB] Get: 32 http://deb.debian.org/debian unstable/main amd64 golang-1.24-go amd64 1.24.4-1 [28.7 MB] Get: 33 http://deb.debian.org/debian unstable/main amd64 golang-src all 2:1.24~2 [5136 B] Get: 34 http://deb.debian.org/debian unstable/main amd64 golang-go amd64 2:1.24~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 golang-any amd64 2:1.24~2 [5216 B] Fetched 61.2 MB in 8s (7799 kB/s) Preconfiguring packages ... 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 ... 19849 files and directories currently installed.) Preparing to unpack .../00-sensible-utils_0.0.25_all.deb ... Unpacking sensible-utils (0.0.25) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../01-libmagic-mgc_1%3a5.46-5_amd64.deb ... Unpacking libmagic-mgc (1:5.46-5) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../02-libmagic1t64_1%3a5.46-5_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.46-5) ... Selecting previously unselected package file. Preparing to unpack .../03-file_1%3a5.46-5_amd64.deb ... Unpacking file (1:5.46-5) ... Selecting previously unselected package gettext-base. Preparing to unpack .../04-gettext-base_0.23.1-2_amd64.deb ... Unpacking gettext-base (0.23.1-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../05-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../06-groff-base_1.23.0-9_amd64.deb ... Unpacking groff-base (1.23.0-9) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../07-bsdextrautils_2.41-5_amd64.deb ... Unpacking bsdextrautils (2.41-5) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../08-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ... Unpacking man-db (2.13.1-1) ... Selecting previously unselected package m4. Preparing to unpack .../10-m4_1.4.19-8_amd64.deb ... Unpacking m4 (1.4.19-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../11-autoconf_2.72-3.1_all.deb ... Unpacking autoconf (2.72-3.1) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../12-autotools-dev_20240727.1_all.deb ... Unpacking autotools-dev (20240727.1) ... Selecting previously unselected package automake. Preparing to unpack .../13-automake_1%3a1.17-4_all.deb ... Unpacking automake (1:1.17-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../14-autopoint_0.23.1-2_all.deb ... Unpacking autopoint (0.23.1-2) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../15-libdebhelper-perl_13.24.2_all.deb ... Unpacking libdebhelper-perl (13.24.2) ... Selecting previously unselected package libtool. Preparing to unpack .../16-libtool_2.5.4-4_all.deb ... Unpacking libtool (2.5.4-4) ... 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 libfile-stripnondeterminism-perl. Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.14.1-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.1-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../20-dh-strip-nondeterminism_1.14.1-2_all.deb ... Unpacking dh-strip-nondeterminism (1.14.1-2) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../21-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../22-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package libunistring5:amd64. Preparing to unpack .../23-libunistring5_1.3-2_amd64.deb ... Unpacking libunistring5:amd64 (1.3-2) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../24-libxml2_2.12.7+dfsg+really2.9.14-2_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-2) ... Selecting previously unselected package gettext. Preparing to unpack .../25-gettext_0.23.1-2_amd64.deb ... Unpacking gettext (0.23.1-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../26-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 .../27-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../28-debhelper_13.24.2_all.deb ... Unpacking debhelper (13.24.2) ... Selecting previously unselected package dh-golang. Preparing to unpack .../29-dh-golang_1.63_all.deb ... Unpacking dh-golang (1.63) ... Selecting previously unselected package golang-1.24-src. Preparing to unpack .../30-golang-1.24-src_1.24.4-1_all.deb ... Unpacking golang-1.24-src (1.24.4-1) ... Selecting previously unselected package golang-1.24-go. Preparing to unpack .../31-golang-1.24-go_1.24.4-1_amd64.deb ... Unpacking golang-1.24-go (1.24.4-1) ... Selecting previously unselected package golang-src. Preparing to unpack .../32-golang-src_2%3a1.24~2_all.deb ... Unpacking golang-src (2:1.24~2) ... Selecting previously unselected package golang-go:amd64. Preparing to unpack .../33-golang-go_2%3a1.24~2_amd64.deb ... Unpacking golang-go:amd64 (2:1.24~2) ... Selecting previously unselected package golang-any:amd64. Preparing to unpack .../34-golang-any_2%3a1.24~2_amd64.deb ... Unpacking golang-any:amd64 (2:1.24~2) ... Setting up golang-1.24-src (1.24.4-1) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up bsdextrautils (2.41-5) ... Setting up libmagic-mgc (1:5.46-5) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.24.2) ... Setting up libmagic1t64:amd64 (1:5.46-5) ... Setting up gettext-base (0.23.1-2) ... Setting up m4 (1.4.19-8) ... Setting up file (1:5.46-5) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up autotools-dev (20240727.1) ... Setting up libunistring5:amd64 (1.3-2) ... Setting up autopoint (0.23.1-2) ... Setting up golang-1.24-go (1.24.4-1) ... Setting up autoconf (2.72-3.1) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.25) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up golang-src (2:1.24~2) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-2) ... Setting up automake (1:1.17-4) ... update-alternatives: using /usr/bin/automake-1.17 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.1-2) ... Setting up gettext (0.23.1-2) ... Setting up libtool (2.5.4-4) ... Setting up golang-go:amd64 (2:1.24~2) ... Setting up golang-any:amd64 (2:1.24~2) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up dh-strip-nondeterminism (1.14.1-2) ... Setting up groff-base (1.23.0-9) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.1-1) ... Not building database; man-db/auto-update is not 'true'. Setting up debhelper (13.24.2) ... Setting up dh-golang (1.63) ... Processing triggers for libc-bin (2.41-10) ... 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/reproducible-path/golang-fortio-safecast-1.0.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-fortio-safecast_1.0.0-1_source.changes dpkg-buildpackage: info: source package golang-fortio-safecast dpkg-buildpackage: info: source version 1.0.0-1 dpkg-buildpackage: info: source distribution experimental dpkg-buildpackage: info: source changed by Nicolas Peugnet dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 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 40 fortio.org/safecast internal/msan internal/coverage/rtcov unicode/utf8 internal/byteorder cmp internal/itoa internal/godebugs internal/profilerecord math/bits internal/unsafeheader internal/asan internal/goarch internal/goos internal/cpu internal/runtime/atomic sync/atomic internal/runtime/syscall unicode internal/goexperiment internal/runtime/math internal/runtime/sys internal/abi internal/chacha8rand internal/bytealg math internal/runtime/exithook internal/stringslite internal/race internal/sync internal/runtime/maps runtime iter internal/reflectlite sync slices errors internal/testlog internal/bisect internal/oserror path io strconv syscall internal/godebug reflect internal/syscall/execenv internal/syscall/unix time io/fs internal/poll internal/filepathlite os internal/fmtsort fmt fortio.org/safecast dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 40 fortio.org/safecast === RUN TestFloat32Bounds safecast_test.go:24: bits 64: 1111111111111111111111111111111111111111111111111111111111111111 : 18446744073709551615 -> float32 18446744073709551616 false safecast_test.go:24: bits 63: 111111111111111111111111111111111111111111111111111111111111111 : 9223372036854775807 -> float32 9223372036854775808 false safecast_test.go:24: bits 62: 11111111111111111111111111111111111111111111111111111111111111 : 4611686018427387903 -> float32 4611686018427387904 false safecast_test.go:24: bits 61: 1111111111111111111111111111111111111111111111111111111111111 : 2305843009213693951 -> float32 2305843009213693952 false safecast_test.go:24: bits 60: 111111111111111111111111111111111111111111111111111111111111 : 1152921504606846975 -> float32 1152921504606846976 false safecast_test.go:24: bits 59: 11111111111111111111111111111111111111111111111111111111111 : 576460752303423487 -> float32 576460752303423488 false safecast_test.go:24: bits 58: 1111111111111111111111111111111111111111111111111111111111 : 288230376151711743 -> float32 288230376151711744 false safecast_test.go:24: bits 57: 111111111111111111111111111111111111111111111111111111111 : 144115188075855871 -> float32 144115188075855872 false safecast_test.go:24: bits 56: 11111111111111111111111111111111111111111111111111111111 : 72057594037927935 -> float32 72057594037927936 false safecast_test.go:24: bits 55: 1111111111111111111111111111111111111111111111111111111 : 36028797018963967 -> float32 36028797018963968 false safecast_test.go:24: bits 54: 111111111111111111111111111111111111111111111111111111 : 18014398509481983 -> float32 18014398509481984 false safecast_test.go:24: bits 53: 11111111111111111111111111111111111111111111111111111 : 9007199254740991 -> float32 9007199254740992 false safecast_test.go:24: bits 52: 1111111111111111111111111111111111111111111111111111 : 4503599627370495 -> float32 4503599627370496 false safecast_test.go:24: bits 51: 111111111111111111111111111111111111111111111111111 : 2251799813685247 -> float32 2251799813685248 false safecast_test.go:24: bits 50: 11111111111111111111111111111111111111111111111111 : 1125899906842623 -> float32 1125899906842624 false safecast_test.go:24: bits 49: 1111111111111111111111111111111111111111111111111 : 562949953421311 -> float32 562949953421312 false safecast_test.go:24: bits 48: 111111111111111111111111111111111111111111111111 : 281474976710655 -> float32 281474976710656 false safecast_test.go:24: bits 47: 11111111111111111111111111111111111111111111111 : 140737488355327 -> float32 140737488355328 false safecast_test.go:24: bits 46: 1111111111111111111111111111111111111111111111 : 70368744177663 -> float32 70368744177664 false safecast_test.go:24: bits 45: 111111111111111111111111111111111111111111111 : 35184372088831 -> float32 35184372088832 false safecast_test.go:24: bits 44: 11111111111111111111111111111111111111111111 : 17592186044415 -> float32 17592186044416 false safecast_test.go:24: bits 43: 1111111111111111111111111111111111111111111 : 8796093022207 -> float32 8796093022208 false safecast_test.go:24: bits 42: 111111111111111111111111111111111111111111 : 4398046511103 -> float32 4398046511104 false safecast_test.go:24: bits 41: 11111111111111111111111111111111111111111 : 2199023255551 -> float32 2199023255552 false safecast_test.go:24: bits 40: 1111111111111111111111111111111111111111 : 1099511627775 -> float32 1099511627776 false safecast_test.go:24: bits 39: 111111111111111111111111111111111111111 : 549755813887 -> float32 549755813888 false safecast_test.go:24: bits 38: 11111111111111111111111111111111111111 : 274877906943 -> float32 274877906944 false safecast_test.go:24: bits 37: 1111111111111111111111111111111111111 : 137438953471 -> float32 137438953472 false safecast_test.go:24: bits 36: 111111111111111111111111111111111111 : 68719476735 -> float32 68719476736 false safecast_test.go:24: bits 35: 11111111111111111111111111111111111 : 34359738367 -> float32 34359738368 false safecast_test.go:24: bits 34: 1111111111111111111111111111111111 : 17179869183 -> float32 17179869184 false safecast_test.go:24: bits 33: 111111111111111111111111111111111 : 8589934591 -> float32 8589934592 false safecast_test.go:24: bits 32: 11111111111111111111111111111111 : 4294967295 -> float32 4294967296 false safecast_test.go:24: bits 31: 1111111111111111111111111111111 : 2147483647 -> float32 2147483648 false safecast_test.go:24: bits 30: 111111111111111111111111111111 : 1073741823 -> float32 1073741824 false safecast_test.go:24: bits 29: 11111111111111111111111111111 : 536870911 -> float32 536870912 false safecast_test.go:24: bits 28: 1111111111111111111111111111 : 268435455 -> float32 268435456 false safecast_test.go:24: bits 27: 111111111111111111111111111 : 134217727 -> float32 134217728 false safecast_test.go:24: bits 26: 11111111111111111111111111 : 67108863 -> float32 67108864 false safecast_test.go:24: bits 25: 1111111111111111111111111 : 33554431 -> float32 33554432 false safecast_test.go:24: bits 24: 111111111111111111111111 : 16777215 -> float32 16777215 true safecast_test.go:40: float32: 24 bits safecast_test.go:46: float32int 111111111111111111111111 16777215 safecast_test.go:48: float32int -> 16777215 safecast_test.go:46: float32int 1111111111111111111111110 33554430 safecast_test.go:48: float32int -> 33554430 safecast_test.go:46: float32int 11111111111111111111111100 67108860 safecast_test.go:48: float32int -> 67108860 safecast_test.go:46: float32int 111111111111111111111111000 134217720 safecast_test.go:48: float32int -> 134217720 safecast_test.go:46: float32int 1111111111111111111111110000 268435440 safecast_test.go:48: float32int -> 268435440 safecast_test.go:46: float32int 11111111111111111111111100000 536870880 safecast_test.go:48: float32int -> 536870880 safecast_test.go:46: float32int 111111111111111111111111000000 1073741760 safecast_test.go:48: float32int -> 1073741760 safecast_test.go:46: float32int 1111111111111111111111110000000 2147483520 safecast_test.go:48: float32int -> 2147483520 safecast_test.go:46: float32int 11111111111111111111111100000000 4294967040 safecast_test.go:48: float32int -> 4294967040 safecast_test.go:46: float32int 111111111111111111111111000000000 8589934080 safecast_test.go:48: float32int -> 8589934080 safecast_test.go:46: float32int 1111111111111111111111110000000000 17179868160 safecast_test.go:48: float32int -> 17179868160 safecast_test.go:46: float32int 11111111111111111111111100000000000 34359736320 safecast_test.go:48: float32int -> 34359736320 safecast_test.go:46: float32int 111111111111111111111111000000000000 68719472640 safecast_test.go:48: float32int -> 68719472640 safecast_test.go:46: float32int 1111111111111111111111110000000000000 137438945280 safecast_test.go:48: float32int -> 137438945280 safecast_test.go:46: float32int 11111111111111111111111100000000000000 274877890560 safecast_test.go:48: float32int -> 274877890560 safecast_test.go:46: float32int 111111111111111111111111000000000000000 549755781120 safecast_test.go:48: float32int -> 549755781120 safecast_test.go:46: float32int 1111111111111111111111110000000000000000 1099511562240 safecast_test.go:48: float32int -> 1099511562240 safecast_test.go:46: float32int 11111111111111111111111100000000000000000 2199023124480 safecast_test.go:48: float32int -> 2199023124480 safecast_test.go:46: float32int 111111111111111111111111000000000000000000 4398046248960 safecast_test.go:48: float32int -> 4398046248960 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000 8796092497920 safecast_test.go:48: float32int -> 8796092497920 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000 17592184995840 safecast_test.go:48: float32int -> 17592184995840 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000 35184369991680 safecast_test.go:48: float32int -> 35184369991680 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000 70368739983360 safecast_test.go:48: float32int -> 70368739983360 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000 140737479966720 safecast_test.go:48: float32int -> 140737479966720 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000 281474959933440 safecast_test.go:48: float32int -> 281474959933440 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000 562949919866880 safecast_test.go:48: float32int -> 562949919866880 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000000 1125899839733760 safecast_test.go:48: float32int -> 1125899839733760 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000000 2251799679467520 safecast_test.go:48: float32int -> 2251799679467520 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000000 4503599358935040 safecast_test.go:48: float32int -> 4503599358935040 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000000000 9007198717870080 safecast_test.go:48: float32int -> 9007198717870080 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000000000 18014397435740160 safecast_test.go:48: float32int -> 18014397435740160 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000000000 36028794871480320 safecast_test.go:48: float32int -> 36028794871480320 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000000000000 72057589742960640 safecast_test.go:48: float32int -> 72057589742960640 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000000000000 144115179485921280 safecast_test.go:48: float32int -> 144115179485921280 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000000000000 288230358971842560 safecast_test.go:48: float32int -> 288230358971842560 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000000000000000 576460717943685120 safecast_test.go:48: float32int -> 576460717943685120 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000000000000000 1152921435887370240 safecast_test.go:48: float32int -> 1152921435887370240 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000000000000000 2305842871774740480 safecast_test.go:48: float32int -> 2305842871774740480 safecast_test.go:46: float32int 11111111111111111111111100000000000000000000000000000000000000 4611685743549480960 safecast_test.go:48: float32int -> 4611685743549480960 safecast_test.go:46: float32int 111111111111111111111111000000000000000000000000000000000000000 9223371487098961920 safecast_test.go:48: float32int -> 9223371487098961920 safecast_test.go:46: float32int 1111111111111111111111110000000000000000000000000000000000000000 18446742974197923840 safecast_test.go:48: float32int -> 18446742974197923840 --- PASS: TestFloat32Bounds (0.00s) === RUN TestFloat64Bounds safecast_test.go:24: bits 64: 1111111111111111111111111111111111111111111111111111111111111111 : 18446744073709551615 -> float64 18446744073709551616 false safecast_test.go:24: bits 63: 111111111111111111111111111111111111111111111111111111111111111 : 9223372036854775807 -> float64 9223372036854775808 false safecast_test.go:24: bits 62: 11111111111111111111111111111111111111111111111111111111111111 : 4611686018427387903 -> float64 4611686018427387904 false safecast_test.go:24: bits 61: 1111111111111111111111111111111111111111111111111111111111111 : 2305843009213693951 -> float64 2305843009213693952 false safecast_test.go:24: bits 60: 111111111111111111111111111111111111111111111111111111111111 : 1152921504606846975 -> float64 1152921504606846976 false safecast_test.go:24: bits 59: 11111111111111111111111111111111111111111111111111111111111 : 576460752303423487 -> float64 576460752303423488 false safecast_test.go:24: bits 58: 1111111111111111111111111111111111111111111111111111111111 : 288230376151711743 -> float64 288230376151711744 false safecast_test.go:24: bits 57: 111111111111111111111111111111111111111111111111111111111 : 144115188075855871 -> float64 144115188075855872 false safecast_test.go:24: bits 56: 11111111111111111111111111111111111111111111111111111111 : 72057594037927935 -> float64 72057594037927936 false safecast_test.go:24: bits 55: 1111111111111111111111111111111111111111111111111111111 : 36028797018963967 -> float64 36028797018963968 false safecast_test.go:24: bits 54: 111111111111111111111111111111111111111111111111111111 : 18014398509481983 -> float64 18014398509481984 false safecast_test.go:24: bits 53: 11111111111111111111111111111111111111111111111111111 : 9007199254740991 -> float64 9007199254740991 true safecast_test.go:55: float64: 53 bits safecast_test.go:61: float64int 11111111111111111111111111111111111111111111111111111 9007199254740991 safecast_test.go:63: float64int -> 9007199254740991 safecast_test.go:61: float64int 111111111111111111111111111111111111111111111111111110 18014398509481982 safecast_test.go:63: float64int -> 18014398509481982 safecast_test.go:61: float64int 1111111111111111111111111111111111111111111111111111100 36028797018963964 safecast_test.go:63: float64int -> 36028797018963964 safecast_test.go:61: float64int 11111111111111111111111111111111111111111111111111111000 72057594037927928 safecast_test.go:63: float64int -> 72057594037927928 safecast_test.go:61: float64int 111111111111111111111111111111111111111111111111111110000 144115188075855856 safecast_test.go:63: float64int -> 144115188075855856 safecast_test.go:61: float64int 1111111111111111111111111111111111111111111111111111100000 288230376151711712 safecast_test.go:63: float64int -> 288230376151711712 safecast_test.go:61: float64int 11111111111111111111111111111111111111111111111111111000000 576460752303423424 safecast_test.go:63: float64int -> 576460752303423424 safecast_test.go:61: float64int 111111111111111111111111111111111111111111111111111110000000 1152921504606846848 safecast_test.go:63: float64int -> 1152921504606846848 safecast_test.go:61: float64int 1111111111111111111111111111111111111111111111111111100000000 2305843009213693696 safecast_test.go:63: float64int -> 2305843009213693696 safecast_test.go:61: float64int 11111111111111111111111111111111111111111111111111111000000000 4611686018427387392 safecast_test.go:63: float64int -> 4611686018427387392 safecast_test.go:61: float64int 111111111111111111111111111111111111111111111111111110000000000 9223372036854774784 safecast_test.go:63: float64int -> 9223372036854774784 safecast_test.go:61: float64int 1111111111111111111111111111111111111111111111111111100000000000 18446744073709549568 safecast_test.go:63: float64int -> 18446744073709549568 --- PASS: TestFloat64Bounds (0.00s) === RUN TestNonIntegerFloat --- PASS: TestNonIntegerFloat (0.00s) === RUN TestMaxInt64 safecast_test.go:108: minInt64p1 -111111111111111111111111111111111111111111111111111111111111111 -9223372036854775807 safecast_test.go:112: minInt64p1 -> -9223372036854775808 -9223372036854775808 --- PASS: TestMaxInt64 (0.00s) === RUN TestConvert safecast_test.go:121: Out is int8: 42 safecast_test.go:130: Got err: out of range safecast_test.go:136: Got err: out of range safecast_test.go:141: Out is int8: -1 safecast_test.go:150: Got err: out of range --- PASS: TestConvert (0.00s) === RUN TestPanicMustRound --- PASS: TestPanicMustRound (0.00s) === RUN TestPanicMustTruncate --- PASS: TestPanicMustTruncate (0.00s) === RUN TestPanicMustConvert --- PASS: TestPanicMustConvert (0.00s) === RUN Example --- PASS: Example (0.00s) === RUN ExampleMustRound --- PASS: ExampleMustRound (0.00s) PASS ok fortio.org/safecast 0.005s 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 --destdir=debian/golang-fortio-safecast-dev/ -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_installdeb -O--builddirectory=_build -O--buildsystem=golang dh_golang -O--builddirectory=_build -O--buildsystem=golang dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang dpkg-deb: building package 'golang-fortio-safecast-dev' in '../golang-fortio-safecast-dev_1.0.0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../golang-fortio-safecast_1.0.0-1_amd64.buildinfo dpkg-genchanges --build=binary -O../golang-fortio-safecast_1.0.0-1_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: including full 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/4005416 and its subdirectories I: Current time: Wed Jul 23 18:20:09 -12 2025 I: pbuilder-time-stamp: 1753338009