[INFO] updating cached repository https://github.com/soupersauce/rustchat [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c1dfd38ce54610731c0dca287af5c3327afa737c [INFO] testing soupersauce/rustchat against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoupersauce%2Frustchat" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soupersauce/rustchat on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/soupersauce/rustchat already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 8d49e1beece83a8c0b4380cad12a594d0f35aef4f97b8f6c2a875ed885c28af7 [INFO] running `"docker" "start" "-a" "8d49e1beece83a8c0b4380cad12a594d0f35aef4f97b8f6c2a875ed885c28af7"` [INFO] [stderr] warning: unused manifest key: frame [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling sha1 v0.1.1 [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] [stderr] error: expected expression, found reserved keyword `try` [INFO] [stderr] --> src/frame.rs:52:19 [INFO] [stderr] | [INFO] [stderr] 52 | let buf = try!(input.read_u16::()); [INFO] [stderr] | ^^^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found reserved keyword `try` [INFO] [stderr] --> src/frame.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | try!(input.read(&mut buf)); [INFO] [stderr] | ^^^ expected expression [INFO] [stderr] [INFO] [stderr] error: expected expression, found reserved keyword `try` [INFO] [stderr] --> src/frame.rs:114:9 [INFO] [stderr] | [INFO] [stderr] 114 | try!(input.read(&mut payload)); [INFO] [stderr] | ^^^ expected expression [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::io::BigEndian` [INFO] [stderr] --> src/frame.rs:2:39 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stderr] | ^^^^^^^^^ no `BigEndian` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `byteorder::ReadyBytesExt` [INFO] [stderr] --> src/frame.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `ReadyBytesExt` in the root [INFO] [stderr] | help: a similar name exists in the module: `ReadBytesExt` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ErrorKind`, `Write` [INFO] [stderr] --> src/frame.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{Read, Write, ErrorKind, BigEndian}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Error` [INFO] [stderr] --> src/frame.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `WriteBytesExt` [INFO] [stderr] --> src/frame.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | use byteorder::{ReadyBytesExt, WriteBytesExt, BigEndian}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `OpCode` [INFO] [stderr] --> src/main.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | use frame::{WebSocketFrame, OpCode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::cell::RefCell>` [INFO] [stderr] --> src/main.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | AwaitingHandshake(RefCell>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `std::cell::RefCell>` [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `!=` cannot be applied to type `std::cell::RefCell>` [INFO] [stderr] --> src/main.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | AwaitingHandshake(RefCell>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::cmp::PartialEq` might be missing for `std::cell::RefCell>` [INFO] [stderr] [INFO] [stderr] error[E0277]: `frame::WebSocketFrame` doesn't implement `std::fmt::Debug` [INFO] [stderr] --> src/main.rs:183:51 [INFO] [stderr] | [INFO] [stderr] 183 | Ok(frame) => println!("{:?}", frame), [INFO] [stderr] | ^^^^^ `frame::WebSocketFrame` cannot be formatted using `{:?}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::fmt::Debug` is not implemented for `frame::WebSocketFrame` [INFO] [stderr] = note: add `#[derive(Debug)]` or manually implement `std::fmt::Debug` [INFO] [stderr] = note: required by `std::fmt::Debug::fmt` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_u64` found for type `&mut R` in the current scope [INFO] [stderr] --> src/frame.rs:120:38 [INFO] [stderr] | [INFO] [stderr] 120 | PAYLOAD_LEN_U64 => input.read_u64::().map(|v| v as usize).map_err(From::from), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use crate::byteorder::ReadBytesExt;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_u16` found for type `&mut R` in the current scope [INFO] [stderr] --> src/frame.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | PAYLOAD_LEN_U16 => input.read_u16::().map(|v| v as usize).map_err(From::from), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] `use crate::byteorder::ReadBytesExt;` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0369, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `chat`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8d49e1beece83a8c0b4380cad12a594d0f35aef4f97b8f6c2a875ed885c28af7"` [INFO] running `"docker" "rm" "-f" "8d49e1beece83a8c0b4380cad12a594d0f35aef4f97b8f6c2a875ed885c28af7"` [INFO] [stdout] 8d49e1beece83a8c0b4380cad12a594d0f35aef4f97b8f6c2a875ed885c28af7