[INFO] cloning repository https://github.com/chebits/hotpipe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chebits/hotpipe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebits%2Fhotpipe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebits%2Fhotpipe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2e5582adb9c5f19df84326ee8b72b057e7f0815 [INFO] testing chebits/hotpipe against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchebits%2Fhotpipe" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chebits/hotpipe on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chebits/hotpipe [INFO] finished tweaking git repo https://github.com/chebits/hotpipe [INFO] tweaked toml for git repo https://github.com/chebits/hotpipe written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/chebits/hotpipe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b9d2d06df8b058e69fe5284e3e426078e957c516b0e7f22934f470e6d6cca1f [INFO] running `Command { std: "docker" "start" "-a" "4b9d2d06df8b058e69fe5284e3e426078e957c516b0e7f22934f470e6d6cca1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b9d2d06df8b058e69fe5284e3e426078e957c516b0e7f22934f470e6d6cca1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9d2d06df8b058e69fe5284e3e426078e957c516b0e7f22934f470e6d6cca1f", kill_on_drop: false }` [INFO] [stdout] 4b9d2d06df8b058e69fe5284e3e426078e957c516b0e7f22934f470e6d6cca1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d51e5edf1bbb298539457e17805906aa121a79a333bafacb8dc17f73569c278f [INFO] running `Command { std: "docker" "start" "-a" "d51e5edf1bbb298539457e17805906aa121a79a333bafacb8dc17f73569c278f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling hotpipe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | let result = Binding::new(0, "") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 57 | [INFO] [stdout] 58 | let mut key = None; [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Binding` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use Binding; [INFO] [stdout] | ^^^^^^^ no external crate `Binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_config(source: Box) -> Binding { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn read_config(source: Box) -> Binding { [INFO] [stdout] 55 + fn read_config(source: Box) -> Binding { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | let reader : Box = match input { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - let reader : Box = match input { [INFO] [stdout] 39 + let reader : Box = match input { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let writer : Box = match output { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - let writer : Box = match output { [INFO] [stdout] 45 + let writer : Box = match output { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(()) [INFO] [stdout] | ^^^^^^- help: consider using a semicolon here: `;` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `Box<(dyn std::io::Read + 'static)>` in the current scope [INFO] [stdout] --> src/main.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | for line in source.lines() { [INFO] [stdout] | ^^^^^ method not found in `Box<(dyn std::io::Read + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hotpipe` due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d51e5edf1bbb298539457e17805906aa121a79a333bafacb8dc17f73569c278f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d51e5edf1bbb298539457e17805906aa121a79a333bafacb8dc17f73569c278f", kill_on_drop: false }` [INFO] [stdout] d51e5edf1bbb298539457e17805906aa121a79a333bafacb8dc17f73569c278f