[INFO] cloning repository https://github.com/keynslug/orphans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keynslug/orphans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeynslug%2Forphans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeynslug%2Forphans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] feb078f8615cf52cbe800088782b4d39c3993951 [INFO] checking keynslug/orphans against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeynslug%2Forphans" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keynslug/orphans on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keynslug/orphans [INFO] finished tweaking git repo https://github.com/keynslug/orphans [INFO] tweaked toml for git repo https://github.com/keynslug/orphans written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/keynslug/orphans 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking keynslug/orphans against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeynslug%2Forphans" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keynslug/orphans on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keynslug/orphans [INFO] finished tweaking git repo https://github.com/keynslug/orphans [INFO] tweaked toml for git repo https://github.com/keynslug/orphans written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/keynslug/orphans 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 063ab0dcca253e265296c5475ab552fd44a775e28194319e731e5c1d481f3b4d [INFO] running `Command { std: "docker" "start" "-a" "063ab0dcca253e265296c5475ab552fd44a775e28194319e731e5c1d481f3b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "063ab0dcca253e265296c5475ab552fd44a775e28194319e731e5c1d481f3b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "063ab0dcca253e265296c5475ab552fd44a775e28194319e731e5c1d481f3b4d", kill_on_drop: false }` [INFO] [stdout] 063ab0dcca253e265296c5475ab552fd44a775e28194319e731e5c1d481f3b4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7281b6a1e9933812e6a6a60cdf37bdbf9de4b19d05edd718a90097d1714e74dc [INFO] running `Command { std: "docker" "start" "-a" "7281b6a1e9933812e6a6a60cdf37bdbf9de4b19d05edd718a90097d1714e74dc", kill_on_drop: false }` [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking orphans v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/wildcard.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item [INFO] [stdout] --> src/wildcard.rs:199:19 [INFO] [stdout] | [INFO] [stdout] 199 | match self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use the `|| { ... }` closure form instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | fmt.write_char(']')?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:210:25 [INFO] [stdout] | [INFO] [stdout] 210 | fmt.write_char(']')?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 214 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:214:44 [INFO] [stdout] | [INFO] [stdout] 214 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | fmt.write_char('[')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 223 | self.fmt.write_char('[')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | fmt.write_char('[')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 223 | self.fmt.write_char('[')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `negate` in this scope [INFO] [stdout] --> src/wildcard.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | if negate { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | fmt.write_char('!')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 225 | self.fmt.write_char('!')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | fmt.write_char(']')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 230 | self.fmt.write_char(']')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, self.fmt) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `negate` in this scope [INFO] [stdout] --> src/wildcard.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | if negate { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/wildcard.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | fn fmt_token(token: &Token<'_>, negate: bool, fmt: &mut Formatter) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 225 | fmt.write_char('!')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 225 | self.fmt.write_char('!')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | fmt.write_char(']')?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 230 | self.fmt.write_char(']')?; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to refer to the method [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, self.fmt) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Token` in this scope [INFO] [stdout] --> src/wildcard.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | fn fmt_token(token: &Token<'_>, negate: bool, fmt: &mut Formatter) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fmt` exists for reference `&Choice<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wildcard.rs:229:45 [INFO] [stdout] | [INFO] [stdout] 25 | enum Choice<'a> { [INFO] [stdout] | --------------- doesn't satisfy `Choice<'_>: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 229 | .try_for_each(|c| c.fmt(f))?; [INFO] [stdout] | ^^^ method cannot be called on `&Choice<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Choice<'_>: std::fmt::Display` [INFO] [stdout] which is required by `&Choice<'_>: std::fmt::Display` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/fmt/mod.rs:728:1 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Debug` which provides `fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fmt` exists for reference `&Choice<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wildcard.rs:229:45 [INFO] [stdout] | [INFO] [stdout] 25 | enum Choice<'a> { [INFO] [stdout] | --------------- doesn't satisfy `Choice<'_>: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 229 | .try_for_each(|c| c.fmt(f))?; [INFO] [stdout] | ^^^ method cannot be called on `&Choice<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Choice<'_>: std::fmt::Display` [INFO] [stdout] which is required by `&Choice<'_>: std::fmt::Display` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/fmt/mod.rs:728:1 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Debug` which provides `fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fmt_token` in this scope [INFO] [stdout] --> src/wildcard.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fmt_token` in this scope [INFO] [stdout] --> src/wildcard.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/wildcard.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | if negate { write!(f, "!") }; [INFO] [stdout] | ^^^^^^^^^^^^--------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | found here [INFO] [stdout] | expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0317]: `if` may be missing an `else` clause [INFO] [stdout] --> src/wildcard.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | if negate { write!(f, "!") }; [INFO] [stdout] | ^^^^^^^^^^^^--------------^^ [INFO] [stdout] | | | [INFO] [stdout] | | found here [INFO] [stdout] | expected `Result<(), Error>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] = note: `if` expressions without `else` evaluate to `()` [INFO] [stdout] = help: consider adding an `else` block that evaluates to the expected type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fmt` exists for reference `&Choice<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wildcard.rs:209:49 [INFO] [stdout] | [INFO] [stdout] 25 | enum Choice<'a> { [INFO] [stdout] | --------------- doesn't satisfy `Choice<'_>: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 209 | .try_for_each(|c| c.fmt(f))?; [INFO] [stdout] | ^^^ method cannot be called on `&Choice<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Choice<'_>: std::fmt::Display` [INFO] [stdout] which is required by `&Choice<'_>: std::fmt::Display` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/fmt/mod.rs:728:1 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Debug` which provides `fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fmt_token` in this scope [INFO] [stdout] --> src/wildcard.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `fmt` exists for reference `&Choice<'_>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/wildcard.rs:209:49 [INFO] [stdout] | [INFO] [stdout] 25 | enum Choice<'a> { [INFO] [stdout] | --------------- doesn't satisfy `Choice<'_>: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 209 | .try_for_each(|c| c.fmt(f))?; [INFO] [stdout] | ^^^ method cannot be called on `&Choice<'_>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Choice<'_>: std::fmt::Display` [INFO] [stdout] which is required by `&Choice<'_>: std::fmt::Display` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/d856f2da3433420b7077c0dc7ee9441455bc1302/library/core/src/fmt/mod.rs:728:1 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Debug` which provides `fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fmt_token` in this scope [INFO] [stdout] --> src/wildcard.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:250:48 [INFO] [stdout] | [INFO] [stdout] 250 | .try_for_each(|&c| fmt.write_char(c)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 250 | .try_for_each(|&c| fmt.write_str(c)) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:250:48 [INFO] [stdout] | [INFO] [stdout] 250 | .try_for_each(|&c| fmt.write_char(c)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 250 | .try_for_each(|&c| fmt.write_str(c)) [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | fmt.write_char('*'), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 258 | fmt.write_str('*'), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | fmt.write_char('?'), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 260 | fmt.write_str('?'), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | fmt.write_char('*'), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 258 | fmt.write_str('*'), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fmt.write_char('[')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 263 | fmt.write_str('[')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:260:25 [INFO] [stdout] | [INFO] [stdout] 260 | fmt.write_char('?'), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 260 | fmt.write_str('?'), [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... fmt.write_char('!')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 | fmt.write_str('!')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:263:29 [INFO] [stdout] | [INFO] [stdout] 263 | fmt.write_char('[')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 263 | fmt.write_str('[')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:265:33 [INFO] [stdout] | [INFO] [stdout] 265 | ... fmt.write_char('!')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 | fmt.write_str('!')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | fmt.write_char(']')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 270 | fmt.write_str(']')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Wildcard` in the current scope [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let wildcard = Wildcard::parse("blarg[!!xy0-9a-z.[]/*.JP?").unwrap(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Wildcard<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/wildcard.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Wildcard<'a> ( [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Wildcard<'_>`, consider using `Wildcard::<'a>::new` which returns `Wildcard<'_>` [INFO] [stdout] --> src/wildcard.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { Self(Vec::<_>::new()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_char` found for mutable reference `&mut Formatter<'_>` in the current scope [INFO] [stdout] --> src/wildcard.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | fmt.write_char(']')?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_char` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is a method `write_str` with a similar name [INFO] [stdout] | [INFO] [stdout] 270 | fmt.write_str(']')?; [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Wildcard` in the current scope [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | let wildcard = Wildcard::parse("blarg[!!xy0-9a-z.[]/*.JP?").unwrap(); [INFO] [stdout] | ^^^^^ function or associated item not found in `Wildcard<'_>` [INFO] [stdout] | [INFO] [stdout] ::: src/wildcard.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Wildcard<'a> ( [INFO] [stdout] | ----------------------- function or associated item `parse` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Wildcard<'_>`, consider using `Wildcard::<'a>::new` which returns `Wildcard<'_>` [INFO] [stdout] --> src/wildcard.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new() -> Self { Self(Vec::<_>::new()) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | Token::Sequence(s) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | Token::ManyOf(_) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | Token::OneOf(choices) if choices.is_empty() => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | Token::OneOf(choices) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | Token::Not(token) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0317, E0412, E0425, E0433, E0434, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | Token::Sequence(s) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | Token::ManyOf(_) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | Token::OneOf(choices) if choices.is_empty() => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | Token::OneOf(choices) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/wildcard.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | Token::Not(token) => [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0317, E0412, E0425, E0433, E0434, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0317`. [INFO] [stdout] [INFO] [stderr] error: could not compile `orphans` (bin "orphans") due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `orphans` (bin "orphans" test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "7281b6a1e9933812e6a6a60cdf37bdbf9de4b19d05edd718a90097d1714e74dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7281b6a1e9933812e6a6a60cdf37bdbf9de4b19d05edd718a90097d1714e74dc", kill_on_drop: false }` [INFO] [stdout] 7281b6a1e9933812e6a6a60cdf37bdbf9de4b19d05edd718a90097d1714e74dc