[INFO] fetching crate watchdo 0.1.2... [INFO] testing watchdo-0.1.2 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate watchdo 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate watchdo 0.1.2 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded filetime v0.2.7 [INFO] [stderr] Downloaded fragile v0.3.0 [INFO] [stderr] Downloaded rgb v0.8.14 [INFO] [stderr] Downloaded winconsole v0.10.0 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded colored v1.8.0 [INFO] [stderr] Downloaded mockall v0.5.1 [INFO] [stderr] Downloaded predicates v1.0.1 [INFO] [stderr] Downloaded subprocess v0.2.3 [INFO] [stderr] Downloaded mockall_derive v0.5.1 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 623ce6889e9d37d39169ee238e68722f70e3407a7cdfc94b261cbe403fef84e4 [INFO] running `Command { std: "docker" "start" "-a" "623ce6889e9d37d39169ee238e68722f70e3407a7cdfc94b261cbe403fef84e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "623ce6889e9d37d39169ee238e68722f70e3407a7cdfc94b261cbe403fef84e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623ce6889e9d37d39169ee238e68722f70e3407a7cdfc94b261cbe403fef84e4", kill_on_drop: false }` [INFO] [stdout] 623ce6889e9d37d39169ee238e68722f70e3407a7cdfc94b261cbe403fef84e4 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38a29c02995837e914289aeab4c97a4df3921016248f554f2c4963abb42f2882 [INFO] running `Command { std: "docker" "start" "-a" "38a29c02995837e914289aeab4c97a4df3921016248f554f2c4963abb42f2882", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling memchr v2.2.1 [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 approx v0.1.1 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rgb v0.8.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling num-traits 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 subprocess v0.2.3 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling inotify v0.7.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling mio-extras v2.0.5 [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 29.53s [INFO] running `Command { std: "docker" "inspect" "38a29c02995837e914289aeab4c97a4df3921016248f554f2c4963abb42f2882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38a29c02995837e914289aeab4c97a4df3921016248f554f2c4963abb42f2882", kill_on_drop: false }` [INFO] [stdout] 38a29c02995837e914289aeab4c97a4df3921016248f554f2c4963abb42f2882 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80df41cd6dcc3809e656ebe59d94534c74b2e0b3a23b75f890ee9c08125c2e78 [INFO] running `Command { std: "docker" "start" "-a" "80df41cd6dcc3809e656ebe59d94534c74b2e0b3a23b75f890ee9c08125c2e78", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.2.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling fragile v0.3.0 [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 12.71s [INFO] running `Command { std: "docker" "inspect" "80df41cd6dcc3809e656ebe59d94534c74b2e0b3a23b75f890ee9c08125c2e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80df41cd6dcc3809e656ebe59d94534c74b2e0b3a23b75f890ee9c08125c2e78", kill_on_drop: false }` [INFO] [stdout] 80df41cd6dcc3809e656ebe59d94534c74b2e0b3a23b75f890ee9c08125c2e78 [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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 94b699c79853434651f9cc4a3e09fb4e706740128846bfa078521bd4d3f5b659 [INFO] running `Command { std: "docker" "start" "-a" "94b699c79853434651f9cc4a3e09fb4e706740128846bfa078521bd4d3f5b659", 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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/watchdo-a70b140c073a1c55) [INFO] [stdout] running 10 tests [INFO] [stdout] test command_runner::tests::run_try_finish_is_none ... ok [INFO] [stdout] test command_runner::tests::nothing_is_not_running ... ok [INFO] [stdout] test command_runner::tests::try_finish_no_run_is_none ... 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::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::run_is_running ... ok [INFO] [stdout] test command_runner::tests::run_starts_executor ... ok [INFO] [stdout] test command_runner::tests::terminate_terminates_a_child_process ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "94b699c79853434651f9cc4a3e09fb4e706740128846bfa078521bd4d3f5b659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b699c79853434651f9cc4a3e09fb4e706740128846bfa078521bd4d3f5b659", kill_on_drop: false }` [INFO] [stdout] 94b699c79853434651f9cc4a3e09fb4e706740128846bfa078521bd4d3f5b659