[INFO] cloning repository https://github.com/coderatchet/dailyprogrammer-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/coderatchet/dailyprogrammer-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoderatchet%2Fdailyprogrammer-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoderatchet%2Fdailyprogrammer-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e44eebf2f49db676d5721e0cf0e32deb02095487 [INFO] checking coderatchet/dailyprogrammer-rust against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcoderatchet%2Fdailyprogrammer-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/coderatchet/dailyprogrammer-rust [INFO] finished tweaking git repo https://github.com/coderatchet/dailyprogrammer-rust [INFO] tweaked toml for git repo https://github.com/coderatchet/dailyprogrammer-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/coderatchet/dailyprogrammer-rust on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/coderatchet/dailyprogrammer-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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.5.0 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50d6268b8fa38941af4c9a3c9e3608f9289810bb4f9eb0d4080291fc7f9b10a3 [INFO] running `Command { std: "docker" "start" "-a" "50d6268b8fa38941af4c9a3c9e3608f9289810bb4f9eb0d4080291fc7f9b10a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d6268b8fa38941af4c9a3c9e3608f9289810bb4f9eb0d4080291fc7f9b10a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d6268b8fa38941af4c9a3c9e3608f9289810bb4f9eb0d4080291fc7f9b10a3", kill_on_drop: false }` [INFO] [stdout] 50d6268b8fa38941af4c9a3c9e3608f9289810bb4f9eb0d4080291fc7f9b10a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0fc40ce47b19c22b6d416239f2d808599bead516642361711900033987b0a1b [INFO] running `Command { std: "docker" "start" "-a" "c0fc40ce47b19c22b6d416239f2d808599bead516642361711900033987b0a1b", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking new_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `®ex::Regex: Pattern` is not satisfied [INFO] [stdout] --> src/challenges/c_398.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | for (index, matched) in text.match_indices(r) { [INFO] [stdout] | ------------- ^ the trait `Fn(char)` is not implemented for `regex::Regex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Pattern`: [INFO] [stdout] &'b String [INFO] [stdout] &'b [char; N] [INFO] [stdout] &'b [char] [INFO] [stdout] &'b str [INFO] [stdout] &'c &'b str [INFO] [stdout] [char; N] [INFO] [stdout] char [INFO] [stdout] = note: required for `®ex::Regex` to implement `FnOnce(char)` [INFO] [stdout] = note: required for `®ex::Regex` to implement `Pattern` [INFO] [stdout] note: required by a bound in `core::str::::match_indices` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2064:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `®ex::Regex: Pattern` is not satisfied [INFO] [stdout] --> src/challenges/c_398.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | for (index, matched) in text.match_indices(r) { [INFO] [stdout] | ------------- ^ the trait `Fn(char)` is not implemented for `regex::Regex` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Pattern`: [INFO] [stdout] &'b String [INFO] [stdout] &'b [char; N] [INFO] [stdout] &'b [char] [INFO] [stdout] &'b str [INFO] [stdout] &'c &'b str [INFO] [stdout] [char; N] [INFO] [stdout] char [INFO] [stdout] = note: required for `®ex::Regex` to implement `FnOnce(char)` [INFO] [stdout] = note: required for `®ex::Regex` to implement `Pattern` [INFO] [stdout] note: required by a bound in `core::str::::match_indices` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/mod.rs:2064:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `pattern::MultiCharEqPattern<®ex::Regex>: Pattern` is not satisfied in `MatchIndices<'_, ®ex::Regex>` [INFO] [stdout] --> src/challenges/c_398.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | for (index, matched) in text.match_indices(r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ within `MatchIndices<'_, ®ex::Regex>`, the trait `Pattern` is not implemented for `pattern::MultiCharEqPattern<®ex::Regex>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Pattern` is implemented for `pattern::MultiCharEqPattern` [INFO] [stdout] note: required because it appears within the type `CharPredicateSearcher<'_, ®ex::Regex>` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/pattern.rs:903:12 [INFO] [stdout] note: required because it appears within the type `MatchIndices<'_, ®ex::Regex>` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/iter.rs:1086:16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `pattern::MultiCharEqPattern<®ex::Regex>: Pattern` is not satisfied in `MatchIndices<'_, ®ex::Regex>` [INFO] [stdout] --> src/challenges/c_398.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | for (index, matched) in text.match_indices(r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ within `MatchIndices<'_, ®ex::Regex>`, the trait `Pattern` is not implemented for `pattern::MultiCharEqPattern<®ex::Regex>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Pattern` is implemented for `pattern::MultiCharEqPattern` [INFO] [stdout] note: required because it appears within the type `CharPredicateSearcher<'_, ®ex::Regex>` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/pattern.rs:903:12 [INFO] [stdout] note: required because it appears within the type `MatchIndices<'_, ®ex::Regex>` [INFO] [stdout] --> /rustc/cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c/library/core/src/str/iter.rs:1086:16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `new_rust` (bin "new_rust") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `new_rust` (bin "new_rust" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c0fc40ce47b19c22b6d416239f2d808599bead516642361711900033987b0a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0fc40ce47b19c22b6d416239f2d808599bead516642361711900033987b0a1b", kill_on_drop: false }` [INFO] [stdout] c0fc40ce47b19c22b6d416239f2d808599bead516642361711900033987b0a1b