[INFO] cloning repository https://github.com/wangyu190810/too [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangyu190810/too" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyu190810%2Ftoo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyu190810%2Ftoo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96f5f37920908c74f4c079ed0d2cbbc484bd6680 [INFO] testing wangyu190810/too against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangyu190810%2Ftoo" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangyu190810/too 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/wangyu190810/too [INFO] finished tweaking git repo https://github.com/wangyu190810/too [INFO] tweaked toml for git repo https://github.com/wangyu190810/too written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/wangyu190810/too 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 3d52898329bb15c5abf1446b0f85d673b5c677d8668013af8c02530415f4f824 [INFO] running `Command { std: "docker" "start" "-a" "3d52898329bb15c5abf1446b0f85d673b5c677d8668013af8c02530415f4f824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d52898329bb15c5abf1446b0f85d673b5c677d8668013af8c02530415f4f824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d52898329bb15c5abf1446b0f85d673b5c677d8668013af8c02530415f4f824", kill_on_drop: false }` [INFO] [stdout] 3d52898329bb15c5abf1446b0f85d673b5c677d8668013af8c02530415f4f824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 74b62332bb590fd4259a20503687da1ac5a7b2246736305a37507ff0f1d9b2d8 [INFO] running `Command { std: "docker" "start" "-a" "74b62332bb590fd4259a20503687da1ac5a7b2246736305a37507ff0f1d9b2d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling server v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TcpListener`, `TcpStream` [INFO] [stdout] --> src/net.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/net.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/net.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{BytesMut, BufMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::Request` [INFO] [stdout] --> src/net.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use query::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/query.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{PathBuf,Path}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::*` [INFO] [stdout] --> src/query.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener`, `TcpStream` [INFO] [stdout] --> src/tokionet.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/tokionet.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/tokionet.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use bytes::{BytesMut, BufMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BoxFuture` [INFO] [stdout] --> src/tokionet.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future, Future, BoxFuture,Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientProto` [INFO] [stdout] --> src/tokionet.rs:13:46 [INFO] [stdout] | [INFO] [stdout] 13 | use tokio_proto::streaming::pipeline::{Frame,ClientProto, ServerProto}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::Request` [INFO] [stdout] --> src/tokionet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use query::Request; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tokionet.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let s = try!(str::from_utf8(&line).map_err(|e| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `queueData` should have an upper camel case name [INFO] [stdout] --> src/queue.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct queueData { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `QueueData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/net.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/net.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use futures::{future, Future, BoxFuture}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/net.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/net.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | type Future = BoxFuture; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/tokionet.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_io::codec::Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `futures::BoxFuture`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/tokionet.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | use futures::{future, Future, BoxFuture,Stream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/tokionet.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokionet.rs:150:23 [INFO] [stdout] | [INFO] [stdout] 150 | type Future = Box>; [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 150 ~ type Future = Box>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/net.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | Ok(io.framed(LineCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `futures::Future::boxed`: removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stdout] --> src/net.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | future::ok(req).boxed() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `handle_client` found for struct `Server` in the current scope [INFO] [stdout] --> src/query.rs:376:27 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct Server{ [INFO] [stdout] | ----------------- function or associated item `handle_client` not found for this [INFO] [stdout] ... [INFO] [stdout] 376 | Self::handle_client(&self.static_path, stream); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `Server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/tokionet.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(io.framed(codec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `server` due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74b62332bb590fd4259a20503687da1ac5a7b2246736305a37507ff0f1d9b2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74b62332bb590fd4259a20503687da1ac5a7b2246736305a37507ff0f1d9b2d8", kill_on_drop: false }` [INFO] [stdout] 74b62332bb590fd4259a20503687da1ac5a7b2246736305a37507ff0f1d9b2d8