[INFO] cloning repository https://github.com/raginggeek/rustchat-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raginggeek/rustchat-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraginggeek%2Frustchat-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraginggeek%2Frustchat-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d4dc96fe5aa31dd91f91a693e24b91bd6e1a09e [INFO] checking raginggeek/rustchat-practice against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraginggeek%2Frustchat-practice" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raginggeek/rustchat-practice on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raginggeek/rustchat-practice [INFO] finished tweaking git repo https://github.com/raginggeek/rustchat-practice [INFO] tweaked toml for git repo https://github.com/raginggeek/rustchat-practice written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/raginggeek/rustchat-practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded http-muncher v0.2.5 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded gcc v0.3.54 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded net2 v0.2.32 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 988aed53e1f1041f1fac70dc532539e6de9fdc2541f9b5cf2cbab00affacb53b [INFO] running `Command { std: "docker" "start" "-a" "988aed53e1f1041f1fac70dc532539e6de9fdc2541f9b5cf2cbab00affacb53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "988aed53e1f1041f1fac70dc532539e6de9fdc2541f9b5cf2cbab00affacb53b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988aed53e1f1041f1fac70dc532539e6de9fdc2541f9b5cf2cbab00affacb53b", kill_on_drop: false }` [INFO] [stdout] 988aed53e1f1041f1fac70dc532539e6de9fdc2541f9b5cf2cbab00affacb53b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1e833084971a5aa04acc457a3765025570ffc63559566f87d3db247a1ee6437 [INFO] running `Command { std: "docker" "start" "-a" "a1e833084971a5aa04acc457a3765025570ffc63559566f87d3db247a1ee6437", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking slab v0.1.3 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking byteorder v0.3.13 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking net2 v0.2.32 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking RustChat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/frame.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | .map_err(|e| e.description().to_string())?; [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/frame.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [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/frame.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | .map_err(|e| e.description().to_string())?; [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/frame.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [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/client.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [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/client.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | .map_err(|e| e.description().to_string())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Cell>` cannot be shared between threads safely [INFO] [stdout] --> src/interface.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(mio::Token, WebSocketClient)`, the trait `Sync` is not implemented for `Cell>` [INFO] [stdout] = note: required because it appears within the type `mio::sys::unix::tcp::TcpStream` [INFO] [stdout] = note: required because it appears within the type `mio::tcp::TcpStream` [INFO] [stdout] note: required because it appears within the type `WebSocketClient` [INFO] [stdout] --> src/client.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct WebSocketClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(mio::Token, WebSocketClient)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `hashbrown::raw::RawTable<(mio::Token, WebSocketClient)>` [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 of the requirements on the impl of `Sync` for `RwLock>` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Arc>>` [INFO] [stdout] note: required because it appears within the type `WebSocketServerState` [INFO] [stdout] --> src/server.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WebSocketServerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `[closure@src/interface.rs:36:23: 48:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 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 `RustChat` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `Cell>` cannot be shared between threads safely [INFO] [stdout] --> src/interface.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^ `Cell>` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `(mio::Token, WebSocketClient)`, the trait `Sync` is not implemented for `Cell>` [INFO] [stdout] = note: required because it appears within the type `mio::sys::unix::tcp::TcpStream` [INFO] [stdout] = note: required because it appears within the type `mio::tcp::TcpStream` [INFO] [stdout] note: required because it appears within the type `WebSocketClient` [INFO] [stdout] --> src/client.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct WebSocketClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `(mio::Token, WebSocketClient)` [INFO] [stdout] = note: required because of the requirements on the impl of `Sync` for `hashbrown::raw::RawTable<(mio::Token, WebSocketClient)>` [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 of the requirements on the impl of `Sync` for `RwLock>` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Arc>>` [INFO] [stdout] note: required because it appears within the type `WebSocketServerState` [INFO] [stdout] --> src/server.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WebSocketServerState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: required because it appears within the type `[closure@src/interface.rs:36:23: 48:10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a1e833084971a5aa04acc457a3765025570ffc63559566f87d3db247a1ee6437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e833084971a5aa04acc457a3765025570ffc63559566f87d3db247a1ee6437", kill_on_drop: false }` [INFO] [stdout] a1e833084971a5aa04acc457a3765025570ffc63559566f87d3db247a1ee6437