[INFO] cloning repository https://github.com/gorilych/test-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gorilych/test-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilych%2Ftest-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilych%2Ftest-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7c39dcadb48ef2e75542dd1c979082fc85cbadc [INFO] testing gorilych/test-stream against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilych%2Ftest-stream" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gorilych/test-stream on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gorilych/test-stream [INFO] finished tweaking git repo https://github.com/gorilych/test-stream [INFO] tweaked toml for git repo https://github.com/gorilych/test-stream written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gorilych/test-stream already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f46d0feeef42563bfbf886e840128a99709456c52f2d6f4e51293e8a8502c12b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f46d0feeef42563bfbf886e840128a99709456c52f2d6f4e51293e8a8502c12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f46d0feeef42563bfbf886e840128a99709456c52f2d6f4e51293e8a8502c12b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f46d0feeef42563bfbf886e840128a99709456c52f2d6f4e51293e8a8502c12b", kill_on_drop: false }` [INFO] [stdout] f46d0feeef42563bfbf886e840128a99709456c52f2d6f4e51293e8a8502c12b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea2158f3ff245651e3a2a44e70631b65be3ef313877e776370b7a1379043a209 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ea2158f3ff245651e3a2a44e70631b65be3ef313877e776370b7a1379043a209", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling test-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: future cannot be shared between threads safely [INFO] [stdout] --> src/main.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | Ok(Box::pin(reads) as Self::ReadStream) [INFO] [stdout] | ^^^^^^^^^^^^^^^ future created by async block is not `Sync` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `dyn futures::Future, ()>> + std::marker::Send` [INFO] [stdout] note: future is not `Sync` as it awaits another future which is not `Sync` [INFO] [stdout] --> src/main.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | let reads = try_stream! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 28 | | while let Some(data) = blob_reader.read().await? { [INFO] [stdout] 29 | | yield ReadResponse{data}; [INFO] [stdout] 30 | | } [INFO] [stdout] 31 | | }; [INFO] [stdout] | |_________^ await occurs here on type `Pin, ()>> + std::marker::Send>>`, which is not `Sync` [INFO] [stdout] = note: required for the cast to the object type `dyn futures::Stream> + Sync + std::marker::Send` [INFO] [stdout] = note: this error originates in the macro `$crate::async_stream_impl::try_stream_inner` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-stream` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ea2158f3ff245651e3a2a44e70631b65be3ef313877e776370b7a1379043a209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2158f3ff245651e3a2a44e70631b65be3ef313877e776370b7a1379043a209", kill_on_drop: false }` [INFO] [stdout] ea2158f3ff245651e3a2a44e70631b65be3ef313877e776370b7a1379043a209