[INFO] cloning repository https://github.com/ponchoalv/rust-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ponchoalv/rust-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchoalv%2Frust-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchoalv%2Frust-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2761c4b80652ba7fa349d2249622630d4ef766a5 [INFO] testing ponchoalv/rust-chat against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponchoalv%2Frust-chat" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ponchoalv/rust-chat 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/ponchoalv/rust-chat [INFO] finished tweaking git repo https://github.com/ponchoalv/rust-chat [INFO] tweaked toml for git repo https://github.com/ponchoalv/rust-chat written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/ponchoalv/rust-chat 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] 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 ws2_32-sys v0.2.1 [INFO] [stderr] Downloaded time v0.1.35 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] [stderr] Downloaded bitflags v0.4.0 [INFO] [stderr] Downloaded byteorder v0.3.13 [INFO] [stderr] Downloaded bytes v0.3.0 [INFO] [stderr] Downloaded gcc v0.3.38 [INFO] [stderr] Downloaded miow v0.1.3 [INFO] [stderr] Downloaded nix v0.5.1 [INFO] [stderr] Downloaded rustc-serialize v0.3.21 [INFO] [stderr] Downloaded mio v0.5.1 [INFO] [stderr] Downloaded http-muncher v0.2.5 [INFO] [stderr] Downloaded net2 v0.2.26 [INFO] [stderr] Downloaded libc v0.2.17 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded slab v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 00c5abd8d1dc9b879b0f26f9326f04fa748900623d58b3dbcf94893e2d02f80d [INFO] running `Command { std: "docker" "start" "-a" "00c5abd8d1dc9b879b0f26f9326f04fa748900623d58b3dbcf94893e2d02f80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00c5abd8d1dc9b879b0f26f9326f04fa748900623d58b3dbcf94893e2d02f80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c5abd8d1dc9b879b0f26f9326f04fa748900623d58b3dbcf94893e2d02f80d", kill_on_drop: false }` [INFO] [stdout] 00c5abd8d1dc9b879b0f26f9326f04fa748900623d58b3dbcf94893e2d02f80d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 393519dd3807a456ec79a395162d3750ea2f6c05cdd1f63c44607e3ba3e1f2b0 [INFO] running `Command { std: "docker" "start" "-a" "393519dd3807a456ec79a395162d3750ea2f6c05cdd1f63c44607e3ba3e1f2b0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling net2 v0.2.26 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling http-muncher v0.2.5 [INFO] [stderr] Compiling miow v0.1.3 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid unicode character escape [INFO] [stdout] --> src/frame.rs:67:39 [INFO] [stdout] | [INFO] [stdout] 67 | println!("Hello\x20W\u{f3}rld!\u{abcdef}"); [INFO] [stdout] | ^^^^^^^^^^ invalid escape [INFO] [stdout] | [INFO] [stdout] = help: unicode escape must be at most 10FFFF [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `stuff` [INFO] [stdout] --> src/frame.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod stuff; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `stuff`, create file "src/frame/stuff.rs" or "src/frame/stuff/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `log` [INFO] [stdout] --> src/frame.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate log; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0255]: the name `Write` is defined multiple times [INFO] [stdout] --> src/frame.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Write { [INFO] [stdout] | --------------- previous definition of the trait `Write` here [INFO] [stdout] ... [INFO] [stdout] 76 | use std::io::{Read, Write, ErrorKind}; [INFO] [stdout] | ^^^^^ `Write` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Write` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 76 | use std::io::{Read, Write as OtherWrite, ErrorKind}; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/frame.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | info!("{} byte(s) written", s); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/frame.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | info!("The program \"{}\" calculates the value {}", [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AppVersion` in `stuff` [INFO] [stdout] --> src/frame.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | stuff::AppVersion::print(); [INFO] [stdout] | ^^^^^^^^^^ could not find `AppVersion` in `stuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_map` in module `stuff` [INFO] [stdout] --> src/frame.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let s = stuff::write_map(&self.fields, buf)?; [INFO] [stdout] | ^^^^^^^^^ not found in `stuff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/frame.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | 'label: loop { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/frame.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | use std::io::{Read, Write, ErrorKind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | let buf = try!(input.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 161 | let header = try!(Self::parse_header(buf).map_err(|s| io::Error::new(ErrorKind::Other, s))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:163:19 [INFO] [stdout] | [INFO] [stdout] 163 | let len = try!(Self::read_length(header.payload_length, input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | let mask = try!(Self::read_mask(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | let mut payload = try!(Self::read_payload(len, input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | try!(output.write_u16::(hdr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | try!(output.write(&self.payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:247:32 [INFO] [stdout] | [INFO] [stdout] 247 | PAYLOAD_LEN_U16 => try!(output.write_u16::(self.payload.len() as u16)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:248:32 [INFO] [stdout] | [INFO] [stdout] 248 | PAYLOAD_LEN_U64 => try!(output.write_u64::(self.payload.len() as u64)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | try!(input.read(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/frame.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | try!(input.read(&mut payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'lifetime` [INFO] [stdout] --> src/frame.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | unsafe fn a_function() { [INFO] [stdout] | - ^^^^^^^^^ undeclared lifetime [INFO] [stdout] | | [INFO] [stdout] | help: consider introducing lifetime `'lifetime` here: `'lifetime,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/frame.rs:18:40 [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result; [INFO] [stdout] | ^^^^^^ ----- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 18 | fn write(&mut self, buf: &[u8]) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/frame.rs:29:40 [INFO] [stdout] | [INFO] [stdout] 29 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ ----- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 29 | fn write(&mut self, buf: &[u8]) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0255, E0261, E0425, E0433, E0463, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` due to 12 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "393519dd3807a456ec79a395162d3750ea2f6c05cdd1f63c44607e3ba3e1f2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "393519dd3807a456ec79a395162d3750ea2f6c05cdd1f63c44607e3ba3e1f2b0", kill_on_drop: false }` [INFO] [stdout] 393519dd3807a456ec79a395162d3750ea2f6c05cdd1f63c44607e3ba3e1f2b0