Diff of the two buildlogs: -- --- b1/build.log 2024-05-16 13:24:33.839086070 +0000 +++ b2/build.log 2024-05-16 13:25:16.413275459 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 16 01:23:58 -12 2024 -I: pbuilder-time-stamp: 1715865838 +I: Current time: Thu Jun 19 09:47:36 +14 2025 +I: pbuilder-time-stamp: 1750276056 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ 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/2372855/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3463512/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +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 Jun 18 19:47 /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/3463512/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3463512/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='e51a3a70118b448aae0f3acfd4d5030b' - 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='2372855' - PS1='# ' - PS2='> ' + INVOCATION_ID=d0a4a2fa9cd041e7b19ce4b8b6ca2d78 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=3463512 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.PpS4QHNT/pbuilderrc_cFra --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.PpS4QHNT/b1 --logfile b1/build.log rust-dlib_0.5.2-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4: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.PpS4QHNT/pbuilderrc_mz5N --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.PpS4QHNT/b2 --logfile b2/build.log rust-dlib_0.5.2-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 15 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2372855/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 18 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3463512/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -193,7 +225,7 @@ Get: 75 http://deb.debian.org/debian trixie/main arm64 librust-winapi-x86-64-pc-windows-gnu-dev arm64 0.4.0-1+b1 [3908 B] Get: 76 http://deb.debian.org/debian trixie/main arm64 librust-winapi-dev arm64 0.3.9-1+b1 [899 kB] Get: 77 http://deb.debian.org/debian trixie/main arm64 librust-libloading-dev arm64 0.7.4-1+b1 [27.4 kB] -Fetched 117 MB in 0s (239 MB/s) +Fetched 117 MB in 0s (252 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19744 files and directories currently installed.) @@ -461,8 +493,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 16 13:24:21 UTC 2024. -Universal Time is now: Thu May 16 13:24:21 UTC 2024. +Local time is now: Wed Jun 18 19:47:59 UTC 2025. +Universal Time is now: Wed Jun 18 19:47:59 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -528,7 +560,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/3463512/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3463512/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 @@ -568,7 +604,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' 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=edf13344657cd6e0 -C extra-filename=-edf13344657cd6e0 --out-dir /build/reproducible-path/rust-dlib-0.5.2/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-dlib-0.5.2/target/aarch64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/aarch64-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/aarch64-unknown-linux-gnu/debug/deps/liblibloading-7a7798b8d0932cfc.rmeta -C debuginfo=2 --cap-lints warn -C linker=aarch64-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' 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=366462047b4e7ba6 -C extra-filename=-366462047b4e7ba6 --out-dir /build/reproducible-path/rust-dlib-0.5.2/target/aarch64-unknown-linux-gnu/debug/deps --target aarch64-unknown-linux-gnu -C incremental=/build/reproducible-path/rust-dlib-0.5.2/target/aarch64-unknown-linux-gnu/debug/incremental -L dependency=/build/reproducible-path/rust-dlib-0.5.2/target/aarch64-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/aarch64-unknown-linux-gnu/debug/deps/liblibloading-7a7798b8d0932cfc.rlib -C debuginfo=2 --cap-lints warn -C linker=aarch64-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 1.30s + Finished test [unoptimized + debuginfo] target(s) in 1.28s Running `/build/reproducible-path/rust-dlib-0.5.2/target/aarch64-unknown-linux-gnu/debug/deps/dlib-366462047b4e7ba6` running 0 tests @@ -581,16 +617,36 @@ 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 93) ... FAILED -test src/lib.rs - (line 49) ... FAILED +test src/lib.rs - (line 124) ... FAILED +test src/lib.rs - (line 102) ... FAILED test src/lib.rs - (line 31) ... FAILED +test src/lib.rs - (line 49) ... FAILED test src/lib.rs - (line 114) ... ok failures: +---- src/lib.rs - (line 8) stdout ---- +error: cannot find macro `external_library` in this scope + --> src/lib.rs:9:1 + | +3 | external_library!(feature="dlopen-foo", Foo, "foo", + | ^^^^^^^^^^^^^^^^ + +error: aborting due to previous error + +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 124) stdout ---- error[E0432]: unresolved import `ffi` --> src/lib.rs:128:5 @@ -621,32 +677,12 @@ error: aborting due to 2 previous errors Couldn't compile the test. ----- src/lib.rs - (line 8) stdout ---- -error: cannot find macro `external_library` in this scope - --> src/lib.rs:9:1 - | -3 | external_library!(feature="dlopen-foo", Foo, "foo", - | ^^^^^^^^^^^^^^^^ - -error: aborting due to previous error - -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 | @@ -656,10 +692,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 | @@ -669,10 +705,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 | @@ -682,10 +718,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 | @@ -695,10 +731,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 | @@ -708,10 +744,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 | @@ -721,10 +757,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 | @@ -734,49 +770,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 | @@ -785,27 +821,16 @@ 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 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 | @@ -815,10 +840,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 | @@ -828,10 +853,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 | @@ -841,10 +866,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 | @@ -854,10 +879,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 | @@ -867,10 +892,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 | @@ -880,10 +905,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 | @@ -893,49 +918,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 | @@ -944,7 +969,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. @@ -957,7 +993,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.39s +test result: FAILED. 1 passed; 6 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.37s error: doctest failed, to rerun pass `--doc` dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101 @@ -992,12 +1028,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/3463512/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3463512/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/2372855 and its subdirectories -I: Current time: Thu May 16 01:24:32 -12 2024 -I: pbuilder-time-stamp: 1715865872 +I: removing directory /srv/workspace/pbuilder/3463512 and its subdirectories +I: Current time: Thu Jun 19 09:48:14 +14 2025 +I: pbuilder-time-stamp: 1750276094