[INFO] updating cached repository https://github.com/andysalerno/toygrep [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] [stderr] From https://github.com/andysalerno/toygrep [INFO] [stderr] 88b72c6..9270fd0 master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9270fd025b20aa5569eb3dbb54f97353ddd6149c [INFO] testing andysalerno/toygrep against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandysalerno%2Ftoygrep" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andysalerno/toygrep on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-13/source/Cargo.toml [INFO] crate git repo https://github.com/andysalerno/toygrep already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93410d21b21ff6ad31a312e7c4b86731e81079b5b7188ac91c563132937d18fb [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" "93410d21b21ff6ad31a312e7c4b86731e81079b5b7188ac91c563132937d18fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93410d21b21ff6ad31a312e7c4b86731e81079b5b7188ac91c563132937d18fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93410d21b21ff6ad31a312e7c4b86731e81079b5b7188ac91c563132937d18fb", kill_on_drop: false }` [INFO] [stdout] 93410d21b21ff6ad31a312e7c4b86731e81079b5b7188ac91c563132937d18fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 094a6c71b69d09449e2af93c639c9671bb950efe68ddf7911069b285dd53de22 [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" "094a6c71b69d09449e2af93c639c9671bb950efe68ddf7911069b285dd53de22", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling kv-log-macro v1.0.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling piper v0.1.3 [INFO] [stderr] Compiling smol v0.1.11 [INFO] [stderr] Compiling async-std v1.6.0 [INFO] [stderr] Compiling toygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `matcher::RegexMatcherBuilder` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use matcher::RegexMatcherBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_path` [INFO] [stdout] --> src/walker.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let entry_path = entry.unwrap().path(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_line_break_byte` [INFO] [stdout] --> src/buffer/async_line_buffer.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | pub(crate) fn with_line_break_byte(mut self, line_break_byte: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_start_size_bytes` [INFO] [stdout] --> src/buffer/async_line_buffer.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn with_start_size_bytes(mut self, start_size_bytes: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RegexMatcherBuilder` [INFO] [stdout] --> src/matcher.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | pub(crate) struct RegexMatcherBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/matcher.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `for_pattern` [INFO] [stdout] --> src/matcher.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn for_pattern(mut self, pattern: &'a str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `case_insensitive` [INFO] [stdout] --> src/matcher.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | pub(crate) fn case_insensitive(mut self, is_case_insensitive: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `match_whole_word` [INFO] [stdout] --> src/matcher.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) fn match_whole_word(mut self, match_whole_word: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/matcher.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | pub(crate) fn build(self) -> RegexMatcher { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `format_word_match` [INFO] [stdout] --> src/matcher.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn format_word_match(pattern: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Display` [INFO] [stdout] --> src/print.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | Display(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_stdin` [INFO] [stdout] --> src/target.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) fn is_stdin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Walker` [INFO] [stdout] --> src/walker.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Walker [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/walker.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(path: PathBuf, action: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `run` [INFO] [stdout] --> src/walker.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | async fn run(self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `walk` [INFO] [stdout] --> src/walker.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | async fn walk(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "094a6c71b69d09449e2af93c639c9671bb950efe68ddf7911069b285dd53de22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "094a6c71b69d09449e2af93c639c9671bb950efe68ddf7911069b285dd53de22", kill_on_drop: false }` [INFO] [stdout] 094a6c71b69d09449e2af93c639c9671bb950efe68ddf7911069b285dd53de22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ed8e7a0e6e09ea5131ad9e6baa862297b64a80eb8cae8eaae84148f36b5a913 [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" "8ed8e7a0e6e09ea5131ad9e6baa862297b64a80eb8cae8eaae84148f36b5a913", kill_on_drop: false }` [INFO] [stderr] Compiling toygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `matcher::RegexMatcherBuilder` [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use matcher::RegexMatcherBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `std::future::from_generator::GenFuture<[static generator@src/walker.rs:45:32: 48:18 _]>` cannot be unpinned [INFO] [stdout] --> src/walker.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | / Box::new(async { [INFO] [stdout] 46 | | println!("\n\n\nyo!!\n\n"); [INFO] [stdout] 47 | | assert!(false, "yo!!!"); [INFO] [stdout] 48 | | }) [INFO] [stdout] | |__________________^ within `impl std::future::Future`, the trait `std::marker::Unpin` is not implemented for `std::future::from_generator::GenFuture<[static generator@src/walker.rs:45:32: 48:18 _]>` [INFO] [stdout] | [INFO] [stdout] = note: required because it appears within the type `impl std::future::Future` [INFO] [stdout] = note: required for the cast to the object type `dyn std::future::Future + std::marker::Send + std::marker::Unpin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toygrep`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8ed8e7a0e6e09ea5131ad9e6baa862297b64a80eb8cae8eaae84148f36b5a913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ed8e7a0e6e09ea5131ad9e6baa862297b64a80eb8cae8eaae84148f36b5a913", kill_on_drop: false }` [INFO] [stdout] 8ed8e7a0e6e09ea5131ad9e6baa862297b64a80eb8cae8eaae84148f36b5a913