[INFO] cloning repository https://github.com/caipre/tower-h2-tokio-run [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caipre/tower-h2-tokio-run" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaipre%2Ftower-h2-tokio-run", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaipre%2Ftower-h2-tokio-run'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a89d311d9fd6c9039ca6e115a7dc76c30896072 [INFO] checking caipre/tower-h2-tokio-run/0a89d311d9fd6c9039ca6e115a7dc76c30896072 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaipre%2Ftower-h2-tokio-run" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caipre/tower-h2-tokio-run on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/caipre/tower-h2-tokio-run [INFO] finished tweaking git repo https://github.com/caipre/tower-h2-tokio-run [INFO] tweaked toml for git repo https://github.com/caipre/tower-h2-tokio-run written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/caipre/tower-h2-tokio-run already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating git repository `https://github.com/tower-rs/tower-h2` [INFO] [stderr] Updating git repository `https://github.com/tower-rs/tower` [INFO] [stderr] Updating git repository `https://github.com/carllerche/tokio-connect` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded tokio-executor v0.1.3 [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded tokio-timer v0.2.5 [INFO] [stderr] Downloaded http v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d77a9927ea80019cfcc10af3014df681828a61b3a0ac889559e6d1193beda6 [INFO] running `Command { std: "docker" "start" "-a" "d4d77a9927ea80019cfcc10af3014df681828a61b3a0ac889559e6d1193beda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d77a9927ea80019cfcc10af3014df681828a61b3a0ac889559e6d1193beda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d77a9927ea80019cfcc10af3014df681828a61b3a0ac889559e6d1193beda6", kill_on_drop: false }` [INFO] [stdout] d4d77a9927ea80019cfcc10af3014df681828a61b3a0ac889559e6d1193beda6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7579dc76fc6d176ea341b9f0fc1963c90efa97065f69626683e9e4bcefe2ad1b [INFO] running `Command { std: "docker" "start" "-a" "7579dc76fc6d176ea341b9f0fc1963c90efa97065f69626683e9e4bcefe2ad1b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking log v0.4.4 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Checking http v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking tokio-executor v0.1.3 [INFO] [stderr] Checking tower-service v0.1.0 (https://github.com/tower-rs/tower#aef25abf) [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-timer v0.2.5 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-connect v0.1.0 (https://github.com/carllerche/tokio-connect#f7ad1ca4) [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Checking tower-h2 v0.1.0 (https://github.com/tower-rs/tower-h2#1299be66) [INFO] [stderr] Checking tower-h2-tokio-run v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 90 | let fut = h2.serve(sock) [INFO] [stdout] | _______________________- [INFO] [stdout] 91 | | .map_err(|err| error!("h2 error: {:?}", err)) [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/tower-h2-aaf68b3c8982de4c/1299be6/src/server/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Connection [INFO] [stdout] | ------------------------------------ doesn't satisfy `_: Future` or `_: Stream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-executor-0.1.3/src/global.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DefaultExecutor { [INFO] [stdout] | -------------------------- doesn't satisfy `_: Executor, Error>, RespBody>>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `DefaultExecutor: futures::future::Executor, h2::Error>, RespBody>>` [INFO] [stdout] which is required by `tower_h2::server::Connection: futures::Future` [INFO] [stdout] `tower_h2::server::Connection: futures::Future` [INFO] [stdout] which is required by `&mut tower_h2::server::Connection: futures::Future` [INFO] [stdout] `tower_h2::server::Connection: futures::Stream` [INFO] [stdout] which is required by `&mut tower_h2::server::Connection: futures::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Connection`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 90 | let fut = h2.serve(sock) [INFO] [stdout] | _______________________- [INFO] [stdout] 91 | | .map_err(|err| error!("h2 error: {:?}", err)) [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/tower-h2-aaf68b3c8982de4c/1299be6/src/server/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Connection [INFO] [stdout] | ------------------------------------ doesn't satisfy `_: Future` or `_: Stream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-executor-0.1.3/src/global.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DefaultExecutor { [INFO] [stdout] | -------------------------- doesn't satisfy `_: Executor, Error>, RespBody>>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `DefaultExecutor: futures::future::Executor, h2::Error>, RespBody>>` [INFO] [stdout] which is required by `tower_h2::server::Connection: futures::Future` [INFO] [stdout] `tower_h2::server::Connection: futures::Future` [INFO] [stdout] which is required by `&mut tower_h2::server::Connection: futures::Future` [INFO] [stdout] `tower_h2::server::Connection: futures::Stream` [INFO] [stdout] which is required by `&mut tower_h2::server::Connection: futures::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn call(&mut self, req: Self::Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:59:24 [INFO] [stdout] | [INFO] [stdout] 59 | fn call(&mut self, req: Self::Request) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-h2-tokio-run` (bin "tower-h2-tokio-run") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tower-h2-tokio-run` (bin "tower-h2-tokio-run" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7579dc76fc6d176ea341b9f0fc1963c90efa97065f69626683e9e4bcefe2ad1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7579dc76fc6d176ea341b9f0fc1963c90efa97065f69626683e9e4bcefe2ad1b", kill_on_drop: false }` [INFO] [stdout] 7579dc76fc6d176ea341b9f0fc1963c90efa97065f69626683e9e4bcefe2ad1b