[INFO] updating cached repository https://github.com/andysalerno/toygrep [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9368da78cc95f5def1de1d6610fb0057876f9ba2 [INFO] testing andysalerno/toygrep against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Ftoygrep" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/toygrep on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/andysalerno/toygrep [INFO] finished tweaking git repo https://github.com/andysalerno/toygrep [INFO] tweaked toml for git repo https://github.com/andysalerno/toygrep written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/andysalerno/toygrep already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c83d73f5c514577cc0dc21ab929518cadc7dc2279fc52d7ec4340f33dea1ff7d [INFO] running `"docker" "start" "-a" "c83d73f5c514577cc0dc21ab929518cadc7dc2279fc52d7ec4340f33dea1ff7d"` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling toygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `with_line_break_byte` [INFO] [stderr] --> src/buffer/async_line_buffer.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub(crate) fn with_line_break_byte(mut self, line_break_byte: u8) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `with_start_size_bytes` [INFO] [stderr] --> src/buffer/async_line_buffer.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | pub(crate) fn with_start_size_bytes(mut self, start_size_bytes: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Display` [INFO] [stderr] --> src/print.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | Display(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_stdin` [INFO] [stderr] --> src/target.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn is_stdin(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `"docker" "inspect" "c83d73f5c514577cc0dc21ab929518cadc7dc2279fc52d7ec4340f33dea1ff7d"` [INFO] running `"docker" "rm" "-f" "c83d73f5c514577cc0dc21ab929518cadc7dc2279fc52d7ec4340f33dea1ff7d"` [INFO] [stdout] c83d73f5c514577cc0dc21ab929518cadc7dc2279fc52d7ec4340f33dea1ff7d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] debadc6841e1100f4b618586d1bf146f097076495ccafc649d865951549f5b04 [INFO] running `"docker" "start" "-a" "debadc6841e1100f4b618586d1bf146f097076495ccafc649d865951549f5b04"` [INFO] [stderr] Compiling toygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: method is never used: `with_line_break_byte` [INFO] [stderr] --> src/buffer/async_line_buffer.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub(crate) fn with_line_break_byte(mut self, line_break_byte: u8) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Display` [INFO] [stderr] --> src/print.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | Display(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_stdin` [INFO] [stderr] --> src/target.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn is_stdin(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `"docker" "inspect" "debadc6841e1100f4b618586d1bf146f097076495ccafc649d865951549f5b04"` [INFO] running `"docker" "rm" "-f" "debadc6841e1100f4b618586d1bf146f097076495ccafc649d865951549f5b04"` [INFO] [stdout] debadc6841e1100f4b618586d1bf146f097076495ccafc649d865951549f5b04 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fbf55f1f1578788c610cc95397c7fed2a1535f3adb21c989f934ceb0d24eeeaa [INFO] running `"docker" "start" "-a" "fbf55f1f1578788c610cc95397c7fed2a1535f3adb21c989f934ceb0d24eeeaa"` [INFO] [stderr] warning: method is never used: `with_line_break_byte` [INFO] [stderr] --> src/buffer/async_line_buffer.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub(crate) fn with_line_break_byte(mut self, line_break_byte: u8) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Display` [INFO] [stderr] --> src/print.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | Display(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `is_stdin` [INFO] [stderr] --> src/target.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) fn is_stdin(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/toygrep-5fa812b630bf8eab [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test buffer::async_line_buffer::test::buffer_handles_single_byte_str ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_gives_none_when_no_more_lines_big_buffer ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_handles_empty_string ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_handles_multiple_newline ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_macbeth ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_reads_simple_text_one_linebreak ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_reads_simple_text_no_linebreak ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_reads_simple_text_tiny_buffer ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_handles_single_newline ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_gives_none_when_no_more_lines_tiny_buffer ... ok [INFO] [stdout] test buffer::async_line_buffer::test::buffer_reads_simple_text_two_lines_tiny_buffer ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "fbf55f1f1578788c610cc95397c7fed2a1535f3adb21c989f934ceb0d24eeeaa"` [INFO] running `"docker" "rm" "-f" "fbf55f1f1578788c610cc95397c7fed2a1535f3adb21c989f934ceb0d24eeeaa"` [INFO] [stdout] fbf55f1f1578788c610cc95397c7fed2a1535f3adb21c989f934ceb0d24eeeaa