Diff of the two buildlogs: -- --- b1/build.log 2024-05-27 19:25:52.992214579 +0000 +++ b2/build.log 2024-05-27 19:27:24.896307966 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 27 07:22:56 -12 2024 -I: pbuilder-time-stamp: 1716837776 +I: Current time: Tue May 28 09:26:01 +14 2024 +I: pbuilder-time-stamp: 1716837961 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking rust-enum-map-derive_0.17.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/23394/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 27 19:26 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/15251/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8baab53c3afb4b3588e7e06fa3d2c0dd' - 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='23394' - PS1='# ' - PS2='> ' + INVOCATION_ID=6e2bb036a23a4d7a93cda309fd6733d2 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=15251 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.u4HqiTK3/pbuilderrc_078g --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.u4HqiTK3/b1 --logfile b1/build.log rust-enum-map-derive_0.17.0-1.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.u4HqiTK3/pbuilderrc_ncAU --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.u4HqiTK3/b2 --logfile b2/build.log rust-enum-map-derive_0.17.0-1.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-21-armmp-lpae #1 SMP Debian 6.1.90-1 (2024-05-03) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 25 07:45 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/23394/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 25 07:44 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -200,7 +232,7 @@ Get: 73 http://deb.debian.org/debian unstable/main armhf librust-proc-macro2-dev armhf 1.0.81-1 [43.4 kB] Get: 74 http://deb.debian.org/debian unstable/main armhf librust-quote-dev armhf 1.0.36-1 [28.8 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf librust-syn-dev armhf 2.0.48-1 [200 kB] -Fetched 112 MB in 6s (18.7 MB/s) +Fetched 112 MB in 1s (98.2 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19463 files and directories currently installed.) @@ -461,8 +493,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 27 19:24:47 UTC 2024. -Universal Time is now: Mon May 27 19:24:47 UTC 2024. +Local time is now: Mon May 27 19:26:47 UTC 2024. +Universal Time is now: Mon May 27 19:26:47 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -527,7 +559,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/rust-enum-map-derive-0.17.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 > ../rust-enum-map-derive_0.17.0-1_source.changes +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rust-enum-map-derive-0.17.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../rust-enum-map-derive_0.17.0-1_source.changes dpkg-buildpackage: info: source package rust-enum-map-derive dpkg-buildpackage: info: source version 0.17.0-1 dpkg-buildpackage: info: source distribution unstable @@ -537,7 +573,7 @@ debian/rules clean dh clean --buildsystem cargo dh_auto_clean -O--buildsystem=cargo -debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=3'] [] ['-j3'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=4'] [] ['-j4'] 0 debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} dh_autoreconf_clean -O--buildsystem=cargo @@ -547,16 +583,16 @@ dh_update_autotools_config -O--buildsystem=cargo dh_autoreconf -O--buildsystem=cargo dh_auto_configure -O--buildsystem=cargo -debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=3'] [] ['-j3'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=4'] [] ['-j4'] 0 debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf debian cargo wrapper: linking /usr/share/cargo/registry/* into /build/reproducible-path/rust-enum-map-derive-0.17.0/debian/cargo_registry/ dh_auto_build -O--buildsystem=cargo debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/rust-enum-map-derive-0.17.0' dh_auto_test -- test --all || true -debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=3'] [] ['-j3'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=4'] [] ['-j4'] 0 debian cargo wrapper: rust_type, gnu_type: armv7-unknown-linux-gnueabihf, arm-linux-gnueabihf -debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j3', '--target', 'armv7-unknown-linux-gnueabihf', '--all'],) {} +debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j4', '--target', 'armv7-unknown-linux-gnueabihf', '--all'],) {} Compiling proc-macro2 v1.0.81 Compiling unicode-ident v1.0.12 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/build/reproducible-path/rust-enum-map-derive-0.17.0/debian/cargo_registry/proc-macro2-1.0.81 CARGO_PKG_AUTHORS='David Tolnay :Alex Crichton ' CARGO_PKG_DESCRIPTION='A substitute implementation of the compiler'\''s `proc_macro` API to decouple token-based libraries from the procedural macro use case.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=proc-macro2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/dtolnay/proc-macro2' CARGO_PKG_RUST_VERSION=1.56 CARGO_PKG_VERSION=1.0.81 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=81 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps:/usr/lib' rustc --crate-name build_script_build --edition=2021 /build/reproducible-path/rust-enum-map-derive-0.17.0/debian/cargo_registry/proc-macro2-1.0.81/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=2275ecda3fb2afb2 -C extra-filename=-2275ecda3fb2afb2 --out-dir /build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/build/proc-macro2-2275ecda3fb2afb2 -L dependency=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps --cap-lints warn` @@ -575,7 +611,7 @@ Compiling enum-map-derive v0.17.0 (/build/reproducible-path/rust-enum-map-derive-0.17.0) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=enum_map_derive CARGO_MANIFEST_DIR=/build/reproducible-path/rust-enum-map-derive-0.17.0 CARGO_PKG_AUTHORS='Kamila Borowska ' CARGO_PKG_DESCRIPTION='Macros 1.1 implementation of #[derive(Enum)]' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=enum-map-derive CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://codeberg.org/xfix/enum-map' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=0.17.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=17 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps:/usr/lib' rustc --crate-name enum_map_derive --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=4784976061a17ec0 -C extra-filename=-4784976061a17ec0 --out-dir /build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps -C incremental=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/incremental -L dependency=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps --extern proc_macro2=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libproc_macro2-c9fd1efff766c65b.rlib --extern quote=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libquote-a619f0ad081c7a49.rlib --extern syn=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libsyn-b85f54504ca0147f.rlib --extern proc_macro` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=enum_map_derive CARGO_MANIFEST_DIR=/build/reproducible-path/rust-enum-map-derive-0.17.0 CARGO_PKG_AUTHORS='Kamila Borowska ' CARGO_PKG_DESCRIPTION='Macros 1.1 implementation of #[derive(Enum)]' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=enum-map-derive CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://codeberg.org/xfix/enum-map' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=0.17.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=17 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps:/usr/lib' rustc --crate-name enum_map_derive --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 --test -C metadata=4c59b9adb24dc78a -C extra-filename=-4c59b9adb24dc78a --out-dir /build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps -C incremental=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/incremental -L dependency=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps --extern proc_macro2=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libproc_macro2-c9fd1efff766c65b.rlib --extern quote=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libquote-a619f0ad081c7a49.rlib --extern syn=/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/libsyn-b85f54504ca0147f.rlib --extern proc_macro` - Finished test [unoptimized + debuginfo] target(s) in 23.95s + Finished test [unoptimized + debuginfo] target(s) in 15.78s Running `/build/reproducible-path/rust-enum-map-derive-0.17.0/target/debug/deps/enum_map_derive-4c59b9adb24dc78a` running 0 tests @@ -588,8 +624,8 @@ running 4 tests test src/lib.rs - derive_enum_map (line 31) ... FAILED test src/lib.rs - derive_enum_map (line 97) ... FAILED -test src/lib.rs - derive_enum_map (line 52) ... FAILED test src/lib.rs - derive_enum_map (line 133) ... FAILED +test src/lib.rs - derive_enum_map (line 52) ... FAILED failures: @@ -775,6 +811,114 @@ Some errors have detailed explanations: E0432, E0599. For more information about an error, try `rustc --explain E0432`. Couldn't compile the test. +---- src/lib.rs - derive_enum_map (line 133) stdout ---- +error[E0432]: unresolved import `enum_map` + --> src/lib.rs:134:5 + | +3 | use enum_map::Enum; + | ^^^^^^^^ use of undeclared crate or module `enum_map` + +error: cannot determine resolution for the derive macro `Enum` + --> src/lib.rs:136:10 + | +5 | #[derive(Enum, Debug, PartialEq, Eq)] + | ^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `Enum` + --> src/lib.rs:143:10 + | +12 | #[derive(Enum, Debug, PartialEq, Eq)] + | ^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error: cannot determine resolution for the derive macro `Enum` + --> src/lib.rs:149:10 + | +18 | #[derive(Enum, Debug, PartialEq, Eq)] + | ^^^^ + | + = note: import resolution is stuck, try simplifying macro imports + +error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope + --> src/lib.rs:152:36 + | +19 | struct Foo(bool, A, X); + | ---------- method `into_usize` not found for this struct +20 | +21 | assert_eq!(Foo(false, A::B, X::Y ).into_usize(), 0); + | ^^^^^^^^^^ method not found in `Foo` + +error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope + --> src/lib.rs:153:35 + | +19 | struct Foo(bool, A, X); + | ---------- method `into_usize` not found for this struct +... +22 | assert_eq!(Foo(true, A::B, X::Y ).into_usize(), 1); + | ^^^^^^^^^^ method not found in `Foo` + +error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope + --> src/lib.rs:154:36 + | +19 | struct Foo(bool, A, X); + | ---------- method `into_usize` not found for this struct +... +23 | assert_eq!(Foo(false, A::D, X::Y ).into_usize(), 4); + | ^^^^^^^^^^ method not found in `Foo` + +error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope + --> src/lib.rs:155:35 + | +19 | struct Foo(bool, A, X); + | ---------- method `into_usize` not found for this struct +... +24 | assert_eq!(Foo(true, A::C, X::Z ).into_usize(), 9); + | ^^^^^^^^^^ method not found in `Foo` + +error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope + --> src/lib.rs:157:17 + | +19 | struct Foo(bool, A, X); + | ---------- function or associated item `from_usize` not found for this struct +... +26 | assert_eq!(Foo::from_usize(0), Foo(false, A::B, X::Y)); + | ^^^^^^^^^^ function or associated item not found in `Foo` + +error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope + --> src/lib.rs:158:17 + | +19 | struct Foo(bool, A, X); + | ---------- function or associated item `from_usize` not found for this struct +... +27 | assert_eq!(Foo::from_usize(1), Foo(true, A::B, X::Y)); + | ^^^^^^^^^^ function or associated item not found in `Foo` + +error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope + --> src/lib.rs:159:17 + | +19 | struct Foo(bool, A, X); + | ---------- function or associated item `from_usize` not found for this struct +... +28 | assert_eq!(Foo::from_usize(4), Foo(false, A::D, X::Y)); + | ^^^^^^^^^^ function or associated item not found in `Foo` + +error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope + --> src/lib.rs:160:17 + | +19 | struct Foo(bool, A, X); + | ---------- function or associated item `from_usize` not found for this struct +... +29 | assert_eq!(Foo::from_usize(9), Foo(true, A::C, X::Z)); + | ^^^^^^^^^^ function or associated item not found in `Foo` + +error: aborting due to 12 previous errors + +Some errors have detailed explanations: E0432, E0599. +For more information about an error, try `rustc --explain E0432`. +Couldn't compile the test. ---- src/lib.rs - derive_enum_map (line 52) stdout ---- error[E0432]: unresolved import `enum_map` --> src/lib.rs:53:5 @@ -955,114 +1099,6 @@ Some errors have detailed explanations: E0432, E0599. For more information about an error, try `rustc --explain E0432`. Couldn't compile the test. ----- src/lib.rs - derive_enum_map (line 133) stdout ---- -error[E0432]: unresolved import `enum_map` - --> src/lib.rs:134:5 - | -3 | use enum_map::Enum; - | ^^^^^^^^ use of undeclared crate or module `enum_map` - -error: cannot determine resolution for the derive macro `Enum` - --> src/lib.rs:136:10 - | -5 | #[derive(Enum, Debug, PartialEq, Eq)] - | ^^^^ - | - = note: import resolution is stuck, try simplifying macro imports - -error: cannot determine resolution for the derive macro `Enum` - --> src/lib.rs:143:10 - | -12 | #[derive(Enum, Debug, PartialEq, Eq)] - | ^^^^ - | - = note: import resolution is stuck, try simplifying macro imports - -error: cannot determine resolution for the derive macro `Enum` - --> src/lib.rs:149:10 - | -18 | #[derive(Enum, Debug, PartialEq, Eq)] - | ^^^^ - | - = note: import resolution is stuck, try simplifying macro imports - -error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope - --> src/lib.rs:152:36 - | -19 | struct Foo(bool, A, X); - | ---------- method `into_usize` not found for this struct -20 | -21 | assert_eq!(Foo(false, A::B, X::Y ).into_usize(), 0); - | ^^^^^^^^^^ method not found in `Foo` - -error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope - --> src/lib.rs:153:35 - | -19 | struct Foo(bool, A, X); - | ---------- method `into_usize` not found for this struct -... -22 | assert_eq!(Foo(true, A::B, X::Y ).into_usize(), 1); - | ^^^^^^^^^^ method not found in `Foo` - -error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope - --> src/lib.rs:154:36 - | -19 | struct Foo(bool, A, X); - | ---------- method `into_usize` not found for this struct -... -23 | assert_eq!(Foo(false, A::D, X::Y ).into_usize(), 4); - | ^^^^^^^^^^ method not found in `Foo` - -error[E0599]: no method named `into_usize` found for struct `Foo` in the current scope - --> src/lib.rs:155:35 - | -19 | struct Foo(bool, A, X); - | ---------- method `into_usize` not found for this struct -... -24 | assert_eq!(Foo(true, A::C, X::Z ).into_usize(), 9); - | ^^^^^^^^^^ method not found in `Foo` - -error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope - --> src/lib.rs:157:17 - | -19 | struct Foo(bool, A, X); - | ---------- function or associated item `from_usize` not found for this struct -... -26 | assert_eq!(Foo::from_usize(0), Foo(false, A::B, X::Y)); - | ^^^^^^^^^^ function or associated item not found in `Foo` - -error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope - --> src/lib.rs:158:17 - | -19 | struct Foo(bool, A, X); - | ---------- function or associated item `from_usize` not found for this struct -... -27 | assert_eq!(Foo::from_usize(1), Foo(true, A::B, X::Y)); - | ^^^^^^^^^^ function or associated item not found in `Foo` - -error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope - --> src/lib.rs:159:17 - | -19 | struct Foo(bool, A, X); - | ---------- function or associated item `from_usize` not found for this struct -... -28 | assert_eq!(Foo::from_usize(4), Foo(false, A::D, X::Y)); - | ^^^^^^^^^^ function or associated item not found in `Foo` - -error[E0599]: no function or associated item named `from_usize` found for struct `Foo` in the current scope - --> src/lib.rs:160:17 - | -19 | struct Foo(bool, A, X); - | ---------- function or associated item `from_usize` not found for this struct -... -29 | assert_eq!(Foo::from_usize(9), Foo(true, A::C, X::Z)); - | ^^^^^^^^^^ function or associated item not found in `Foo` - -error: aborting due to 12 previous errors - -Some errors have detailed explanations: E0432, E0599. -For more information about an error, try `rustc --explain E0432`. -Couldn't compile the test. failures: src/lib.rs - derive_enum_map (line 133) @@ -1070,7 +1106,7 @@ src/lib.rs - derive_enum_map (line 52) src/lib.rs - derive_enum_map (line 97) -test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s +test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s error: doctest failed, to rerun pass `--doc` dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101 @@ -1105,12 +1141,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/15251/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/23394 and its subdirectories -I: Current time: Mon May 27 07:25:48 -12 2024 -I: pbuilder-time-stamp: 1716837948 +I: removing directory /srv/workspace/pbuilder/15251 and its subdirectories +I: Current time: Tue May 28 09:27:20 +14 2024 +I: pbuilder-time-stamp: 1716838040