[INFO] fetching crate watchdo 0.1.2... [INFO] testing watchdo-0.1.2 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate watchdo 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate watchdo 0.1.2 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-12/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded subprocess v0.2.3 [INFO] [stderr] Downloaded predicates v1.0.1 [INFO] [stderr] Downloaded mockall_derive v0.5.1 [INFO] [stderr] Downloaded mockall v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e01a9192b0764cc94895e56625eb8981eacef3d403f29111be7805269de70937 [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" "e01a9192b0764cc94895e56625eb8981eacef3d403f29111be7805269de70937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e01a9192b0764cc94895e56625eb8981eacef3d403f29111be7805269de70937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e01a9192b0764cc94895e56625eb8981eacef3d403f29111be7805269de70937", kill_on_drop: false }` [INFO] [stdout] e01a9192b0764cc94895e56625eb8981eacef3d403f29111be7805269de70937 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc2214181cd533f834ec8dd82af85f76d2b8f115a0ebf56b909495d2b159c08f [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" "dc2214181cd533f834ec8dd82af85f76d2b8f115a0ebf56b909495d2b159c08f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [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 bitflags v1.2.0 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling inotify-sys v0.1.3 [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 clap v2.33.0 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling notify v4.0.15 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling globset v0.4.4 [INFO] [stderr] Compiling ignore v0.4.10 [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 1m 28s [INFO] running `Command { std: "docker" "inspect" "dc2214181cd533f834ec8dd82af85f76d2b8f115a0ebf56b909495d2b159c08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc2214181cd533f834ec8dd82af85f76d2b8f115a0ebf56b909495d2b159c08f", kill_on_drop: false }` [INFO] [stdout] dc2214181cd533f834ec8dd82af85f76d2b8f115a0ebf56b909495d2b159c08f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e9a49eaf85bb7b2ebc3276f03cbeb996d9f1660e415a90ccfbbf4726a2803cd [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" "0e9a49eaf85bb7b2ebc3276f03cbeb996d9f1660e415a90ccfbbf4726a2803cd", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling downcast v0.10.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:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg_attr(test, mockall::automock)] [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: 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 18.09s [INFO] running `Command { std: "docker" "inspect" "0e9a49eaf85bb7b2ebc3276f03cbeb996d9f1660e415a90ccfbbf4726a2803cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9a49eaf85bb7b2ebc3276f03cbeb996d9f1660e415a90ccfbbf4726a2803cd", kill_on_drop: false }` [INFO] [stdout] 0e9a49eaf85bb7b2ebc3276f03cbeb996d9f1660e415a90ccfbbf4726a2803cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2eecd1240b1de0f6e9f05595cf8634456278d49f421a0f49ece04b254fddfdd [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" "c2eecd1240b1de0f6e9f05595cf8634456278d49f421a0f49ece04b254fddfdd", kill_on_drop: false }` [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:6:18 [INFO] [stderr] | [INFO] [stderr] 6 | #[cfg_attr(test, mockall::automock)] [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: 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 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/watchdo-61b6c2d935b2fd73) [INFO] [stdout] [INFO] [stdout] running 10 tests [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::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::nothing_is_not_running ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_is_none ... ok [INFO] [stdout] test command_runner::tests::terminate_terminates_a_child_process ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_is_some ... ok [INFO] [stdout] test command_runner::tests::try_finish_no_run_is_none ... ok [INFO] [stdout] test command_runner::tests::run_try_finish_twice_forgets_child ... 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" "c2eecd1240b1de0f6e9f05595cf8634456278d49f421a0f49ece04b254fddfdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2eecd1240b1de0f6e9f05595cf8634456278d49f421a0f49ece04b254fddfdd", kill_on_drop: false }` [INFO] [stdout] c2eecd1240b1de0f6e9f05595cf8634456278d49f421a0f49ece04b254fddfdd