Diff of the two buildlogs: -- --- b1/build.log 2024-05-08 08:05:52.546701176 +0000 +++ b2/build.log 2024-05-08 08:06:40.256670078 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 10 02:28:21 -12 2025 -I: pbuilder-time-stamp: 1749565701 +I: Current time: Wed May 8 22:05:54 +14 2024 +I: pbuilder-time-stamp: 1715155554 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,54 +28,86 @@ dpkg-source: info: applying relax-deps.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/27864/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/48542/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 8 08:06 /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/48542/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/48542/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-linux-gnu") + 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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='0fe71ed848f74508a2bde7f6f42ef393' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='27864' - PS1='# ' - PS2='> ' + INVOCATION_ID=ad545baf7b7a44489dbe7aa47195f9f3 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=48542 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.wET6zqtz/pbuilderrc_Sl5J --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wET6zqtz/b1 --logfile b1/build.log rust-dlib_0.5.2-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + 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.wET6zqtz/pbuilderrc_OqqF --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.wET6zqtz/b2 --logfile b2/build.log rust-dlib_0.5.2-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos16-i386 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 8 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/27864/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 7 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/48542/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -196,7 +228,7 @@ Get: 75 http://deb.debian.org/debian trixie/main i386 librust-winapi-x86-64-pc-windows-gnu-dev i386 0.4.0-1+b1 [3908 B] Get: 76 http://deb.debian.org/debian trixie/main i386 librust-winapi-dev i386 0.3.9-1+b1 [899 kB] Get: 77 http://deb.debian.org/debian trixie/main i386 librust-libloading-dev i386 0.7.4-1+b1 [27.4 kB] -Fetched 131 MB in 1s (94.2 MB/s) +Fetched 131 MB in 2s (69.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:i386. (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 ... 19683 files and directories currently installed.) @@ -464,8 +496,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jun 10 14:28:43 UTC 2025. -Universal Time is now: Tue Jun 10 14:28:43 UTC 2025. +Local time is now: Wed May 8 08:06:26 UTC 2024. +Universal Time is now: Wed May 8 08:06:26 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -531,7 +563,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/rust-dlib-0.5.2/ && 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-dlib_0.5.2-1_source.changes +I: user script /srv/workspace/pbuilder/48542/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/48542/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/rust-dlib-0.5.2/ && 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-dlib_0.5.2-1_source.changes dpkg-buildpackage: info: source package rust-dlib dpkg-buildpackage: info: source version 0.5.2-1 dpkg-buildpackage: info: source distribution unstable @@ -541,7 +577,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=22'] [] ['-j22'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=10'] [] ['-j10'] 0 debian cargo wrapper: rust_type, gnu_type: i686-unknown-linux-gnu, i686-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} dh_autoreconf_clean -O--buildsystem=cargo @@ -551,16 +587,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=22'] [] ['-j22'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=10'] [] ['-j10'] 0 debian cargo wrapper: rust_type, gnu_type: i686-unknown-linux-gnu, i686-linux-gnu debian cargo wrapper: linking /usr/share/cargo/registry/* into /build/reproducible-path/rust-dlib-0.5.2/debian/cargo_registry/ dh_auto_build -O--buildsystem=cargo debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/rust-dlib-0.5.2' dh_auto_test -- test --all || true -debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=22'] [] ['-j22'] 0 +debian cargo wrapper: options, profiles, parallel, lto: ['buildinfo=+all', 'reproducible=+all', 'parallel=10'] [] ['-j10'] 0 debian cargo wrapper: rust_type, gnu_type: i686-unknown-linux-gnu, i686-linux-gnu -debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j22', '--target', 'i686-unknown-linux-gnu', '--all'],) {} +debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', '-j10', '--target', 'i686-unknown-linux-gnu', '--all'],) {} Compiling cfg-if v1.0.0 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/build/reproducible-path/rust-dlib-0.5.2/debian/cargo_registry/cfg-if-1.0.0 CARGO_PKG_AUTHORS='Alex Crichton ' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg] parameters. Structured like an if-else chain, the first matching branch is the @@ -571,7 +607,7 @@ Compiling dlib v0.5.2 (/build/reproducible-path/rust-dlib-0.5.2) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=dlib CARGO_MANIFEST_DIR=/build/reproducible-path/rust-dlib-0.5.2 CARGO_PKG_AUTHORS='Elinor Berger ' CARGO_PKG_DESCRIPTION='Helper macros for handling manually loading optional system libraries.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=dlib CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/elinorbgr/dlib' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.5.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/build/reproducible-path/rust-dlib-0.5.2/target/debug/deps:/usr/lib:/usr/lib/libeatmydata' rustc --crate-name dlib src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=f3a8b2014b090df0 -C extra-filename=-f3a8b2014b090df0 --out-dir /build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps --target i686-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/debug/deps --extern libloading=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps/liblibloading-09cf876008ce8745.rmeta -C debuginfo=2 --cap-lints warn -C linker=i686-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-dlib-0.5.2=/usr/share/cargo/registry/dlib-0.5.2 --remap-path-prefix /build/reproducible-path/rust-dlib-0.5.2/debian/cargo_registry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=dlib CARGO_MANIFEST_DIR=/build/reproducible-path/rust-dlib-0.5.2 CARGO_PKG_AUTHORS='Elinor Berger ' CARGO_PKG_DESCRIPTION='Helper macros for handling manually loading optional system libraries.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=dlib CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/elinorbgr/dlib' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.5.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=5 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH='/build/reproducible-path/rust-dlib-0.5.2/target/debug/deps:/usr/lib:/usr/lib/libeatmydata' rustc --crate-name dlib src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C metadata=8718969fc0090bec -C extra-filename=-8718969fc0090bec --out-dir /build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps --target i686-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/debug/deps --extern libloading=/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps/liblibloading-09cf876008ce8745.rlib -C debuginfo=2 --cap-lints warn -C linker=i686-linux-gnu-gcc -C link-arg=-Wl,-z,relro --remap-path-prefix /build/reproducible-path/rust-dlib-0.5.2=/usr/share/cargo/registry/dlib-0.5.2 --remap-path-prefix /build/reproducible-path/rust-dlib-0.5.2/debian/cargo_registry=/usr/share/cargo/registry` - Finished test [unoptimized + debuginfo] target(s) in 0.80s + Finished test [unoptimized + debuginfo] target(s) in 1.15s Running `/build/reproducible-path/rust-dlib-0.5.2/target/i686-unknown-linux-gnu/debug/deps/dlib-8718969fc0090bec` running 0 tests @@ -584,16 +620,30 @@ running 9 tests test src/lib.rs - ffi_dispatch (line 154) ... ignored test src/lib.rs - ffi_dispatch_static (line 188) ... ignored +test src/lib.rs - (line 124) ... FAILED test src/lib.rs - (line 102) ... FAILED test src/lib.rs - (line 8) ... FAILED -test src/lib.rs - (line 124) ... FAILED +test src/lib.rs - (line 31) ... FAILED test src/lib.rs - (line 93) ... FAILED test src/lib.rs - (line 49) ... FAILED -test src/lib.rs - (line 31) ... FAILED test src/lib.rs - (line 114) ... ok failures: +---- src/lib.rs - (line 124) stdout ---- +error[E0432]: unresolved import `ffi` + --> src/lib.rs:128:5 + | +6 | use ffi::*; + | ^^^ + | | + | unresolved import + | help: a similar path exists: `std::ffi` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0432`. +Couldn't compile the test. ---- src/lib.rs - (line 102) stdout ---- error: cannot find macro `ffi_dispatch_static` in this scope --> src/lib.rs:104:1 @@ -620,36 +670,12 @@ error: aborting due to previous error Couldn't compile the test. ----- src/lib.rs - (line 124) stdout ---- -error[E0432]: unresolved import `ffi` - --> src/lib.rs:128:5 - | -6 | use ffi::*; - | ^^^ - | | - | unresolved import - | help: a similar path exists: `std::ffi` - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0432`. -Couldn't compile the test. ----- src/lib.rs - (line 93) stdout ---- -error: cannot find macro `external_library` in this scope - --> src/lib.rs:94:1 - | -3 | external_library!(feature="dlopen-foo", Foo, "foo", - | ^^^^^^^^^^^^^^^^ - -error: aborting due to previous error - -Couldn't compile the test. ----- src/lib.rs - (line 49) stdout ---- +---- src/lib.rs - (line 31) stdout ---- error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:51:22 + --> src/lib.rs:34:20 | -4 | pub me: &'static c_int, - | ^^^^^ not found in this scope +5 | pub static me: c_int; + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -659,10 +685,10 @@ | error[E0412]: cannot find type `c_float` in this scope - --> src/lib.rs:52:23 + --> src/lib.rs:35:21 | -5 | pub you: &'static c_float, - | ^^^^^^^ not found in this scope +6 | pub static you: c_float; + | ^^^^^^^ not found in this scope | help: consider importing one of these items | @@ -672,10 +698,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:53:40 + --> src/lib.rs:36:21 | -6 | pub foo: unsafe extern "C" fn() -> c_int, - | ^^^^^ not found in this scope +7 | pub fn foo() -> c_int; + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -685,10 +711,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:54:35 + --> src/lib.rs:37:19 | -7 | pub bar: unsafe extern "C" fn(c_int, c_float) -> (), - | ^^^^^ not found in this scope +8 | pub fn bar(_: c_int, _: c_float) -> (); + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -698,10 +724,10 @@ | error[E0412]: cannot find type `c_float` in this scope - --> src/lib.rs:54:42 + --> src/lib.rs:37:29 | -7 | pub bar: unsafe extern "C" fn(c_int, c_float) -> (), - | ^^^^^^^ not found in this scope +8 | pub fn bar(_: c_int, _: c_float) -> (); + | ^^^^^^^ not found in this scope | help: consider importing one of these items | @@ -711,10 +737,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:55:42 + --> src/lib.rs:38:26 | -8 | pub baz: unsafe extern "C" fn(*const c_int) -> c_int, - | ^^^^^ not found in this scope +9 | pub fn baz(_: *const c_int) -> c_int; + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -724,10 +750,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:55:52 + --> src/lib.rs:38:36 | -8 | pub baz: unsafe extern "C" fn(*const c_int) -> c_int, - | ^^^^^ not found in this scope +9 | pub fn baz(_: *const c_int) -> c_int; + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -737,49 +763,49 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:56:36 - | -9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, - | ^^^^^ not found in this scope - | + --> src/lib.rs:39:20 + | +10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; + | ^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_int; - | -2 + use std::os::raw::c_int; - | + | +2 + use std::ffi::c_int; + | +2 + use std::os::raw::c_int; + | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:56:43 - | -9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, - | ^^^^^ not found in this scope - | + --> src/lib.rs:39:30 + | +10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; + | ^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_int; - | -2 + use std::os::raw::c_int; - | + | +2 + use std::ffi::c_int; + | +2 + use std::os::raw::c_int; + | error[E0412]: cannot find type `c_void` in this scope - --> src/lib.rs:56:65 - | -9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, - | ^^^^^^ not found in this scope - | + --> src/lib.rs:39:52 + | +10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; + | ^^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_void; - | -2 + use std::os::raw::c_void; - | + | +2 + use std::ffi::c_void; + | +2 + use std::os::raw::c_void; + | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:57:36 + --> src/lib.rs:40:20 | -10 | pub bleh: unsafe extern "C" fn(c_int, ...) -> (), - | ^^^^^ not found in this scope +11 | pub fn bleh(_: c_int, ...) -> (); + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -788,27 +814,26 @@ 2 + use std::os::raw::c_int; | -error[E0412]: cannot find type `DlError` in this scope - --> src/lib.rs:62:51 - | -15 | pub unsafe fn open(name: &str) -> Result { /* ... */ } - | ^^^^^^^ not found in this scope - | -help: you might be missing a type parameter - | -14 | impl Foo { - | +++++++++ - -error: aborting due to 12 previous errors +error: aborting due to 11 previous errors For more information about this error, try `rustc --explain E0412`. Couldn't compile the test. ----- src/lib.rs - (line 31) stdout ---- +---- src/lib.rs - (line 93) stdout ---- +error: cannot find macro `external_library` in this scope + --> src/lib.rs:94:1 + | +3 | external_library!(feature="dlopen-foo", Foo, "foo", + | ^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + +Couldn't compile the test. +---- src/lib.rs - (line 49) stdout ---- error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:34:20 + --> src/lib.rs:51:22 | -5 | pub static me: c_int; - | ^^^^^ not found in this scope +4 | pub me: &'static c_int, + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -818,10 +843,10 @@ | error[E0412]: cannot find type `c_float` in this scope - --> src/lib.rs:35:21 + --> src/lib.rs:52:23 | -6 | pub static you: c_float; - | ^^^^^^^ not found in this scope +5 | pub you: &'static c_float, + | ^^^^^^^ not found in this scope | help: consider importing one of these items | @@ -831,10 +856,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:36:21 + --> src/lib.rs:53:40 | -7 | pub fn foo() -> c_int; - | ^^^^^ not found in this scope +6 | pub foo: unsafe extern "C" fn() -> c_int, + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -844,10 +869,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:37:19 + --> src/lib.rs:54:35 | -8 | pub fn bar(_: c_int, _: c_float) -> (); - | ^^^^^ not found in this scope +7 | pub bar: unsafe extern "C" fn(c_int, c_float) -> (), + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -857,10 +882,10 @@ | error[E0412]: cannot find type `c_float` in this scope - --> src/lib.rs:37:29 + --> src/lib.rs:54:42 | -8 | pub fn bar(_: c_int, _: c_float) -> (); - | ^^^^^^^ not found in this scope +7 | pub bar: unsafe extern "C" fn(c_int, c_float) -> (), + | ^^^^^^^ not found in this scope | help: consider importing one of these items | @@ -870,10 +895,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:38:26 + --> src/lib.rs:55:42 | -9 | pub fn baz(_: *const c_int) -> c_int; - | ^^^^^ not found in this scope +8 | pub baz: unsafe extern "C" fn(*const c_int) -> c_int, + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -883,10 +908,10 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:38:36 + --> src/lib.rs:55:52 | -9 | pub fn baz(_: *const c_int) -> c_int; - | ^^^^^ not found in this scope +8 | pub baz: unsafe extern "C" fn(*const c_int) -> c_int, + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -896,49 +921,49 @@ | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:39:20 - | -10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; - | ^^^^^ not found in this scope - | + --> src/lib.rs:56:36 + | +9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, + | ^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_int; - | -2 + use std::os::raw::c_int; - | + | +2 + use std::ffi::c_int; + | +2 + use std::os::raw::c_int; + | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:39:30 - | -10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; - | ^^^^^ not found in this scope - | + --> src/lib.rs:56:43 + | +9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, + | ^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_int; - | -2 + use std::os::raw::c_int; - | + | +2 + use std::ffi::c_int; + | +2 + use std::os::raw::c_int; + | error[E0412]: cannot find type `c_void` in this scope - --> src/lib.rs:39:52 - | -10 | pub fn blah(_: c_int, _: c_int, ...) -> *const c_void; - | ^^^^^^ not found in this scope - | + --> src/lib.rs:56:65 + | +9 | pub blah: unsafe extern "C" fn(c_int, c_int, ...) -> *const c_void, + | ^^^^^^ not found in this scope + | help: consider importing one of these items - | -2 + use std::ffi::c_void; - | -2 + use std::os::raw::c_void; - | + | +2 + use std::ffi::c_void; + | +2 + use std::os::raw::c_void; + | error[E0412]: cannot find type `c_int` in this scope - --> src/lib.rs:40:20 + --> src/lib.rs:57:36 | -11 | pub fn bleh(_: c_int, ...) -> (); - | ^^^^^ not found in this scope +10 | pub bleh: unsafe extern "C" fn(c_int, ...) -> (), + | ^^^^^ not found in this scope | help: consider importing one of these items | @@ -947,7 +972,18 @@ 2 + use std::os::raw::c_int; | -error: aborting due to 11 previous errors +error[E0412]: cannot find type `DlError` in this scope + --> src/lib.rs:62:51 + | +15 | pub unsafe fn open(name: &str) -> Result { /* ... */ } + | ^^^^^^^ not found in this scope + | +help: you might be missing a type parameter + | +14 | impl Foo { + | +++++++++ + +error: aborting due to 12 previous errors For more information about this error, try `rustc --explain E0412`. Couldn't compile the test. @@ -960,7 +996,7 @@ src/lib.rs - (line 8) src/lib.rs - (line 93) -test result: FAILED. 1 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.29s +test result: FAILED. 1 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.42s error: doctest failed, to rerun pass `--doc` dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101 @@ -995,12 +1031,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/48542/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/48542/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/27864 and its subdirectories -I: Current time: Tue Jun 10 02:28:51 -12 2025 -I: pbuilder-time-stamp: 1749565731 +I: removing directory /srv/workspace/pbuilder/48542 and its subdirectories +I: Current time: Wed May 8 22:06:39 +14 2024 +I: pbuilder-time-stamp: 1715155599