[INFO] cloning repository https://github.com/rcbmor/rust-example-tower [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rcbmor/rust-example-tower" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcbmor%2Frust-example-tower", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcbmor%2Frust-example-tower'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 354369848110fc1623b856ff5ff8da4bd84e46d8 [INFO] checking rcbmor/rust-example-tower against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frcbmor%2Frust-example-tower" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rcbmor/rust-example-tower on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rcbmor/rust-example-tower [INFO] finished tweaking git repo https://github.com/rcbmor/rust-example-tower [INFO] tweaked toml for git repo https://github.com/rcbmor/rust-example-tower written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/rcbmor/rust-example-tower already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7035b3ac0ae9814e6afbef75b29d9d52c3316943c884a1290166e92df2684b3 [INFO] running `Command { std: "docker" "start" "-a" "f7035b3ac0ae9814e6afbef75b29d9d52c3316943c884a1290166e92df2684b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7035b3ac0ae9814e6afbef75b29d9d52c3316943c884a1290166e92df2684b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7035b3ac0ae9814e6afbef75b29d9d52c3316943c884a1290166e92df2684b3", kill_on_drop: false }` [INFO] [stdout] f7035b3ac0ae9814e6afbef75b29d9d52c3316943c884a1290166e92df2684b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215a770fa46180e4f69d598a5b0c98d19246437d1586845f1cf6a9f6ef2d9110 [INFO] running `Command { std: "docker" "start" "-a" "215a770fa46180e4f69d598a5b0c98d19246437d1586845f1cf6a9f6ef2d9110", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking typenum v1.12.0 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking subprocess v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking sha-1 v0.9.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking headers v0.3.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.18+1.1.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking env_proxy v0.4.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking toml_edit v0.2.0 [INFO] [stderr] Checking git2 v0.13.17 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking tokio-tungstenite v0.11.0 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking tower v0.4.4 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking cargo_metadata v0.11.4 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking warp v0.2.5 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking cargo-edit v0.7.0 [INFO] [stderr] Checking rust-example-tower v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `RateLimit) -> impl futures::Future {handle}, Body>>>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected an implementor of trait `Clone` [INFO] [stdout] | help: consider borrowing here: `&make_service` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Timeout) -> impl futures::Future {handle}, Body>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Service>` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::service::http::HttpService` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RateLimit) -> impl futures::Future {handle}, Body>>>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | let server = Server::bind(&addr).serve(make_service); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected an implementor of trait `Clone` [INFO] [stdout] | help: consider borrowing here: `&make_service` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Timeout) -> impl futures::Future {handle}, Body>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Service>` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::service::http::HttpService` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RateLimit) -> impl futures::Future {handle}, Body>>>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Clone` is not implemented for `RateLimit) -> impl futures::Future {handle}, Body>>>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Timeout) -> impl futures::Future {handle}, Body>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Service>` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::service::http::HttpService` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec) -> impl futures::Future {handle}, Body>>>>>, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `Server>` [INFO] [stdout] = note: required by `futures::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RateLimit) -> impl futures::Future {handle}, Body>>>: Clone` is not satisfied [INFO] [stdout] --> src/main.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Err(e) = server.await { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Clone` is not implemented for `RateLimit) -> impl futures::Future {handle}, Body>>>` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Clone` for `Timeout) -> impl futures::Future {handle}, Body>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Service>` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::service::http::HttpService` for `Logging) -> impl futures::Future {handle}, Body>>>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec) -> impl futures::Future {handle}, Body>>>>>, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] = note: required because of the requirements on the impl of `futures::Future` for `Server>` [INFO] [stdout] = note: required by `futures::Future::poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-example-tower` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "215a770fa46180e4f69d598a5b0c98d19246437d1586845f1cf6a9f6ef2d9110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215a770fa46180e4f69d598a5b0c98d19246437d1586845f1cf6a9f6ef2d9110", kill_on_drop: false }` [INFO] [stdout] 215a770fa46180e4f69d598a5b0c98d19246437d1586845f1cf6a9f6ef2d9110