[INFO] updating cached repository https://github.com/rrichardson/bench-body [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8e9e9e9969471a9e0eb34cafb55b100caa0394d6 [INFO] checking rrichardson/bench-body against master#bd0bacc694d7d8175804bb6f690cb846bfa4a9ee for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frrichardson%2Fbench-body" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rrichardson/bench-body on toolchain bd0bacc694d7d8175804bb6f690cb846bfa4a9ee [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rrichardson/bench-body [INFO] removed path dependency hyper from git repo https://github.com/rrichardson/bench-body [INFO] finished tweaking git repo https://github.com/rrichardson/bench-body [INFO] tweaked toml for git repo https://github.com/rrichardson/bench-body written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/rrichardson/bench-body already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "/opt/rustwide/cargo-home/bin/cargo" "+bd0bacc694d7d8175804bb6f690cb846bfa4a9ee" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4bd1fa25919976a3b6aacbbac57f9305749805f8d55a54f9d876c8e3bbe91b20 [INFO] running `"docker" "start" "-a" "4bd1fa25919976a3b6aacbbac57f9305749805f8d55a54f9d876c8e3bbe91b20"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.16 [INFO] [stderr] Checking pin-project v0.4.16 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking bench-body v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stderr] --> benches/bench.rs:70:25 [INFO] [stderr] | [INFO] [stderr] 70 | let connector = HttpConnector::new(1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ - supplied 1 argument [INFO] [stderr] | | [INFO] [stderr] | expected 0 arguments [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `and_then` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> benches/bench.rs:92:49 [INFO] [stderr] | [INFO] [stderr] 92 | rt.block_on(client.request(req).and_then(|res| { [INFO] [stderr] | ^^^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.5/src/client/mod.rs:96:1 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct ResponseFuture { [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] | doesn't satisfy `hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/future/try_future/mod.rs:387:8 [INFO] [stderr] | [INFO] [stderr] 387 | fn and_then(self, f: F) -> AndThen [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = note: the method `and_then` exists but the following trait bounds were not satisfied: [INFO] [stderr] `hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] which is required by `&mut hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] `hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] which is required by `&mut hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 13 | use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `and_then` found for struct `hyper::client::ResponseFuture` in the current scope [INFO] [stderr] --> benches/bench.rs:118:45 [INFO] [stderr] | [INFO] [stderr] 118 | client.request(req).and_then(|res| { [INFO] [stderr] | ^^^^^^^^ method not found in `hyper::client::ResponseFuture` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.5/src/client/mod.rs:96:1 [INFO] [stderr] | [INFO] [stderr] 96 | pub struct ResponseFuture { [INFO] [stderr] | ------------------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] | doesn't satisfy `hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/future/try_future/mod.rs:387:8 [INFO] [stderr] | [INFO] [stderr] 387 | fn and_then(self, f: F) -> AndThen [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = note: the method `and_then` exists but the following trait bounds were not satisfied: [INFO] [stderr] `hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] which is required by `&mut hyper::client::ResponseFuture: futures::Future` [INFO] [stderr] `hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] which is required by `&mut hyper::client::ResponseFuture: futures::Stream` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 13 | use futures_util::future::try_future::TryFutureExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `for_each` found for struct `hyper::Body` in the current scope [INFO] [stderr] --> benches/bench.rs:142:22 [INFO] [stderr] | [INFO] [stderr] 142 | .for_each(|_chunk| { [INFO] [stderr] | ^^^^^^^^ method not found in `hyper::Body` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.5/src/body/body.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct Body { [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `hyper::Body: futures::Stream` [INFO] [stderr] | doesn't satisfy `hyper::Body: std::iter::Iterator` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.5/src/stream/stream/mod.rs:785:8 [INFO] [stderr] | [INFO] [stderr] 785 | fn for_each(self, f: F) -> ForEach [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | the method is available for `std::boxed::Box` here [INFO] [stderr] | the method is available for `std::sync::Arc` here [INFO] [stderr] | the method is available for `std::rc::Rc` here [INFO] [stderr] | [INFO] [stderr] = note: the method `for_each` exists but the following trait bounds were not satisfied: [INFO] [stderr] `hyper::Body: futures::Stream` [INFO] [stderr] which is required by `&mut hyper::Body: futures::Stream` [INFO] [stderr] `hyper::Body: std::iter::Iterator` [INFO] [stderr] which is required by `&mut hyper::Body: std::iter::Iterator` [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 13 | use futures_util::stream::stream::StreamExt; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `hyper::Body: std::convert::From` is not satisfied [INFO] [stderr] --> benches/bench.rs:146:39 [INFO] [stderr] | [INFO] [stderr] 146 | Response::new(Body::from(b)) [INFO] [stderr] | ^^^^^^^^^^ the trait `std::convert::From` is not implemented for `hyper::Body` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] > [INFO] [stderr] >> [INFO] [stderr] and 4 others [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `[closure@benches/bench.rs:136:16: 149:10 body:_]: hyper::service::Service<&'a hyper::server::conn::AddrStream>` is not satisfied [INFO] [stderr] --> benches/bench.rs:136:10 [INFO] [stderr] | [INFO] [stderr] 136 | .serve(move || { [INFO] [stderr] | ^^^^^ ------- consider calling this closure [INFO] [stderr] | | [INFO] [stderr] | the trait `hyper::service::Service<&'a hyper::server::conn::AddrStream>` is not implemented for `[closure@benches/bench.rs:136:16: 149:10 body:_]` [INFO] [stderr] | [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::service::make::MakeServiceRef` for `[closure@benches/bench.rs:136:16: 149:10 body:_]` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for struct `hyper::Server` in the current scope [INFO] [stderr] --> benches/bench.rs:151:19 [INFO] [stderr] | [INFO] [stderr] 151 | let fut = srv.map_err(|err| panic!("server error: {}", err)); [INFO] [stderr] | ^^^^^^^ method not found in `hyper::Server` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.5/src/server/mod.rs:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | pub struct Server { [INFO] [stderr] | --------------------------------- [INFO] [stderr] | | [INFO] [stderr] | doesn't satisfy `_: futures::Future` [INFO] [stderr] | doesn't satisfy `_: futures::Stream` [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `hyper::Server: futures::Future` [INFO] [stderr] which is required by `&mut hyper::Server: futures::Future` [INFO] [stderr] `hyper::Server: futures::Stream` [INFO] [stderr] which is required by `&mut hyper::Server: futures::Stream` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Future` [INFO] [stderr] --> benches/bench.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | use futures::{Future, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> benches/bench.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | use futures::{Future, Stream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `bench-body`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "4bd1fa25919976a3b6aacbbac57f9305749805f8d55a54f9d876c8e3bbe91b20"` [INFO] running `"docker" "rm" "-f" "4bd1fa25919976a3b6aacbbac57f9305749805f8d55a54f9d876c8e3bbe91b20"` [INFO] [stdout] 4bd1fa25919976a3b6aacbbac57f9305749805f8d55a54f9d876c8e3bbe91b20