[INFO] cloning repository https://github.com/horou-dsk/rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/horou-dsk/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorou-dsk%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorou-dsk%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9c0d770d9e08f09e6eba5c55045ec9356a4cca49 [INFO] testing horou-dsk/rust-test against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorou-dsk%2Frust-test" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/horou-dsk/rust-test 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/horou-dsk/rust-test [INFO] finished tweaking git repo https://github.com/horou-dsk/rust-test [INFO] tweaked toml for git repo https://github.com/horou-dsk/rust-test written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/horou-dsk/rust-test 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 95763edf8088ad2d9648739e3b739708c1873ca16c5edd19806af59d9e55fb11 [INFO] running `Command { std: "docker" "start" "-a" "95763edf8088ad2d9648739e3b739708c1873ca16c5edd19806af59d9e55fb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95763edf8088ad2d9648739e3b739708c1873ca16c5edd19806af59d9e55fb11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95763edf8088ad2d9648739e3b739708c1873ca16c5edd19806af59d9e55fb11", kill_on_drop: false }` [INFO] [stdout] 95763edf8088ad2d9648739e3b739708c1873ca16c5edd19806af59d9e55fb11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 23684deaa4f012c66b0c2829acb323130d05db674ed57458a675fc57ad73d667 [INFO] running `Command { std: "docker" "start" "-a" "23684deaa4f012c66b0c2829acb323130d05db674ed57458a675fc57ad73d667", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.11 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling openssl-src v111.10.2+1.1.1g [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing v0.1.17 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling websocket-base v0.26.2 [INFO] [stderr] Compiling websocket v0.26.2 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.7 [INFO] [stderr] Compiling RustTest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `websocket::server::upgrade::WsUpgrade` [INFO] [stdout] --> src/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use websocket::server::upgrade::WsUpgrade; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `websocket::server::upgrade::sync::Buffer` [INFO] [stdout] --> src/player.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use websocket::server::upgrade::sync::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/room.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read` [INFO] [stdout] --> src/struct_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod struct_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/http_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod http_test; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `vector` [INFO] [stdout] --> src/macro_test.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | macro_rules! vector { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `UnsafeCell>>>` cannot be shared between threads safely [INFO] [stdout] --> src/websocket_server.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `UnsafeCell>>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(unicase::UniCase, hyper::header::internals::item::Item)`, the trait `Sync` is not implemented for `UnsafeCell>>>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::cell::OptCell>>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::item::Item` [INFO] [stdout] = note: required because it appears within the type `(unicase::UniCase, hyper::header::internals::item::Item)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `alloc::raw_vec::RawVec<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `Vec<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::vec_map::VecMap, hyper::header::internals::item::Item>` [INFO] [stdout] = note: required because it appears within the type `Headers` [INFO] [stdout] = note: required because it appears within the type `websocket::sync::Client` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `&'static websocket::sync::Client` [INFO] [stdout] note: required because it appears within the type `Player` [INFO] [stdout] --> src/player.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(u32, Player)` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `hashbrown::raw::RawTable<(u32, Player)>` [INFO] [stdout] = note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] = note: required because it appears within the type `HashMap` [INFO] [stdout] note: required because it appears within the type `Room` [INFO] [stdout] --> src/room.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `std::sync::Mutex` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Arc>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/websocket_server.rs:17:23: 56:10]` [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `UnsafeCell>>` cannot be shared between threads safely [INFO] [stdout] --> src/websocket_server.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `UnsafeCell>>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(unicase::UniCase, hyper::header::internals::item::Item)`, the trait `Sync` is not implemented for `UnsafeCell>>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::cell::PtrMapCell<(dyn HeaderFormat + Sync + std::marker::Send + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::item::Item` [INFO] [stdout] = note: required because it appears within the type `(unicase::UniCase, hyper::header::internals::item::Item)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `Unique<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `alloc::raw_vec::RawVec<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `Vec<(unicase::UniCase, hyper::header::internals::item::Item)>` [INFO] [stdout] = note: required because it appears within the type `hyper::header::internals::vec_map::VecMap, hyper::header::internals::item::Item>` [INFO] [stdout] = note: required because it appears within the type `Headers` [INFO] [stdout] = note: required because it appears within the type `websocket::sync::Client` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `&'static websocket::sync::Client` [INFO] [stdout] note: required because it appears within the type `Player` [INFO] [stdout] --> src/player.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Player { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(u32, Player)` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `hashbrown::raw::RawTable<(u32, Player)>` [INFO] [stdout] = note: required because it appears within the type `hashbrown::map::HashMap` [INFO] [stdout] = note: required because it appears within the type `HashMap` [INFO] [stdout] note: required because it appears within the type `Room` [INFO] [stdout] --> src/room.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Room { [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `std::sync::Mutex` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Arc>` [INFO] [stdout] = note: required because it appears within the type `[closure@src/websocket_server.rs:17:23: 56:10]` [INFO] [stdout] note: required by a bound in `std::thread::spawn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RustTest` due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23684deaa4f012c66b0c2829acb323130d05db674ed57458a675fc57ad73d667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23684deaa4f012c66b0c2829acb323130d05db674ed57458a675fc57ad73d667", kill_on_drop: false }` [INFO] [stdout] 23684deaa4f012c66b0c2829acb323130d05db674ed57458a675fc57ad73d667