[INFO] fetching crate event-stream-processor 1.0.0... [INFO] checking event-stream-processor-1.0.0 against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] extracting crate event-stream-processor 1.0.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate event-stream-processor 1.0.0 [INFO] finished tweaking crates.io crate event-stream-processor 1.0.0 [INFO] tweaked toml for crates.io crate event-stream-processor 1.0.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate event-stream-processor 1.0.0 on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91573a67d70aea7725806045a474802a37c6a7087ad40e51215ccf33db3e4b1 [INFO] running `Command { std: "docker" "start" "-a" "f91573a67d70aea7725806045a474802a37c6a7087ad40e51215ccf33db3e4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91573a67d70aea7725806045a474802a37c6a7087ad40e51215ccf33db3e4b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91573a67d70aea7725806045a474802a37c6a7087ad40e51215ccf33db3e4b1", kill_on_drop: false }` [INFO] [stdout] f91573a67d70aea7725806045a474802a37c6a7087ad40e51215ccf33db3e4b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b465649357033db4abac52cac2f230a8fcf8d2e78a18cc5aa28838d91669397 [INFO] running `Command { std: "docker" "start" "-a" "2b465649357033db4abac52cac2f230a8fcf8d2e78a18cc5aa28838d91669397", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking event-stream-processor v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] | ^^^ multiple `map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `tokio_stream::StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 84 - let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] 84 + let stream = tokio_stream::StreamExt::map(stream, Ok).into_async_read(); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 84 - let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] 84 + let stream = futures::StreamExt::map(stream, Ok).into_async_read(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `tokio_stream::StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 94 - let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] 94 + let message = tokio_stream::StreamExt::next(&mut messages).await.unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 94 - let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] 94 + let message = futures::StreamExt::next(&mut messages).await.unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 94 | let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `tokio_stream::StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 98 - let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] 98 + let message = tokio_stream::StreamExt::next(&mut messages).await.unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 98 - let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] 98 + let message = futures::StreamExt::next(&mut messages).await.unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | let message = messages.next().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] | ^^^ multiple `map` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `tokio_stream::StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 108 - let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] 108 + let stream = tokio_stream::StreamExt::map(stream, Ok).into_async_read(); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 108 - let stream = stream.map(Ok).into_async_read(); [INFO] [stdout] 108 + let stream = futures::StreamExt::map(stream, Ok).into_async_read(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | assert_matches!(messages.next().await.unwrap(), Err(..)); [INFO] [stdout] | ^^^^ multiple `next` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `tokio_stream::StreamExt` for the type `St` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `futures::StreamExt` for the type `T` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 119 - assert_matches!(messages.next().await.unwrap(), Err(..)); [INFO] [stdout] 119 + assert_matches!(tokio_stream::StreamExt::next(&mut messages).await.unwrap(), Err(..)); [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 119 - assert_matches!(messages.next().await.unwrap(), Err(..)); [INFO] [stdout] 119 + assert_matches!(futures::StreamExt::next(&mut messages).await.unwrap(), Err(..)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | assert_matches!(messages.next().await.unwrap(), Err(..)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event-stream-processor` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2b465649357033db4abac52cac2f230a8fcf8d2e78a18cc5aa28838d91669397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b465649357033db4abac52cac2f230a8fcf8d2e78a18cc5aa28838d91669397", kill_on_drop: false }` [INFO] [stdout] 2b465649357033db4abac52cac2f230a8fcf8d2e78a18cc5aa28838d91669397