[INFO] cloning repository https://github.com/Devolutions/tws-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Devolutions/tws-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevolutions%2Ftws-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevolutions%2Ftws-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1eef5488013206b69ac4e57c3a2b0edde2883dce [INFO] checking Devolutions/tws-rust against try#961316100510fe780d266d35bcf68702fbb049e5 for pr-78935-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevolutions%2Ftws-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Devolutions/tws-rust on toolchain 961316100510fe780d266d35bcf68702fbb049e5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Devolutions/tws-rust [INFO] finished tweaking git repo https://github.com/Devolutions/tws-rust [INFO] tweaked toml for git repo https://github.com/Devolutions/tws-rust written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Devolutions/tws-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76e07783b8eee2ddec879d87ac379e08a7c3b0816fb3628440857ac175cb56d8 [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" "76e07783b8eee2ddec879d87ac379e08a7c3b0816fb3628440857ac175cb56d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76e07783b8eee2ddec879d87ac379e08a7c3b0816fb3628440857ac175cb56d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e07783b8eee2ddec879d87ac379e08a7c3b0816fb3628440857ac175cb56d8", kill_on_drop: false }` [INFO] [stdout] 76e07783b8eee2ddec879d87ac379e08a7c3b0816fb3628440857ac175cb56d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e13f91baec0b493e65533584eaf9f1e02471772e8dcd1419f2583e212e3ba9b [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" "3e13f91baec0b493e65533584eaf9f1e02471772e8dcd1419f2583e212e3ba9b", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Checking tokio-trace-core v0.2.0 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking arrayvec v0.4.10 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking backtrace-sys v0.1.28 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking sha2 v0.7.1 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Checking websocket v0.22.4 [INFO] [stderr] Checking tws-rust v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:197:81 [INFO] [stdout] | [INFO] [stdout] 197 | let sink_write = self.get_writer().run(sink).map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:202:90 [INFO] [stdout] | [INFO] [stdout] 202 | let heartbeat_work = self.get_heartbeat_agent().run().map_err(clone!(logger; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | .for_each(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:238:38 [INFO] [stdout] | [INFO] [stdout] 238 | .then(clone!(logger; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:443:139 [INFO] [stdout] | [INFO] [stdout] 443 | let stream_work = read_throttler.wrap_stream(util::AlternatingStream::new(stream)).for_each(clone!(conn_handler, speedometer; |p| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:449:55 [INFO] [stdout] | [INFO] [stdout] 449 | })).map_err(clone!(a, b, logger, conn_id; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:456:56 [INFO] [stdout] | [INFO] [stdout] 456 | .map_err(clone!(a, b, logger, conn_id; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:467:61 [INFO] [stdout] | [INFO] [stdout] 467 | .then(clone!(logger, conn_id, conn_handler; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:595:96 [INFO] [stdout] | [INFO] [stdout] 595 | let stream_work = util::AlternatingStream::new(client).for_each(clone!(handler; |data| { [INFO] [stdout] | ---- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:600:85 [INFO] [stdout] | [INFO] [stdout] 600 | current_thread::spawn(stream_work.then(clone!(conn_id, logger, handler; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:197:81 [INFO] [stdout] | [INFO] [stdout] 197 | let sink_write = self.get_writer().run(sink).map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:202:90 [INFO] [stdout] | [INFO] [stdout] 202 | let heartbeat_work = self.get_heartbeat_agent().run().map_err(clone!(logger; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | .for_each(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | .map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:238:38 [INFO] [stdout] | [INFO] [stdout] 238 | .then(clone!(logger; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:443:139 [INFO] [stdout] | [INFO] [stdout] 443 | let stream_work = read_throttler.wrap_stream(util::AlternatingStream::new(stream)).for_each(clone!(conn_handler, speedometer; |p| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:449:55 [INFO] [stdout] | [INFO] [stdout] 449 | })).map_err(clone!(a, b, logger, conn_id; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:456:56 [INFO] [stdout] | [INFO] [stdout] 456 | .map_err(clone!(a, b, logger, conn_id; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:467:61 [INFO] [stdout] | [INFO] [stdout] 467 | .then(clone!(logger, conn_id, conn_handler; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:595:96 [INFO] [stdout] | [INFO] [stdout] 595 | let stream_work = util::AlternatingStream::new(client).for_each(clone!(handler; |data| { [INFO] [stdout] | ---- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/shared.rs:600:85 [INFO] [stdout] | [INFO] [stdout] 600 | current_thread::spawn(stream_work.then(clone!(conn_id, logger, handler; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | .map(clone!(logger, option; |server| { [INFO] [stdout] | ------ ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | .or_else(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:91:50 [INFO] [stdout] | [INFO] [stdout] 91 | .map(clone!(logger, option; |server| { [INFO] [stdout] | ------ ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | .or_else(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | .and_then(clone!(option, logger; |(client, _)| { [INFO] [stdout] | ----------- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | .map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:119:68 [INFO] [stdout] | [INFO] [stdout] 119 | .and_then(clone!(option, logger; |(client, _)| { [INFO] [stdout] | ----------- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:211:70 [INFO] [stdout] | [INFO] [stdout] 211 | .map(clone!(state, writer, logger, conn_id_owned; |conn| { [INFO] [stdout] | ---- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | .then(clone!(writer, logger, conn_id_owned; |r| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:125:49 [INFO] [stdout] | [INFO] [stdout] 125 | .map_err(clone!(logger; |e| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:325:37 [INFO] [stdout] | [INFO] [stdout] 325 | .then(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:211:70 [INFO] [stdout] | [INFO] [stdout] 211 | .map(clone!(state, writer, logger, conn_id_owned; |conn| { [INFO] [stdout] | ---- ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:219:61 [INFO] [stdout] | [INFO] [stdout] 219 | .then(clone!(writer, logger, conn_id_owned; |r| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/server.rs:325:37 [INFO] [stdout] | [INFO] [stdout] 325 | .then(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/client.rs:400:57 [INFO] [stdout] | [INFO] [stdout] 400 | ... .for_each(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected pattern, found `{` [INFO] [stdout] --> src/protocol/client.rs:400:57 [INFO] [stdout] | [INFO] [stdout] 400 | ... .for_each(clone!(state; |_| { [INFO] [stdout] | - ^ expected pattern [INFO] [stdout] | | [INFO] [stdout] | while parsing this or-pattern starting here [INFO] [stdout] | [INFO] [stdout] ::: src/protocol/util.rs:75:24 [INFO] [stdout] | [INFO] [stdout] 75 | ($($n:ident),+; |$($p:pat),+| $body:block) => ( [INFO] [stdout] | ------ while parsing argument for this `pat` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/util.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Logger = Rc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(LogLevel, &str)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/client.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | ClientConnection, ClientUdpConnection, ClientSessionState, Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WsStream + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use tokio::executor::current_thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/util.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Logger = Rc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(LogLevel, &str)` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol/client.rs:289:68 [INFO] [stdout] | [INFO] [stdout] 289 | ClientConnection, ClientUdpConnection, ClientSessionState, Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn WsStream + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / error_chain! { [INFO] [stdout] 34 | | foreign_links { [INFO] [stdout] 35 | | IoError(::std::io::Error); [INFO] [stdout] 36 | | AddrParseError(::std::net::AddrParseError); [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use tokio::executor::current_thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / error_chain! { [INFO] [stdout] 34 | | foreign_links { [INFO] [stdout] 35 | | IoError(::std::io::Error); [INFO] [stdout] 36 | | AddrParseError(::std::net::AddrParseError); [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / error_chain! { [INFO] [stdout] 34 | | foreign_links { [INFO] [stdout] 35 | | IoError(::std::io::Error); [INFO] [stdout] 36 | | AddrParseError(::std::net::AddrParseError); [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tws-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / error_chain! { [INFO] [stdout] 34 | | foreign_links { [INFO] [stdout] 35 | | IoError(::std::io::Error); [INFO] [stdout] 36 | | AddrParseError(::std::net::AddrParseError); [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3e13f91baec0b493e65533584eaf9f1e02471772e8dcd1419f2583e212e3ba9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e13f91baec0b493e65533584eaf9f1e02471772e8dcd1419f2583e212e3ba9b", kill_on_drop: false }` [INFO] [stdout] 3e13f91baec0b493e65533584eaf9f1e02471772e8dcd1419f2583e212e3ba9b