[INFO] cloning repository https://github.com/djherbis/rust-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/djherbis/rust-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjherbis%2Frust-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjherbis%2Frust-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4eae0171bede89eeaff34d0bacedeefc22228bd8 [INFO] testing djherbis/rust-stream against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdjherbis%2Frust-stream" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/djherbis/rust-stream on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/djherbis/rust-stream [INFO] finished tweaking git repo https://github.com/djherbis/rust-stream [INFO] tweaked toml for git repo https://github.com/djherbis/rust-stream written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/djherbis/rust-stream already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e316e9ad8f3beb1cd4071e15103c6606a1c6e8d241112195dd889ee8cb1ea85 [INFO] running `Command { std: "docker" "start" "-a" "4e316e9ad8f3beb1cd4071e15103c6606a1c6e8d241112195dd889ee8cb1ea85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e316e9ad8f3beb1cd4071e15103c6606a1c6e8d241112195dd889ee8cb1ea85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e316e9ad8f3beb1cd4071e15103c6606a1c6e8d241112195dd889ee8cb1ea85", kill_on_drop: false }` [INFO] [stdout] 4e316e9ad8f3beb1cd4071e15103c6606a1c6e8d241112195dd889ee8cb1ea85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b684766556a1dc6481045774aa31e5996b5d47e89ffec0260a023627dab82f0 [INFO] running `Command { std: "docker" "start" "-a" "8b684766556a1dc6481045774aa31e5996b5d47e89ffec0260a023627dab82f0", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | try!(new_vec.write(data)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(new_vec.write(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | try!(self.write(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | let amount_written = try!(writer.write(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | let amount_read = try!(reader.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(new_data) = unsafe { try!(data.append(buf)) } { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 123 | let amount_read = try!(self.data.read().unwrap().clone().read(buf, self.read_start)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let n = try!(self.data.write(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let f = try!(File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let r = try!(self.data.reader()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let r = try!(self.data.reader()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let n = try!(self.data.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let pos = try!(self.data.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let n = try!(self.data.read(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | let pos = try!(self.data.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use self::alloc::raw_vec::RawVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | data: RawVec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | data: RawVec::with_capacity(cap), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | data: RawVec::with_capacity(cap), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/buffer.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | if self.data.cap() - self.len() >= buf.len() { [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stream` due to 10 previous errors; 16 warnings emitted [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | let data = slice::from_raw_parts(self.data.ptr(), self.len()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | let write_start = self.data.ptr().offset(len as isize); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cap` found for struct `RawVec` in the current scope [INFO] [stdout] --> src/buffer.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let remaining = self.data.cap() - len; [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'raw_vec_internals': implementation detail [INFO] [stdout] --> src/buffer.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | let read_start = self.data.ptr().offset(from as isize); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(raw_vec_internals)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b684766556a1dc6481045774aa31e5996b5d47e89ffec0260a023627dab82f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b684766556a1dc6481045774aa31e5996b5d47e89ffec0260a023627dab82f0", kill_on_drop: false }` [INFO] [stdout] 8b684766556a1dc6481045774aa31e5996b5d47e89ffec0260a023627dab82f0