[INFO] cloning repository https://github.com/soupersauce/rustchat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soupersauce/rustchat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1dfd38ce54610731c0dca287af5c3327afa737c [INFO] testing soupersauce/rustchat against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soupersauce/rustchat 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/soupersauce/rustchat [INFO] finished tweaking git repo https://github.com/soupersauce/rustchat [INFO] tweaked toml for git repo https://github.com/soupersauce/rustchat written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/soupersauce/rustchat 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] warning: unused manifest key: frame [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded miow v0.1.5 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded http-muncher v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b29391b15389a23c79cb2306e874eaebe51d6d34449075b1d25aa2318b475589 [INFO] running `Command { std: "docker" "start" "-a" "b29391b15389a23c79cb2306e874eaebe51d6d34449075b1d25aa2318b475589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b29391b15389a23c79cb2306e874eaebe51d6d34449075b1d25aa2318b475589", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29391b15389a23c79cb2306e874eaebe51d6d34449075b1d25aa2318b475589", kill_on_drop: false }` [INFO] [stdout] b29391b15389a23c79cb2306e874eaebe51d6d34449075b1d25aa2318b475589 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a9342ebe35b60314226e8d61224d8a40f94a9856c73769adc16a9edd1d5755f5 [INFO] running `Command { std: "docker" "start" "-a" "a9342ebe35b60314226e8d61224d8a40f94a9856c73769adc16a9edd1d5755f5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: frame [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | let buf = try!(input.read_u16::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 52 - let buf = try!(input.read_u16::()); [INFO] [stdout] 52 + let buf = input.read_u16::()?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 52 | let buf = r#try!(input.read_u16::()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | let len = try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 55 - let len = try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] 55 + let len = Self::read_length(header.payload_length, input)?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 55 | let len = r#try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:57:24 [INFO] [stdout] | [INFO] [stdout] 57 | let mask = try!(Self::read_mask(input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 57 - let mask = try!(Self::read_mask(input)); [INFO] [stdout] 57 + let mask = Self::read_mask(input)?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 57 | let mask = r#try!(Self::read_mask(input)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 62 - let mut payload = try!(Self::read_payload(len, input)); [INFO] [stdout] 62 + let mut payload = Self::read_payload(len, input)?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 62 | let mut payload = r#try!(Self::read_payload(len, input)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | try!(input.read(&mut buf)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 107 - try!(input.read(&mut buf)); [INFO] [stdout] 107 + input.read(&mut buf)?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 107 | r#try!(input.read(&mut buf)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated `try` macro [INFO] [stdout] --> src/frame.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | try!(input.read(&mut payload)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: in the 2018 edition `try` is a reserved keyword, and the `try!()` macro is deprecated [INFO] [stdout] help: you can use the `?` operator instead [INFO] [stdout] | [INFO] [stdout] 114 - try!(input.read(&mut payload)); [INFO] [stdout] 114 + input.read(&mut payload)?; [INFO] [stdout] | [INFO] [stdout] help: alternatively, you can still access the deprecated `try!()` macro using the "raw identifier" syntax [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(input.read(&mut payload)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::BigEndian` [INFO] [stdout] --> src/frame.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^^^^^ no `BigEndian` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `byteorder::ReadyBytesExt` [INFO] [stdout] --> src/frame.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ReadyBytesExt` in the root [INFO] [stdout] | help: a similar name exists in the module: `ReadBytesExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Write` [INFO] [stdout] --> src/frame.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/frame.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBytesExt` [INFO] [stdout] --> src/frame.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpCode` [INFO] [stdout] --> src/main.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | use frame::{WebSocketFrame, OpCode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `masked` on type `Result` [INFO] [stdout] --> src/frame.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | let mask_key = if header.masked { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frame.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | header: header, [INFO] [stdout] | ^^^^^^ expected struct `WebSocketFrameHeader`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `WebSocketFrameHeader` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u64` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:120:38 [INFO] [stdout] | [INFO] [stdout] 120 | PAYLOAD_LEN_U64 => input.read_u64::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::byteorder::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u16` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/frame.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | PAYLOAD_LEN_U16 => input.read_u16::().map(|v| v as usize).map_err(From::from), [INFO] [stdout] | ^^^^^^^^ method not found in `&mut R` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 1 | use crate::byteorder::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `WebSocketFrame` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:183:51 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(frame) => println!("{:?}", frame), [INFO] [stdout] | ^^^^^ `WebSocketFrame` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `WebSocketFrame` [INFO] [stdout] = note: add `#[derive(Debug)]` to `WebSocketFrame` or manually `impl Debug for WebSocketFrame` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 37 | enum ClientState { [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `RefCell>` [INFO] [stdout] --> src/main.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 37 | enum ClientState { [INFO] [stdout] 38 | AwaitingHandshake(RefCell>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a9342ebe35b60314226e8d61224d8a40f94a9856c73769adc16a9edd1d5755f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9342ebe35b60314226e8d61224d8a40f94a9856c73769adc16a9edd1d5755f5", kill_on_drop: false }` [INFO] [stdout] a9342ebe35b60314226e8d61224d8a40f94a9856c73769adc16a9edd1d5755f5