[INFO] fetching crate poller 0.2.0... [INFO] testing poller-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate poller 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate poller 0.2.0 [INFO] finished tweaking crates.io crate poller 0.2.0 [INFO] tweaked toml for crates.io crate poller 0.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate poller 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate poller 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aeafcdf7fa17e64bf2b394a2888c494112942765c47d2bf4f07c8fe9e8cc837a [INFO] running `Command { std: "docker" "start" "-a" "aeafcdf7fa17e64bf2b394a2888c494112942765c47d2bf4f07c8fe9e8cc837a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aeafcdf7fa17e64bf2b394a2888c494112942765c47d2bf4f07c8fe9e8cc837a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeafcdf7fa17e64bf2b394a2888c494112942765c47d2bf4f07c8fe9e8cc837a", kill_on_drop: false }` [INFO] [stdout] aeafcdf7fa17e64bf2b394a2888c494112942765c47d2bf4f07c8fe9e8cc837a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2b9e042682b2b92ef7397595d7f531850228e007f73404c74c6f39167862594 [INFO] running `Command { std: "docker" "start" "-a" "e2b9e042682b2b92ef7397595d7f531850228e007f73404c74c6f39167862594", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling poller v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoll.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result, SysError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result>, SysError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "e2b9e042682b2b92ef7397595d7f531850228e007f73404c74c6f39167862594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b9e042682b2b92ef7397595d7f531850228e007f73404c74c6f39167862594", kill_on_drop: false }` [INFO] [stdout] e2b9e042682b2b92ef7397595d7f531850228e007f73404c74c6f39167862594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13715fdd8d767a7ab6b6cef96dc3a35dd275582e7f192e11d45d35790bdeea65 [INFO] running `Command { std: "docker" "start" "-a" "13715fdd8d767a7ab6b6cef96dc3a35dd275582e7f192e11d45d35790bdeea65", kill_on_drop: false }` [INFO] [stderr] Compiling poller v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoll.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result, SysError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result>, SysError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoll.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result, SysError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result>, SysError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "13715fdd8d767a7ab6b6cef96dc3a35dd275582e7f192e11d45d35790bdeea65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13715fdd8d767a7ab6b6cef96dc3a35dd275582e7f192e11d45d35790bdeea65", kill_on_drop: false }` [INFO] [stdout] 13715fdd8d767a7ab6b6cef96dc3a35dd275582e7f192e11d45d35790bdeea65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c77058e80878745e3efb023026a13fe3f3cb429f2ccffbfb69031ac0c1a595d [INFO] running `Command { std: "docker" "start" "-a" "2c77058e80878745e3efb023026a13fe3f3cb429f2ccffbfb69031ac0c1a595d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/epoll.rs:145:24 [INFO] [stderr] | [INFO] [stderr] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result, SysError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 145 | pub fn pull_events(&self, timeout_ms: i32) -> Result>, SysError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `poller` (lib) generated 1 warning (run `cargo fix --lib -p poller` to apply 1 suggestion) [INFO] [stderr] warning: `poller` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poller-2304743701f945df) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test epoll::tests::test_poller ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests poller [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/epoll.rs - epoll::Poller::pull_events (line 137) ... FAILED [INFO] [stdout] test src/lib.rs - Events (line 24) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/epoll.rs - epoll::Poller::pull_events (line 137) stdout ---- [INFO] [stdout] error[E0599]: no method named `with_write` found for struct `Events` in the current scope [INFO] [stdout] --> src/epoll.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 7 | poller.add(1, Events::new().with_write(), None).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `write` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - poller.add(1, Events::new().with_write(), None).unwrap(); [INFO] [stdout] 7 + poller.add(1, Events::new().write(), None).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Events (line 24) stdout ---- [INFO] [stdout] error[E0599]: no method named `with_read` found for struct `Events` in the current scope [INFO] [stdout] --> src/lib.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 6 | let events = Events::new().with_read(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Events` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/epoll.rs - epoll::Poller::pull_events (line 137) [INFO] [stdout] src/lib.rs - Events (line 24) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2c77058e80878745e3efb023026a13fe3f3cb429f2ccffbfb69031ac0c1a595d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c77058e80878745e3efb023026a13fe3f3cb429f2ccffbfb69031ac0c1a595d", kill_on_drop: false }` [INFO] [stdout] 2c77058e80878745e3efb023026a13fe3f3cb429f2ccffbfb69031ac0c1a595d