[INFO] fetching crate cppStream 0.1.1... [INFO] testing cppStream-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cppStream 0.1.1 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cppStream 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-tc1/source/examples/example.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `example` [INFO] [stderr] * `example` target `example` [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f829658108d03178701889965dfa0b68ed50b8282d2fe7a07394ff22eee3db4 [INFO] running `Command { std: "docker" "start" "-a" "4f829658108d03178701889965dfa0b68ed50b8282d2fe7a07394ff22eee3db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f829658108d03178701889965dfa0b68ed50b8282d2fe7a07394ff22eee3db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f829658108d03178701889965dfa0b68ed50b8282d2fe7a07394ff22eee3db4", kill_on_drop: false }` [INFO] [stdout] 4f829658108d03178701889965dfa0b68ed50b8282d2fe7a07394ff22eee3db4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 56b13709fc0ea8079d95f762a116c542dd1de6421a6f4ae943abeb797ae03e5b [INFO] running `Command { std: "docker" "start" "-a" "56b13709fc0ea8079d95f762a116c542dd1de6421a6f4ae943abeb797ae03e5b", 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 (you are using 1.89.0-nightly (8de4c7234 2025-06-19)); 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] [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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [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[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] [stderr] error: could not compile `cppStream` (lib) due to 34 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "56b13709fc0ea8079d95f762a116c542dd1de6421a6f4ae943abeb797ae03e5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56b13709fc0ea8079d95f762a116c542dd1de6421a6f4ae943abeb797ae03e5b", kill_on_drop: false }` [INFO] [stdout] 56b13709fc0ea8079d95f762a116c542dd1de6421a6f4ae943abeb797ae03e5b