[INFO] crate http-service-hyper 0.4.1 is already in cache [INFO] testing http-service-hyper-0.4.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate http-service-hyper 0.4.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate http-service-hyper 0.4.1 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 http-service-hyper 0.4.1 [INFO] finished tweaking crates.io crate http-service-hyper 0.4.1 [INFO] tweaked toml for crates.io crate http-service-hyper 0.4.1 written to /workspace/builds/worker-14/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 020b3d7dc5aaeee45f5e720f835f28ab20845afc319953bc559bd9d20c07e31f [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" "020b3d7dc5aaeee45f5e720f835f28ab20845afc319953bc559bd9d20c07e31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "020b3d7dc5aaeee45f5e720f835f28ab20845afc319953bc559bd9d20c07e31f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020b3d7dc5aaeee45f5e720f835f28ab20845afc319953bc559bd9d20c07e31f", kill_on_drop: false }` [INFO] [stdout] 020b3d7dc5aaeee45f5e720f835f28ab20845afc319953bc559bd9d20c07e31f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea45c0b6c16380d4c7faf6bf35699fda27205f5f1e0fe47cba00ae00f9a62fbf [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" "ea45c0b6c16380d4c7faf6bf35699fda27205f5f1e0fe47cba00ae00f9a62fbf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lock_api v0.3.4 [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 futures-task v0.3.5 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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 http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [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 crossbeam-queue v0.2.3 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling http-service v0.4.0 [INFO] [stderr] Compiling http-service-hyper v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "ea45c0b6c16380d4c7faf6bf35699fda27205f5f1e0fe47cba00ae00f9a62fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea45c0b6c16380d4c7faf6bf35699fda27205f5f1e0fe47cba00ae00f9a62fbf", kill_on_drop: false }` [INFO] [stdout] ea45c0b6c16380d4c7faf6bf35699fda27205f5f1e0fe47cba00ae00f9a62fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39efa6181f6195a1ae4540b7ec66510cc02fabf350794e9ee5d4b17899bcd4ba [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" "39efa6181f6195a1ae4540b7ec66510cc02fabf350794e9ee5d4b17899bcd4ba", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling async-datagram v3.0.0 [INFO] [stderr] Compiling async-ready v3.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling romio v0.3.0-alpha.10 [INFO] [stderr] Compiling http-service-hyper v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.97s [INFO] running `Command { std: "docker" "inspect" "39efa6181f6195a1ae4540b7ec66510cc02fabf350794e9ee5d4b17899bcd4ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39efa6181f6195a1ae4540b7ec66510cc02fabf350794e9ee5d4b17899bcd4ba", kill_on_drop: false }` [INFO] [stdout] 39efa6181f6195a1ae4540b7ec66510cc02fabf350794e9ee5d4b17899bcd4ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c3edaeb72f1c632b114fb3422404d913135303b2ad324f48c50cbef15915d750 [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" "c3edaeb72f1c632b114fb3422404d913135303b2ad324f48c50cbef15915d750", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/http_service_hyper-468b32945afe5719 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests http-service-hyper [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Builder::serve (line 156) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Builder::serve (line 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `ThreadPool` in `executor` [INFO] [stdout] --> src/lib.rs:161:35 [INFO] [stdout] | [INFO] [stdout] 8 | let mut pool = futures::executor::ThreadPool::new()?; [INFO] [stdout] | ^^^^^^^^^^ could not find `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `http_service::Body: std::convert::From<&str>` is not satisfied [INFO] [stdout] --> src/lib.rs:165:48 [INFO] [stdout] | [INFO] [stdout] 12 | futures::future::ok::<_, ()>(Response::new(Body::from("Hello World"))) [INFO] [stdout] | ^^^^^^^^^^ the trait `std::convert::From<&str>` is not implemented for `http_service::Body` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >>> [INFO] [stdout] >> [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `romio::tcp::Incoming<'_>: futures::Stream` is not satisfied [INFO] [stdout] --> src/lib.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 18 | let server = Server::builder(listener.incoming()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `romio::tcp::Incoming<'_>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::TryStream` for `romio::tcp::Incoming<'_>` [INFO] [stdout] = note: required by `http_service_hyper::Server::::builder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_spawner` found for struct `http_service_hyper::Builder, ()>` in the current scope [INFO] [stdout] --> src/lib.rs:172:6 [INFO] [stdout] | [INFO] [stdout] 19 | .with_spawner(pool.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `http_service_hyper::Builder, ()>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/romio-0.3.0-alpha.10/src/tcp/listener.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 246 | pub struct Incoming<'a> { [INFO] [stdout] | ----------------------- doesn't satisfy `romio::tcp::Incoming<'_>: futures::TryStream` [INFO] [stdout] | [INFO] [stdout] = note: the method `with_spawner` exists but the following trait bounds were not satisfied: [INFO] [stdout] `romio::tcp::Incoming<'_>: futures::TryStream` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `romio::tcp::Incoming<'_>: futures::Stream` is not satisfied [INFO] [stdout] --> src/lib.rs:171:14 [INFO] [stdout] | [INFO] [stdout] 18 | let server = Server::builder(listener.incoming()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `futures::Stream` is not implemented for `romio::tcp::Incoming<'_>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:121:23 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Builder { [INFO] [stdout] | --------- required by this bound in `http_service_hyper::Builder` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `futures::TryStream` for `romio::tcp::Incoming<'_>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Builder::serve (line 156) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "c3edaeb72f1c632b114fb3422404d913135303b2ad324f48c50cbef15915d750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3edaeb72f1c632b114fb3422404d913135303b2ad324f48c50cbef15915d750", kill_on_drop: false }` [INFO] [stdout] c3edaeb72f1c632b114fb3422404d913135303b2ad324f48c50cbef15915d750