request from: hawk checking if we should skip the build started at: Sat Sep 21 21:50:11 2019 fetching http://src.tld-linux.org/~builderti//srpms/a2cacea7-6a9f-4a30-99c6-95779de81a95/cargo-0.26.0-1.src.rpm fetched 22253158 bytes, 173671.9 K/s installing srpm: cargo-0.26.0-1.src.rpm + install -d /tmp/B.mtHkOU/BUILD /tmp/B.mtHkOU/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog cargo-0.26.0-1.src.rpm * Sat Sep 21 2019 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/cargo.git;a=log;h=10ea2891ae5d920664b61a8a2cd41da481404f1e + rpm -Uhv --nodeps --define '_topdir /tmp/B.mtHkOU' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --with bootstrap cargo-0.26.0-1.src.rpm cargo ################################################## + rm -f cargo-0.26.0-1.src.rpm + install -m 700 -d /tmp/B.mtHkOU/BUILD/tmp + TMPDIR=/tmp/B.mtHkOU/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.mtHkOU' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --with bootstrap --target i686-tld-linux --define 'prep exit 0' /tmp/B.mtHkOU/cargo.spec Building target platforms: i686-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: rust is needed by cargo-0.26.0-1.src rpm: libgit2-devel >= 0.24 is needed by cargo-0.26.0-1.src rpm: Building target platforms: i686-tld-linux updating poldek cache... local is up to date Retrieving ti::packages.ndir.md... ti is up to date Retrieving ti::packages.ndir.md... ti is up to date Retrieving ti-test::packages.ndir.md... Retrieving ti-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2019.09.21-15.41.02.gz... ..............................done Retrieving diff::packages.ndir.dscr.2019.09.21-15.41.02.gz... Loading [pndir]ti-test... Applying packages.ndir.2019.09.21-15.41.02.gz... Writing /root/.poldek-cache/[...]/packages.ndir.gz... Retrieving ti-test::packages.ndir.md... ti-test is up to date checking conflicting packages in BRed packages poldek: Loading [pndir]local... poldek: Loading [pndir]ti... poldek: Loading [pndir]ti... poldek: Loading [pndir]ti-test... poldek: Loading [pndir]ti-test... poldek: 8414 packages read poldek: Removed 599 duplicate packages from available set poldek: Processing dependencies... poldek: libgit2-devel-0.28.3-1.i686 marks libgit2-0.28.3-1.i686 (cap libgit2 = 0.28.3-1) poldek: There are 3 packages to install (1 marked by dependencies): poldek: I libgit2-devel-0.28.3-1.i686 rust-1.37.0-1.i686 poldek: D libgit2-0.28.3-1.i686 poldek: This operation will use 217.4MB of disk space. poldek: Need to get 63.0MB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: rust is needed by cargo-0.26.0-1.src rpm: libgit2-devel >= 0.24 is needed by cargo-0.26.0-1.src rpm: Building target platforms: i686-tld-linux installing BR: rust libgit2\-devel + poldek --noask --caplookup -Q -v --upgrade rust libgit2-devel Loading [pndir]local... Loading [pndir]ti... Loading [pndir]ti... Loading [pndir]ti-test... Loading [pndir]ti-test... 8414 packages read Removed 599 duplicate packages from available set Processing dependencies... There are 1 package to install: I rust-1.37.0-1.i686 This operation will use 215.7MB of disk space. Need to get 62.5MB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## rust ################################################## Installing set #2 Processing dependencies... libgit2-devel-0.28.3-1.i686 marks libgit2-0.28.3-1.i686 (cap libgit2 = 0.28.3-1) There are 2 packages to install (1 marked by dependencies): I libgit2-devel-0.28.3-1.i686 D libgit2-0.28.3-1.i686 This operation will use 1.6MB of disk space. Need to get 529.5KB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## libgit2 ################################################## libgit2-devel ################################################## building RPM using: set -ex; : build-id: a2cacea7-6a9f-4a30-99c6-95779de81a95; TMPDIR=/tmp/B.mtHkOU/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.mtHkOU' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --with bootstrap --target i686-tld-linux /tmp/B.mtHkOU/cargo.spec + : build-id: a2cacea7-6a9f-4a30-99c6-95779de81a95 + TMPDIR=/tmp/B.mtHkOU/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --define '_tld_builder 1' --define '_topdir /tmp/B.mtHkOU' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --with bootstrap --target i686-tld-linux /tmp/B.mtHkOU/cargo.spec Building target platforms: i686-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.mtHkOU/BUILD/tmp /bin/sh -e /tmp/B.mtHkOU/BUILD/tmp/rpm-tmp.38427 + umask 022 + cd /tmp/B.mtHkOU/BUILD + cd /tmp/B.mtHkOU/BUILD + rm -rf cargo-0.26.0 + /usr/bin/gzip -dc /tmp/B.mtHkOU/cargo-0.26.0.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cargo-0.26.0 + /usr/bin/xz -dc /tmp/B.mtHkOU/cargo-0.26.0-vendor.tar.xz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + tar xf /tmp/B.mtHkOU/cargo-0.18.0-i686-unknown-linux-gnu.tar.gz + test -f /tmp/B.mtHkOU/BUILD/cargo-0.26.0/cargo-0.18.0-i686-unknown-linux-gnu/cargo/bin/cargo + pwd + export 'CARGO_HOME=/tmp/B.mtHkOU/BUILD/cargo-0.26.0/.cargo' + mkdir -p /tmp/B.mtHkOU/BUILD/cargo-0.26.0/.cargo + >.cargo/config + < vendor/url/src/form_urlencoded.rs:261:40 | 259 | impl<'a> Target for ::UrlQuery<'a> { | -- lifetime `'a` defined here 260 | fn as_mut_string(&mut self) -> &mut String { &mut self.url.serialization } 261 | fn finish(self) -> &'a mut ::Url { self.url } | ^^^^^^^^ - here, drop of `self` needs exclusive access to `*self.url`, because the type `UrlQuery<'_>` implements the `Drop` trait | | | returning this value requires that `*self.url` is borrowed for `'a` | = warning: this error has been downgraded to a warning for backwards compatibility with previous releases = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future = note: for more information, try `rustc --explain E0729` Compiling thread_local v0.3.5 Compiling backtrace v0.3.5 Compiling failure v0.1.1 Compiling crypto-hash v0.3.1 Compiling git2 v0.6.11 Compiling serde_derive_internals v0.23.0 Compiling globset v0.3.0 Compiling env_logger v0.5.6 Compiling git2-curl v0.7.0 Compiling serde_derive v1.0.37 Compiling ignore v0.4.1 Compiling crates-io v0.15.0 (file:///tmp/B.mtHkOU/BUILD/cargo-0.26.0/src/crates-io) Compiling docopt v0.8.3 warning: trait objects without an explicit `dyn` are deprecated --> src/crates-io/lib.rs:272:22 | 272 | read: &mut FnMut(&mut [u8]) -> usize) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut [u8]) -> usize` | = note: #[warn(bare_trait_objects)] on by default Compiling cargo v0.26.0 (file:///tmp/B.mtHkOU/BUILD/cargo-0.26.0) error: unused doc comment --> src/cargo/core/features.rs:135:1 | 135 | / /// A listing of all features in Cargo 136 | | /// 137 | | /// "look here" 138 | | /// ... | 144 | | /// character is translated to `-` when specified in the `cargo-features` 145 | | /// manifest entry in `Cargo.toml`. | |___________________________________^ 146 | / features! { 147 | | pub struct Features { 148 | | 149 | | // A dummy feature that doesn't actually gate anything, but it's used in ... | 162 | | } 163 | | } | |_- rustdoc does not generate documentation for macro expansions | note: lint level defined here --> src/cargo/lib.rs:1:9 | 1 | #![deny(unused)] | ^^^^^^ = note: #[deny(unused_doc_comments)] implied by #[deny(unused)] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/source_id.rs:237:67 | 237 | pub fn load<'a>(&self, config: &'a Config) -> CargoResult> { | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn super::Source + 'a` | = note: #[warn(bare_trait_objects)] on by default warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:78:32 | 78 | map: HashMap>, | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:82:55 | 82 | pub type Sources<'a, 'src> = Values<'a, SourceId, Box>; | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:86:38 | 86 | inner: IterMut<'a, SourceId, Box>, | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:101:50 | 101 | pub fn get(&self, id: &SourceId) -> Option<&(Source + 'src)> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:105:22 | 105 | let s: &(Source + 'src) = &**s; | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:111:62 | 111 | pub fn get_mut(&mut self, id: &SourceId) -> Option<&mut (Source + 'src)> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:113:26 | 113 | let s: &mut (Source + 'src) = &mut **s; | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:120:69 | 120 | pub fn get_by_package_id(&self, pkg_id: &PackageId) -> Option<&(Source + 'src)> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:125:42 | 125 | pub fn insert(&mut self, source: Box) { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:152:41 | 152 | type Item = (&'a SourceId, &'a mut (Source + 'src)); | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/source/mod.rs:153:58 | 153 | fn next(&mut self) -> Option<(&'a SourceId, &'a mut (Source + 'src))> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'src` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/package.rs:195:45 | 195 | pub fn package_ids<'a>(&'a self) -> Box + 'a> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator + 'a` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:351:31 | 351 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:409:28 | 409 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:570:42 | 570 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:783:36 | 783 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:1067:34 | 1067 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/resolver/mod.rs:1103:29 | 1103 | registry: &mut Registry, | ^^^^^^^^ help: use `dyn`: `dyn Registry` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:49:15 | 49 | Write(Box), | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:84:32 | 84 | pub fn from_write(out: Box) -> Shell { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:94:23 | 94 | status: &fmt::Display, | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:95:31 | 95 | message: Option<&fmt::Display>, | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:123:35 | 123 | pub fn err(&mut self) -> &mut Write { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:228:23 | 228 | status: &fmt::Display, | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:229:31 | 229 | message: Option<&fmt::Display>, | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/shell.rs:265:36 | 265 | fn as_write(&mut self) -> &mut Write { | ^^^^^ help: use `dyn`: `dyn Write` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:19:22 | 19 | f: &mut FnMut(Summary)) -> CargoResult<()>; | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:39:22 | 39 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:169:49 | 169 | pub fn add_preloaded(&mut self, source: Box) { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:173:42 | 173 | fn add_source(&mut self, source: Box, kind: Kind) { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:179:48 | 179 | pub fn add_override(&mut self, source: Box) { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/core/registry.rs:399:22 | 399 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_compile.rs:191:40 | 191 | exec: Arc) | ^^^^^^^^ help: use `dyn`: `dyn Executor` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_compile.rs:209:42 | 209 | source: Option>, | ^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'a` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_compile.rs:211:33 | 211 | exec: Arc) | ^^^^^^^^ help: use `dyn`: `dyn Executor` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_install.rs:333:37 | 333 | list_all: &mut FnMut(&mut T) -> CargoResult>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut T) -> CargoResult>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_install.rs:334:51 | 334 | -> CargoResult<(Package, Box)> | ^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'a` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_read_manifest.rs:74:37 | 74 | fn walk(path: &Path, callback: &mut FnMut(&Path) -> CargoResult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path) -> CargoResult` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/job.rs:11:16 | 11 | inner: Box FnBox<&'a JobState<'b>, CargoResult<()>> + Send>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn for <'a, 'b> FnBox<&'a JobState<'b>, CargoResult<()>> + Send` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/mod.rs:112:38 | 112 | handle_stdout: &mut FnMut(&str) -> CargoResult<()>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/mod.rs:113:38 | 113 | handle_stderr: &mut FnMut(&str) -> CargoResult<()>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/mod.rs:142:48 | 142 | exec: Arc) | ^^^^^^^^ help: use `dyn`: `dyn Executor` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/mod.rs:264:36 | 264 | exec: Arc) -> CargoResult<()> { | ^^^^^^^^ help: use `dyn`: `dyn Executor` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/cargo_rustc/mod.rs:311:30 | 311 | exec: Arc) -> CargoResult { | ^^^^^^^^ help: use `dyn`: `dyn Executor` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/ops/resolve.rs:26:52 | 26 | source: Option>, | ^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'a` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/config.rs:72:58 | 72 | pub fn load(&self, id: &SourceId) -> CargoResult> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/directory.rs:51:22 | 51 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/git/utils.rs:590:36 | 590 | cb: &mut FnMut(git2::FetchOptions) -> CargoResult<()>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(git2::FetchOptions) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/git/source.rs:128:22 | 128 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/path.rs:258:49 | 258 | filter: &mut FnMut(&Path) -> CargoResult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path) -> CargoResult` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/path.rs:299:36 | 299 | filter: &mut FnMut(&Path) -> CargoResult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path) -> CargoResult` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/path.rs:419:59 | 419 | fn list_files_walk(&self, pkg: &Package, filter: &mut FnMut(&Path) -> CargoResult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path) -> CargoResult` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/path.rs:427:41 | 427 | is_root: bool, filter: &mut FnMut(&Path) -> CargoResult) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&Path) -> CargoResult` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/path.rs:477:22 | 477 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/mod.rs:190:14 | 190 | ops: Box, | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/mod.rs:246:24 | 246 | data: &mut FnMut(&[u8]) -> CargoResult<()>) -> CargoResult<()>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/index.rs:42:28 | 42 | load: &mut RegistryData) | ^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/index.rs:62:33 | 62 | load: &mut RegistryData) | ^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/index.rs:74:34 | 74 | load: &mut RegistryData) | ^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/index.rs:168:29 | 168 | load: &mut RegistryData, | ^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/index.rs:169:26 | 169 | f: &mut FnMut(Summary)) | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/remote.rs:128:24 | 128 | data: &mut FnMut(&[u8]) -> CargoResult<()>) -> CargoResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/local.rs:41:24 | 41 | data: &mut FnMut(&[u8]) -> CargoResult<()>) -> CargoResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&[u8]) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/mod.rs:285:21 | 285 | ops: Box, | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RegistryData + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/registry/mod.rs:373:22 | 373 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/replaced.rs:7:16 | 7 | inner: Box, | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/replaced.rs:13:25 | 13 | src: Box) -> ReplacedSource<'cfg> { | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Source + 'cfg` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/sources/replaced.rs:25:22 | 25 | f: &mut FnMut(Summary)) -> CargoResult<()> { | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Summary)` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/errors.rs:51:32 | 51 | fn cause(&self) -> Option<&Fail> { | ^^^^ help: use `dyn`: `dyn Fail` error: the item `libc` is imported redundantly --> src/cargo/util/errors.rs:202:13 | 202 | use libc; | ^^^^ | ::: src/cargo/lib.rs:25:1 | 25 | extern crate libc; | ------------------ the item `libc` is already imported here | note: lint level defined here --> src/cargo/lib.rs:1:9 | 1 | #![deny(unused)] | ^^^^^^ = note: #[deny(unused_imports)] implied by #[deny(unused)] warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/errors.rs:239:22 | 239 | fn _internal(error: &fmt::Display) -> CargoError { | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` error: the item `OsStr` is imported redundantly --> src/cargo/util/paths.rs:141:9 | 2 | use std::ffi::{OsStr, OsString}; | ----- the item `OsStr` is already imported here ... 141 | use std::ffi::OsStr; | ^^^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/process_builder.rs:196:53 | 196 | on_stdout_line: &mut FnMut(&str) -> CargoResult<()>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/process_builder.rs:197:53 | 197 | on_stderr_line: &mut FnMut(&str) -> CargoResult<()>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&str) -> CargoResult<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/toml/targets.rs:320:53 | 320 | legacy_path: &mut FnMut(&TomlTarget) -> Option) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&TomlTarget) -> Option` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/toml/targets.rs:469:34 | 469 | legacy_path: &mut FnMut(&TomlTarget) -> Option) -> Result { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&TomlTarget) -> Option` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/flock.rs:266:18 | 266 | try: &Fn() -> io::Result<()>, | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> io::Result<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/flock.rs:267:20 | 267 | block: &Fn() -> io::Result<()>) -> CargoResult<()> { | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> io::Result<()>` warning: trait objects without an explicit `dyn` are deprecated --> src/cargo/util/read2.rs:14:29 | 14 | data: &mut FnMut(bool, &mut Vec, bool)) -> io::Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(bool, &mut Vec, bool)` warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred --> src/cargo/core/source/source_id.rs:6:37 | 6 | use std::sync::atomic::{AtomicBool, ATOMIC_BOOL_INIT}; | ^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default warning: use of deprecated item 'std::sync::atomic::ATOMIC_BOOL_INIT': the `new` function is now preferred --> src/cargo/core/source/source_id.rs:173:41 | 173 | static WARNED: AtomicBool = ATOMIC_BOOL_INIT; | ^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `AtomicBool::new(false)` warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` --> src/cargo/ops/cargo_rustc/custom_build.rs:388:45 | 388 | (Some(a), Some(b)) => (a, b.trim_right()), | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` error: aborting due to 3 previous errors error: Could not compile `cargo`. To learn more, run the command again with --verbose. error: Bad exit status from /tmp/B.mtHkOU/BUILD/tmp/rpm-tmp.43643 (%build) RPM build errors: Bad exit status from /tmp/B.mtHkOU/BUILD/tmp/rpm-tmp.43643 (%build) ended at: Sat Sep 21 21:54:20 2019, done in 0:03:56.874657 error: No files produced. + chmod -R u+rwX /tmp/B.mtHkOU/BUILD + rm -rf /tmp/B.mtHkOU/tmp /tmp/B.mtHkOU/BUILD + rm -rf /tmp/B.mtHkOU Begin-TLD-Builder-Info Build-Time: user:821.85s sys:11.29s real:249.32s (faults io:61 non-io:2273582) End-TLD-Builder-Info