[INFO] cloning repository https://github.com/hurlebouc/hershell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hurlebouc/hershell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5722347e964a7ba877759ff89241aa43177d304 [INFO] checking hurlebouc/hershell against master#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hurlebouc/hershell on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hurlebouc/hershell [INFO] finished tweaking git repo https://github.com/hurlebouc/hershell [INFO] tweaked toml for git repo https://github.com/hurlebouc/hershell written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hurlebouc/hershell already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8803ea05429936a0eed4c95e7fa294ecfd962cbb687e7d7f5fa6f2210b9b715 [INFO] running `Command { std: "docker" "start" "-a" "f8803ea05429936a0eed4c95e7fa294ecfd962cbb687e7d7f5fa6f2210b9b715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8803ea05429936a0eed4c95e7fa294ecfd962cbb687e7d7f5fa6f2210b9b715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8803ea05429936a0eed4c95e7fa294ecfd962cbb687e7d7f5fa6f2210b9b715", kill_on_drop: false }` [INFO] [stdout] f8803ea05429936a0eed4c95e7fa294ecfd962cbb687e7d7f5fa6f2210b9b715 [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=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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2675a9f831636dd522e6c6a9be001dfefb93e4e821df88754fa4e7ffbafdbdc4 [INFO] running `Command { std: "docker" "start" "-a" "2675a9f831636dd522e6c6a9be001dfefb93e4e821df88754fa4e7ffbafdbdc4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hershell v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.38s [INFO] running `Command { std: "docker" "inspect" "2675a9f831636dd522e6c6a9be001dfefb93e4e821df88754fa4e7ffbafdbdc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2675a9f831636dd522e6c6a9be001dfefb93e4e821df88754fa4e7ffbafdbdc4", kill_on_drop: false }` [INFO] [stdout] 2675a9f831636dd522e6c6a9be001dfefb93e4e821df88754fa4e7ffbafdbdc4 [INFO] checking hurlebouc/hershell against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hurlebouc/hershell on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hurlebouc/hershell [INFO] finished tweaking git repo https://github.com/hurlebouc/hershell [INFO] tweaked toml for git repo https://github.com/hurlebouc/hershell written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hurlebouc/hershell already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 262f4d71e3b5a8022373b0e8de81b23ec47d1cb8bf7b2e008c652bd6e26d52a4 [INFO] running `Command { std: "docker" "start" "-a" "262f4d71e3b5a8022373b0e8de81b23ec47d1cb8bf7b2e008c652bd6e26d52a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "262f4d71e3b5a8022373b0e8de81b23ec47d1cb8bf7b2e008c652bd6e26d52a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "262f4d71e3b5a8022373b0e8de81b23ec47d1cb8bf7b2e008c652bd6e26d52a4", kill_on_drop: false }` [INFO] [stdout] 262f4d71e3b5a8022373b0e8de81b23ec47d1cb8bf7b2e008c652bd6e26d52a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9b2ec8a7e4db6f14e5a4bb5d75fd6df8bc9a0eaff2e579e379b167f75b4b4af [INFO] running `Command { std: "docker" "start" "-a" "a9b2ec8a7e4db6f14e5a4bb5d75fd6df8bc9a0eaff2e579e379b167f75b4b4af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hershell v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/process.rs:794:43 [INFO] [stdout] | [INFO] [stdout] 794 | .try_fold("".to_string(), |s, b| async move { [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/process.rs:794:39 [INFO] [stdout] | [INFO] [stdout] 794 | .try_fold("".to_string(), |s, b| async move { [INFO] [stdout] | ______________--------_________________^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 795 | | println!("STDOUT: {}", String::from_utf8_lossy(&b)); [INFO] [stdout] 796 | | Ok(s + &String::from_utf8_lossy(&b)) [INFO] [stdout] 797 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____________expected due to this [INFO] [stdout] | found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(String, bytes::Bytes) -> _` [INFO] [stdout] found function signature `fn(String, [u8]) -> _` [INFO] [stdout] note: required by a bound in `futures::TryStreamExt::try_fold` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/stream/try_stream/mod.rs:926:34 [INFO] [stdout] | [INFO] [stdout] 924 | fn try_fold(self, init: T, f: F) -> TryFold [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 925 | where [INFO] [stdout] 926 | F: FnMut(T, Self::Ok) -> Fut, [INFO] [stdout] | ^^^ required by this bound in `TryStreamExt::try_fold` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `&Cow<'_, str>` to `String` [INFO] [stdout] --> src/process.rs:796:22 [INFO] [stdout] | [INFO] [stdout] 796 | Ok(s + &String::from_utf8_lossy(&b)) [INFO] [stdout] | ^ no implementation for `String + &Cow<'_, str>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Add<&Cow<'_, str>>` is not implemented for `String` [INFO] [stdout] = help: the trait `Add<&str>` is implemented for `String` [INFO] [stdout] = help: for that trait implementation, expected `str`, found `Cow<'_, str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/process.rs:798:14 [INFO] [stdout] | [INFO] [stdout] 798 | .await; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(String, bytes::Bytes) -> _` [INFO] [stdout] found function signature `fn(String, [u8]) -> _` [INFO] [stdout] = note: required for `TryFold>, ..., ...>, ..., ..., ...>` to implement `futures::Future` [INFO] [stdout] = note: required for `TryFold>, ..., ...>, ..., ..., ...>` to implement `std::future::IntoFuture` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hershell-81d5cada8620509c.long-type-6188362055399179516.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/hershell-81d5cada8620509c.long-type-6188362055399179516.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hershell` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "a9b2ec8a7e4db6f14e5a4bb5d75fd6df8bc9a0eaff2e579e379b167f75b4b4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9b2ec8a7e4db6f14e5a4bb5d75fd6df8bc9a0eaff2e579e379b167f75b4b4af", kill_on_drop: false }` [INFO] [stdout] a9b2ec8a7e4db6f14e5a4bb5d75fd6df8bc9a0eaff2e579e379b167f75b4b4af