[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] checking gorilych/test-stream against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgorilych%2Ftest-stream" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gorilych/test-stream on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gorilych/test-stream 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b96d49e0d8a44b64af8645c5b14b25d6965901633074f32025726a95bf951659 [INFO] running `Command { std: "docker" "start" "-a" "b96d49e0d8a44b64af8645c5b14b25d6965901633074f32025726a95bf951659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b96d49e0d8a44b64af8645c5b14b25d6965901633074f32025726a95bf951659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96d49e0d8a44b64af8645c5b14b25d6965901633074f32025726a95bf951659", kill_on_drop: false }` [INFO] [stdout] b96d49e0d8a44b64af8645c5b14b25d6965901633074f32025726a95bf951659 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0aa99cbe887a2f4808bb52edd91ed4430c76e96494746b4a1bc8ecf30a26e87d [INFO] running `Command { std: "docker" "start" "-a" "0aa99cbe887a2f4808bb52edd91ed4430c76e96494746b4a1bc8ecf30a26e87d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking 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 from `Pin, ...>>>` to `Pin> + std::marker::Send + Sync>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_stream-9fa8562a293a269d.long-type-5704236599154152858.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::async_stream_impl::try_stream_inner` which comes from the expansion of the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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 from `Pin, ...>>>` to `Pin> + std::marker::Send + Sync>>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/test_stream-8d562bb6eceba355.long-type-10594905090955505218.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `$crate::async_stream_impl::try_stream_inner` which comes from the expansion of the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test-stream` (bin "test-stream") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `test-stream` (bin "test-stream" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0aa99cbe887a2f4808bb52edd91ed4430c76e96494746b4a1bc8ecf30a26e87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa99cbe887a2f4808bb52edd91ed4430c76e96494746b4a1bc8ecf30a26e87d", kill_on_drop: false }` [INFO] [stdout] 0aa99cbe887a2f4808bb52edd91ed4430c76e96494746b4a1bc8ecf30a26e87d