[INFO] fetching crate cppStream 0.1.1... [INFO] checking cppStream-0.1.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate cppStream 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cppStream 0.1.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cppStream 0.1.1 [INFO] finished tweaking crates.io crate cppStream 0.1.1 [INFO] tweaked toml for crates.io crate cppStream 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/examples/example.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `example` [INFO] [stderr] * `example` target `example` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f39125c84fd86b269cc46e88bbcda485fd9079df433945a2cc3b50f6d1b8f5e7 [INFO] running `Command { std: "docker" "start" "-a" "f39125c84fd86b269cc46e88bbcda485fd9079df433945a2cc3b50f6d1b8f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f39125c84fd86b269cc46e88bbcda485fd9079df433945a2cc3b50f6d1b8f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39125c84fd86b269cc46e88bbcda485fd9079df433945a2cc3b50f6d1b8f5e7", kill_on_drop: false }` [INFO] [stdout] f39125c84fd86b269cc46e88bbcda485fd9079df433945a2cc3b50f6d1b8f5e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a103f5a31959eb8ca1e1f6f3b02bc313a2faf7a6682c6e608aaf3e10b9f14a4 [INFO] running `Command { std: "docker" "start" "-a" "4a103f5a31959eb8ca1e1f6f3b02bc313a2faf7a6682c6e608aaf3e10b9f14a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: file `/opt/rustwide/workdir/examples/example.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `example` [INFO] [stderr] * `example` target `example` [INFO] [stderr] Checking cppStream v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/istream.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | *output = FromStr::from_str(&buf[]).unwrap_or_default(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/iostream.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | *output = FromStr::from_str(&buf[]).unwrap_or_default(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/istream.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | *output = FromStr::from_str(&buf[]).unwrap_or_default(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `]` [INFO] [stdout] --> src/iostream.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | *output = FromStr::from_str(&buf[]).unwrap_or_default(); [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::RefReader`, `std::io::ByRefReader` [INFO] [stdout] --> src/istream.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{RefReader,ByRefReader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `ByRefReader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `RefReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader,ByRefReader}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{RefReader,BufReader}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdinReader` [INFO] [stdout] --> src/istream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdinReader` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::ByRefWriter`, `std::io::RefWriter` [INFO] [stdout] --> src/ostream.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{ByRefWriter,RefWriter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ no `RefWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `ByRefWriter` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufWriter,RefWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{ByRefWriter,BufWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::LineBufferedWriter` [INFO] [stdout] --> src/ostream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::LineBufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LineBufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdWriter` [INFO] [stdout] --> src/ostream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::stdio::StdWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdWriter` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Stream` [INFO] [stdout] --> src/iostream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Stream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Writer`, `std::io::Reader` [INFO] [stdout] --> src/iostream.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Writer,Reader}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `Reader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Writer` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Write,Reader}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Writer,Read}; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/iostream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | impl IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait ToIStream<'a> where Self: ByRefReader + Reader + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a,B> ToIStream<'a> for B where B: ByRefReader + Reader + Sized {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait AsIStream where Self: Reader + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | impl AsIStream for R where R: Reader + Sized {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | impl Clone for IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'b,F,R> Shr<&'b mut F> for IStream where R: Reader, F: FromStr + Default { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn istream(reader: R) -> IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | impl OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ToOStream<'a> where Self: ByRefWriter + Writer + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a,B> ToOStream<'a> for B where B: ByRefWriter + Writer {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait AsOStream where Self: Writer + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | impl AsOStream for W where W: Writer {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | impl Shl for OStream where W: Writer, T: fmt::Show { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/ostream.rs:39:58 [INFO] [stdout] | [INFO] [stdout] 39 | impl Shl for OStream where W: Writer, T: fmt::Show { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | impl Clone for OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn ostream(writer: R) -> OStream where R: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/iostream.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | impl Shl for IOStream where S: Stream, T: fmt::Show { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/istream.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/ostream.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::stdio::StdWriter; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::RefReader`, `std::io::ByRefReader` [INFO] [stdout] --> src/istream.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{RefReader,ByRefReader}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ no `ByRefReader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `RefReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufReader,ByRefReader}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{RefReader,BufReader}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `old_orphan_check` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(old_orphan_check)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdinReader` [INFO] [stdout] --> src/istream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdinReader` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::ByRefWriter`, `std::io::RefWriter` [INFO] [stdout] --> src/ostream.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{ByRefWriter,RefWriter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ no `RefWriter` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `ByRefWriter` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{BufWriter,RefWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{ByRefWriter,BufWriter}; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::LineBufferedWriter` [INFO] [stdout] --> src/ostream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::LineBufferedWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LineBufferedWriter` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::stdio::StdWriter` [INFO] [stdout] --> src/ostream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::stdio::StdWriter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `StdWriter` in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Stream` [INFO] [stdout] --> src/iostream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Stream` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::Writer`, `std::io::Reader` [INFO] [stdout] --> src/iostream.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Writer,Reader}; [INFO] [stdout] | ^^^^^^ ^^^^^^ no `Reader` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `Writer` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Write,Reader}; [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Writer,Read}; [INFO] [stdout] | ~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0557, E0603, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/iostream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::IoResult; [INFO] [stdout] | ^^^^^^^^^-------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Result` [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::TcpStream` [INFO] [stdout] --> src/iostream.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | use std::io::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `TcpStream` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 125 | use std::net::TcpStream; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cppStream` (lib) due to 34 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | impl IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait ToIStream<'a> where Self: ByRefReader + Reader + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:28:55 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a,B> ToIStream<'a> for B where B: ByRefReader + Reader + Sized {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | pub trait AsIStream where Self: Reader + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | impl AsIStream for R where R: Reader + Sized {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | impl Clone for IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'b,F,R> Shr<&'b mut F> for IStream where R: Reader, F: FromStr + Default { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/istream.rs:71:53 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn istream(reader: R) -> IStream where R: Reader { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/istream.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in range(0is,5) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | impl OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:23:51 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait ToOStream<'a> where Self: ByRefWriter + Writer + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a,B> ToOStream<'a> for B where B: ByRefWriter + Writer {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait AsOStream where Self: Writer + Sized { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | impl AsOStream for W where W: Writer {} [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | impl Shl for OStream where W: Writer, T: fmt::Show { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/ostream.rs:39:58 [INFO] [stdout] | [INFO] [stdout] 39 | impl Shl for OStream where W: Writer, T: fmt::Show { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | impl Clone for OStream where W: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/ostream.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn ostream(writer: R) -> OStream where R: Writer { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/iostream.rs:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | impl Shl for IOStream where S: Stream, T: fmt::Show { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/istream.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::stdio::StdinReader; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/ostream.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::stdio::StdWriter; [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/std/src/io/mod.rs:338:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/istream.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | for _ in range(0is,5) { [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/istream.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | let mut d = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/ostream.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | vecout << 1is << 2us << 3f64 << "good C++" << endl; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/ostream.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | vecout << 1is << 2us << 3f64 << "good C++" << endl; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/ostream.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | cout << 1is << 2us << 3f64 << endl; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `us` for number literal [INFO] [stdout] --> src/ostream.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | cout << 1is << 2us << 3f64 << endl; [INFO] [stdout] | ^^^ invalid suffix `us` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `is` for number literal [INFO] [stdout] --> src/iostream.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut a = 0is; [INFO] [stdout] | ^^^ invalid suffix `is` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `old_orphan_check` [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(old_orphan_check)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0557, E0603, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cppStream` (lib test) due to 43 previous errors [INFO] running `Command { std: "docker" "inspect" "4a103f5a31959eb8ca1e1f6f3b02bc313a2faf7a6682c6e608aaf3e10b9f14a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a103f5a31959eb8ca1e1f6f3b02bc313a2faf7a6682c6e608aaf3e10b9f14a4", kill_on_drop: false }` [INFO] [stdout] 4a103f5a31959eb8ca1e1f6f3b02bc313a2faf7a6682c6e608aaf3e10b9f14a4