[INFO] cloning repository https://github.com/jagpreetschawla/rust-practice-excercises
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jagpreetschawla/rust-practice-excercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjagpreetschawla%2Frust-practice-excercises", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjagpreetschawla%2Frust-practice-excercises'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 811e2978378ab7a40b1b1a57808ca0689cdd0bee
[INFO] testing jagpreetschawla/rust-practice-excercises against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjagpreetschawla%2Frust-practice-excercises" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jagpreetschawla/rust-practice-excercises
[INFO] finished tweaking git repo https://github.com/jagpreetschawla/rust-practice-excercises
[INFO] tweaked toml for git repo https://github.com/jagpreetschawla/rust-practice-excercises written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jagpreetschawla/rust-practice-excercises on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jagpreetschawla/rust-practice-excercises 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c0a11059d6eedf47a9bde594e0cc25bc92a1dcfc6cbeffc453e3158fd4b1181
[INFO] running `Command { std: "docker" "start" "-a" "1c0a11059d6eedf47a9bde594e0cc25bc92a1dcfc6cbeffc453e3158fd4b1181", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c0a11059d6eedf47a9bde594e0cc25bc92a1dcfc6cbeffc453e3158fd4b1181", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c0a11059d6eedf47a9bde594e0cc25bc92a1dcfc6cbeffc453e3158fd4b1181", kill_on_drop: false }`
[INFO] [stdout] 1c0a11059d6eedf47a9bde594e0cc25bc92a1dcfc6cbeffc453e3158fd4b1181
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e121da49e755c9689c53e2d97d3f1c1899f30740d0817bda99a44aceddf7bf5
[INFO] running `Command { std: "docker" "start" "-a" "8e121da49e755c9689c53e2d97d3f1c1899f30740d0817bda99a44aceddf7bf5", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_practice_exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]  --> src/bin/pattern/pattern.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(pattern: &str) -> Self {
[INFO] [stdout]   |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp`
[INFO] [stdout]  --> src/bin/pattern/pattern.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn find_matches<'s, 'i>(&'s self, inp: &'i str) -> Vec<&'i str> {
[INFO] [stdout]   |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_inp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "8e121da49e755c9689c53e2d97d3f1c1899f30740d0817bda99a44aceddf7bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e121da49e755c9689c53e2d97d3f1c1899f30740d0817bda99a44aceddf7bf5", kill_on_drop: false }`
[INFO] [stdout] 8e121da49e755c9689c53e2d97d3f1c1899f30740d0817bda99a44aceddf7bf5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44bf636aa4a6015af52272f8741766c79ea61995d7f0d6ae45ccfc03e85955e7
[INFO] running `Command { std: "docker" "start" "-a" "44bf636aa4a6015af52272f8741766c79ea61995d7f0d6ae45ccfc03e85955e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_practice_exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `token_iterator::FilesToIterateBuilder<'_, _>: Default` is not satisfied
[INFO] [stdout]   --> src/bin/token_iterator/token_iterator.rs:56:49
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let builder: FilesToIterateBuilder<_> = Default::default();
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `Default` is not implemented for `token_iterator::FilesToIterateBuilder<'_, _>`
[INFO] [stdout]   --> src/bin/token_iterator/token_iterator.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct FilesToIterateBuilder<'a, D> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, char>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/bin/token_iterator/token_iterator.rs:92:35
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]    | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, char>: IntoIterator` or `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 92 |         assert_eq!(filesToIterate.into_iter().count(), 153);
[INFO] [stdout]    |                                   ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, char>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]            which is required by `FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]            `&FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]            which is required by `&FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]            `&mut FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]            which is required by `&mut FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]   --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, [char; 4]>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:101:35
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, [char; 4]>: IntoIterator` or `FilesToIterate<'_, [char; 4]>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 101 |         assert_eq!(filesToIterate.into_iter().count(), 222);
[INFO] [stdout]     |                                   ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, [char; 4]>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, [char; 4]>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, [char; 4]>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, [char; 4]>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, [char; 4]>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, [char; 4]>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, [char; 4]>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, &[char; 4]>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:111:35
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, &[char; 4]>: IntoIterator` or `FilesToIterate<'_, &[char; 4]>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 111 |         assert_eq!(filesToIterate.into_iter().count(), 190);
[INFO] [stdout]     |                                   ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, &[char; 4]>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, &[char; 4]>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, &[char; 4]>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, &[char; 4]>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, &[char; 4]>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, &[char; 4]>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, &[char; 4]>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:120:35
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `_: IntoIterator` or `_: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 120 |         assert_eq!(filesToIterate.into_iter().count(), 154);
[INFO] [stdout]     |                                   ^^^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, {closure@src/bin/token_iterator/token_iterator.rs:116:57: 116:66}>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, char>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:131:28
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, char>: IntoIterator` or `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 131 |             filesToIterate.into_iter().filter(|r| r.is_ok()).count(),
[INFO] [stdout]     |                            ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, char>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, char>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:144:28
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, char>: IntoIterator` or `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 144 |             filesToIterate.into_iter().filter(|r| r.is_ok()).count(),
[INFO] [stdout]     |                            ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, char>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, char>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:155:35
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, char>: IntoIterator` or `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 155 |         assert_eq!(filesToIterate.into_iter().filter(|r| r.is_ok()).count(), 11);
[INFO] [stdout]     |                                   ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, char>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `into_iter` exists for struct `FilesToIterate<'_, char>`, but its trait bounds were not satisfied
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:166:28
[INFO] [stdout]     |
[INFO] [stdout]   5 | pub struct FilesToIterate<'a, D> {
[INFO] [stdout]     | -------------------------------- method `into_iter` not found for this struct because it doesn't satisfy `FilesToIterate<'_, char>: IntoIterator` or `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout] ...
[INFO] [stdout] 166 |             filesToIterate.into_iter().filter(|r| r.is_ok()).count(),
[INFO] [stdout]     |                            ^^^^^^^^^ method cannot be called on `FilesToIterate<'_, char>` due to unsatisfied trait bounds
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout]             `&mut FilesToIterate<'_, char>: Iterator`
[INFO] [stdout]             which is required by `&mut FilesToIterate<'_, char>: IntoIterator`
[INFO] [stdout] note: the trait `Iterator` must be implemented
[INFO] [stdout]    --> /rustc/59807616e1fa2540724bfbac14d7976d7e4a3860/library/core/src/iter/traits/iterator.rs:41:0
[INFO] [stdout]     = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]     = note: the following trait defines an item `into_iter`, perhaps you need to implement it:
[INFO] [stdout]             candidate #1: `IntoIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `path`
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         path.as_path()
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout]     |         `path` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `path`
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |         path.as_path()
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout]     |         `path` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `path`
[INFO] [stdout]    --> src/bin/token_iterator/token_iterator.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 |         path.as_path()
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         returns a value referencing data owned by the current function
[INFO] [stdout]     |         `path` is borrowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0515, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_practice_exercises` (bin "token_iterator" test) due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]  --> src/bin/pattern/pattern.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn new(pattern: &str) -> Self {
[INFO] [stdout]   |                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inp`
[INFO] [stdout]  --> src/bin/pattern/pattern.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn find_matches<'s, 'i>(&'s self, inp: &'i str) -> Vec<&'i str> {
[INFO] [stdout]   |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_inp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "44bf636aa4a6015af52272f8741766c79ea61995d7f0d6ae45ccfc03e85955e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44bf636aa4a6015af52272f8741766c79ea61995d7f0d6ae45ccfc03e85955e7", kill_on_drop: false }`
[INFO] [stdout] 44bf636aa4a6015af52272f8741766c79ea61995d7f0d6ae45ccfc03e85955e7
