[INFO] cloning repository https://github.com/sergorl/async_processing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergorl/async_processing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergorl%2Fasync_processing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergorl%2Fasync_processing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab1775513892ea0a7c4ef343e956fd802dc50851 [INFO] checking sergorl/async_processing against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergorl%2Fasync_processing" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sergorl/async_processing on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sergorl/async_processing [INFO] finished tweaking git repo https://github.com/sergorl/async_processing [INFO] tweaked toml for git repo https://github.com/sergorl/async_processing written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sergorl/async_processing already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded bytes v0.4.6 [INFO] [stderr] Downloaded futures v0.1.18 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded tokio-core v0.1.12 [INFO] [stderr] Downloaded tokio v0.1.0 [INFO] [stderr] Downloaded tokio-io v0.1.5 [INFO] [stderr] Downloaded mio v0.6.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 275e2139f0d58892f3ccd7651ae2497549496df567a8795e0c303be9a6341449 [INFO] running `Command { std: "docker" "start" "-a" "275e2139f0d58892f3ccd7651ae2497549496df567a8795e0c303be9a6341449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "275e2139f0d58892f3ccd7651ae2497549496df567a8795e0c303be9a6341449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275e2139f0d58892f3ccd7651ae2497549496df567a8795e0c303be9a6341449", kill_on_drop: false }` [INFO] [stdout] 275e2139f0d58892f3ccd7651ae2497549496df567a8795e0c303be9a6341449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d46611a8acc784233b93c3f6c729a38f7e7528dcf99fcb83657cedb809bf16ab [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" "d46611a8acc784233b93c3f6c729a38f7e7528dcf99fcb83657cedb809bf16ab", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking mio v0.6.13 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tokio-io v0.1.5 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Checking tokio v0.1.0 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking async_processing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `timeout` in this scope [INFO] [stdout] --> src/lib.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | let timeout = timeout(Duration::new(time_out, 0)).map(Err); [INFO] [stdout] | ^^^^^^^ help: a local variable with a similar name exists: `time_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_core::reactor::Timeout` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_core::reactor::Timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use futures::future::{Executor, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_io::io::copy` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use tokio_io::io::copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `timeout` in this scope [INFO] [stdout] --> src/lib.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | let timeout = timeout(Duration::new(time_out, 0)).map(Err); [INFO] [stdout] | ^^^^^^^ help: a local variable with a similar name exists: `time_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_core::reactor::Timeout` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio_core::reactor::Timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use futures::future::{Executor, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio_io::io::copy` [INFO] [stdout] --> src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use tokio_io::io::copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `select` found for closure `[closure@src/lib.rs:195:24: 200:18]` in the current scope [INFO] [stdout] --> src/lib.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 195 | let counting = move || { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | doesn't satisfy `_: futures::Future` [INFO] [stdout] ... [INFO] [stdout] 204 | let task = counting.select(timeout).then(|result| { [INFO] [stdout] | ^^^^^^ method not found in `[closure@src/lib.rs:195:24: 200:18]` [INFO] [stdout] | [INFO] [stdout] = note: `counting` is a function, perhaps you wish to call it [INFO] [stdout] = note: the method `select` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[closure@src/lib.rs:195:24: 200:18]: futures::Future` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: futures::Future` [INFO] [stdout] `[closure@src/lib.rs:195:24: 200:18]: Stream` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 205 | match result { [INFO] [stdout] | ------ this expression has type `std::result::Result<(Option<_>, _), _>` [INFO] [stdout] ... [INFO] [stdout] 223 | Ok((Err(_timeout), _other_future)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Option`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `SplitStream>` in the current scope [INFO] [stdout] --> src/lib.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | writer.write_all(b"Error: counting is less than thresh!\n") [INFO] [stdout] | ^^^^^^^^^ method not found in `SplitStream>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for struct `SplitStream>` in the current scope [INFO] [stdout] --> src/lib.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... writer.write_fmt(format_args!("Time elapsed is {} sec {} ns.\n", time_count.secs, time_count.nanos)) [INFO] [stdout] | ^^^^^^^^^ method not found in `SplitStream>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_processing` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `select` found for closure `[closure@src/lib.rs:195:24: 200:18]` in the current scope [INFO] [stdout] --> src/lib.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 195 | let counting = move || { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: Stream` [INFO] [stdout] | doesn't satisfy `_: futures::Future` [INFO] [stdout] ... [INFO] [stdout] 204 | let task = counting.select(timeout).then(|result| { [INFO] [stdout] | ^^^^^^ method not found in `[closure@src/lib.rs:195:24: 200:18]` [INFO] [stdout] | [INFO] [stdout] = note: `counting` is a function, perhaps you wish to call it [INFO] [stdout] = note: the method `select` exists but the following trait bounds were not satisfied: [INFO] [stdout] `[closure@src/lib.rs:195:24: 200:18]: futures::Future` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: futures::Future` [INFO] [stdout] `[closure@src/lib.rs:195:24: 200:18]: Stream` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 205 | match result { [INFO] [stdout] | ------ this expression has type `std::result::Result<(Option<_>, _), _>` [INFO] [stdout] ... [INFO] [stdout] 223 | Ok((Err(_timeout), _other_future)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Option`, found enum `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `std::result::Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `SplitStream>` in the current scope [INFO] [stdout] --> src/lib.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | writer.write_all(b"Error: counting is less than thresh!\n") [INFO] [stdout] | ^^^^^^^^^ method not found in `SplitStream>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for struct `SplitStream>` in the current scope [INFO] [stdout] --> src/lib.rs:215:32 [INFO] [stdout] | [INFO] [stdout] 215 | ... writer.write_fmt(format_args!("Time elapsed is {} sec {} ns.\n", time_count.secs, time_count.nanos)) [INFO] [stdout] | ^^^^^^^^^ method not found in `SplitStream>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d46611a8acc784233b93c3f6c729a38f7e7528dcf99fcb83657cedb809bf16ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46611a8acc784233b93c3f6c729a38f7e7528dcf99fcb83657cedb809bf16ab", kill_on_drop: false }` [INFO] [stdout] d46611a8acc784233b93c3f6c729a38f7e7528dcf99fcb83657cedb809bf16ab