[INFO] fetching crate tokio-rpc 0.1.1... [INFO] checking tokio-rpc-0.1.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tokio-rpc 0.1.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tokio-rpc 0.1.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-rpc 0.1.1 [INFO] finished tweaking crates.io crate tokio-rpc 0.1.1 [INFO] tweaked toml for crates.io crate tokio-rpc 0.1.1 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v1.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0c5be9b4901851567249a794a8787449c67b96dbd58178d56fe12bed7a23281 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0c5be9b4901851567249a794a8787449c67b96dbd58178d56fe12bed7a23281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0c5be9b4901851567249a794a8787449c67b96dbd58178d56fe12bed7a23281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0c5be9b4901851567249a794a8787449c67b96dbd58178d56fe12bed7a23281", kill_on_drop: false }` [INFO] [stdout] c0c5be9b4901851567249a794a8787449c67b96dbd58178d56fe12bed7a23281 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd81611f974e2164cae1312c3fb584905182a836a4a0eb09c368522177902aa1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd81611f974e2164cae1312c3fb584905182a836a4a0eb09c368522177902aa1", 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] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking tokio-rpc v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: unused import: `str` [INFO] [stdout] --> src/rpc.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let inner = try!(self.inner.new_service()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `str` [INFO] [stdout] --> src/rpc.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io, str}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rpc.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | let inner = try!(self.inner.new_service()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/rpc.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | #![deny(warnings, missing_docs)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:83:27 [INFO] [stdout] | [INFO] [stdout] 83 | -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rpc.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | type Transport = Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | type Transport = Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio_io::codec::{Encoder, Decoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | type Transport = Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated struct `tokio_io::codec::Framed`: Moved to tokio-codec [INFO] [stdout] --> src/rpc.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | type Transport = Framed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/rpc.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | buf.put_u64::(id | MAGIC_VER_VAL); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/rpc.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | buf.put_u32::(payload_len as u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/rpc.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(io.framed(RPCCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/rpc.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(io.framed(RPCCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rpc` [INFO] [stdout] error: use of deprecated associated function `bytes::BufMut::put_u64`: use put_u64_be or put_u64_le [INFO] [stdout] --> src/rpc.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | buf.put_u64::(id | MAGIC_VER_VAL); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: use of deprecated associated function `bytes::BufMut::put_u32`: use put_u32_be or put_u32_le [INFO] [stdout] --> src/rpc.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | buf.put_u32::(payload_len as u32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/rpc.rs:172:15 [INFO] [stdout] | [INFO] [stdout] 172 | Ok(io.framed(RPCCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> src/rpc.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | Ok(io.framed(RPCCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fd81611f974e2164cae1312c3fb584905182a836a4a0eb09c368522177902aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd81611f974e2164cae1312c3fb584905182a836a4a0eb09c368522177902aa1", kill_on_drop: false }` [INFO] [stdout] fd81611f974e2164cae1312c3fb584905182a836a4a0eb09c368522177902aa1