[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 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fm-lima%2Fchess" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/m-lima/chess on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-9/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borrow-bag v1.0.0 [INFO] [stderr] Downloaded gotham_derive v0.5.0 [INFO] [stderr] Downloaded gotham v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fec5184a27669c5ce97cd502f483f24a559d72c26de95d00e2a1ae9f9b06653 [INFO] running `Command { std: "docker" "start" "-a" "1fec5184a27669c5ce97cd502f483f24a559d72c26de95d00e2a1ae9f9b06653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fec5184a27669c5ce97cd502f483f24a559d72c26de95d00e2a1ae9f9b06653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fec5184a27669c5ce97cd502f483f24a559d72c26de95d00e2a1ae9f9b06653", kill_on_drop: false }` [INFO] [stdout] 1fec5184a27669c5ce97cd502f483f24a559d72c26de95d00e2a1ae9f9b06653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5501e4ca5045d6f07182576fcf29f8a9747e9ea24d5a1e09386c7f0eea589bd [INFO] running `Command { std: "docker" "start" "-a" "a5501e4ca5045d6f07182576fcf29f8a9747e9ea24d5a1e09386c7f0eea589bd", 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 version_check v0.9.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.68 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-project-lite v0.1.8 [INFO] [stderr] Compiling bytecount v0.4.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling wasm-bindgen v0.2.68 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tower-service v0.3.0 [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 miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [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 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 socket2 v0.3.15 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling chess v3.1.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.18 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.68 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [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 futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [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, 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, 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, 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" "a5501e4ca5045d6f07182576fcf29f8a9747e9ea24d5a1e09386c7f0eea589bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5501e4ca5045d6f07182576fcf29f8a9747e9ea24d5a1e09386c7f0eea589bd", kill_on_drop: false }` [INFO] [stdout] a5501e4ca5045d6f07182576fcf29f8a9747e9ea24d5a1e09386c7f0eea589bd