[INFO] cloning repository https://github.com/syusui-s/mcnotify-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/syusui-s/mcnotify-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyusui-s%2Fmcnotify-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyusui-s%2Fmcnotify-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ce283f1efa2c0913c10e887a199dfaa19dd9ef4 [INFO] testing syusui-s/mcnotify-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsyusui-s%2Fmcnotify-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/syusui-s/mcnotify-rust [INFO] finished tweaking git repo https://github.com/syusui-s/mcnotify-rust [INFO] tweaked toml for git repo https://github.com/syusui-s/mcnotify-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/syusui-s/mcnotify-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/syusui-s/mcnotify-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded tokio-macros v1.8.0 [INFO] [stderr] Downloaded xdg-basedir v1.0.0 [INFO] [stderr] Downloaded cargo-husky v1.5.0 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded indexmap v1.9.0 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded reqwest v0.11.11 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded egg-mode v0.16.0 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded strfmt v0.1.6 [INFO] [stderr] Downloaded tracing-core v0.1.27 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4391963ceb1503d11364e6bfabd295f034f0c0cb563c0179b9c92bba606ccc6 [INFO] running `Command { std: "docker" "start" "-a" "e4391963ceb1503d11364e6bfabd295f034f0c0cb563c0179b9c92bba606ccc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4391963ceb1503d11364e6bfabd295f034f0c0cb563c0179b9c92bba606ccc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4391963ceb1503d11364e6bfabd295f034f0c0cb563c0179b9c92bba606ccc6", kill_on_drop: false }` [INFO] [stdout] e4391963ceb1503d11364e6bfabd295f034f0c0cb563c0179b9c92bba606ccc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd66252e95ccfd6575529424a00b1543c0cca0e4dc30427da8f6ebc5ae0e064b [INFO] running `Command { std: "docker" "start" "-a" "dd66252e95ccfd6575529424a00b1543c0cca0e4dc30427da8f6ebc5ae0e064b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling xdg-basedir v1.0.0 [INFO] [stderr] Compiling strfmt v0.1.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling egg-mode v0.16.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling mcnotify v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/notifier/command_executor.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | drop(child_stdin); // Write EOF [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 61 - drop(child_stdin); // Write EOF [INFO] [stdout] 61 + let _ = child_stdin; // Write EOF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.64s [INFO] running `Command { std: "docker" "inspect" "dd66252e95ccfd6575529424a00b1543c0cca0e4dc30427da8f6ebc5ae0e064b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd66252e95ccfd6575529424a00b1543c0cca0e4dc30427da8f6ebc5ae0e064b", kill_on_drop: false }` [INFO] [stdout] dd66252e95ccfd6575529424a00b1543c0cca0e4dc30427da8f6ebc5ae0e064b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4dd6f024f65f725d5d6080130833a9621c07c084c5126e4fd383380cea434fba [INFO] running `Command { std: "docker" "start" "-a" "4dd6f024f65f725d5d6080130833a9621c07c084c5126e4fd383380cea434fba", kill_on_drop: false }` [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling mcnotify v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/notifier/command_executor.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | drop(child_stdin); // Write EOF [INFO] [stdout] | ^^^^^-----------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ChildStdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 61 - drop(child_stdin); // Write EOF [INFO] [stdout] 61 + let _ = child_stdin; // Write EOF [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "4dd6f024f65f725d5d6080130833a9621c07c084c5126e4fd383380cea434fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dd6f024f65f725d5d6080130833a9621c07c084c5126e4fd383380cea434fba", kill_on_drop: false }` [INFO] [stdout] 4dd6f024f65f725d5d6080130833a9621c07c084c5126e4fd383380cea434fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 86b3a0d62dfda4203d07d655da1cdc3b4453cfd155dc84bf92db1902eab553cd [INFO] running `Command { std: "docker" "start" "-a" "86b3a0d62dfda4203d07d655da1cdc3b4453cfd155dc84bf92db1902eab553cd", kill_on_drop: false }` [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/notifier/command_executor.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | drop(child_stdin); // Write EOF [INFO] [stderr] | ^^^^^-----------^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut ChildStdin` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 61 - drop(child_stdin); // Write EOF [INFO] [stderr] 61 + let _ = child_stdin; // Write EOF [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mcnotify` (bin "mcnotify" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mcnotify-34a239856705b5b8) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test minecraft::data_rw::tests::read_string_with_max_len ... ok [INFO] [stdout] test minecraft::data_rw::tests::read_string ... ok [INFO] [stdout] test minecraft::data_rw::tests::read_varlong ... ok [INFO] [stdout] test minecraft::data_rw::tests::write_varint ... ok [INFO] [stdout] test minecraft::data_rw::tests::write_varlong ... ok [INFO] [stdout] test models::tests::test_players_sub ... ok [INFO] [stdout] test notifier::message::tests::message_truncate ... ok [INFO] [stdout] test models::tests::test_players_format ... ok [INFO] [stdout] test status_checker::formats::tests::status_format_down ... ok [INFO] [stdout] test status_checker::formats::tests::status_format_recover ... ok [INFO] [stdout] test status_checker::formats::tests::status_format_player_change ... ok [INFO] [stdout] test minecraft::packet::tests::handshake_to_general ... ok [INFO] [stdout] test minecraft::packet::tests::list_response_from_general ... ok [INFO] [stdout] test minecraft::data_rw::tests::read_varint ... ok [INFO] [stdout] test minecraft::data_rw::tests::write_string ... ok [INFO] [stdout] test minecraft::data_rw::tests::write_unsigned_short ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "86b3a0d62dfda4203d07d655da1cdc3b4453cfd155dc84bf92db1902eab553cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b3a0d62dfda4203d07d655da1cdc3b4453cfd155dc84bf92db1902eab553cd", kill_on_drop: false }` [INFO] [stdout] 86b3a0d62dfda4203d07d655da1cdc3b4453cfd155dc84bf92db1902eab553cd