[INFO] fetching crate cppStream 0.1.1... [INFO] testing cppStream-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cppStream 0.1.1 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cppStream 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc2/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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 291069048b28a19a7ac8e592399ae4af75587b28304922022b9474f1057efac6 [INFO] running `Command { std: "docker" "start" "-a" "291069048b28a19a7ac8e592399ae4af75587b28304922022b9474f1057efac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "291069048b28a19a7ac8e592399ae4af75587b28304922022b9474f1057efac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "291069048b28a19a7ac8e592399ae4af75587b28304922022b9474f1057efac6", kill_on_drop: false }` [INFO] [stdout] 291069048b28a19a7ac8e592399ae4af75587b28304922022b9474f1057efac6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7848d749bb93240e60e756c0e5b95d3128b8596744276e647b195a3309b0cde [INFO] running `Command { std: "docker" "start" "-a" "e7848d749bb93240e60e756c0e5b95d3128b8596744276e647b195a3309b0cde", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] Compiling 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: removed in 1.70.0; see for more information [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::{RefReader,ByRefReader}; [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,ByRefReader}; [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::{ByRefWriter,RefWriter}; [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,RefWriter}; [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::{Writer,Reader}; [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,Reader}; [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] [stderr] error: could not compile `cppStream` (lib) due to 34 previous errors [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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:344: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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:344:1 [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, E0432, E0557, E0603, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7848d749bb93240e60e756c0e5b95d3128b8596744276e647b195a3309b0cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7848d749bb93240e60e756c0e5b95d3128b8596744276e647b195a3309b0cde", kill_on_drop: false }` [INFO] [stdout] e7848d749bb93240e60e756c0e5b95d3128b8596744276e647b195a3309b0cde