[INFO] fetching crate cppStream 0.1.1... [INFO] checking cppStream-0.1.1 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate cppStream 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cppStream 0.1.1 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/examples/example.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b766a2ccc902d068ccb556301ae4eed6231c59942a085cc0012493eedb7bda37 [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" "b766a2ccc902d068ccb556301ae4eed6231c59942a085cc0012493eedb7bda37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b766a2ccc902d068ccb556301ae4eed6231c59942a085cc0012493eedb7bda37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b766a2ccc902d068ccb556301ae4eed6231c59942a085cc0012493eedb7bda37", kill_on_drop: false }` [INFO] [stdout] b766a2ccc902d068ccb556301ae4eed6231c59942a085cc0012493eedb7bda37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a693e444482825c8799e2935c183b54985645720a838e26d42202abb22d0dea4 [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" "a693e444482825c8799e2935c183b54985645720a838e26d42202abb22d0dea4", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/example.rs [INFO] [stderr] Checking cppStream v0.1.1 (/opt/rustwide/workdir) [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: 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: 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: 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[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[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] [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: 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: 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: 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[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[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[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[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[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[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[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] [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] [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] [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] [INFO] [stdout] [INFO] [stderr] error: could not compile `cppStream` [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/iostream.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to 41 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0603. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/iostream.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a693e444482825c8799e2935c183b54985645720a838e26d42202abb22d0dea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a693e444482825c8799e2935c183b54985645720a838e26d42202abb22d0dea4", kill_on_drop: false }` [INFO] [stdout] a693e444482825c8799e2935c183b54985645720a838e26d42202abb22d0dea4