[INFO] cloning repository https://github.com/nsqio/rust-nsq [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsqio/rust-nsq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsqio%2Frust-nsq"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsqio%2Frust-nsq'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 253dbee7f882099e7de8accc43adc0074b122415 [INFO] checking nsqio/rust-nsq against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsqio%2Frust-nsq" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsqio/rust-nsq on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/nsqio/rust-nsq [INFO] finished tweaking git repo https://github.com/nsqio/rust-nsq [INFO] tweaked toml for git repo https://github.com/nsqio/rust-nsq written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nsqio/rust-nsq already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aacec55bee837671d3c0c30527c69787237c73d5d7d5007e1a2d3ea9456b4116 [INFO] running `"docker" "start" "-a" "aacec55bee837671d3c0c30527c69787237c73d5d7d5007e1a2d3ea9456b4116"` [INFO] [stderr] Checking nsq v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/lib.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::net::tcp::TcpStream; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::Reader`, `std::io::Writer`, `std::io::IoResult`, `std::io::IoError` [INFO] [stderr] --> src/lib.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `IoResult` in `io` [INFO] [stderr] | | | no `Writer` in `io` [INFO] [stderr] | | no `Reader` in `io` [INFO] [stderr] | no `MemReader` in `io` [INFO] [stderr] | [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{BufReader, Reader, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Read, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Write, IoResult, IoError}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, Result, IoError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, IoResult, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:37:3 [INFO] [stderr] | [INFO] [stderr] 37 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/lib.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let sock = try!(TcpStream::connect(addr, port)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stderr] --> src/lib.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | sock: TcpStream, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 67 | let size = try_io!(r.read_be_u32()); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:68:49 [INFO] [stderr] | [INFO] [stderr] 68 | let data = try_io!(r.read_exact(size as uint)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 68 | let data = try_io!(r.read_exact(size as uint)); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 70 | let frame_type = try_io!(frame.read_be_u32()); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 71 | let body = try_io!(frame.read_to_end()); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ResponseError` in this scope [INFO] [stderr] --> src/lib.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | kind: ResponseError, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::ResponseError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | let sock = try!(TcpStream::connect(addr, port)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(ret.send(b" V2")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&[u8]` in the current scope [INFO] [stderr] --> src/lib.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | w.write(data.as_slice()) [INFO] [stderr] | ^^^^^^^^ method not found in `&[u8]` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stderr] --> src/lib.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::net::tcp::TcpStream; [INFO] [stderr] | ^^^ could not find `net` in `io` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error[E0432]: unresolved imports `std::io::MemReader`, `std::io::Reader`, `std::io::Writer`, `std::io::IoResult`, `std::io::IoError` [INFO] [stderr] --> src/lib.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^ no `IoError` in `io` [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `IoResult` in `io` [INFO] [stderr] | | | no `Writer` in `io` [INFO] [stderr] | | no `Reader` in `io` [INFO] [stderr] | no `MemReader` in `io` [INFO] [stderr] | [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{BufReader, Reader, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Read, Writer, IoResult, IoError}; [INFO] [stderr] | ^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Write, IoResult, IoError}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, Result, IoError}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: a similar name exists in the module [INFO] [stderr] | [INFO] [stderr] 3 | use std::io::{MemReader, Reader, Writer, IoResult, Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:28:3 [INFO] [stderr] | [INFO] [stderr] 28 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `deriving` in this scope [INFO] [stderr] --> src/lib.rs:37:3 [INFO] [stderr] | [INFO] [stderr] 37 | #[deriving(Show)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `TcpStream` [INFO] [stderr] --> src/lib.rs:49:25 [INFO] [stderr] | [INFO] [stderr] 49 | let sock = try!(TcpStream::connect(addr, port)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `TcpStream` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stderr] --> src/lib.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | sock: TcpStream, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use std::net::TcpStream; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 67 | let size = try_io!(r.read_be_u32()); [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/lib.rs:68:49 [INFO] [stderr] | [INFO] [stderr] 68 | let data = try_io!(r.read_exact(size as uint)); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 68 | let data = try_io!(r.read_exact(size as uint)); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 70 | let frame_type = try_io!(frame.read_be_u32()); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `InternalIoError` in this scope [INFO] [stderr] --> src/lib.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | kind: InternalIoError(err), [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] ... [INFO] [stderr] 71 | let body = try_io!(frame.read_to_end()); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::InternalIoError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `ResponseError` in this scope [INFO] [stderr] --> src/lib.rs:74:23 [INFO] [stderr] | [INFO] [stderr] 74 | kind: ResponseError, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 3 | use ErrorKind::ResponseError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | let sock = try!(TcpStream::connect(addr, port)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/lib.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | try!(ret.send(b" V2")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `nsq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `as_slice` found for reference `&[u8]` in the current scope [INFO] [stderr] --> src/lib.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | w.write(data.as_slice()) [INFO] [stderr] | ^^^^^^^^ method not found in `&[u8]` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `nsq`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "aacec55bee837671d3c0c30527c69787237c73d5d7d5007e1a2d3ea9456b4116"` [INFO] running `"docker" "rm" "-f" "aacec55bee837671d3c0c30527c69787237c73d5d7d5007e1a2d3ea9456b4116"` [INFO] [stdout] aacec55bee837671d3c0c30527c69787237c73d5d7d5007e1a2d3ea9456b4116