[INFO] fetching crate event-stream-processor 1.0.0... [INFO] checking event-stream-processor-1.0.0 against try#213ba58857e42241934d114390dfcd0779fc4662 for pr-148943 [INFO] extracting crate event-stream-processor 1.0.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate event-stream-processor 1.0.0 on toolchain 213ba58857e42241934d114390dfcd0779fc4662 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+213ba58857e42241934d114390dfcd0779fc4662" "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" "+213ba58857e42241934d114390dfcd0779fc4662" "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" "+213ba58857e42241934d114390dfcd0779fc4662" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+213ba58857e42241934d114390dfcd0779fc4662" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c626adf10ad5d2913bcb70b41c853dcd872efb71e908d9aacd39991f8c41e82 [INFO] running `Command { std: "docker" "start" "-a" "7c626adf10ad5d2913bcb70b41c853dcd872efb71e908d9aacd39991f8c41e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c626adf10ad5d2913bcb70b41c853dcd872efb71e908d9aacd39991f8c41e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c626adf10ad5d2913bcb70b41c853dcd872efb71e908d9aacd39991f8c41e82", kill_on_drop: false }` [INFO] [stdout] 7c626adf10ad5d2913bcb70b41c853dcd872efb71e908d9aacd39991f8c41e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+213ba58857e42241934d114390dfcd0779fc4662" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8013c4c636b24803a510ce5daad0ca23070f4f6d3de14ddb03b198491541e200 [INFO] running `Command { std: "docker" "start" "-a" "8013c4c636b24803a510ce5daad0ca23070f4f6d3de14ddb03b198491541e200", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [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 tokio-stream v0.1.17 [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] running `Command { std: "docker" "inspect" "8013c4c636b24803a510ce5daad0ca23070f4f6d3de14ddb03b198491541e200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8013c4c636b24803a510ce5daad0ca23070f4f6d3de14ddb03b198491541e200", kill_on_drop: false }` [INFO] [stdout] 8013c4c636b24803a510ce5daad0ca23070f4f6d3de14ddb03b198491541e200