[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergorl%2Fasync_processing" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sergorl/async_processing on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-4/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 908cc47ad78b2ebec777c90a0ebf7a035b32336974739d757c65cc627e38dfe9 [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" "908cc47ad78b2ebec777c90a0ebf7a035b32336974739d757c65cc627e38dfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "908cc47ad78b2ebec777c90a0ebf7a035b32336974739d757c65cc627e38dfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "908cc47ad78b2ebec777c90a0ebf7a035b32336974739d757c65cc627e38dfe9", kill_on_drop: false }` [INFO] [stdout] 908cc47ad78b2ebec777c90a0ebf7a035b32336974739d757c65cc627e38dfe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccc426d1bbe590b5526843c05daeff5aa45e05aee99aff1c6c9ae2883d9fc7ed [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" "ccc426d1bbe590b5526843c05daeff5aa45e05aee99aff1c6c9ae2883d9fc7ed", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking futures v0.1.18 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking log v0.3.9 [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]: the method `select` exists for closure `[closure@src/lib.rs:195:24: 200:18]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 195 | let counting = move || { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures::Future` [INFO] [stdout] | doesn't satisfy `_: futures::Stream` [INFO] [stdout] ... [INFO] [stdout] 204 | let task = counting.select(timeout).then(|result| { [INFO] [stdout] | ^^^^^^ method cannot be called on `[closure@src/lib.rs:195:24: 200:18]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: `counting` is a function, perhaps you wish to call it [INFO] [stdout] = note: 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]: futures::Stream` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: futures::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `select` exists for closure `[closure@src/lib.rs:195:24: 200:18]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:204:29 [INFO] [stdout] | [INFO] [stdout] 195 | let counting = move || { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: futures::Future` [INFO] [stdout] | doesn't satisfy `_: futures::Stream` [INFO] [stdout] ... [INFO] [stdout] 204 | let task = counting.select(timeout).then(|result| { [INFO] [stdout] | ^^^^^^ method cannot be called on `[closure@src/lib.rs:195:24: 200:18]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: `counting` is a function, perhaps you wish to call it [INFO] [stdout] = note: 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]: futures::Stream` [INFO] [stdout] which is required by `&mut [closure@src/lib.rs:195:24: 200:18]: futures::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 `Result<(Option<_>, _), _>` [INFO] [stdout] ... [INFO] [stdout] 223 | Ok((Err(_timeout), _other_future)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 205 | match result { [INFO] [stdout] | ------ this expression has type `Result<(Option<_>, _), _>` [INFO] [stdout] ... [INFO] [stdout] 223 | Ok((Err(_timeout), _other_future)) => { [INFO] [stdout] | ^^^^^^^^^^^^^ expected enum `Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<_>` [INFO] [stdout] found enum `Result<_, _>` [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] 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] 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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ccc426d1bbe590b5526843c05daeff5aa45e05aee99aff1c6c9ae2883d9fc7ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc426d1bbe590b5526843c05daeff5aa45e05aee99aff1c6c9ae2883d9fc7ed", kill_on_drop: false }` [INFO] [stdout] ccc426d1bbe590b5526843c05daeff5aa45e05aee99aff1c6c9ae2883d9fc7ed