[INFO] crate iobuf 5.8.1 is already in cache [INFO] checking iobuf-5.8.1 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate iobuf 5.8.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate iobuf 5.8.1 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate iobuf 5.8.1 [INFO] finished tweaking crates.io crate iobuf 5.8.1 [INFO] tweaked toml for crates.io crate iobuf 5.8.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7dfb41d08f0a8dd66d743d784f56106f3b9575c6d318b0ccd5b530c5768a1d6a [INFO] running `"docker" "start" "-a" "7dfb41d08f0a8dd66d743d784f56106f3b9575c6d318b0ccd5b530c5768a1d6a"` [INFO] [stderr] warning: profile `doc` is deprecated and has no effect [INFO] [stderr] Checking iobuf v5.8.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/raw.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::heap::{Heap, Alloc, Layout}; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/raw.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/iobuf.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/impls.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | try!(self.inv_check(self.lo_min() <= self.hi_max(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:325:5 [INFO] [stderr] | [INFO] [stderr] 325 | try!(self.inv_check(self.lo() <= self.hi(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 328 | try!(self.inv_check(self.lo_min() <= self.lo(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | try!(self.inv_check(self.hi() <= self.hi_max(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:705:7 [INFO] [stderr] | [INFO] [stderr] 705 | try!(self.check_range_u32(pos, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:713:7 [INFO] [stderr] | [INFO] [stderr] 713 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:721:7 [INFO] [stderr] | [INFO] [stderr] 721 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:749:7 [INFO] [stderr] | [INFO] [stderr] 749 | try!(self.check_range_u32(pos, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:757:7 [INFO] [stderr] | [INFO] [stderr] 757 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:765:7 [INFO] [stderr] | [INFO] [stderr] 765 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:798:5 [INFO] [stderr] | [INFO] [stderr] 798 | try!(err_if(new_hi_max < new_lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:799:5 [INFO] [stderr] | [INFO] [stderr] 799 | try!(err_if(new_hi < new_lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:800:5 [INFO] [stderr] | [INFO] [stderr] 800 | try!(err_if(new_lo_min < lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:801:5 [INFO] [stderr] | [INFO] [stderr] 801 | try!(err_if(new_hi_max > self.hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:802:5 [INFO] [stderr] | [INFO] [stderr] 802 | try!(err_if(new_lo < self.lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:803:5 [INFO] [stderr] | [INFO] [stderr] 803 | try!(err_if(new_hi > self.hi)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:820:5 [INFO] [stderr] | [INFO] [stderr] 820 | try!(err_if(new_hi_max < new_lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:821:5 [INFO] [stderr] | [INFO] [stderr] 821 | try!(err_if(new_hi < new_lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:822:5 [INFO] [stderr] | [INFO] [stderr] 822 | try!(err_if(new_lo_min < lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:823:5 [INFO] [stderr] | [INFO] [stderr] 823 | try!(err_if(new_hi_max > self.hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:859:7 [INFO] [stderr] | [INFO] [stderr] 859 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:879:7 [INFO] [stderr] | [INFO] [stderr] 879 | try!(err_if(new_hi > hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:913:7 [INFO] [stderr] | [INFO] [stderr] 913 | try!(err_if(!self.is_extended_by(other))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:921:7 [INFO] [stderr] | [INFO] [stderr] 921 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:936:7 [INFO] [stderr] | [INFO] [stderr] 936 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:953:7 [INFO] [stderr] | [INFO] [stderr] 953 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:970:7 [INFO] [stderr] | [INFO] [stderr] 970 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:987:7 [INFO] [stderr] | [INFO] [stderr] 987 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1059:7 [INFO] [stderr] | [INFO] [stderr] 1059 | try!(self.check_range_usize(pos, dst.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1067:7 [INFO] [stderr] | [INFO] [stderr] 1067 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1075:7 [INFO] [stderr] | [INFO] [stderr] 1075 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1083:7 [INFO] [stderr] | [INFO] [stderr] 1083 | try!(self.check_range_usize(pos, src.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1091:7 [INFO] [stderr] | [INFO] [stderr] 1091 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1099:7 [INFO] [stderr] | [INFO] [stderr] 1099 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1107:7 [INFO] [stderr] | [INFO] [stderr] 1107 | try!(self.check_range_usize(0, src.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1115:7 [INFO] [stderr] | [INFO] [stderr] 1115 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1123:7 [INFO] [stderr] | [INFO] [stderr] 1123 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1131:7 [INFO] [stderr] | [INFO] [stderr] 1131 | try!(self.check_range_usize(0, dst.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1139:7 [INFO] [stderr] | [INFO] [stderr] 1139 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1147:7 [INFO] [stderr] | [INFO] [stderr] 1147 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1296:7 [INFO] [stderr] | [INFO] [stderr] 1296 | try!(write!(f, "{:02x} ", x)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1306:7 [INFO] [stderr] | [INFO] [stderr] 1306 | try!(write!(f, "{}", c)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1315:37 [INFO] [stderr] | [INFO] [stderr] 1315 | if self.len() <= 1 << 8 { try!(write!(f, "0x{:02x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1316:37 [INFO] [stderr] | [INFO] [stderr] 1316 | else if self.len() <= 1 << 16 { try!(write!(f, "0x{:04x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1317:37 [INFO] [stderr] | [INFO] [stderr] 1317 | else if self.len() <= 1 << 24 { try!(write!(f, "0x{:06x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1318:37 [INFO] [stderr] | [INFO] [stderr] 1318 | else { try!(write!(f, "0x{:08x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1320:5 [INFO] [stderr] | [INFO] [stderr] 1320 | try!(write!(f, ": ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1331:5 [INFO] [stderr] | [INFO] [stderr] 1331 | try!(self.show_hex(f, left_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1332:5 [INFO] [stderr] | [INFO] [stderr] 1332 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1333:5 [INFO] [stderr] | [INFO] [stderr] 1333 | try!(self.show_ascii(f, left_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1334:5 [INFO] [stderr] | [INFO] [stderr] 1334 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1338:9 [INFO] [stderr] | [INFO] [stderr] 1338 | try!(self.show_ascii(f, right_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1339:9 [INFO] [stderr] | [INFO] [stderr] 1339 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1340:9 [INFO] [stderr] | [INFO] [stderr] 1340 | try!(self.show_hex(f, right_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1349:5 [INFO] [stderr] | [INFO] [stderr] 1349 | try!(write!(f, "{} IObuf, limits=[{},{}), bounds=[{},{})\n", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1357:7 [INFO] [stderr] | [INFO] [stderr] 1357 | try!(self.show_line(f, i, c)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bufspan.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | try!(write!(f, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bufspan.rs:347:7 [INFO] [stderr] | [INFO] [stderr] 347 | try!(b.fmt(f)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:131:7 [INFO] [stderr] | [INFO] [stderr] 131 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:185:7 [INFO] [stderr] | [INFO] [stderr] 185 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:238:7 [INFO] [stderr] | [INFO] [stderr] 238 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:97:35 [INFO] [stderr] | [INFO] [stderr] 97 | let allocator: &Arc> = mem::transmute(&raw_allocator); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:168:29 [INFO] [stderr] | [INFO] [stderr] 168 | allocator: Option>>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:296:60 [INFO] [stderr] | [INFO] [stderr] 296 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:541:67 [INFO] [stderr] | [INFO] [stderr] 541 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:575:70 [INFO] [stderr] | [INFO] [stderr] 575 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:598:62 [INFO] [stderr] | [INFO] [stderr] 598 | pub fn deep_clone_with_allocator(&self, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/iobuf.rs:50:58 [INFO] [stderr] | [INFO] [stderr] 50 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static>; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:302:67 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> ROIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:329:70 [INFO] [stderr] | [INFO] [stderr] 329 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> ROIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:395:60 [INFO] [stderr] | [INFO] [stderr] 395 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:422:67 [INFO] [stderr] | [INFO] [stderr] 422 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:473:70 [INFO] [stderr] | [INFO] [stderr] 473 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:968:58 [INFO] [stderr] | [INFO] [stderr] 968 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:1181:58 [INFO] [stderr] | [INFO] [stderr] 1181 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:1390:58 [INFO] [stderr] | [INFO] [stderr] 1390 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/appendbuf.rs:70:60 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> AppendBuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/raw.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/raw.rs:354:37 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/raw.rs:1168:22 [INFO] [stderr] | [INFO] [stderr] 1168 | let mut dst: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `alloc::heap` [INFO] [stderr] --> src/raw.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::heap::{Heap, Alloc, Layout}; [INFO] [stderr] | ^^^^ could not find `heap` in `alloc` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/raw.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/iobuf.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `core::nonzero` [INFO] [stderr] --> src/impls.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use core::nonzero::NonZero; [INFO] [stderr] | ^^^^^^^ could not find `nonzero` in `core` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:322:5 [INFO] [stderr] | [INFO] [stderr] 322 | try!(self.inv_check(self.lo_min() <= self.hi_max(), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:325:5 [INFO] [stderr] | [INFO] [stderr] 325 | try!(self.inv_check(self.lo() <= self.hi(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:328:5 [INFO] [stderr] | [INFO] [stderr] 328 | try!(self.inv_check(self.lo_min() <= self.lo(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:331:5 [INFO] [stderr] | [INFO] [stderr] 331 | try!(self.inv_check(self.hi() <= self.hi_max(), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:705:7 [INFO] [stderr] | [INFO] [stderr] 705 | try!(self.check_range_u32(pos, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:713:7 [INFO] [stderr] | [INFO] [stderr] 713 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:721:7 [INFO] [stderr] | [INFO] [stderr] 721 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:749:7 [INFO] [stderr] | [INFO] [stderr] 749 | try!(self.check_range_u32(pos, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:757:7 [INFO] [stderr] | [INFO] [stderr] 757 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:765:7 [INFO] [stderr] | [INFO] [stderr] 765 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:798:5 [INFO] [stderr] | [INFO] [stderr] 798 | try!(err_if(new_hi_max < new_lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:799:5 [INFO] [stderr] | [INFO] [stderr] 799 | try!(err_if(new_hi < new_lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:800:5 [INFO] [stderr] | [INFO] [stderr] 800 | try!(err_if(new_lo_min < lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:801:5 [INFO] [stderr] | [INFO] [stderr] 801 | try!(err_if(new_hi_max > self.hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:802:5 [INFO] [stderr] | [INFO] [stderr] 802 | try!(err_if(new_lo < self.lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:803:5 [INFO] [stderr] | [INFO] [stderr] 803 | try!(err_if(new_hi > self.hi)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:820:5 [INFO] [stderr] | [INFO] [stderr] 820 | try!(err_if(new_hi_max < new_lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:821:5 [INFO] [stderr] | [INFO] [stderr] 821 | try!(err_if(new_hi < new_lo)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:822:5 [INFO] [stderr] | [INFO] [stderr] 822 | try!(err_if(new_lo_min < lo_min)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:823:5 [INFO] [stderr] | [INFO] [stderr] 823 | try!(err_if(new_hi_max > self.hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:859:7 [INFO] [stderr] | [INFO] [stderr] 859 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:879:7 [INFO] [stderr] | [INFO] [stderr] 879 | try!(err_if(new_hi > hi_max)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:913:7 [INFO] [stderr] | [INFO] [stderr] 913 | try!(err_if(!self.is_extended_by(other))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:921:7 [INFO] [stderr] | [INFO] [stderr] 921 | try!(self.check_range_u32(0, len)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:936:7 [INFO] [stderr] | [INFO] [stderr] 936 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:953:7 [INFO] [stderr] | [INFO] [stderr] 953 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:970:7 [INFO] [stderr] | [INFO] [stderr] 970 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:987:7 [INFO] [stderr] | [INFO] [stderr] 987 | try!(self.check_range_u32(pos, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1059:7 [INFO] [stderr] | [INFO] [stderr] 1059 | try!(self.check_range_usize(pos, dst.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1067:7 [INFO] [stderr] | [INFO] [stderr] 1067 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1075:7 [INFO] [stderr] | [INFO] [stderr] 1075 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1083:7 [INFO] [stderr] | [INFO] [stderr] 1083 | try!(self.check_range_usize(pos, src.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1091:7 [INFO] [stderr] | [INFO] [stderr] 1091 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1099:7 [INFO] [stderr] | [INFO] [stderr] 1099 | try!(self.check_range_u32(pos, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1107:7 [INFO] [stderr] | [INFO] [stderr] 1107 | try!(self.check_range_usize(0, src.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1115:7 [INFO] [stderr] | [INFO] [stderr] 1115 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1123:7 [INFO] [stderr] | [INFO] [stderr] 1123 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1131:7 [INFO] [stderr] | [INFO] [stderr] 1131 | try!(self.check_range_usize(0, dst.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1139:7 [INFO] [stderr] | [INFO] [stderr] 1139 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1147:7 [INFO] [stderr] | [INFO] [stderr] 1147 | try!(self.check_range_u32(0, mem::size_of::() as u32)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1296:7 [INFO] [stderr] | [INFO] [stderr] 1296 | try!(write!(f, "{:02x} ", x)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1306:7 [INFO] [stderr] | [INFO] [stderr] 1306 | try!(write!(f, "{}", c)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1315:37 [INFO] [stderr] | [INFO] [stderr] 1315 | if self.len() <= 1 << 8 { try!(write!(f, "0x{:02x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1316:37 [INFO] [stderr] | [INFO] [stderr] 1316 | else if self.len() <= 1 << 16 { try!(write!(f, "0x{:04x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1317:37 [INFO] [stderr] | [INFO] [stderr] 1317 | else if self.len() <= 1 << 24 { try!(write!(f, "0x{:06x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1318:37 [INFO] [stderr] | [INFO] [stderr] 1318 | else { try!(write!(f, "0x{:08x}", line_number * 8)) } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1320:5 [INFO] [stderr] | [INFO] [stderr] 1320 | try!(write!(f, ": ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1331:5 [INFO] [stderr] | [INFO] [stderr] 1331 | try!(self.show_hex(f, left_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1332:5 [INFO] [stderr] | [INFO] [stderr] 1332 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1333:5 [INFO] [stderr] | [INFO] [stderr] 1333 | try!(self.show_ascii(f, left_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1334:5 [INFO] [stderr] | [INFO] [stderr] 1334 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1338:9 [INFO] [stderr] | [INFO] [stderr] 1338 | try!(self.show_ascii(f, right_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1339:9 [INFO] [stderr] | [INFO] [stderr] 1339 | try!(write!(f, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1340:9 [INFO] [stderr] | [INFO] [stderr] 1340 | try!(self.show_hex(f, right_slice)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1349:5 [INFO] [stderr] | [INFO] [stderr] 1349 | try!(write!(f, "{} IObuf, limits=[{},{}), bounds=[{},{})\n", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/raw.rs:1357:7 [INFO] [stderr] | [INFO] [stderr] 1357 | try!(self.show_line(f, i, c)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bufspan.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | try!(write!(f, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bufspan.rs:347:7 [INFO] [stderr] | [INFO] [stderr] 347 | try!(b.fmt(f)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:131:7 [INFO] [stderr] | [INFO] [stderr] 131 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:185:7 [INFO] [stderr] | [INFO] [stderr] 185 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/appendbuf.rs:238:7 [INFO] [stderr] | [INFO] [stderr] 238 | try!(ret.expand_limits_and_window(lim, lim)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:97:35 [INFO] [stderr] | [INFO] [stderr] 97 | let allocator: &Arc> = mem::transmute(&raw_allocator); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:168:29 [INFO] [stderr] | [INFO] [stderr] 168 | allocator: Option>>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:296:60 [INFO] [stderr] | [INFO] [stderr] 296 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:541:67 [INFO] [stderr] | [INFO] [stderr] 541 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:575:70 [INFO] [stderr] | [INFO] [stderr] 575 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raw.rs:598:62 [INFO] [stderr] | [INFO] [stderr] 598 | pub fn deep_clone_with_allocator(&self, allocator: Arc>) -> RawIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/iobuf.rs:50:58 [INFO] [stderr] | [INFO] [stderr] 50 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static>; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:302:67 [INFO] [stderr] | [INFO] [stderr] 302 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> ROIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:329:70 [INFO] [stderr] | [INFO] [stderr] 329 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> ROIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:395:60 [INFO] [stderr] | [INFO] [stderr] 395 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:422:67 [INFO] [stderr] | [INFO] [stderr] 422 | pub fn from_str_copy_with_allocator(s: &str, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:473:70 [INFO] [stderr] | [INFO] [stderr] 473 | pub fn from_slice_copy_with_allocator(s: &[u8], allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:968:58 [INFO] [stderr] | [INFO] [stderr] 968 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:1181:58 [INFO] [stderr] | [INFO] [stderr] 1181 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/impls.rs:1390:58 [INFO] [stderr] | [INFO] [stderr] 1390 | fn deep_clone_with_allocator(&self, allocator: Arc>) -> RWIobuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/appendbuf.rs:70:60 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new_with_allocator(len: usize, allocator: Arc>) -> AppendBuf<'static> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Allocator` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/raw.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use core::ptr::Unique; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/raw.rs:354:37 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: use of deprecated item 'std::mem::uninitialized': use `mem::MaybeUninit` instead [INFO] [stderr] --> src/raw.rs:1168:22 [INFO] [stderr] | [INFO] [stderr] 1168 | let mut dst: T = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/raw.rs:292:29 [INFO] [stderr] | [INFO] [stderr] 292 | RawIobuf::new_impl(len, None) [INFO] [stderr] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/raw.rs:354:37 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/raw.rs:354:53 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/raw.rs:292:29 [INFO] [stderr] | [INFO] [stderr] 292 | RawIobuf::new_impl(len, None) [INFO] [stderr] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/raw.rs:354:37 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/raw.rs:354:53 [INFO] [stderr] | [INFO] [stderr] 354 | buf: unsafe { NonZero::new(Unique::empty().as_ptr()) }, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: add `#![feature(ptr_internals)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 87 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `iobuf`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 87 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0432, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `iobuf`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7dfb41d08f0a8dd66d743d784f56106f3b9575c6d318b0ccd5b530c5768a1d6a"` [INFO] running `"docker" "rm" "-f" "7dfb41d08f0a8dd66d743d784f56106f3b9575c6d318b0ccd5b530c5768a1d6a"` [INFO] [stdout] 7dfb41d08f0a8dd66d743d784f56106f3b9575c6d318b0ccd5b530c5768a1d6a