[INFO] fetching crate http-service-hyper 0.4.1... [INFO] testing http-service-hyper-0.4.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate http-service-hyper 0.4.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate http-service-hyper 0.4.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d12d9bffe112fcbe012d8ec087d234e01269c6cb35995ce5607e67c2ec26591d [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" "d12d9bffe112fcbe012d8ec087d234e01269c6cb35995ce5607e67c2ec26591d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d12d9bffe112fcbe012d8ec087d234e01269c6cb35995ce5607e67c2ec26591d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d12d9bffe112fcbe012d8ec087d234e01269c6cb35995ce5607e67c2ec26591d", kill_on_drop: false }` [INFO] [stdout] d12d9bffe112fcbe012d8ec087d234e01269c6cb35995ce5607e67c2ec26591d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", 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] 280f008ce5b2146c678c81cc06d14ebeb965c3f5c792d5684c7dc201e808f149 [INFO] running `Command { std: "docker" "start" "-a" "280f008ce5b2146c678c81cc06d14ebeb965c3f5c792d5684c7dc201e808f149", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [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 quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [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-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [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 38.57s [INFO] running `Command { std: "docker" "inspect" "280f008ce5b2146c678c81cc06d14ebeb965c3f5c792d5684c7dc201e808f149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "280f008ce5b2146c678c81cc06d14ebeb965c3f5c792d5684c7dc201e808f149", kill_on_drop: false }` [INFO] [stdout] 280f008ce5b2146c678c81cc06d14ebeb965c3f5c792d5684c7dc201e808f149 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 697455b1718c972da9831be7d0bce0c24f63a1b426cab8abe14fb9302eac342b [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" "697455b1718c972da9831be7d0bce0c24f63a1b426cab8abe14fb9302eac342b", kill_on_drop: false }` [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling async-ready v3.0.0 [INFO] [stderr] Compiling async-datagram 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 7.50s [INFO] running `Command { std: "docker" "inspect" "697455b1718c972da9831be7d0bce0c24f63a1b426cab8abe14fb9302eac342b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "697455b1718c972da9831be7d0bce0c24f63a1b426cab8abe14fb9302eac342b", kill_on_drop: false }` [INFO] [stdout] 697455b1718c972da9831be7d0bce0c24f63a1b426cab8abe14fb9302eac342b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8a5b5c4cdbd57dd8535950d0993d09764db75245b1468b43b5c23cd53cfbb10 [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" "b8a5b5c4cdbd57dd8535950d0993d09764db75245b1468b43b5c23cd53cfbb10", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/http_service_hyper-68196c4e5f396116) [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; finished in 0.00s [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:162:35 [INFO] [stdout] | [INFO] [stdout] 9 | let mut pool = futures::executor::ThreadPool::new()?; [INFO] [stdout] | ^^^^^^^^^^ could not find `ThreadPool` in `executor` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Body: From<&str>` is not satisfied [INFO] [stdout] --> src/lib.rs:166:48 [INFO] [stdout] | [INFO] [stdout] 13 | futures::future::ok::<_, ()>(Response::new(Body::from("Hello World"))) [INFO] [stdout] | ^^^^^^^^^^ the trait `From<&str>` is not implemented for `Body` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] >>> [INFO] [stdout] >> [INFO] [stdout] = note: required by `from` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `romio::tcp::Incoming<'_>: futures::Stream` is not satisfied [INFO] [stdout] --> src/lib.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `TryStream` for `romio::tcp::Incoming<'_>` [INFO] [stdout] = note: required by `Server::::builder` [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_spawner` exists for struct `http_service_hyper::Builder, ()>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:173:6 [INFO] [stdout] | [INFO] [stdout] 20 | .with_spawner(pool.clone()) [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called on `http_service_hyper::Builder, ()>` due to unsatisfied trait bounds [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<'_>: TryStream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `romio::tcp::Incoming<'_>: TryStream` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `romio::tcp::Incoming<'_>: futures::Stream` is not satisfied [INFO] [stdout] --> src/lib.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `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; finished in 0.83s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b8a5b5c4cdbd57dd8535950d0993d09764db75245b1468b43b5c23cd53cfbb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8a5b5c4cdbd57dd8535950d0993d09764db75245b1468b43b5c23cd53cfbb10", kill_on_drop: false }` [INFO] [stdout] b8a5b5c4cdbd57dd8535950d0993d09764db75245b1468b43b5c23cd53cfbb10