[INFO] cloning repository https://github.com/ranafge/rust_tokio_official_streams [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ranafge/rust_tokio_official_streams" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Frust_tokio_official_streams", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Frust_tokio_official_streams'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b03ad4aeafb606a87928de2dcad20d2a712db6b5 [INFO] building ranafge/rust_tokio_official_streams against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Franafge%2Frust_tokio_official_streams" "/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/ranafge/rust_tokio_official_streams [INFO] finished tweaking git repo https://github.com/ranafge/rust_tokio_official_streams [INFO] tweaked toml for git repo https://github.com/ranafge/rust_tokio_official_streams written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ranafge/rust_tokio_official_streams on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ranafge/rust_tokio_official_streams 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.13.0 [INFO] [stderr] Downloaded serde_json v1.0.111 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe14ce85f9b420957384a8f10a5b6a74f426afa005b427830bf5da326a3b8a2 [INFO] running `Command { std: "docker" "start" "-a" "fbe14ce85f9b420957384a8f10a5b6a74f426afa005b427830bf5da326a3b8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe14ce85f9b420957384a8f10a5b6a74f426afa005b427830bf5da326a3b8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe14ce85f9b420957384a8f10a5b6a74f426afa005b427830bf5da326a3b8a2", kill_on_drop: false }` [INFO] [stdout] fbe14ce85f9b420957384a8f10a5b6a74f426afa005b427830bf5da326a3b8a2 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58b2ff5cfd439a1e5c2c6fa9d734d9b064acd22624a5f23bee7cb7686e54a906 [INFO] running `Command { std: "docker" "start" "-a" "58b2ff5cfd439a1e5c2c6fa9d734d9b064acd22624a5f23bee7cb7686e54a906", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling rust_tokio_streams v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `stream` [INFO] [stdout] --> src/main.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | Ok(()) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 62 | [INFO] [stdout] 63 | stream!{ [INFO] [stdout] | ------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Delay` is not a future [INFO] [stdout] --> src/main.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | delay.await; [INFO] [stdout] | ^^^^^ `Delay` is not a future [INFO] [stdout] | [INFO] [stdout] help: the trait `Future` is not implemented for `Delay` [INFO] [stdout] --> src/main.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | struct Delay { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: Delay must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Delay` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 68 - delay.await; [INFO] [stdout] 68 + delay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 52 | #[tokio::main] [INFO] [stdout] | -------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 58 | subscribe().await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `AsyncStream<(), ...>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_tokio_streams-c3d1a6f54a51477f.long-type-11247756767618636497.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 54 | async fn main() -> mini_redis::Result<()> { [INFO] [stdout] | ---------------------- expected `Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>` because of return type [INFO] [stdout] ... [INFO] [stdout] 61 | / Ok(()) [INFO] [stdout] 62 | | [INFO] [stdout] 63 | |/ stream!{ [INFO] [stdout] 64 | || let mut when = Instant::now(); [INFO] [stdout] 65 | || [INFO] [stdout] 66 | || for _ in 0..3 { [INFO] [stdout] ... || [INFO] [stdout] 72 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_____| [INFO] [stdout] | |_____expected `Result<(), Box>`, found `AsyncStream<(), ...>` [INFO] [stdout] | the found `async` block [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] found struct `AsyncStream<(), {async block@/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-stream-0.3.5/src/lib.rs:193:9: 193:59}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `poll` found for struct `Pin<&mut Delay>` in the current scope [INFO] [stdout] --> src/main.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | match Pin::new(&mut self.delay).poll(cx) { [INFO] [stdout] | ^^^^ method not found in `Pin<&mut Delay>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `poll`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_tokio_streams` (bin "rust_tokio_streams") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "58b2ff5cfd439a1e5c2c6fa9d734d9b064acd22624a5f23bee7cb7686e54a906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58b2ff5cfd439a1e5c2c6fa9d734d9b064acd22624a5f23bee7cb7686e54a906", kill_on_drop: false }` [INFO] [stdout] 58b2ff5cfd439a1e5c2c6fa9d734d9b064acd22624a5f23bee7cb7686e54a906