[INFO] fetching crate tokio-linux-aio 0.1.11... [INFO] testing tokio-linux-aio-0.1.11 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate tokio-linux-aio 0.1.11 into /workspace/builds/worker-101/source [INFO] validating manifest of crates.io crate tokio-linux-aio 0.1.11 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-linux-aio 0.1.11 [INFO] finished tweaking crates.io crate tokio-linux-aio 0.1.11 [INFO] tweaked toml for crates.io crate tokio-linux-aio 0.1.11 written to /workspace/builds/worker-101/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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 bindgen v0.32.3 [INFO] [stderr] Downloaded clang-sys v0.21.2 [INFO] [stderr] Downloaded aio-bindings v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f51ebf4b3a4721c7fe769a0a3ef60221606c474b349aac57258673dcdb30d5af [INFO] running `Command { std: "docker" "start" "-a" "f51ebf4b3a4721c7fe769a0a3ef60221606c474b349aac57258673dcdb30d5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f51ebf4b3a4721c7fe769a0a3ef60221606c474b349aac57258673dcdb30d5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51ebf4b3a4721c7fe769a0a3ef60221606c474b349aac57258673dcdb30d5af", kill_on_drop: false }` [INFO] [stdout] f51ebf4b3a4721c7fe769a0a3ef60221606c474b349aac57258673dcdb30d5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b557a9d52b332fdfa3b54339af314f244eb81d9d1c47ec450f857e6f4264b43 [INFO] running `Command { std: "docker" "start" "-a" "8b557a9d52b332fdfa3b54339af314f244eb81d9d1c47ec450f857e6f4264b43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling libloading v0.4.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling bindgen v0.32.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.2 [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 lock_api v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clang-sys v0.21.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling aio-bindings v0.1.2 [INFO] [stderr] Compiling tokio-linux-aio v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `c_void`, `mlock` [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | use libc::{c_long, c_void, mlock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 279 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | pub evented: reactor::PollEvented, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reactor::PollEvented::new(EventFdInner { fd }, &reactor::Handle::default()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | self.error.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/eventfd.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/eventfd.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn add(&mut self, increment: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_capacity` [INFO] [stdout] --> src/sync.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn current_capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.91s [INFO] running `Command { std: "docker" "inspect" "8b557a9d52b332fdfa3b54339af314f244eb81d9d1c47ec450f857e6f4264b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b557a9d52b332fdfa3b54339af314f244eb81d9d1c47ec450f857e6f4264b43", kill_on_drop: false }` [INFO] [stdout] 8b557a9d52b332fdfa3b54339af314f244eb81d9d1c47ec450f857e6f4264b43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcee70d674e9225a435f407435a5334531b5b2dee74cb50abb937932d364f81e [INFO] running `Command { std: "docker" "start" "-a" "dcee70d674e9225a435f407435a5334531b5b2dee74cb50abb937932d364f81e", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-linux-aio v0.1.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `c_void`, `mlock` [INFO] [stdout] --> src/lib.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | use libc::{c_long, c_void, mlock}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 279 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | pub evented: reactor::PollEvented, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reactor::PollEvented::new(EventFdInner { fd }, &reactor::Handle::default()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | self.error.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/eventfd.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/eventfd.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn add(&mut self, increment: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `current_capacity` [INFO] [stdout] --> src/sync.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn current_capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:279:32 [INFO] [stdout] | [INFO] [stdout] 279 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stdout] --> src/lib.rs:737:23 [INFO] [stdout] | [INFO] [stdout] 737 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::executor::current_thread` [INFO] [stdout] --> src/lib.rs:747:9 [INFO] [stdout] | [INFO] [stdout] 747 | use tokio::executor::current_thread; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | pub evented: reactor::PollEvented, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stdout] --> src/eventfd.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | reactor::PollEvented::new(EventFdInner { fd }, &reactor::Handle::default()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stdout] --> src/lib.rs:747:26 [INFO] [stdout] | [INFO] [stdout] 747 | use tokio::executor::current_thread; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stdout] --> src/eventfd.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | use tokio::executor::current_thread; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `tokio::executor::current_thread::run`: use block_on_all instead [INFO] [stdout] --> src/eventfd.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | current_thread::run(|_| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 276 | self.error.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | self.error.cause() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add` [INFO] [stdout] --> src/eventfd.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn add(&mut self, increment: u64) -> Result<(), io::Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.23s [INFO] running `Command { std: "docker" "inspect" "dcee70d674e9225a435f407435a5334531b5b2dee74cb50abb937932d364f81e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcee70d674e9225a435f407435a5334531b5b2dee74cb50abb937932d364f81e", kill_on_drop: false }` [INFO] [stdout] dcee70d674e9225a435f407435a5334531b5b2dee74cb50abb937932d364f81e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a93455452297074ccdd1d85548ab63ba341642b79062294faf3608cfc3e688fa [INFO] running `Command { std: "docker" "start" "-a" "a93455452297074ccdd1d85548ab63ba341642b79062294faf3608cfc3e688fa", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `c_void`, `mlock` [INFO] [stderr] --> src/lib.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | use libc::{c_long, c_void, mlock}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:279:32 [INFO] [stderr] | [INFO] [stderr] 279 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stderr] --> src/eventfd.rs:82:27 [INFO] [stderr] | [INFO] [stderr] 82 | pub evented: reactor::PollEvented, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio::reactor::PollEvented`: PollEvented2 instead [INFO] [stderr] --> src/eventfd.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | reactor::PollEvented::new(EventFdInner { fd }, &reactor::Handle::default()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:276:20 [INFO] [stderr] | [INFO] [stderr] 276 | self.error.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:280:20 [INFO] [stderr] | [INFO] [stderr] 280 | self.error.cause() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Future` [INFO] [stderr] --> src/eventfd.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | use futures::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add` [INFO] [stderr] --> src/eventfd.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn add(&mut self, increment: u64) -> Result<(), io::Error> { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `current_capacity` [INFO] [stderr] --> src/sync.rs:90:12 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn current_capacity(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BorrowMut`, `Borrow` [INFO] [stderr] --> src/lib.rs:737:23 [INFO] [stderr] | [INFO] [stderr] 737 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::executor::current_thread` [INFO] [stderr] --> src/lib.rs:747:9 [INFO] [stderr] | [INFO] [stderr] 747 | use tokio::executor::current_thread; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stderr] --> src/lib.rs:747:26 [INFO] [stderr] | [INFO] [stderr] 747 | use tokio::executor::current_thread; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `tokio::executor::current_thread`: use tokio-current-thread crate or functions in tokio::runtime::current_thread instead [INFO] [stderr] --> src/eventfd.rs:172:26 [INFO] [stderr] | [INFO] [stderr] 172 | use tokio::executor::current_thread; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `tokio::executor::current_thread::run`: use block_on_all instead [INFO] [stderr] --> src/eventfd.rs:196:25 [INFO] [stderr] | [INFO] [stderr] 196 | current_thread::run(|_| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `tokio-linux-aio` (lib) generated 9 warnings [INFO] [stderr] warning: `tokio-linux-aio` (lib test) generated 11 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokio_linux_aio-72da5d7d8dbe47c5) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test eventfd::tests::read_eventfd_semaphore ... ok [INFO] [stdout] test eventfd::tests::read_add_eventfd ... ok [INFO] [stdout] test eventfd::tests::read_eventfd_standard ... ok [INFO] [stdout] test tests::create_and_drop ... ok [INFO] [stdout] test tests::read_invalid_fd ... FAILED [INFO] [stdout] test tests::mixed_read_write ... ok [INFO] [stdout] test tests::write_block_mt ... ok [INFO] [stdout] test tests::write_block_sync_mt ... ok [INFO] [stdout] test tests::read_block_mt ... ok [INFO] [stdout] test tests::read_many_blocks_mt ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::read_invalid_fd stdout ---- [INFO] [stdout] thread '' panicked at 'assertion failed: err.error.kind() == io::ErrorKind::Other', src/lib.rs:1011:21 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56399999b29c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56399999b29c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56399999b29c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56399999b29c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5639999be4cc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x563999996f65 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x56399999cd90 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56399999cd90 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56399999cd90 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x56399999c976 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x56399999d444 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x56399999cef2 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:500:13 [INFO] [stdout] 12: 0x56399999b754 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x56399999ce89 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5639998108f1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x56399981083d - core::panicking::panic::h50b51d19800453c0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:47:5 [INFO] [stdout] 16: 0x563999854db5 - tokio_linux_aio::tests::read_invalid_fd::{{closure}}::h8acd8c7395d1ed3f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:1011:21 [INFO] [stdout] 17: 0x563999847091 - core::result::Result::map_err::hc5091b00306b258a [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/result.rs:853:27 [INFO] [stdout] 18: 0x56399985feb8 - as futures::future::Future>::poll::hd0ab752a964bc36e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/map_err.rs:34:9 [INFO] [stdout] 19: 0x563999816f86 - futures::future::catch_unwind::>::poll::h2889913bc20cf751 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/catch_unwind.rs:49:9 [INFO] [stdout] 20: 0x563999841eff - as futures::future::Future>::poll::{{closure}}::h4f598d4fe9f79b6c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/catch_unwind.rs:32:46 [INFO] [stdout] 21: 0x56399982a5ad - std::panicking::try::do_call::he4daf8d7ba0c0fe4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 22: 0x56399982bf5b - __rust_try [INFO] [stdout] 23: 0x56399982976e - std::panicking::try::hadd1bbc032b3285e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 24: 0x56399985d06c - std::panic::catch_unwind::h8177a1cdd25979c9 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 25: 0x5639998406dc - as futures::future::Future>::poll::ha2595bd3317bee0c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/catch_unwind.rs:32:29 [INFO] [stdout] 26: 0x56399985bda7 - ::Item,::Error>> as futures::future::Future>::poll::h3916f59c3b744a6f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-cpupool-0.1.8/src/lib.rs:325:25 [INFO] [stdout] 27: 0x563999971e36 - as futures::future::Future>::poll::h332c5230173e0052 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:113:13 [INFO] [stdout] 28: 0x563999974b3f - futures::task_impl::Spawn::poll_future_notify::{{closure}}::h10fa2e83e7b078f5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/mod.rs:329:45 [INFO] [stdout] 29: 0x563999974c8b - futures::task_impl::Spawn::enter::{{closure}}::he073c7dd2684265b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/mod.rs:399:27 [INFO] [stdout] 30: 0x56399997ae9c - futures::task_impl::std::set::hb22a8005d4dd894a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/std/mod.rs:86:13 [INFO] [stdout] 31: 0x563999974c21 - futures::task_impl::Spawn::enter::h6a8b1bb338ea6958 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/mod.rs:399:9 [INFO] [stdout] 32: 0x563999974a7f - futures::task_impl::Spawn::poll_fn_notify::h4c2dc99e475afb8b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/mod.rs:291:9 [INFO] [stdout] 33: 0x563999974b19 - futures::task_impl::Spawn::poll_future_notify::h431f0ba0ec5b85d0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/mod.rs:329:9 [INFO] [stdout] 34: 0x56399997b97b - futures::task_impl::std::Run::run::hd5b09a3f8ebbd823 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/task_impl/std/mod.rs:428:23 [INFO] [stdout] 35: 0x56399994d04a - futures_cpupool::Inner::work::h72dcec752888f948 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-cpupool-0.1.8/src/lib.rs:257:36 [INFO] [stdout] 36: 0x56399994dd34 - futures_cpupool::Builder::create::{{closure}}::hde2579e44ec395f2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-cpupool-0.1.8/src/lib.rs:427:42 [INFO] [stdout] 37: 0x563999954a70 - std::sys_common::backtrace::__rust_begin_short_backtrace::hfd6c3d472127b2bf [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 38: 0x56399994f40d - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hfb018fb54425835c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 39: 0x563999955f11 - as core::ops::function::FnOnce<()>>::call_once::hd0519d53be082b03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 40: 0x5639999550b0 - std::panicking::try::do_call::h54059d4117ee36f0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 41: 0x563999955ecb - __rust_try [INFO] [stdout] 42: 0x563999954ffb - std::panicking::try::hff7ca74fe73d82d5 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 43: 0x563999956181 - std::panic::catch_unwind::h4f62bfeec9cb662f [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 44: 0x56399994f22d - std::thread::Builder::spawn_unchecked::{{closure}}::ha87735faf0343fc7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 45: 0x563999949b6f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb5b219d07aa32a0f [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 46: 0x5639999a2313 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 47: 0x5639999a2313 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 48: 0x5639999a2313 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 49: 0x7f2347fed609 - start_thread [INFO] [stdout] 50: 0x7f2347dbf293 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::read_invalid_fd [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.91s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "a93455452297074ccdd1d85548ab63ba341642b79062294faf3608cfc3e688fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a93455452297074ccdd1d85548ab63ba341642b79062294faf3608cfc3e688fa", kill_on_drop: false }` [INFO] [stdout] a93455452297074ccdd1d85548ab63ba341642b79062294faf3608cfc3e688fa