Your message dated Mon, 21 Feb 2022 20:33:50 -0500
with message-id <20220222013350.esvnlz5h6ash2ser@localhost>
and subject line Re: Bug#971207: rust-inotify-sys: FTBFS: dh_auto_test: error: 
/usr/share/cargo/bin/cargo test --all returned exit code 1
has caused the Debian Bug report #971207,
regarding rust-inotify-sys: FTBFS: dh_auto_test: error: 
/usr/share/cargo/bin/cargo test --all returned exit code 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
971207: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971207
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: rust-inotify-sys
Version: 0.1.3-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- test --all
> debian cargo wrapper: options, profiles, parallel: ['parallel=4'] [] ['-j4']
> debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, 
> x86_64-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', 
> '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', 
> '-j4', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {}
>    Compiling libc v0.2.73
>      Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=libc 
> CARGO_PKG_VERSION=0.2.73 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.73 
> CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_DESCRIPTION='Raw 
> FFI bindings to platform libraries like libc.
> ' CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_VERSION_PATCH=73 
> CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' 
> CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> CARGO=/usr/bin/cargo rustc --crate-name build_script_build 
> /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.73/build.rs 
> --error-format=json --json=diagnostic-rendered-ansi --crate-type bin 
> --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 
> 'feature="std"' -C metadata=fddeaec4f01175a7 -C 
> extra-filename=-fddeaec4f01175a7 --out-dir 
> /<<PKGBUILDDIR>>/target/debug/build/libc-fddeaec4f01175a7 -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
>      Running 
> `/<<PKGBUILDDIR>>/target/debug/build/libc-fddeaec4f01175a7/build-script-build`
> [libc 0.2.73] cargo:rustc-cfg=freebsd11
> [libc 0.2.73] cargo:rustc-cfg=libc_priv_mod_use
> [libc 0.2.73] cargo:rustc-cfg=libc_union
> [libc 0.2.73] cargo:rustc-cfg=libc_const_size_of
> [libc 0.2.73] cargo:rustc-cfg=libc_align
> [libc 0.2.73] cargo:rustc-cfg=libc_core_cvoid
> [libc 0.2.73] cargo:rustc-cfg=libc_packedN
>      Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=libc 
> CARGO_PKG_VERSION=0.2.73 
> CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.73 
> CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_DESCRIPTION='Raw 
> FFI bindings to platform libraries like libc.
> ' CARGO_PKG_AUTHORS='The Rust Project Developers' 
> OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libc-13f2b82d2a1fa182/out
>  CARGO_PKG_VERSION_PATCH=73 
> CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' 
> CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> CARGO=/usr/bin/cargo rustc --crate-name libc 
> /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.73/src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type 
> lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="default"' 
> --cfg 'feature="std"' -C metadata=75af03d4f216d925 -C 
> extra-filename=-75af03d4f216d925 --out-dir 
> /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target 
> x86_64-unknown-linux-gnu -L 
> dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -C debuginfo=2 
> --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro 
> --remap-path-prefix 
> /<<PKGBUILDDIR>>=/usr/share/cargo/registry/inotify-sys-0.1.3 --cfg freebsd11 
> --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg 
> libc_align --cfg libc_core_cvoid --cfg libc_packedN`
>    Compiling inotify-sys v0.1.3 (/<<PKGBUILDDIR>>)
>      Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=inotify-sys 
> CARGO_PKG_VERSION=0.1.3 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
> CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_DESCRIPTION='inotify bindings for the Rust programming language' 
> CARGO_PKG_AUTHORS='Hanno Braun <h...@hannobraun.de>' 
> CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_HOMEPAGE= 
> CARGO_PKG_REPOSITORY='https://github.com/inotify-rs/inotify-sys' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> CARGO=/usr/bin/cargo rustc --crate-name inotify_sys src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi --crate-type lib 
> --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=16232beadc0ec397 -C 
> extra-filename=-16232beadc0ec397 --out-dir 
> /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target 
> x86_64-unknown-linux-gnu -C 
> incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental
>  -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-75af03d4f216d925.rmeta
>  -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C 
> link-arg=-Wl,-z,relro --remap-path-prefix 
> /<<PKGBUILDDIR>>=/usr/share/cargo/registry/inotify-sys-0.1.3`
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:308:31
>     |
> 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
>     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: 
> remove these parentheses
>     |
> note: the lint level is defined here
>    --> src/lib.rs:2:9
>     |
> 2   | #![deny(warnings)]
>     |         ^^^^^^^^
>     = note: `#[warn(unused_parens)]` implied by `#[warn(warnings)]`
> 
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:326:32
>     |
> 326 | pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE);
>     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> help: remove these parentheses
> 
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:366:37
>     |
> 366 |   pub const IN_ALL_EVENTS: uint32_t = (
>     |  _____________________________________^
> 367 | |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 | |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 | |     | IN_DELETE_SELF | IN_MOVE_SELF);
>     | |____________________________________^
>     |
> help: remove these parentheses
>     |
> 366 | pub const IN_ALL_EVENTS: uint32_t = 
> 367 |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 |     | IN_DELETE_SELF | IN_MOVE_SELF;
>     |
> 
>      Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_NAME=inotify-sys 
> CARGO_PKG_VERSION=0.1.3 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> 
> CARGO_PKG_VERSION_PRE= CARGO_PKG_VERSION_MINOR=1 
> CARGO_PKG_DESCRIPTION='inotify bindings for the Rust programming language' 
> CARGO_PKG_AUTHORS='Hanno Braun <h...@hannobraun.de>' 
> CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_HOMEPAGE= 
> CARGO_PKG_REPOSITORY='https://github.com/inotify-rs/inotify-sys' 
> LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/usr/lib' 
> CARGO=/usr/bin/cargo rustc --crate-name inotify_sys src/lib.rs 
> --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C 
> debuginfo=2 --test -C metadata=1e306b6f4414de99 -C 
> extra-filename=-1e306b6f4414de99 --out-dir 
> /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target 
> x86_64-unknown-linux-gnu -C 
> incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental
>  -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-75af03d4f216d925.rlib
>  -C debuginfo=2 --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C 
> link-arg=-Wl,-z,relro --remap-path-prefix 
> /<<PKGBUILDDIR>>=/usr/share/cargo/registry/inotify-sys-0.1.3`
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>   --> src/lib.rs:39:5
>    |
> 39 |     uint32_t };
>    |     ^^^^^^^^
>    |
> note: the lint level is defined here
>   --> src/lib.rs:2:9
>    |
> 2  | #![deny(warnings)]
>    |         ^^^^^^^^
>    = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]`
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>   --> src/lib.rs:86:22
>    |
> 86 | pub const IN_ACCESS: uint32_t = 0x00000001;
>    |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:103:22
>     |
> 103 | pub const IN_MODIFY: uint32_t = 0x00000002;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:134:22
>     |
> 134 | pub const IN_ATTRIB: uint32_t = 0x00000004;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:151:27
>     |
> 151 | pub const IN_CLOSE_WRITE: uint32_t = 0x00000008;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:168:29
>     |
> 168 | pub const IN_CLOSE_NOWRITE: uint32_t = 0x00000010;
>     |                             ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:185:20
>     |
> 185 | pub const IN_OPEN: uint32_t = 0x00000020;
>     |                    ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:200:26
>     |
> 200 | pub const IN_MOVED_FROM: uint32_t = 0x00000040;
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:217:24
>     |
> 217 | pub const IN_MOVED_TO: uint32_t = 0x00000080;
>     |                        ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:236:22
>     |
> 236 | pub const IN_CREATE: uint32_t = 0x00000100;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:255:22
>     |
> 255 | pub const IN_DELETE: uint32_t = 0x00000200;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:276:27
>     |
> 276 | pub const IN_DELETE_SELF: uint32_t = 0x00000400;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:290:25
>     |
> 290 | pub const IN_MOVE_SELF: uint32_t = 0x00000800;
>     |                         ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:308:20
>     |
> 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
>     |                    ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:326:21
>     |
> 326 | pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE);
>     |                     ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:366:26
>     |
> 366 | pub const IN_ALL_EVENTS: uint32_t = (
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:380:23
>     |
> 380 | pub const IN_ONLYDIR: uint32_t = 0x01000000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:391:27
>     |
> 391 | pub const IN_DONT_FOLLOW: uint32_t = 0x02000000;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:402:27
>     |
> 402 | pub const IN_EXCL_UNLINK: uint32_t = 0x04000000;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:413:24
>     |
> 413 | pub const IN_MASK_ADD: uint32_t = 0x20000000;
>     |                        ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:424:23
>     |
> 424 | pub const IN_ONESHOT: uint32_t = 0x80000000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:436:21
>     |
> 436 | pub const IN_ISDIR: uint32_t = 0x40000000;
>     |                     ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:451:23
>     |
> 451 | pub const IN_UNMOUNT: uint32_t = 0x00002000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:463:26
>     |
> 463 | pub const IN_Q_OVERFLOW: uint32_t = 0x00004000;
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:481:23
>     |
> 481 | pub const IN_IGNORED: uint32_t = 0x00008000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:694:72
>     |
> 694 |     pub fn inotify_add_watch(fd: c_int, pathname: *const c_char, mask: 
> uint32_t) -> c_int;
>     |                                                                        
> ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:558:15
>     |
> 558 |     pub mask: uint32_t,
>     |               ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:568:17
>     |
> 568 |     pub cookie: uint32_t,
>     |                 ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:584:14
>     |
> 584 |     pub len: uint32_t,
>     |              ^^^^^^^^
> 
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:308:31
>     |
> 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
>     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: 
> remove these parentheses
>     |
> note: the lint level is defined here
>    --> src/lib.rs:2:9
>     |
> 2   | #![deny(warnings)]
>     |         ^^^^^^^^
>     = note: `#[warn(unused_parens)]` implied by `#[warn(warnings)]`
> 
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:326:32
>     |
> 326 | pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE);
>     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> help: remove these parentheses
> 
> warning: unnecessary parentheses around assigned value
>    --> src/lib.rs:366:37
>     |
> 366 |   pub const IN_ALL_EVENTS: uint32_t = (
>     |  _____________________________________^
> 367 | |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 | |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 | |     | IN_DELETE_SELF | IN_MOVE_SELF);
>     | |____________________________________^
>     |
> help: remove these parentheses
>     |
> 366 | pub const IN_ALL_EVENTS: uint32_t = 
> 367 |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 |     | IN_DELETE_SELF | IN_MOVE_SELF;
>     |
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>   --> src/lib.rs:39:5
>    |
> 39 |     uint32_t };
>    |     ^^^^^^^^
>    |
> note: the lint level is defined here
>   --> src/lib.rs:2:9
>    |
> 2  | #![deny(warnings)]
>    |         ^^^^^^^^
>    = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]`
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>   --> src/lib.rs:86:22
>    |
> 86 | pub const IN_ACCESS: uint32_t = 0x00000001;
>    |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:103:22
>     |
> 103 | pub const IN_MODIFY: uint32_t = 0x00000002;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:134:22
>     |
> 134 | pub const IN_ATTRIB: uint32_t = 0x00000004;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:151:27
>     |
> 151 | pub const IN_CLOSE_WRITE: uint32_t = 0x00000008;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:168:29
>     |
> 168 | pub const IN_CLOSE_NOWRITE: uint32_t = 0x00000010;
>     |                             ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:185:20
>     |
> 185 | pub const IN_OPEN: uint32_t = 0x00000020;
>     |                    ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:200:26
>     |
> 200 | pub const IN_MOVED_FROM: uint32_t = 0x00000040;
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:217:24
>     |
> 217 | pub const IN_MOVED_TO: uint32_t = 0x00000080;
>     |                        ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:236:22
>     |
> 236 | pub const IN_CREATE: uint32_t = 0x00000100;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:255:22
>     |
> 255 | pub const IN_DELETE: uint32_t = 0x00000200;
>     |                      ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:276:27
>     |
> 276 | pub const IN_DELETE_SELF: uint32_t = 0x00000400;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:290:25
>     |
> 290 | pub const IN_MOVE_SELF: uint32_t = 0x00000800;
>     |                         ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:308:20
>     |
> 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
>     |                    ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:326:21
>     |
> 326 | pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE);
>     |                     ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:366:26
>     |
> 366 | pub const IN_ALL_EVENTS: uint32_t = (
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:380:23
>     |
> 380 | pub const IN_ONLYDIR: uint32_t = 0x01000000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:391:27
>     |
> 391 | pub const IN_DONT_FOLLOW: uint32_t = 0x02000000;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:402:27
>     |
> 402 | pub const IN_EXCL_UNLINK: uint32_t = 0x04000000;
>     |                           ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:413:24
>     |
> 413 | pub const IN_MASK_ADD: uint32_t = 0x20000000;
>     |                        ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:424:23
>     |
> 424 | pub const IN_ONESHOT: uint32_t = 0x80000000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:436:21
>     |
> 436 | pub const IN_ISDIR: uint32_t = 0x40000000;
>     |                     ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:451:23
>     |
> 451 | pub const IN_UNMOUNT: uint32_t = 0x00002000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:463:26
>     |
> 463 | pub const IN_Q_OVERFLOW: uint32_t = 0x00004000;
>     |                          ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:481:23
>     |
> 481 | pub const IN_IGNORED: uint32_t = 0x00008000;
>     |                       ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:694:72
>     |
> 694 |     pub fn inotify_add_watch(fd: c_int, pathname: *const c_char, mask: 
> uint32_t) -> c_int;
>     |                                                                        
> ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:558:15
>     |
> 558 |     pub mask: uint32_t,
>     |               ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:568:17
>     |
> 568 |     pub cookie: uint32_t,
>     |                 ^^^^^^^^
> 
> warning: use of deprecated item 'libc::uint32_t': Use u32 instead.
>    --> src/lib.rs:584:14
>     |
> 584 |     pub len: uint32_t,
>     |              ^^^^^^^^
> 
> warning: 32 warnings emitted
> 
> warning: 32 warnings emitted
> 
>     Finished test [unoptimized + debuginfo] target(s) in 1.23s
>      Running 
> `/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/inotify_sys-1e306b6f4414de99`
> 
> running 0 tests
> 
> test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
> 
>    Doc-tests inotify-sys
>      Running `rustdoc --crate-type lib --test /<<PKGBUILDDIR>>/src/lib.rs 
> --crate-name inotify_sys -L 
> dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> inotify_sys=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libinotify_sys-16232beadc0ec397.rlib
>  --extern 
> libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-75af03d4f216d925.rlib`
> error: unnecessary parentheses around assigned value
>    --> /<<PKGBUILDDIR>>/src/lib.rs:308:31
>     |
> 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
>     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: 
> remove these parentheses
>     |
> note: the lint level is defined here
>    --> /<<PKGBUILDDIR>>/src/lib.rs:2:9
>     |
> 2   | #![deny(warnings)]
>     |         ^^^^^^^^
>     = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]`
> 
> error: unnecessary parentheses around assigned value
>    --> /<<PKGBUILDDIR>>/src/lib.rs:326:32
>     |
> 326 | pub const IN_CLOSE: uint32_t = (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE);
>     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
> help: remove these parentheses
> 
> error: unnecessary parentheses around assigned value
>    --> /<<PKGBUILDDIR>>/src/lib.rs:366:37
>     |
> 366 |   pub const IN_ALL_EVENTS: uint32_t = (
>     |  _____________________________________^
> 367 | |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 | |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 | |     | IN_DELETE_SELF | IN_MOVE_SELF);
>     | |____________________________________^
>     |
> help: remove these parentheses
>     |
> 366 | pub const IN_ALL_EVENTS: uint32_t = 
> 367 |     IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | 
> IN_CLOSE_NOWRITE
> 368 |     | IN_OPEN | IN_MOVED_FROM | IN_MOVED_TO | IN_CREATE | IN_DELETE
> 369 |     | IN_DELETE_SELF | IN_MOVE_SELF;
>     |
> 
> error: aborting due to 3 previous errors
> 
> error: test failed, to rerun pass '--doc'
> dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 
> 1

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/rust-inotify-sys_0.1.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Version: 0.1.5-1

On Sun, Sep 27, 2020 at 08:57:01PM +0200, Lucas Nussbaum wrote:
> Source: rust-inotify-sys
> Version: 0.1.3-2
> Severity: serious
> Justification: FTBFS on amd64
> Tags: bullseye sid ftbfs
> Usertags: ftbfs-20200926 ftbfs-bullseye
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):
> > test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
> > 
> >    Doc-tests inotify-sys
> >      Running `rustdoc --crate-type lib --test /<<PKGBUILDDIR>>/src/lib.rs 
> > --crate-name inotify_sys -L 
> > dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L 
> > dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern 
> > inotify_sys=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libinotify_sys-16232beadc0ec397.rlib
> >  --extern 
> > libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-75af03d4f216d925.rlib`
> > error: unnecessary parentheses around assigned value
> >    --> /<<PKGBUILDDIR>>/src/lib.rs:308:31
> >     |
> > 308 | pub const IN_MOVE: uint32_t = (IN_MOVED_FROM | IN_MOVED_TO);
> >     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: 
> > remove these parentheses
> >     |
> > note: the lint level is defined here
> >    --> /<<PKGBUILDDIR>>/src/lib.rs:2:9
> >     |
> > 2   | #![deny(warnings)]
> >     |         ^^^^^^^^
> >     = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]`

New upstream removed #![deny(warnings)], fixing the build.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

--- End Message ---

Reply via email to