[INFO] fetching crate http-service-hyper 0.4.1... [INFO] testing http-service-hyper-0.4.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate http-service-hyper 0.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate http-service-hyper 0.4.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8072ba55f0ab931e629db3fc6638a696bc1edf408d31feeef75c72d1de528924 [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" "8072ba55f0ab931e629db3fc6638a696bc1edf408d31feeef75c72d1de528924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8072ba55f0ab931e629db3fc6638a696bc1edf408d31feeef75c72d1de528924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8072ba55f0ab931e629db3fc6638a696bc1edf408d31feeef75c72d1de528924", kill_on_drop: false }` [INFO] [stdout] 8072ba55f0ab931e629db3fc6638a696bc1edf408d31feeef75c72d1de528924 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74862b5e0323845bd36431b34ede0937621353cf54d6246ee0c2abae1a9f6e77 [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" "74862b5e0323845bd36431b34ede0937621353cf54d6246ee0c2abae1a9f6e77", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [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.16 [INFO] [stderr] Compiling futures v0.3.16 [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 30.58s [INFO] running `Command { std: "docker" "inspect" "74862b5e0323845bd36431b34ede0937621353cf54d6246ee0c2abae1a9f6e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74862b5e0323845bd36431b34ede0937621353cf54d6246ee0c2abae1a9f6e77", kill_on_drop: false }` [INFO] [stdout] 74862b5e0323845bd36431b34ede0937621353cf54d6246ee0c2abae1a9f6e77 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c8b2cc5217779ae7c95615ec68cb3315fac20a36a4afc2ea9454ee294ab6226 [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" "8c8b2cc5217779ae7c95615ec68cb3315fac20a36a4afc2ea9454ee294ab6226", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-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.22s [INFO] running `Command { std: "docker" "inspect" "8c8b2cc5217779ae7c95615ec68cb3315fac20a36a4afc2ea9454ee294ab6226", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c8b2cc5217779ae7c95615ec68cb3315fac20a36a4afc2ea9454ee294ab6226", kill_on_drop: false }` [INFO] [stdout] 8c8b2cc5217779ae7c95615ec68cb3315fac20a36a4afc2ea9454ee294ab6226 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a4ba550c77ef753e6c7da4635dd60ab9bb67533448f280f498ded5dc9180142 [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" "2a4ba550c77ef753e6c7da4635dd60ab9bb67533448f280f498ded5dc9180142", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/http_service_hyper-66cd1dfbbcb653b4) [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] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #![warn(missing_docs, missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Builder::serve (line 156) - compile ... 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] --> /opt/rustwide/workdir/src/lib.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn builder(incoming: I) -> Builder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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.89s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "2a4ba550c77ef753e6c7da4635dd60ab9bb67533448f280f498ded5dc9180142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a4ba550c77ef753e6c7da4635dd60ab9bb67533448f280f498ded5dc9180142", kill_on_drop: false }` [INFO] [stdout] 2a4ba550c77ef753e6c7da4635dd60ab9bb67533448f280f498ded5dc9180142