[INFO] crate kineasy 0.1.0 is already in cache [INFO] testing kineasy-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate kineasy 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate kineasy 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate kineasy 0.1.0 [INFO] finished tweaking crates.io crate kineasy 0.1.0 [INFO] tweaked toml for crates.io crate kineasy 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee613bbfcf9318303403728149356ce40f3217d43dad55eafd0277697a34e375 [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" "ee613bbfcf9318303403728149356ce40f3217d43dad55eafd0277697a34e375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee613bbfcf9318303403728149356ce40f3217d43dad55eafd0277697a34e375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee613bbfcf9318303403728149356ce40f3217d43dad55eafd0277697a34e375", kill_on_drop: false }` [INFO] [stdout] ee613bbfcf9318303403728149356ce40f3217d43dad55eafd0277697a34e375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eea9b9747996da3da601da9468e956ac8fd15df623a13bc194fbc0b76676c27 [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" "1eea9b9747996da3da601da9468e956ac8fd15df623a13bc194fbc0b76676c27", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling rusoto v0.24.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling rusoto_core v0.40.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.18 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-signal v0.2.9 [INFO] [stderr] Compiling tokio-process v0.2.5 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling rusoto_credential v0.40.0 [INFO] [stderr] Compiling rusoto_kinesis v0.40.0 [INFO] [stderr] Compiling kineasy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `tokio::sync::mpsc` [INFO] [stdout] --> src/stream.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{prelude::*, future, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^ no `mpsc` in `sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/shard.rs:114:36 [INFO] [stdout] | [INFO] [stdout] 114 | let f = tokio::timer::delay(delay) [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `timer` in `tokio` [INFO] [stdout] --> src/shard.rs:128:32 [INFO] [stdout] | [INFO] [stdout] 128 | let f = tokio::timer::delay(delay) [INFO] [stdout] | ^^^^^ could not find `timer` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/stream.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | tokio::spawn(async move { [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use crate::stream::io::async_write::io::sys::ext::net::sys_common::util::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use past::executor::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use past::sync::mpsc::spawn; [INFO] [stdout] | [INFO] [stdout] 2 | use past::sync::oneshot::spawn; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `future::ready` [INFO] [stdout] --> src/stream.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | s.take_while(|_| future::ready(*running.read().unwrap())).for_each(move |l: GetRecordsOutput| { [INFO] [stdout] | ^^^^^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `future::ready` [INFO] [stdout] --> src/stream.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | future::ready(()) [INFO] [stdout] | ^^^^^^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 2 | use core::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures::future::ready; [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::core_reexport::future::ready; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/shard.rs:120:28 [INFO] [stdout] | [INFO] [stdout] 120 | tokio::spawn(f); // TODO this makes the runtime to fail when stopping the stream [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stream::io::async_write::io::sys::ext::net::sys_common::util::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::executor::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::sync::mpsc::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::sync::oneshot::spawn; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/shard.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | tokio::spawn(f); // TODO this makes the runtime to fail when stopping the stream [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::stream::io::async_write::io::sys::ext::net::sys_common::util::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::executor::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::sync::mpsc::spawn; [INFO] [stdout] | [INFO] [stdout] 1 | use past::sync::oneshot::spawn; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `sync` is private [INFO] [stdout] --> src/stream.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{prelude::*, future, sync::mpsc}; [INFO] [stdout] | ^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `sync` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/lib.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | mod sync; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `ready` is private [INFO] [stdout] --> src/stream.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | s.take_while(|_| future::ready(*running.read().unwrap())).for_each(move |l: GetRecordsOutput| { [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ready` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/future/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod ready; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `ready` is private [INFO] [stdout] --> src/stream.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | future::ready(()) [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `ready` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.22/src/future/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod ready; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/stream.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{prelude::*, future, sync::mpsc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `take_while` found for struct `shard::KinesisShard` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: src/shard.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct KinesisShard { [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | method `take_while` not found for this [INFO] [stdout] | doesn't satisfy `shard::KinesisShard: std::iter::Iterator` [INFO] [stdout] --> src/stream.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | s.take_while(|_| future::ready(*running.read().unwrap())).for_each(move |l: GetRecordsOutput| { [INFO] [stdout] | ^^^^^^^^^^ method not found in `shard::KinesisShard` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-preview-0.3.0-alpha.18/src/stream/mod.rs:610:8 [INFO] [stdout] | [INFO] [stdout] 610 | fn take_while(self, f: F) -> TakeWhile [INFO] [stdout] | ---------- the method is available for `std::boxed::Box` here [INFO] [stdout] | [INFO] [stdout] = note: the method `take_while` exists but the following trait bounds were not satisfied: [INFO] [stdout] `shard::KinesisShard: std::iter::Iterator` [INFO] [stdout] which is required by `&mut shard::KinesisShard: std::iter::Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use futures::StreamExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/shard.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::{Poll, Stream, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0432, E0433, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kineasy`. [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" "1eea9b9747996da3da601da9468e956ac8fd15df623a13bc194fbc0b76676c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eea9b9747996da3da601da9468e956ac8fd15df623a13bc194fbc0b76676c27", kill_on_drop: false }` [INFO] [stdout] 1eea9b9747996da3da601da9468e956ac8fd15df623a13bc194fbc0b76676c27