[INFO] cloning repository https://github.com/Takamichi-tsutsumi/tinyhttp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Takamichi-tsutsumi/tinyhttp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakamichi-tsutsumi%2Ftinyhttp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakamichi-tsutsumi%2Ftinyhttp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 737d1be98390810fb47bd2a2820a4ee70c4bfd4f [INFO] checking Takamichi-tsutsumi/tinyhttp/737d1be98390810fb47bd2a2820a4ee70c4bfd4f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTakamichi-tsutsumi%2Ftinyhttp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Takamichi-tsutsumi/tinyhttp 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/Takamichi-tsutsumi/tinyhttp [INFO] finished tweaking git repo https://github.com/Takamichi-tsutsumi/tinyhttp [INFO] tweaked toml for git repo https://github.com/Takamichi-tsutsumi/tinyhttp written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Takamichi-tsutsumi/tinyhttp 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] Downloading crates ... [INFO] [stderr] Downloaded tokio-udp v0.1.0 [INFO] [stderr] Downloaded tokio-io v0.1.6 [INFO] [stderr] Downloaded tokio-fs v0.1.0 [INFO] [stderr] Downloaded net2 v0.2.32 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded crossbeam-deque v0.3.1 [INFO] [stderr] Downloaded libc v0.2.40 [INFO] [stderr] Downloaded bytes v0.4.7 [INFO] [stderr] Downloaded tokio v0.1.6 [INFO] [stderr] Downloaded tokio-tcp v0.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.1 [INFO] [stderr] Downloaded http v0.1.5 [INFO] [stderr] Downloaded lazycell v0.6.0 [INFO] [stderr] Downloaded mio v0.6.14 [INFO] [stderr] Downloaded tokio-threadpool v0.1.3 [INFO] [stderr] Downloaded tokio-executor v0.1.2 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded tokio-reactor v0.1.1 [INFO] [stderr] Downloaded futures v0.1.21 [INFO] [stderr] Downloaded tokio-timer v0.2.3 [INFO] [stderr] Downloaded slab v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 8054f691a2e7f62cbe1693294af6afe7a717a5adbd53c32a9037510b83d1a69c [INFO] running `Command { std: "docker" "start" "-a" "8054f691a2e7f62cbe1693294af6afe7a717a5adbd53c32a9037510b83d1a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8054f691a2e7f62cbe1693294af6afe7a717a5adbd53c32a9037510b83d1a69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8054f691a2e7f62cbe1693294af6afe7a717a5adbd53c32a9037510b83d1a69c", kill_on_drop: false }` [INFO] [stdout] 8054f691a2e7f62cbe1693294af6afe7a717a5adbd53c32a9037510b83d1a69c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 35640211fc9aa4332702ac59198678235195283d3453a729a7011db2564c5a3a [INFO] running `Command { std: "docker" "start" "-a" "35640211fc9aa4332702ac59198678235195283d3453a729a7011db2564c5a3a", 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.40 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking crossbeam-epoch v0.4.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking bytes v0.4.7 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Checking mio v0.6.14 [INFO] [stderr] Checking http v0.1.5 [INFO] [stderr] Checking tokio-executor v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking tokio-threadpool v0.1.3 [INFO] [stderr] Checking tokio-timer v0.2.3 [INFO] [stderr] Checking tokio-reactor v0.1.1 [INFO] [stderr] Checking tokio-udp v0.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.0 [INFO] [stderr] Checking tokio v0.1.6 [INFO] [stderr] Checking tinyhttp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `Vec: AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ------------- ^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsyncWrite`: [INFO] [stdout] &'a PollEvented2 [INFO] [stdout] &'a mut T [INFO] [stdout] &'a tokio::net::TcpStream [INFO] [stdout] Box [INFO] [stdout] BufWriter [INFO] [stdout] PollEvented2 [INFO] [stdout] PollEvented [INFO] [stdout] WriteHalf [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `tokio::io::write_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write_all(a: A, buf: T) -> WriteAll [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 43 | where A: AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `write_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Vec: AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ------------- ^^^^^^^^^^^ the trait `AsyncWrite` is not implemented for `Vec` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `AsyncWrite`: [INFO] [stdout] &'a PollEvented2 [INFO] [stdout] &'a mut T [INFO] [stdout] &'a tokio::net::TcpStream [INFO] [stdout] Box [INFO] [stdout] BufWriter [INFO] [stdout] PollEvented2 [INFO] [stdout] PollEvented [INFO] [stdout] WriteHalf [INFO] [stdout] and 11 others [INFO] [stdout] note: required by a bound in `tokio::io::write_all` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write_all(a: A, buf: T) -> WriteAll [INFO] [stdout] | --------- required by a bound in this function [INFO] [stdout] 43 | where A: AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `write_all` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ^^^^^^^^^^^^^------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write_all(a: A, buf: T) -> WriteAll [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res), /* buf */).then(|response| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ^^^^^^^^^^^^^------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn write_all(a: A, buf: T) -> WriteAll [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res), /* buf */).then(|response| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `then` exists for struct `WriteAll, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ---------------------------^^^^ method cannot be called on `WriteAll, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WriteAll { [INFO] [stdout] | ------------------------- doesn't satisfy `WriteAll, _>: tokio::prelude::Future` or `WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsyncWrite` [INFO] [stdout] which is required by `WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] `WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] which is required by `&mut WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] `WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] which is required by `&mut WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `then` exists for struct `WriteAll, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | let connection = io::write_all(encode(res)).then(|response| { [INFO] [stdout] | ---------------------------^^^^ method cannot be called on `WriteAll, _>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-io-0.1.6/src/io/write_all.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WriteAll { [INFO] [stdout] | ------------------------- doesn't satisfy `WriteAll, _>: tokio::prelude::Future` or `WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Vec: AsyncWrite` [INFO] [stdout] which is required by `WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] `WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] which is required by `&mut WriteAll, _>: tokio::prelude::Future` [INFO] [stdout] `WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] which is required by `&mut WriteAll, _>: tokio::prelude::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyhttp` (bin "tinyhttp" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tinyhttp` (bin "tinyhttp") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "35640211fc9aa4332702ac59198678235195283d3453a729a7011db2564c5a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35640211fc9aa4332702ac59198678235195283d3453a729a7011db2564c5a3a", kill_on_drop: false }` [INFO] [stdout] 35640211fc9aa4332702ac59198678235195283d3453a729a7011db2564c5a3a