[INFO] fetching crate tokio-core 0.1.17... [INFO] checking tokio-core-0.1.17 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate tokio-core 0.1.17 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tokio-core 0.1.17 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-core 0.1.17 [INFO] finished tweaking crates.io crate tokio-core 0.1.17 [INFO] tweaked toml for crates.io crate tokio-core 0.1.17 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a820f7461222fcb3c180aa2adb37b5db660c901c967b2ec0f75d7c5160bc6644 [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" "a820f7461222fcb3c180aa2adb37b5db660c901c967b2ec0f75d7c5160bc6644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a820f7461222fcb3c180aa2adb37b5db660c901c967b2ec0f75d7c5160bc6644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a820f7461222fcb3c180aa2adb37b5db660c901c967b2ec0f75d7c5160bc6644", kill_on_drop: false }` [INFO] [stdout] a820f7461222fcb3c180aa2adb37b5db660c901c967b2ec0f75d7c5160bc6644 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49dfa8177c6880fb2647476a11abea8957e88991a1c0a15240e16b046ff3b23e [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" "49dfa8177c6880fb2647476a11abea8957e88991a1c0a15240e16b046ff3b23e", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking log v0.3.9 [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 miniz_oxide v0.4.3 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [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.17 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/frame.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 294 | match try!(self.decode(buf)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/frame.rs:337:37 [INFO] [stdout] | [INFO] [stdout] 337 | let frame = try!(self.codec.decode_eof(&mut self.rd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/frame.rs:342:38 [INFO] [stdout] | [INFO] [stdout] 342 | if let Some(frame) = try!(self.codec.decode(&mut self.rd)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/frame.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | try!(self.poll_complete()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/io/frame.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | try!(self.codec.encode(item, &mut self.wr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let l = try!(mio::net::TcpListener::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let l = try!(mio::net::TcpListener::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let l = try!(mio::net::TcpListener::from_std(listener)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let io = try!(PollEvented2::new_with_handle(listener, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let inner = try!(mio::net::TcpStream::from_stream(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | io: try!(PollEvented2::new_with_handle(inner, handle.new_tokio_handle())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:783:30 [INFO] [stdout] | [INFO] [stdout] 783 | if let Some(e) = try!(stream.io.get_ref().take_error()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let frame = try!(self.codec.decode(&addr, &self.rd[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match try!(self.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let udp = try!(mio::net::UdpSocket::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let io = try!(PollEvented2::new_with_handle(socket, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let udp = try!(mio::net::UdpSocket::from_socket(socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 230 | let res = try!(CURRENT_LOOP.set(self, || { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/tcp.rs:328:34 [INFO] [stdout] | [INFO] [stdout] 328 | -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pending_spawn: Vec>>, [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/reactor/mod.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | Run(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnBox` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicUsize, AtomicBool, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | static NEXT_LOOP_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | new_handle: self.rt.reactor().clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:213:31 [INFO] [stdout] | [INFO] [stdout] 213 | let handle1 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 214 | let handle2 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | let handle = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-core` [INFO] [stdout] error: aborting due to 27 previous errors [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49dfa8177c6880fb2647476a11abea8957e88991a1c0a15240e16b046ff3b23e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49dfa8177c6880fb2647476a11abea8957e88991a1c0a15240e16b046ff3b23e", kill_on_drop: false }` [INFO] [stdout] 49dfa8177c6880fb2647476a11abea8957e88991a1c0a15240e16b046ff3b23e