[...] --> 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.oUtJpk/BUILD/tmp/rpm-tmp.39376 (%build) RPM build errors: Bad exit status from /tmp/B.oUtJpk/BUILD/tmp/rpm-tmp.39376 (%build) ended at: Sat Sep 21 21:54:01 2019, done in 0:03:30.983263 error: No files produced. + chmod -R u+rwX /tmp/B.oUtJpk/BUILD + rm -rf /tmp/B.oUtJpk/tmp /tmp/B.oUtJpk/BUILD + rm -rf /tmp/B.oUtJpk Begin-TLD-Builder-Info Build-Time: user:729.94s sys:15.09s real:224.88s (faults io:101 non-io:3429709) End-TLD-Builder-Info