dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.58k stars 112 forks source link

Package up rust bindings as debs #355

Closed dankamongmen closed 3 years ago

dankamongmen commented 4 years ago

With #101 complete and #320 hot on the docket, we'll soon want to be building Debian crates. Once more into the big shitty breach! hax0rs ahoy

dankamongmen commented 4 years ago

This ought be a good bit easier now that we've accepted a multistage build (since moving Python out of the CMake run). We ought just be able to do standard packaging, along with some CFLAGS and LFLAGS.

dankamongmen commented 3 years ago

I've got the package building now in debcargo-conf. I need to file an ITP bug about packaging these up.

dankamongmen commented 3 years ago

DBTS 972542 filed for the ITP. debian/changelog updated with appropriate Closes: entry.

dankamongmen commented 3 years ago

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972542

dankamongmen commented 3 years ago

It looks like we might need package up a dependency or two:

[schwarzgerat](0) $ sudo ../build.sh libnotcurses-sys
    Updating crates.io index
  Downloaded libnotcurses-sys v2.0.1
  Downloaded 1 crate (23.2 KB) in 0.21s
dpkg-checkbuilddeps: error: Unmet build dependencies: librust-cstr-core-0.2+default-dev (>= 0.2.1-~~) librust-cty-0.2+default-dev (>= 0.2.1-~~) librust-libc-0.2-dev (>= 0.2.76-~~) librust-libc-print-0.1+default-dev (>= 0.1.13-~~)
../build.sh: abort: Missing build-dependencies, but maybe try '{apt,cargo} update'
[schwarzgerat](1) $ 

cstr-core cty

i'm not sure exactly what's up with the libc bit. @joseluis , do you have any insight into this? no worries if not!

joseluis commented 3 years ago

Crates libc and libc-print are used in libnotcurses-sys. The latter is merely used to print out the notcurses version without resorting to the standard library, so that thre crate can be no_std. But if the dependencies turns out to be a PITA for packaging we may rethink it.

These are the only usages ATM (probably more when I get to finish the bindings):

src/cells.rs
261:        unsafe { libc::strdup(nc::cell_extended_gcluster(plane, cell)) } as i32 as u32,

src/lib.rs
45:    use libc_print::*;
59:        libc_println!("rust-bound notcurses v{}", r_str);
66:            let _ = libc::setlocale(libc::LC_ALL, CString::new("").unwrap().as_ptr());
86:            let _ = libc::setlocale(libc::LC_ALL, CString::new("").unwrap().as_ptr());
dankamongmen commented 3 years ago

The actual technical part of packaging up the dependencies isn't that much of a PITA, but the social component of getting them through Debian can be. With that said, the Debian Rust team seems a good bunch of people. Let me see what I can do; keep using your preferred technical solution for now. =]

dankamongmen commented 3 years ago

OK, this week I think I'm gonna try to get the rust deps packaged up and submitted. Do you know off the top of your head if any of these four are dependent on any others within the set?

joseluis commented 3 years ago

libc & cty don't depend on anything libc-print depends on libc cstr_core depends on cty and memchr...

here you can see the dependencies of specific crates, e.g.: https://crates.io/crates/cstr_core

BTW take a look at this: https://packages.debian.org/buster/librust-memchr+libc-dev depends on missing librust-libc-0.2-dev instead of https://packages.debian.org/buster/librust-libc-dev which and I don't know why your packages also reference the former name which includes the version...

In theory only librust-libc-print-dev, librust-cty-dev, and librust-cstr-core-dev should be needed, since it seems you can create packages without providing packages for its dependencies?

dankamongmen commented 3 years ago

https://packages.debian.org/buster/librust-memchr+libc-dev depends on missing librust-libc-0.2-dev instead of https://packages.debian.org/buster/librust-libc-dev which and I don't know why your packages also reference the former name which includes the version...

librust-libc-0.2-dev is a virtual package Provided by librust-libc-dev:

[schwarzgerat](0) $ apt show librust-libc-0.2-dev
Package: librust-libc-0.2-dev
State: not a real package (virtual)
N: Can't select candidate version from package librust-libc-0.2-dev as it has no candidate
N: Can't select versions from package 'librust-libc-0.2-dev' as it is purely virtual
N: No packages found
[schwarzgerat](0) $ aptitude
[schwarzgerat](0) $ apt show librust-libc-dev
Package: librust-libc-dev
Version: 0.2.73-1
Priority: optional
Section: rust
Source: rust-libc
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Installed-Size: 2,873 kB
Provides: librust-libc+align-dev (= 0.2.73-1), librust-libc+const-extern-fn-dev (= 0.2.73-1), librust-libc+default-dev (= 0.2.73-1), librust-libc+extra-traits-dev (= 0.2.73-1), librust-libc+std-dev (= 0.2.73-1), librust-libc+use-std-dev (= 0.2.73-1), librust-libc-0+align-dev (= 0.2.73-1), librust-libc-0+const-extern-fn-dev (= 0.2.73-1), librust-libc-0+default-dev (= 0.2.73-1), librust-libc-0+extra-traits-dev (= 0.2.73-1), librust-libc-0+std-dev (= 0.2.73-1), librust-libc-0+use-std-dev (= 0.2.73-1), librust-libc-0-dev (= 0.2.73-1), librust-libc-0.2+align-dev (= 0.2.73-1), librust-libc-0.2+const-extern-fn-dev (= 0.2.73-1), librust-libc-0.2+default-dev (= 0.2.73-1), librust-libc-0.2+extra-traits-dev (= 0.2.73-1), librust-libc-0.2+std-dev (= 0.2.73-1), librust-libc-0.2+use-std-dev (= 0.2.73-1), librust-libc-0.2-dev (= 0.2.73-1), librust-libc-0.2.73+align-dev (= 0.2.73-1), librust-libc-0.2.73+const-extern-fn-dev (= 0.2.73-1), librust-libc-0.2.73+default-dev (= 0.2.73-1), librust-libc-0.2.73+extra-traits-dev (= 0.2.73-1), librust-libc-0.2.73+std-dev (= 0.2.73-1), librust-libc-0.2.73+use-std-dev (= 0.2.73-1), librust-libc-0.2.73-dev (= 0.2.73-1)
Suggests: librust-libc+rustc-dep-of-std-dev (= 0.2.73-1), librust-libc+rustc-std-workspace-core-dev (= 0.2.73-1)
Homepage: https://github.com/rust-lang/libc
Download-Size: 199 kB
APT-Manual-Installed: yes
APT-Sources: http://ftp.us.debian.org/debian unstable/main amd64 Packages
Description: Rust bindings to libc - Rust source code
 This package contains the source for the Rust libc crate, packaged by debcargo
 for use with cargo and dh-cargo.

[schwarzgerat](0) $ 
dankamongmen commented 3 years ago

I'm filing an ITP on rust-libc-print now, and have a package ready to go.

dankamongmen commented 3 years ago

https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/139

dankamongmen commented 3 years ago

See #1119 -- we no longer need libc_print nor cstr_core. So I think only cty remains?

dankamongmen commented 3 years ago

Well, libc_print has finally been merged anyway, heh. =]

So we're just looking for cty? If so, I'll move on packaging that ASAP. It would be great to have our rust package in the next Debian release, but that requires it to be done this year.

dankamongmen commented 3 years ago
binary:librust-libc-print-dev is NEW.
binary:librust-libc-print-dev is NEW.
source:rust-libc-print is NEW.

Your package has been put into the NEW queue, which requires manual action
from the ftpteam to process. The upload was otherwise valid (it had a good
OpenPGP signature and file hashes are valid), so please be patient.

Packages are routinely processed through to the archive, and do feel
free to browse the NEW queue[1].

If there is an issue with the upload, you will receive an email from a
member of the ftpteam.

If you have any questions, you may reply to this email.
joseluis commented 3 years ago

Yeah, I don't like to depend on it just fot the C type aliases for use with bindgen but it seems it has to be that way. It seems it doesn't work as a build-dependency like bindgen, so it must be a normal dependency.

There are plans to include it as part of libc in the future, but for now it is how it is.

joseluis commented 3 years ago

The whole library is very tiny, we could also embed it.

dankamongmen commented 3 years ago

The whole library is very tiny, we could also embed it.

I'd rather not have to track changes upstream, and Debian/Fedora would also throw a fit (this is called "vendoring", and very strongly frowned upon). It isn't too difficult to add another rust package to Debian now that I've done one, and Fedora is working on a whole rust scheme that is not yet settled AFAICT.

btw, i'm gonna be completely straight up here: i doubt that i'll be in a position to package up the rust bindings for all the distros where i manage notcurses packages, simply because rust is being handled wildly differently by different distros, and i'm not of the mood to learn FooBarQuxx Super Awesome Penguin Linux's rust techniques. the general trend seems to be towards simply submitting a crate, and having automatic packaging generated from it -- those i can obviously handle. i volunteered to package alacritty for Fedora, and had to abandon the effort, due to the difficulty of getting rust packaged up there right now. :/

joseluis commented 3 years ago

To be honest I wouldn't worry very much about packaging the rust bindings... The most important thing is to package the C library...

Correct me if I'm wrong but I believe having the packages would only be useful for redistributing binaries built with Rust that have a dynamic dependency on libnotcurses-sys? So Rust programs statically linked wouldn't be affected?... Rust statically links everything (except glibc) by default....

dankamongmen commented 3 years ago

Correct me if I'm wrong but I believe having the packages would only be useful for redistributing binaries built with Rust that have a dynamic dependency on libnotcurses-sys? So Rust programs statically linked wouldn't be affected?... Rust statically links everything (except glibc) by default....

it is necessary for including anything using libnotcurses-sys into distros like Fedora and Debian, where you are neither allowed to vendor dependencies into your source package, nor to download things at buildtime. yes, this works very much against the workflow of recent languages like Go and Rust.

joseluis commented 3 years ago

Very interesting info. Then maybe supporting Debian and Fedora may be enough for now.

dankamongmen commented 3 years ago

We're now at:

 dpkg-source --after-build .
dpkg-buildpackage: info: full upload (original source is included)
dpkg-checkbuilddeps: error: Unmet build dependencies: librust-bindgen+default-dev (>= 0.56-~~) librust-cty-0.2+default-dev (>= 0.2.1-~~) librust-pkg-config-0.3+default-dev (>= 0.3.19-~~)
./build.sh: abort: Missing build-dependencies, but maybe try '{apt,cargo} update'
[schwarzgerat](1) $ 

looks like Debian has pkg-config 3.18; I'll submit an update. likewise, they have bindgen at 0.55. update time. and i need to get that cty package in, hopefully easy. if i can get this done this month, we'll be in debian 11.

dankamongmen commented 3 years ago

https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/146

dankamongmen commented 3 years ago

https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/147

dankamongmen commented 3 years ago

https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/147

cty has been added to debian =]

dankamongmen commented 3 years ago

Hey @joseluis , we're getting some pushback on the upgrade of bindgen and pkg-config. Do you know for sure that we need the absolute newest versions? Debian ships 0.55.1 bindgen and 0.3.18 pkg-config.

joseluis commented 3 years ago

We can use the previous ones for sure. Sorry, I'm used to upgrading to the latest versions as a reflex but I didn't take packaging into account. It is Ok to downgrade them.

dankamongmen commented 3 years ago

We can use the previous ones for sure. Sorry, I'm used to upgrading to the latest versions as a reflex but I didn't take packaging into account. It is Ok to downgrade them.

no problem, sweet! we might very well find ourselves a debian rust package very soon, and i suspect that will be a strong positioning for the future.

joseluis commented 3 years ago

I'm gonna try to complete the unit tests because there are several things that aren't working for me from rust, or maybe I don't understand them well yet... I'll probably have to ask you for some more of your knowledge in the next few days.

dankamongmen commented 3 years ago

Thanks for the quick change, @joseluis . I think we'll be able to package these up with 2.0.9/2.1.0.

dankamongmen commented 3 years ago

rust-cty passed FTPMaster approval and entered Debian Unstable yesterday evening. I'm going to test packaging of rust-notcurses 2.0.9, which i suspect will work. at that point, we can submit rust-notcurses to NEW.

@joseluis i know you've done a ton of work on rust recently. would you like me to hold off to 2.0.1x/2.1.0 before submitting?

dankamongmen commented 3 years ago

I'm seeing one failure and a number of warnings. The failure arises from a missing build/stdout.c. I indeed do not see a .c file in the temporary build directory, but that could be arising from the debian tools. There's also a bunch of warnings from the actual bindgen run. @joseluis , if this looks like a debian thing, let me know and I'll circle around on it.

output log (Click to expand) ~~~ Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A library to run the pkg-config system tool at build time in order to be used in Cargo build scripts. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION=0.3.18 CARGO_PKG_VERSION_PATCH=18 CARGO_PKG_NAME=pkg-config CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/pkg-config-0.3.18 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/pkg-config-rs' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Alex Crichton ' rustc --crate-name pkg_config /<>/debian/cargo_registry/pkg-config-0.3.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=49a0d6180c46d081 -C extra-filename=-49a0d6180c46d081 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn` Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Split a string into shell words, like Python'\''s shlex. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION=0.1.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=shlex CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/shlex-0.1.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/comex/rust-shlex' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='comex ' rustc --crate-name shlex /<>/debian/cargo_registry/shlex-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=bec91489f92cff00 -C extra-filename=-bec91489f92cff00 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn` Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Type aliases to C types like c_int for use with bindgen' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=0.2.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=cty CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/cty-0.2.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/japaric/cty' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Jorge Aparicio ' rustc --crate-name cty /<>/debian/cargo_registry/cty-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=e4d090214495c56f -C extra-filename=-e4d090214495c56f --out-dir /<>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<>/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 /<>=/usr/share/cargo/registry/libnotcurses-sys-2.0.9` Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='A build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into Rust code. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.59 CARGO_PKG_VERSION_PATCH=59 CARGO_PKG_NAME=cc CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/cc-1.0.59 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cc-rs' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cc-rs' CARGO_PKG_AUTHORS='Alex Crichton ' rustc --crate-name cc --edition=2018 /<>/debian/cargo_registry/cc-1.0.59/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=8d62179ae8a9941b -C extra-filename=-8d62179ae8a9941b --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/glob-0.3.0/src/lib.rs:294:32 | 294 | fn cause(&self) -> Option<&Error> { | ^^^^^ help: use `dyn`: `dyn Error` | = note: `#[warn(bare_trait_objects)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/ansi.rs:279:21 | 279 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` | = note: `#[warn(bare_trait_objects)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/ansi.rs:291:29 | 291 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/ansi.rs:295:29 | 295 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/ansi.rs:308:21 | 308 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/display.rs:201:21 | 201 | let w: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/display.rs:210:21 | 210 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/display.rs:229:21 | 229 | let f: &mut fmt::Write = f; | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/display.rs:239:21 | 239 | let w: &mut io::Write = w; | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: associated type `wstr` should have an upper camel case name --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/write.rs:6:10 | 6 | type wstr: ?Sized; | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wstr` | = note: `#[warn(non_camel_case_types)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/write.rs:15:23 | 15 | impl<'a> AnyWrite for fmt::Write + 'a { | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write + 'a` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/ansi_term-0.12.1/src/write.rs:29:23 | 29 | impl<'a> AnyWrite for io::Write + 'a { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn io::Write + 'a` Compiling thread_local v1.0.1 warning: unnecessary parentheses around type --> /<>/debian/cargo_registry/vec_map-0.8.1/src/lib.rs:1010:34 | 1010 | fn next(&mut self) -> Option<(&'a V)> { self.iter.next().map(|e| e.1) } | ^^^^^^^ help: remove these parentheses | = note: `#[warn(unused_parens)]` on by default Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='Per-object thread-local storage' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=thread_local CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/thread_local-1.0.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/Amanieu/thread_local-rs' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Amanieu d'\''Antras ' rustc --crate-name thread_local /<>/debian/cargo_registry/thread_local-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=255f7b32b2b0065a -C extra-filename=-255f7b32b2b0065a --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern lazy_static=/<>/target/debug/deps/liblazy_static-3ecacd8852976ad9.rmeta --cap-lints warn` warning: unnecessary parentheses around type --> /<>/debian/cargo_registry/vec_map-0.8.1/src/lib.rs:1017:39 | 1017 | fn next_back(&mut self) -> Option<(&'a V)> { self.iter.next_back().map(|e| e.1) } | ^^^^^^^ help: remove these parentheses warning: unnecessary parentheses around type --> /<>/debian/cargo_registry/vec_map-0.8.1/src/lib.rs:1023:34 | 1023 | fn next(&mut self) -> Option<(&'a mut V)> { self.iter_mut.next().map(|e| e.1) } | ^^^^^^^^^^^ help: remove these parentheses Compiling textwrap v0.11.0 Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Textwrap is a small library for word wrapping, indenting, and dedenting strings. You can use it to format strings (such as help and error messages) for display in commandline applications. It is designed to be efficient and handle Unicode characters correctly. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=11 CARGO_PKG_VERSION=0.11.0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_NAME=textwrap CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/textwrap-0.11.0 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/mgeisler/textwrap' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Martin Geisler ' rustc --crate-name textwrap /<>/debian/cargo_registry/textwrap-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=a335f6ae741237cb -C extra-filename=-a335f6ae741237cb --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern unicode_width=/<>/target/debug/deps/libunicode_width-00fe7e610177522c.rmeta --cap-lints warn` warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> /<>/debian/cargo_registry/glob-0.3.0/src/lib.rs:291:20 | 291 | self.error.description() | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: unreachable expression --> /<>/debian/cargo_registry/pkg-config-0.3.18/src/lib.rs:321:9 | 317 | return true; | ----------- any code following this expression is unreachable ... 321 | / match self.targetted_env_var("PKG_CONFIG_ALLOW_CROSS") { 322 | | // don't use pkg-config if explicitly disabled 323 | | Some(ref val) if val == "0" => false, 324 | | Some(_) => true, ... | 330 | | } 331 | | } | |_________^ unreachable expression | = note: `#[warn(unreachable_code)]` on by default warning: 3 warnings emitted Running `/<>/target/debug/build/log-d0657342d7ab6387/build-script-build` [log 0.4.11] cargo:rustc-cfg=atomic_cas [log 0.4.11] cargo:rerun-if-changed=build.rs Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A lightweight logging facade for Rust ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION=0.4.11 CARGO_PKG_VERSION_PATCH=11 CARGO_PKG_NAME=log CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/log-0.4.11 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/log' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='The Rust Project Developers' OUT_DIR=/<>/target/debug/build/log-e5672d664e4fecc0/out rustc --crate-name log /<>/debian/cargo_registry/log-0.4.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="std"' -C metadata=a272783ee319fb10 -C extra-filename=-a272783ee319fb10 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern cfg_if=/<>/target/debug/deps/libcfg_if-c15a2a4185d42032.rmeta --cap-lints warn --cfg atomic_cas` Running `/<>/target/debug/build/memchr-af034dcf035fa181/build-script-build` [memchr 2.3.3] cargo:rustc-cfg=memchr_runtime_simd [memchr 2.3.3] cargo:rustc-cfg=memchr_runtime_sse2 [memchr 2.3.3] cargo:rustc-cfg=memchr_runtime_sse42 [memchr 2.3.3] cargo:rustc-cfg=memchr_runtime_avx Running `CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_DESCRIPTION='Safe interface to memchr.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION=2.3.3 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_NAME=memchr CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/memchr-2.3.3 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/rust-memchr' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/rust-memchr' CARGO_PKG_AUTHORS='Andrew Gallant :bluss' OUT_DIR=/<>/target/debug/build/memchr-6b44a5a776221a89/out rustc --crate-name memchr /<>/debian/cargo_registry/memchr-2.3.3/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"' --cfg 'feature="use_std"' -C metadata=3000a0c7add2ee15 -C extra-filename=-3000a0c7add2ee15 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx` Running `/<>/target/debug/build/bitflags-4d3df343f98967d8/build-script-build` warning: 11 warnings emitted [bitflags 1.2.1] cargo:rustc-cfg=bitflags_const_fn Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=1.2.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=bitflags CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/bitflags-1.2.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/bitflags/bitflags' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' CARGO_PKG_AUTHORS='The Rust Project Developers' OUT_DIR=/<>/target/debug/build/bitflags-175729aa72ac9820/out rustc --crate-name bitflags /<>/debian/cargo_registry/bitflags-1.2.1/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"' -C metadata=063a42725dc7f375 -C extra-filename=-063a42725dc7f375 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn --cfg bitflags_const_fn` Running `/<>/target/debug/build/libc-39e0f284cd613313/build-script-build` Running `/<>/target/debug/build/libc-39e0f284cd613313/build-script-build` Running `/<>/target/debug/build/proc-macro2-cb8200887488e46c/build-script-build` [proc-macro2 1.0.18] cargo:rerun-if-changed=build.rs Compiling nom v5.0.1 Running `CARGO_PKG_VERSION_MAJOR=5 CARGO_PKG_DESCRIPTION='A byte-oriented, zero-copy, parser combinators library' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=5.0.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=nom CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/nom-5.0.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/Geal/nom' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='contact@geoffroycouprie.com' rustc --crate-name build_script_build --edition=2018 /<>/debian/cargo_registry/nom-5.0.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=703a0a762e163d1a -C extra-filename=-703a0a762e163d1a --out-dir /<>/target/debug/build/nom-703a0a762e163d1a -L dependency=/<>/target/debug/deps --extern version_check=/<>/target/debug/deps/libversion_check-262d86fa24538631.rlib --cap-lints warn` [libc 0.2.80] cargo:rustc-cfg=freebsd11 [libc 0.2.80] cargo:rustc-cfg=libc_priv_mod_use [libc 0.2.80] cargo:rustc-cfg=libc_union [libc 0.2.80] cargo:rustc-cfg=libc_const_size_of [libc 0.2.80] cargo:rustc-cfg=libc_align [libc 0.2.80] cargo:rustc-cfg=libc_core_cvoid [libc 0.2.80] cargo:rustc-cfg=libc_packedN [libc 0.2.80] cargo:rustc-cfg=libc_cfg_target_vendor [libc 0.2.80] cargo:rustc-cfg=freebsd11 [libc 0.2.80] cargo:rustc-cfg=libc_priv_mod_use [libc 0.2.80] cargo:rustc-cfg=libc_union [libc 0.2.80] cargo:rustc-cfg=libc_const_size_of [libc 0.2.80] cargo:rustc-cfg=libc_align [libc 0.2.80] cargo:rustc-cfg=libc_core_cvoid [libc 0.2.80] cargo:rustc-cfg=libc_packedN [libc 0.2.80] cargo:rustc-cfg=libc_cfg_target_vendor Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=0.2.80 CARGO_PKG_VERSION_PATCH=80 CARGO_PKG_NAME=libc CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/libc-0.2.80 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_AUTHORS='The Rust Project Developers' OUT_DIR=/<>/target/x86_64-unknown-linux-gnu/debug/build/libc-43cedf8c4fa54b6b/out rustc --crate-name libc /<>/debian/cargo_registry/libc-0.2.80/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=56a1647e53151162 -C extra-filename=-56a1647e53151162 --out-dir /<>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<>/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 /<>=/usr/share/cargo/registry/libnotcurses-sys-2.0.9 --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 --cfg libc_cfg_target_vendor` Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=0.2.80 CARGO_PKG_VERSION_PATCH=80 CARGO_PKG_NAME=libc CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/libc-0.2.80 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_AUTHORS='The Rust Project Developers' OUT_DIR=/<>/target/debug/build/libc-016c7336c42e3a37/out rustc --crate-name libc /<>/debian/cargo_registry/libc-0.2.80/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=0b47fa0802faadad -C extra-filename=-0b47fa0802faadad --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --cap-lints warn --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 --cfg libc_cfg_target_vendor` [proc-macro2 1.0.18] cargo:rustc-cfg=hygiene Running `CARGO_PKG_VERSION_MAJOR=1 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=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.18 CARGO_PKG_VERSION_PATCH=18 CARGO_PKG_NAME=proc-macro2 CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/proc-macro2-1.0.18 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/proc-macro2' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Alex Crichton :David Tolnay ' OUT_DIR=/<>/target/debug/build/proc-macro2-e1783ec7a36c462f/out rustc --crate-name proc_macro2 --edition=2018 /<>/debian/cargo_registry/proc-macro2-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=ee347eac23e52b6e -C extra-filename=-ee347eac23e52b6e --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern unicode_xid=/<>/target/debug/deps/libunicode_xid-66cefb4d7bb8ca95.rmeta --cap-lints warn --cfg hygiene` warning: 2 warnings emitted Compiling clang-sys v1.0.1 Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='Rust bindings for libclang.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=clang-sys CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/clang-sys-1.0.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/KyleMayes/clang-sys' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Kyle Mayes ' rustc --crate-name build_script_build /<>/debian/cargo_registry/clang-sys-1.0.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' -C metadata=8f51f9d3efaa13f1 -C extra-filename=-8f51f9d3efaa13f1 --out-dir /<>/target/debug/build/clang-sys-8f51f9d3efaa13f1 -L dependency=/<>/target/debug/deps --extern glob=/<>/target/debug/deps/libglob-5b23de9c5388c03b.rlib --cap-lints warn` Running `/<>/target/debug/build/nom-703a0a762e163d1a/build-script-build` Compiling aho-corasick v0.7.10 Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Fast multiple substring searching.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION=0.7.10 CARGO_PKG_VERSION_PATCH=10 CARGO_PKG_NAME=aho-corasick CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/aho-corasick-0.7.10 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/aho-corasick' CARGO_PKG_AUTHORS='Andrew Gallant ' rustc --crate-name aho_corasick /<>/debian/cargo_registry/aho-corasick-0.7.10/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=f4be56c37a186fee -C extra-filename=-f4be56c37a186fee --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern memchr=/<>/target/debug/deps/libmemchr-3000a0c7add2ee15.rmeta --cap-lints warn` [nom 5.0.1] cargo:rustc-cfg=stable_i128 Running `CARGO_PKG_VERSION_MAJOR=5 CARGO_PKG_DESCRIPTION='A byte-oriented, zero-copy, parser combinators library' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=5.0.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=nom CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/nom-5.0.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/Geal/nom' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='contact@geoffroycouprie.com' OUT_DIR=/<>/target/debug/build/nom-184c366737b180ab/out rustc --crate-name nom --edition=2018 /<>/debian/cargo_registry/nom-5.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' -C metadata=0e3e1a0e43879d9c -C extra-filename=-0e3e1a0e43879d9c --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern memchr=/<>/target/debug/deps/libmemchr-3000a0c7add2ee15.rmeta --cap-lints warn --cfg stable_i128` warning: 1 warning emitted Compiling quote v1.0.7 Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='Quasi-quoting macro quote'\!'(...)' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.7 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_NAME=quote CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/quote-1.0.7 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/dtolnay/quote' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='David Tolnay ' rustc --crate-name quote --edition=2018 /<>/debian/cargo_registry/quote-1.0.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=aa5537bbb79c1849 -C extra-filename=-aa5537bbb79c1849 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern proc_macro2=/<>/target/debug/deps/libproc_macro2-ee347eac23e52b6e.rmeta --cap-lints warn` warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:24:3 | 24 | #[inline] | ^^^^^^^^^ | = note: `#[warn(unused_attributes)]` on by default warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:157:3 | 157 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:164:3 | 164 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:169:3 | 169 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:172:3 | 172 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:175:3 | 175 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:178:3 | 178 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:181:3 | 181 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:901:3 | 901 | #[inline(always)] | ^^^^^^^^^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:1021:3 | 1021 | #[inline] | ^^^^^^^^^ warning: `#[inline]` is ignored on function prototypes --> /<>/debian/cargo_registry/nom-5.0.1/src/traits.rs:1024:3 | 1024 | #[inline] | ^^^^^^^^^ Compiling atty v0.2.14 Compiling which v3.0.0 Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A simple interface for querying atty' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION=0.2.14 CARGO_PKG_VERSION_PATCH=14 CARGO_PKG_NAME=atty CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/atty-0.2.14 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/softprops/atty' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/softprops/atty' CARGO_PKG_AUTHORS='softprops ' rustc --crate-name atty /<>/debian/cargo_registry/atty-0.2.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=6ad1cdc2dc37c403 -C extra-filename=-6ad1cdc2dc37c403 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern libc=/<>/target/debug/deps/liblibc-0b47fa0802faadad.rmeta --cap-lints warn` Running `CARGO_PKG_VERSION_MAJOR=3 CARGO_PKG_DESCRIPTION='A Rust equivalent of Unix command "which". Locate installed executable in cross platforms.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=3.0.0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_NAME=which CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/which-3.0.0 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/harryfei/which-rs.git' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Harry Fei ' rustc --crate-name which /<>/debian/cargo_registry/which-3.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=51f84918be29d590 -C extra-filename=-51f84918be29d590 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern libc=/<>/target/debug/deps/liblibc-0b47fa0802faadad.rmeta --cap-lints warn` Compiling clap v2.33.3 Running `CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_DESCRIPTION='A simple to use, efficient, and full-featured Command Line Argument Parser ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=33 CARGO_PKG_VERSION=2.33.3 CARGO_PKG_VERSION_PATCH=3 CARGO_PKG_NAME=clap CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/clap-2.33.3 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/clap-rs/clap' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://clap.rs/' CARGO_PKG_AUTHORS='Kevin K. ' rustc --crate-name clap /<>/debian/cargo_registry/clap-2.33.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=5bdcb957169204cc -C extra-filename=-5bdcb957169204cc --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern ansi_term=/<>/target/debug/deps/libansi_term-ea8ee6d12b5f62b5.rmeta --extern atty=/<>/target/debug/deps/libatty-6ad1cdc2dc37c403.rmeta --extern bitflags=/<>/target/debug/deps/libbitflags-063a42725dc7f375.rmeta --extern strsim=/<>/target/debug/deps/libstrsim-6e3d3a7e78823a3d.rmeta --extern textwrap=/<>/target/debug/deps/libtextwrap-a335f6ae741237cb.rmeta --extern unicode_width=/<>/target/debug/deps/libunicode_width-00fe7e610177522c.rmeta --extern vec_map=/<>/target/debug/deps/libvec_map-1e024925fdf3a42b.rmeta --cap-lints warn` Running `/<>/target/debug/build/clang-sys-8f51f9d3efaa13f1/build-script-build` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:43:27 | 43 | fn as_base(&self) -> &ArgWithDisplay<'b, 'c>; | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` | = note: `#[warn(bare_trait_objects)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:49:27 | 49 | fn as_base(&self) -> &ArgWithDisplay<'b, 'c> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:54:61 | 54 | fn as_arg_trait<'a, 'b, T: ArgWithOrder<'a, 'b>>(x: &T) -> &ArgWithOrder<'a, 'b> { | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithOrder<'a, 'b>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:85:21 | 85 | writer: &'a mut Write, | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:101:20 | 101 | w: &'a mut Write, | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:141:38 | 141 | pub fn write_app_help(w: &'a mut Write, app: &App, use_long: bool) -> ClapResult<()> { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:148:41 | 148 | pub fn write_parser_help(w: &'a mut Write, parser: &Parser, use_long: bool) -> ClapResult<()> { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:156:51 | 156 | pub fn write_parser_help_to_stderr(w: &'a mut Write, parser: &Parser) -> ClapResult<()> { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:163:20 | 163 | w: &'a mut Write, | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:208:32 | 208 | I: Iterator>, | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithOrder<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:236:32 | 236 | I: Iterator>, | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithOrder<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:273:43 | 273 | fn write_arg<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>) -> io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:283:39 | 283 | fn short<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>) -> io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:296:38 | 296 | fn long<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>) -> io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:325:37 | 325 | fn val<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:453:38 | 453 | fn help<'b, 'c>(&mut self, arg: &ArgWithDisplay<'b, 'c>, spec_vals: &str) -> io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay<'b, 'c>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:511:29 | 511 | fn spec_vals(&self, a: &ArgWithDisplay) -> String { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithDisplay` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/help.rs:579:42 | 579 | fn should_show_arg(use_long: bool, arg: &ArgWithOrder) -> bool { | ^^^^^^^^^^^^ help: use `dyn`: `dyn ArgWithOrder` warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:149:17 | 149 | / (self.flags.iter().any(|f| &f.b.name == arg) 150 | | || self.opts.iter().any(|o| &o.b.name == arg) 151 | | || self.positionals.values().any(|p| &p.b.name == arg) 152 | | || self.groups.iter().any(|g| &g.name == arg)) | |__________________________________________________________________^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 149 | self.flags.iter().any(|f| &f.b.name == arg) 150 | || self.opts.iter().any(|o| &o.b.name == arg) 151 | || self.positionals.values().any(|p| &p.b.name == arg) 152 | || self.groups.iter().any(|g| &g.name == arg) | warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:200:13 | 200 | (self.positionals.len() + 1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:309:17 | 309 | (self.positionals.len() + 1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:334:17 | 334 | (self.positionals.len() + 1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:842:17 | 842 | (o.is_set(ArgSettings::AllowLeadingHyphen) || app_wide_settings) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:850:17 | 850 | (p.is_set(ArgSettings::AllowLeadingHyphen) || app_wide_settings) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:964:39 | 964 | let any_arg = find_any_by_name!(self, self.cache.unwrap_or("")); | ------------------------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:1110:39 | 1110 | let any_arg = find_any_by_name!(self, self.cache.unwrap_or("")); | ------------------------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:1238:27 | 1238 | let any_arg = find_any_by_name!(self, self.cache.unwrap_or("")); | ------------------------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:2168:55 | 2168 | pub fn find_any_arg(&self, name: &str) -> Option<&AnyArg<'a, 'b>> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:214:32 | 214 | if let Some(arg) = find_any_by_name!(self.0, name) { | ------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:231:39 | 231 | if let Some(bl) = find_any_by_name!(self.0, *arg).unwrap().blacklist() { | ------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: unnecessary parentheses around block return value --> /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:364:25 | 364 | (ma.vals.len() % num as usize) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/macros.rs:972:63 | 972 | fn as_trait_obj<'a, 'b, T: AnyArg<'a, 'b>>(x: &T) -> &AnyArg<'a, 'b> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` | ::: /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:467:37 | 467 | } else if let Some(a) = find_any_by_name!(self.0, *name) { | -------------------------------- in this macro invocation | = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:508:42 | 508 | fn validate_arg_conflicts(&self, a: &AnyArg, matcher: &ArgMatcher) -> Option { | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:523:44 | 523 | fn validate_required_unless(&self, a: &AnyArg, matcher: &ArgMatcher) -> Option { | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/validator.rs:578:42 | 578 | fn is_missing_required_ok(&self, a: &AnyArg, matcher: &ArgMatcher) -> bool { | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/mod.rs:1844:39 | 1844 | fn validator(&self) -> Option<&Rc StdResult<(), String>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> StdResult<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/app/mod.rs:1847:42 | 1847 | fn validator_os(&self) -> Option<&Rc StdResult<(), OsString>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> StdResult<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/any_arg.rs:26:39 | 26 | fn validator(&self) -> Option<&Rc Result<(), String>>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/any_arg.rs:27:42 | 27 | fn validator_os(&self) -> Option<&Rc Result<(), OsString>>>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> Result<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/any_arg.rs:89:39 | 89 | fn validator(&self) -> Option<&Rc Result<(), String>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/any_arg.rs:92:42 | 92 | fn validator_os(&self) -> Option<&Rc Result<(), OsString>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> Result<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/flag.rs:103:39 | 103 | fn validator(&self) -> Option<&Rc StdResult<(), String>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> StdResult<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/flag.rs:106:42 | 106 | fn validator_os(&self) -> Option<&Rc StdResult<(), OsString>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> StdResult<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/option.rs:156:39 | 156 | fn validator(&self) -> Option<&Rc StdResult<(), String>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> StdResult<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/option.rs:159:42 | 159 | fn validator_os(&self) -> Option<&Rc StdResult<(), OsString>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> StdResult<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/positional.rs:177:39 | 177 | fn validator(&self) -> Option<&Rc StdResult<(), String>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> StdResult<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/positional.rs:180:42 | 180 | fn validator_os(&self) -> Option<&Rc StdResult<(), OsString>>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> StdResult<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/valued.rs:19:30 | 19 | pub validator: Option Result<(), String>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(String) -> Result<(), String>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_builder/valued.rs:20:33 | 20 | pub validator_os: Option Result<(), OsString>>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&OsStr) -> Result<(), OsString>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_matcher.rs:30:20 | 30 | a: Option<&AnyArg<'a, 'b>>, | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg_matcher.rs:75:60 | 75 | pub fn handle_self_overrides<'b>(&mut self, a: Option<&AnyArg<'a, 'b>>) { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn AnyArg<'a, 'b>` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:412:15 | 412 | arg: &AnyArg, | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:450:33 | 450 | pub fn empty_value(arg: &AnyArg, usage: U, color: ColorWhen) -> Self | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:478:15 | 478 | arg: &AnyArg, | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:663:48 | 663 | pub fn too_many_values(val: V, arg: &AnyArg, usage: U, color: ColorWhen) -> Self | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:692:15 | 692 | arg: &AnyArg, | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:725:42 | 725 | pub fn value_validation(arg: Option<&AnyArg>, err: String, color: ColorWhen) -> Self { | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:748:24 | 748 | let n: Option<&AnyArg> = None; | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:754:15 | 754 | arg: &AnyArg, | ^^^^^^ help: use `dyn`: `dyn AnyArg` warning: trait objects without an explicit `dyn` are deprecated --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:789:47 | 789 | pub fn unexpected_multiple_usage(arg: &AnyArg, usage: U, color: ColorWhen) -> Self | ^^^^^^ help: use `dyn`: `dyn AnyArg` [clang-sys 1.0.1] cargo:rustc-link-search=/usr/lib/llvm-11/lib [clang-sys 1.0.1] cargo:rustc-link-lib=dylib=clang-11.0.0 [clang-sys 1.0.1] cargo:include=/usr/lib/llvm-11/include Running `/<>/target/debug/build/bindgen-9b246e2dc83e36ea/build-script-build` Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='Rust bindings for libclang.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=1.0.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=clang-sys CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/clang-sys-1.0.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/KyleMayes/clang-sys' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Kyle Mayes ' OUT_DIR=/<>/target/debug/build/clang-sys-518762f45ceee0d3/out rustc --crate-name clang_sys /<>/debian/cargo_registry/clang-sys-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' -C metadata=d6e2c6cdecb89ece -C extra-filename=-d6e2c6cdecb89ece --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern glob=/<>/target/debug/deps/libglob-5b23de9c5388c03b.rmeta --extern libc=/<>/target/debug/deps/liblibc-0b47fa0802faadad.rmeta --cap-lints warn -L /usr/lib/llvm-11/lib -l dylib=clang-11.0.0` [bindgen 0.55.1] cargo:rerun-if-env-changed=LLVM_CONFIG_PATH [bindgen 0.55.1] cargo:rerun-if-env-changed=LIBCLANG_PATH [bindgen 0.55.1] cargo:rerun-if-env-changed=LIBCLANG_STATIC_PATH [bindgen 0.55.1] cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS warning: use of deprecated associated function `bitflags::core::str::::trim_left_matches`: superseded by `trim_start_matches` --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:96:14 | 96 | .trim_left_matches(|c| c == '-') | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` | = note: `#[warn(deprecated)]` on by default warning: use of deprecated associated function `bitflags::core::str::::trim_left_matches`: superseded by `trim_start_matches` --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:105:14 | 105 | .trim_left_matches(|c| c == '-') | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> /<>/debian/cargo_registry/clap-2.33.3/src/app/parser.rs:138:75 | 138 | Err(why) => panic!("couldn't create completion file: {}", why.description()), | ^^^^^^^^^^^ warning: use of deprecated associated function `bitflags::core::str::::trim_left_matches`: superseded by `trim_start_matches` --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg.rs:337:35 | 337 | self.s.short = s.as_ref().trim_left_matches(|c| c == '-').chars().nth(0); | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: use of deprecated associated function `bitflags::core::str::::trim_left_matches`: superseded by `trim_start_matches` --> /<>/debian/cargo_registry/clap-2.33.3/src/args/arg.rs:377:30 | 377 | self.s.long = Some(l.trim_left_matches(|c| c == '-')); | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:852:60 | 852 | message: format!("{} {}", c.error("error:"), e.description()), | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:910:35 | 910 | Error::with_description(e.description(), ErrorKind::Io) | ^^^^^^^^^^^ warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> /<>/debian/cargo_registry/clap-2.33.3/src/errors.rs:916:35 | 916 | Error::with_description(e.description(), ErrorKind::Format) | ^^^^^^^^^^^ Compiling regex v1.3.7 Running `CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_DESCRIPTION='An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION=1.3.7 CARGO_PKG_VERSION_PATCH=7 CARGO_PKG_NAME=regex CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/regex-1.3.7 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/regex' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/regex' CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name regex /<>/debian/cargo_registry/regex-1.3.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="aho-corasick"' --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="perf"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' --cfg 'feature="thread_local"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=69b84f4a627b4cf9 -C extra-filename=-69b84f4a627b4cf9 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern aho_corasick=/<>/target/debug/deps/libaho_corasick-f4be56c37a186fee.rmeta --extern memchr=/<>/target/debug/deps/libmemchr-3000a0c7add2ee15.rmeta --extern regex_syntax=/<>/target/debug/deps/libregex_syntax-8ea44418e3a587cc.rmeta --extern thread_local=/<>/target/debug/deps/libthread_local-255f7b32b2b0065a.rmeta --cap-lints warn` Compiling cexpr v0.4.0 Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A C expression parser and evaluator' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=4 CARGO_PKG_VERSION=0.4.0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_NAME=cexpr CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/cexpr-0.4.0 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/jethrogb/rust-cexpr' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='Jethro Beekman ' rustc --crate-name cexpr --edition=2018 /<>/debian/cargo_registry/cexpr-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 -C metadata=a23559c1fb84fdcb -C extra-filename=-a23559c1fb84fdcb --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern nom=/<>/target/debug/deps/libnom-0e3e1a0e43879d9c.rmeta --cap-lints warn` warning: 11 warnings emitted Compiling env_logger v0.7.1 Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='A logging implementation for `log` which is configured via an environment variable. ' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION=0.7.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=env_logger CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/env_logger-0.7.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/sebasmagri/env_logger/' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE= CARGO_PKG_AUTHORS='The Rust Project Developers' rustc --crate-name env_logger --edition=2018 /<>/debian/cargo_registry/env_logger-0.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="atty"' --cfg 'feature="default"' --cfg 'feature="humantime"' --cfg 'feature="regex"' --cfg 'feature="termcolor"' -C metadata=8a73f2b3d30af414 -C extra-filename=-8a73f2b3d30af414 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern atty=/<>/target/debug/deps/libatty-6ad1cdc2dc37c403.rmeta --extern humantime=/<>/target/debug/deps/libhumantime-a5c7a00d88b579f5.rmeta --extern log=/<>/target/debug/deps/liblog-a272783ee319fb10.rmeta --extern regex=/<>/target/debug/deps/libregex-69b84f4a627b4cf9.rmeta --extern termcolor=/<>/target/debug/deps/libtermcolor-8b1480f8c9eef91a.rmeta --cap-lints warn` Running `CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_DESCRIPTION='Automatically generates Rust FFI bindings to C and C++ libraries.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=55 CARGO_PKG_VERSION=0.55.1 CARGO_PKG_VERSION_PATCH=1 CARGO_PKG_NAME=bindgen CARGO_MANIFEST_DIR=/<>/debian/cargo_registry/bindgen-0.55.1 LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/rust-lang/rust-bindgen' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/rust-bindgen/' CARGO_PKG_AUTHORS='Jyun-Yan You :Emilio Cobos Álvarez :Nick Fitzgerald :The Servo project developers' OUT_DIR=/<>/target/debug/build/bindgen-59f0539a25bcbd7d/out rustc --crate-name bindgen --edition=2018 /<>/debian/cargo_registry/bindgen-0.55.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C debuginfo=2 --cfg 'feature="clap"' --cfg 'feature="default"' --cfg 'feature="env_logger"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="which"' --cfg 'feature="which-rustfmt"' -C metadata=aee8ba4f8ac4b7c2 -C extra-filename=-aee8ba4f8ac4b7c2 --out-dir /<>/target/debug/deps -L dependency=/<>/target/debug/deps --extern bitflags=/<>/target/debug/deps/libbitflags-063a42725dc7f375.rmeta --extern cexpr=/<>/target/debug/deps/libcexpr-a23559c1fb84fdcb.rmeta --extern cfg_if=/<>/target/debug/deps/libcfg_if-c15a2a4185d42032.rmeta --extern clang_sys=/<>/target/debug/deps/libclang_sys-d6e2c6cdecb89ece.rmeta --extern clap=/<>/target/debug/deps/libclap-5bdcb957169204cc.rmeta --extern env_logger=/<>/target/debug/deps/libenv_logger-8a73f2b3d30af414.rmeta --extern lazy_static=/<>/target/debug/deps/liblazy_static-3ecacd8852976ad9.rmeta --extern lazycell=/<>/target/debug/deps/liblazycell-ed906c21883cf4f2.rmeta --extern log=/<>/target/debug/deps/liblog-a272783ee319fb10.rmeta --extern peeking_take_while=/<>/target/debug/deps/libpeeking_take_while-57cf79a5203ba215.rmeta --extern proc_macro2=/<>/target/debug/deps/libproc_macro2-ee347eac23e52b6e.rmeta --extern quote=/<>/target/debug/deps/libquote-aa5537bbb79c1849.rmeta --extern regex=/<>/target/debug/deps/libregex-69b84f4a627b4cf9.rmeta --extern rustc_hash=/<>/target/debug/deps/librustc_hash-ee54ac90aee6fba9.rmeta --extern shlex=/<>/target/debug/deps/libshlex-bec91489f92cff00.rmeta --extern which=/<>/target/debug/deps/libwhich-51f84918be29d590.rmeta --cap-lints warn -L /usr/lib/llvm-11/lib` warning: 68 warnings emitted Compiling libnotcurses-sys v2.0.9 (/<>) Running `CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_DESCRIPTION='Low-level Rust bindings for the notcurses C library.' CARGO=/usr/bin/cargo CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION=2.0.9 CARGO_PKG_VERSION_PATCH=9 CARGO_PKG_NAME=libnotcurses-sys CARGO_MANIFEST_DIR=/<> LD_LIBRARY_PATH='/<>/target/debug/deps:/usr/lib:/usr/lib/x86_64-linux-gnu/libfakeroot:/usr/lib64/libfakeroot:/usr/lib32/libfakeroot' CARGO_PKG_REPOSITORY='https://github.com/dankamongmen/notcurses' CARGO_PKG_VERSION_PRE= CARGO_PKG_HOMEPAGE='https://nick-black.com/dankwiki/index.php/Notcurses' CARGO_PKG_AUTHORS='nick black ' rustc --crate-name build_script_build --edition=2018 build/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=5d212e1c563f5643 -C extra-filename=-5d212e1c563f5643 --out-dir /<>/target/debug/build/libnotcurses-sys-5d212e1c563f5643 -C incremental=/<>/target/debug/incremental -L dependency=/<>/target/debug/deps --extern bindgen=/<>/target/debug/deps/libbindgen-aee8ba4f8ac4b7c2.rlib --extern cc=/<>/target/debug/deps/libcc-8d62179ae8a9941b.rlib --extern pkg_config=/<>/target/debug/deps/libpkg_config-49a0d6180c46d081.rlib -L /usr/lib/llvm-11/lib` Running `/<>/target/debug/build/libnotcurses-sys-5d212e1c563f5643/build-script-build` [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_NO_PKG_CONFIG [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu [libnotcurses-sys 2.0.9] cargo:rustc-link-lib=notcurses [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_PATH [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR [libnotcurses-sys 2.0.9] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR [libnotcurses-sys 2.0.9] cargo:rerun-if-changed=build/wrapper.h [libnotcurses-sys 2.0.9] TARGET = Some("x86_64-unknown-linux-gnu") [libnotcurses-sys 2.0.9] OPT_LEVEL = Some("0") [libnotcurses-sys 2.0.9] HOST = Some("x86_64-unknown-linux-gnu") [libnotcurses-sys 2.0.9] CC_x86_64-unknown-linux-gnu = None [libnotcurses-sys 2.0.9] CC_x86_64_unknown_linux_gnu = None [libnotcurses-sys 2.0.9] HOST_CC = None [libnotcurses-sys 2.0.9] CC = None [libnotcurses-sys 2.0.9] CFLAGS_x86_64-unknown-linux-gnu = None [libnotcurses-sys 2.0.9] CFLAGS_x86_64_unknown_linux_gnu = None [libnotcurses-sys 2.0.9] HOST_CFLAGS = None [libnotcurses-sys 2.0.9] CFLAGS = Some("-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security") [libnotcurses-sys 2.0.9] CRATE_CC_NO_DEFAULTS = None [libnotcurses-sys 2.0.9] DEBUG = Some("true") [libnotcurses-sys 2.0.9] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [libnotcurses-sys 2.0.9] running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-g" "-O2" "-fdebug-prefix-map=/<>=." "-fstack-protector-strong" "-Wformat" "-Werror=format-security" "-o" "/<>/target/x86_64-unknown-linux-gnu/debug/build/libnotcurses-sys-17ed9cf6ff5c6fc1/out/build/stdout.o" "-c" "build/stdout.c" [libnotcurses-sys 2.0.9] cargo:warning=cc: error: build/stdout.c: No such file or directory [libnotcurses-sys 2.0.9] cargo:warning=cc: fatal error: no input files [libnotcurses-sys 2.0.9] cargo:warning=compilation terminated. [libnotcurses-sys 2.0.9] exit code: 1 [libnotcurses-sys 2.0.9] [libnotcurses-sys 2.0.9] [libnotcurses-sys 2.0.9] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-g" "-O2" "-fdebug-prefix-map=/<>=." "-fstack-protector-strong" "-Wformat" "-Werror=format-security" "-o" "/<>/target/x86_64-unknown-linux-gnu/debug/build/libnotcurses-sys-17ed9cf6ff5c6fc1/out/build/stdout.o" "-c" "build/stdout.c" with args "cc" did not execute successfully (status code exit code: 1). [libnotcurses-sys 2.0.9] [libnotcurses-sys 2.0.9] error: failed to run custom build command for `libnotcurses-sys v2.0.9 (/<>)` Caused by: process didn't exit successfully: `/<>/target/debug/build/libnotcurses-sys-5d212e1c563f5643/build-script-build` (exit code: 1) --- stdout cargo:rerun-if-env-changed=NOTCURSES_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE cargo:rerun-if-env-changed=NOTCURSES_STATIC cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=NOTCURSES_STATIC cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu cargo:rustc-link-lib=notcurses cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE cargo:rerun-if-env-changed=NOTCURSES_STATIC cargo:rerun-if-env-changed=NOTCURSES_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-changed=build/wrapper.h TARGET = Some("x86_64-unknown-linux-gnu") OPT_LEVEL = Some("0") HOST = Some("x86_64-unknown-linux-gnu") CC_x86_64-unknown-linux-gnu = None CC_x86_64_unknown_linux_gnu = None HOST_CC = None CC = None CFLAGS_x86_64-unknown-linux-gnu = None CFLAGS_x86_64_unknown_linux_gnu = None HOST_CFLAGS = None CFLAGS = Some("-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security") CRATE_CC_NO_DEFAULTS = None DEBUG = Some("true") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-g" "-O2" "-fdebug-prefix-map=/<>=." "-fstack-protector-strong" "-Wformat" "-Werror=format-security" "-o" "/<>/target/x86_64-unknown-linux-gnu/debug/build/libnotcurses-sys-17ed9cf6ff5c6fc1/out/build/stdout.o" "-c" "build/stdout.c" cargo:warning=cc: error: build/stdout.c: No such file or directory cargo:warning=cc: fatal error: no input files cargo:warning=compilation terminated. exit code: 1 --- stderr error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-g" "-O2" "-fdebug-prefix-map=/<>=." "-fstack-protector-strong" "-Wformat" "-Werror=format-security" "-o" "/<>/target/x86_64-unknown-linux-gnu/debug/build/libnotcurses-sys-17ed9cf6ff5c6fc1/out/build/stdout.o" "-c" "build/stdout.c" with args "cc" did not execute successfully (status code exit code: 1). dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101 make: *** [debian/rules:3: binary] Error 25 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2020-12-06T04:17:46Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: binary Build-Space: 245652 Build-Time: 9 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 54 Job: /home/dank/src/dankamongmen/debcargo-conf/build/rust-libnotcurses-sys_2.0.9-1.dsc Machine Architecture: amd64 Package: rust-libnotcurses-sys Package-Time: 148 Source-Version: 2.0.9-1 Space: 245652 Status: attempted Version: 2.0.9-1 -------------------------------------------------------------------------------- Finished at 2020-12-06T04:17:46Z Build needed 00:02:28, 245652k disk space E: Build failure (dpkg-buildpackage died) [schwarzgerat](2) $ ~~~
joseluis commented 3 years ago

I don't know why it couldn't file that file, but it turns out that we don't actually need it, so we can delete it along with the cc build-dependency too!

joseluis commented 3 years ago

rust-cty passed FTPMaster approval and entered Debian Unstable yesterday evening. I'm going to test packaging of rust-notcurses 2.0.9, which i suspect will work. at that point, we can submit rust-notcurses to NEW.

@joseluis i know you've done a ton of work on rust recently. would you like me to hold off to 2.0.1x/2.1.0 before submitting?

I... never know when you ask me about packaging stuff :) I know I still have a lot of work to do, though...

What would generally be the criteria for me to determine a need to hold off the submission? I'm just refactoring/fixing/testing/adding stuff regardless.

joseluis commented 3 years ago

BTW I just made collapsible the humongously long output log...

dankamongmen commented 3 years ago

I don't know why it couldn't file that file, but it turns out that we don't actually need it, so we can delete it along with the cc build-dependency too!

In the words of Father Rabbit, "My lord. All the Saints and the Angel Moroni".

What would generally be the criteria for me to determine a need to hold off the submission? I'm just refactoring/fixing/testing/adding stuff regardless.

i don't know, threats against the person of Infanta Sofia would definitely seem out of place. don't threaten Infanta Sofia in any of your examples, if you can avoid it, and even less Leonor. if there's any of that in 2.0.9, let's hold off until 2.0.10 to package it.

joseluis commented 3 years ago

i don't know, threats against the person of Infanta Sofia would definitely seem out of place. don't threaten Infanta Sofia in any of your examples, if you can avoid it, and even less Leonor.

Lol, will do. And that very much reminds me about some curse words and offensive commentary in notcuses.h that I totally forgot about, and I was gonna suggest you to consider removing. Not only to avoid the possible, albeit remote, theat of islamic terrorism in the future, but because it feels a bit too much.

dankamongmen commented 3 years ago

i don't know, threats against the person of Infanta Sofia would definitely seem out of place. don't threaten Infanta Sofia in any of your examples, if you can avoid it, and even less Leonor.

Lol, will do. And that very much reminds me about some curse words and offensive commentary in notcuses.h that I totally forgot about, and I was gonna suggest you to consider removing. Not only to avoid the possible, albeit remote, theat of islamic terrorism in the future, but because it feels a bit too much.

hot holy shit i'd forgotten all about this. thanks for bringing it to my attention lol

yeah let's target that for removal by 2.1.0. i'll set my palestinian alarm clock https://www.youtube.com/watch?v=NZkStSdlh3c

dankamongmen commented 3 years ago
[schwarzgerat](2) $ ls
build.sh
dpkg-dummy
libnotcurses-sys
librust-libnotcurses-sys-dev_2.0.10-1_amd64.deb
rust-libnotcurses-sys_2.0.10-1_amd64.buildinfo
rust-libnotcurses-sys_2.0.10-1_amd64.changes
rust-libnotcurses-sys_2.0.10-1_amd64.test.log
rust-libnotcurses-sys_2.0.10-1.debian.tar.xz
rust-libnotcurses-sys_2.0.10-1.dsc
rust-libnotcurses-sys_2.0.10-1_source.buildinfo
rust-libnotcurses-sys_2.0.10-1_source.changes
rust-libnotcurses-sys_2.0.10.orig.tar.gz
[schwarzgerat](0) $ 
dankamongmen commented 3 years ago

I'll go ahead and put up a merge request =].

I don't see a notcurses.so dep specified in Cargo.toml. Are the rust bindings tied to the exact same notcurses version (i.e. if I release a new notcurses package, need I release a new rust package at the same time)?

dankamongmen commented 3 years ago

¡Hola mundo!

dankamongmen commented 3 years ago
Date: Tue, 08 Dec 2020 07:24:21 +0000
From: Sylvestre Ledru <gitlab@salsa.debian.org>
To: dank@qemfd.net
Subject: Re: debcargo-conf | initial packaging of libnotcurses-sys (!154)

Merge Request !154 was merged
Merge Request URL:
https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/154
Project:Branches: nickblack/debcargo-conf:libnotcurses-sys to
rust-team/debcargo-conf:master
Author: nick black
Assignees:

--
Reply to this email directly or view it on GitLab:
https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/154
You're receiving this email because of your account on salsa.debian.org.

triumph!

dankamongmen commented 3 years ago
binary:librust-libnotcurses-sys-dev is NEW.
binary:librust-libnotcurses-sys-dev is NEW.
source:rust-libnotcurses-sys is NEW.

Your package has been put into the NEW queue, which requires manual action
from the ftpteam to process. The upload was otherwise valid (it had a good
OpenPGP signature and file hashes are valid), so please be patient.

Packages are routinely processed through to the archive, and do feel
free to browse the NEW queue[1].

If there is an issue with the upload, you will receive an email from a
member of the ftpteam.

If you have any questions, you may reply to this email.

[1]: https://ftp-master.debian.org/new.html
     or https://ftp-master.debian.org/backports-new.html for *-backports