[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#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hurlebouc/hershell on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "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-0-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 318831e6ae517d78a96caad5117a3af178a8496d9645eabef3b6bb4ca5f89961 [INFO] running `Command { std: "docker" "start" "-a" "318831e6ae517d78a96caad5117a3af178a8496d9645eabef3b6bb4ca5f89961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "318831e6ae517d78a96caad5117a3af178a8496d9645eabef3b6bb4ca5f89961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318831e6ae517d78a96caad5117a3af178a8496d9645eabef3b6bb4ca5f89961", kill_on_drop: false }` [INFO] [stdout] 318831e6ae517d78a96caad5117a3af178a8496d9645eabef3b6bb4ca5f89961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54f4be7862c8347960c14cd3207661e094a408ac5d64ca6c5ed18cfcee6a1b67 [INFO] running `Command { std: "docker" "start" "-a" "54f4be7862c8347960c14cd3207661e094a408ac5d64ca6c5ed18cfcee6a1b67", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [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 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 14.01s [INFO] running `Command { std: "docker" "inspect" "54f4be7862c8347960c14cd3207661e094a408ac5d64ca6c5ed18cfcee6a1b67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54f4be7862c8347960c14cd3207661e094a408ac5d64ca6c5ed18cfcee6a1b67", kill_on_drop: false }` [INFO] [stdout] 54f4be7862c8347960c14cd3207661e094a408ac5d64ca6c5ed18cfcee6a1b67 [INFO] checking hurlebouc/hershell against try#357cc345f0a672ac4bee347eb89b7552541416c1 for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhurlebouc%2Fhershell" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hurlebouc/hershell on toolchain 357cc345f0a672ac4bee347eb89b7552541416c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+357cc345f0a672ac4bee347eb89b7552541416c1" "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-0-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc8da2ec80977c6e64be68f92e1712aef4873e7cd1c2fabaef3f1c4f7c148e16 [INFO] running `Command { std: "docker" "start" "-a" "dc8da2ec80977c6e64be68f92e1712aef4873e7cd1c2fabaef3f1c4f7c148e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc8da2ec80977c6e64be68f92e1712aef4873e7cd1c2fabaef3f1c4f7c148e16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc8da2ec80977c6e64be68f92e1712aef4873e7cd1c2fabaef3f1c4f7c148e16", kill_on_drop: false }` [INFO] [stdout] dc8da2ec80977c6e64be68f92e1712aef4873e7cd1c2fabaef3f1c4f7c148e16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+357cc345f0a672ac4bee347eb89b7552541416c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7032ae705bba2caa566dfb023c9d6d9079339f844d3aac85a48aa5b2e850d3c9 [INFO] running `Command { std: "docker" "start" "-a" "7032ae705bba2caa566dfb023c9d6d9079339f844d3aac85a48aa5b2e850d3c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [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-14018427426669046793.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-14018427426669046793.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] [stderr] error: could not compile `hershell` (lib test) due to 5 previous errors [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7032ae705bba2caa566dfb023c9d6d9079339f844d3aac85a48aa5b2e850d3c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7032ae705bba2caa566dfb023c9d6d9079339f844d3aac85a48aa5b2e850d3c9", kill_on_drop: false }` [INFO] [stdout] 7032ae705bba2caa566dfb023c9d6d9079339f844d3aac85a48aa5b2e850d3c9