[INFO] cloning repository https://github.com/m-lima/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/m-lima/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b924e8c0c38e37414327b9cc960ff74bad6673ec
[INFO] testing m-lima/chess against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess" "/workspace/builds/worker-38/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/m-lima/chess on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/m-lima/chess
[INFO] finished tweaking git repo https://github.com/m-lima/chess
[INFO] tweaked toml for git repo https://github.com/m-lima/chess written to /workspace/builds/worker-38/source/Cargo.toml
[INFO] crate git repo https://github.com/m-lima/chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mio v0.7.0
[INFO] [stderr]   Downloaded gotham_derive v0.5.0
[INFO] [stderr]   Downloaded gotham v0.5.0
[INFO] [stderr]   Downloaded chess v3.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5ee327b25beb510e1cffd225853028e30b7ac0c77db553902f05a025500b9172
[INFO] running `Command { std: "docker" "start" "-a" "5ee327b25beb510e1cffd225853028e30b7ac0c77db553902f05a025500b9172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5ee327b25beb510e1cffd225853028e30b7ac0c77db553902f05a025500b9172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ee327b25beb510e1cffd225853028e30b7ac0c77db553902f05a025500b9172", kill_on_drop: false }`
[INFO] [stdout] 5ee327b25beb510e1cffd225853028e30b7ac0c77db553902f05a025500b9172
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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=warn" "-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" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6420393e1b085f8d9d529c80769586a437689bd5dce74e964970be2f19801577
[INFO] running `Command { std: "docker" "start" "-a" "6420393e1b085f8d9d529c80769586a437689bd5dce74e964970be2f19801577", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.23
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.42
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling gimli v0.22.0
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling adler v0.2.3
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling object v0.20.0
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.24
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling pulldown-cmark v0.2.0
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.68
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.8
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling bumpalo v3.4.0
[INFO] [stderr]    Compiling bytecount v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling nodrop v0.1.14
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling anyhow v1.0.32
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling wasm-bindgen v0.2.68
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling tower-service v0.3.0
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling tracing-core v0.1.16
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling miniz_oxide v0.4.2
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.35
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling socket2 v0.3.15
[INFO] [stderr]    Compiling mio v0.7.0
[INFO] [stderr]    Compiling ring v0.16.15
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling chrono v0.4.18
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling chess v3.1.1
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling simplelog v0.8.0
[INFO] [stderr]    Compiling webpki v0.21.3
[INFO] [stderr]    Compiling sct v0.6.0
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.68
[INFO] [stderr]    Compiling rustls v0.18.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.68
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling gotham_derive v0.5.0
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.68
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling js-sys v0.3.45
[INFO] [stderr]    Compiling pin-project v0.4.24
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.14.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling bincode v1.3.1
[INFO] [stderr]    Compiling cargo_metadata v0.6.4
[INFO] [stderr]    Compiling skeptic v0.13.4
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling borrow-bag v1.0.0
[INFO] [stderr]    Compiling gotham v0.5.0
[INFO] [stderr]    Compiling wasm v0.1.0 (/opt/rustwide/workdir/wasm)
[INFO] [stderr]    Compiling server v0.1.0 (/opt/rustwide/workdir/server)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]   --> server/src/handler.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             tokio::spawn(ws);
[INFO] [stdout]    |             ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketStream`
[INFO] [stdout]   --> server/src/websocket.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         WebSocketStream::from_raw_socket(upgraded, Role::Server, None).map(Ok)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ use of undeclared type `WebSocketStream`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Role`
[INFO] [stdout]   --> server/src/websocket.rs:21:52
[INFO] [stdout]    |
[INFO] [stdout] 21 |         WebSocketStream::from_raw_socket(upgraded, Role::Server, None).map(Ok)
[INFO] [stdout]    |                                                    ^^^^ use of undeclared type `Role`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `request_id` in this scope
[INFO] [stdout]   --> server/src/handler.rs:23:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |             let req_id = request_id(&state).to_owned();
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 1  | use gotham::state::request_id;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `connected` in this scope
[INFO] [stdout]   --> server/src/handler.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 .and_then(move |ws| connected(req_id, ws));
[INFO] [stdout]    |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Future` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::future::Future;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WebSocketStream` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:37
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Upgraded` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:15:53
[INFO] [stdout]    |
[INFO] [stdout] 15 |         impl Future<Output = Result<WebSocketStream<Upgraded>, hyper::Error>>,
[INFO] [stdout]    |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::websocket::hyper::upgrade::Upgraded;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `response` in this scope
[INFO] [stdout]   --> server/src/websocket.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let res = response(headers)?;
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `server` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "6420393e1b085f8d9d529c80769586a437689bd5dce74e964970be2f19801577", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6420393e1b085f8d9d529c80769586a437689bd5dce74e964970be2f19801577", kill_on_drop: false }`
[INFO] [stdout] 6420393e1b085f8d9d529c80769586a437689bd5dce74e964970be2f19801577
