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