[INFO] fetching crate watchdo 0.1.2... [INFO] testing watchdo-0.1.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate watchdo 0.1.2 into /workspace/builds/worker-28/source [INFO] validating manifest of crates.io crate watchdo 0.1.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate watchdo 0.1.2 [INFO] finished tweaking crates.io crate watchdo 0.1.2 [INFO] tweaked toml for crates.io crate watchdo 0.1.2 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate crates.io crate watchdo 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92f26c7306cedd4073c661c1f8ee7844c555f3174606f27a05ae270ca9d2d11a [INFO] running `Command { std: "docker" "start" "-a" "92f26c7306cedd4073c661c1f8ee7844c555f3174606f27a05ae270ca9d2d11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92f26c7306cedd4073c661c1f8ee7844c555f3174606f27a05ae270ca9d2d11a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f26c7306cedd4073c661c1f8ee7844c555f3174606f27a05ae270ca9d2d11a", kill_on_drop: false }` [INFO] [stdout] 92f26c7306cedd4073c661c1f8ee7844c555f3174606f27a05ae270ca9d2d11a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f1c7c6ff687bb13e7670ec2935d7d3c865634b6cfe4a0dfa5d3a7a56a780fe0 [INFO] running `Command { std: "docker" "start" "-a" "5f1c7c6ff687bb13e7670ec2935d7d3c865634b6cfe4a0dfa5d3a7a56a780fe0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling inotify-sys v0.1.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling filetime v0.2.7 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling subprocess v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.2 [INFO] [stderr] Compiling structopt v0.3.2 [INFO] [stderr] Compiling watchdo v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.54s [INFO] running `Command { std: "docker" "inspect" "5f1c7c6ff687bb13e7670ec2935d7d3c865634b6cfe4a0dfa5d3a7a56a780fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f1c7c6ff687bb13e7670ec2935d7d3c865634b6cfe4a0dfa5d3a7a56a780fe0", kill_on_drop: false }` [INFO] [stdout] 5f1c7c6ff687bb13e7670ec2935d7d3c865634b6cfe4a0dfa5d3a7a56a780fe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bac6b509a4ea9fcaa6d218b4a35b60bcc95af668aeb50a415326985fb0399349 [INFO] running `Command { std: "docker" "start" "-a" "bac6b509a4ea9fcaa6d218b4a35b60bcc95af668aeb50a415326985fb0399349", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling mockall_derive v0.5.1 [INFO] [stderr] Compiling predicates-tree v1.0.0 [INFO] [stderr] Compiling predicates v1.0.1 [INFO] [stderr] Compiling mockall v0.5.1 [INFO] [stderr] Compiling watchdo v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/executor.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg_attr(test, mockall::automock)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the attribute macro `mockall::automock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/executor.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(test, mockall::automock(type Child=MockChild;))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in the attribute macro `mockall::automock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.35s [INFO] running `Command { std: "docker" "inspect" "bac6b509a4ea9fcaa6d218b4a35b60bcc95af668aeb50a415326985fb0399349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac6b509a4ea9fcaa6d218b4a35b60bcc95af668aeb50a415326985fb0399349", kill_on_drop: false }` [INFO] [stdout] bac6b509a4ea9fcaa6d218b4a35b60bcc95af668aeb50a415326985fb0399349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16e45d57ae1b41563f11fc37a9e368fed23c398b1acd2834d99097a39782705f [INFO] running `Command { std: "docker" "start" "-a" "16e45d57ae1b41563f11fc37a9e368fed23c398b1acd2834d99097a39782705f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/executor.rs:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg_attr(test, mockall::automock)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the attribute macro `mockall::automock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/executor.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | #[cfg_attr(test, mockall::automock(type Child=MockChild;))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in the attribute macro `mockall::automock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `watchdo` (bin "watchdo" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.66s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/watchdo-a2d927c6d3128fbe) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test command_runner::tests::nothing_is_not_running ... ok [INFO] [stdout] test command_runner::tests::run_is_running ... ok [INFO] [stdout] test command_runner::tests::run_starts_executor ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_is_none ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_is_some ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_twice_forgets_child ... ok [INFO] [stdout] test command_runner::tests::terminate_terminates_a_child_process ... ok [INFO] [stdout] test command_runner::tests::terminated_child_is_not_running ... ok [INFO] [stdout] test command_runner::tests::terminated_child_is_running_can_get_output_from_try_finish ... ok [INFO] [stdout] test command_runner::tests::try_finish_no_run_is_none ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16e45d57ae1b41563f11fc37a9e368fed23c398b1acd2834d99097a39782705f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e45d57ae1b41563f11fc37a9e368fed23c398b1acd2834d99097a39782705f", kill_on_drop: false }` [INFO] [stdout] 16e45d57ae1b41563f11fc37a9e368fed23c398b1acd2834d99097a39782705f