[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] testing keynslug/orphans against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeynslug%2Forphans" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/keynslug/orphans on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-95/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d48b3d2a60502bd3824a0b1ca8fe105aa7cb05eb6416e627a78ea9769ac9f2a0 [INFO] running `Command { std: "docker" "start" "-a" "d48b3d2a60502bd3824a0b1ca8fe105aa7cb05eb6416e627a78ea9769ac9f2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d48b3d2a60502bd3824a0b1ca8fe105aa7cb05eb6416e627a78ea9769ac9f2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48b3d2a60502bd3824a0b1ca8fe105aa7cb05eb6416e627a78ea9769ac9f2a0", kill_on_drop: false }` [INFO] [stdout] d48b3d2a60502bd3824a0b1ca8fe105aa7cb05eb6416e627a78ea9769ac9f2a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d8b6c351bc9e44c11711bf396353525997cbb92c336f1bfab61dec83bcb6cb [INFO] running `Command { std: "docker" "start" "-a" "26d8b6c351bc9e44c11711bf396353525997cbb92c336f1bfab61dec83bcb6cb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling 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[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[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 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[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] | ^^^ help: you might have meant to call the method: `self.fmt` [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] | ^^^ help: you might have meant to call the method: `self.fmt` [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] | ^^^ help: you might have meant to call the method: `self.fmt` [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 value `fmt` in this scope [INFO] [stdout] --> src/wildcard.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | fmt_token(token, true, fmt) [INFO] [stdout] | ^^^ help: you might have meant to call the method: `self.fmt` [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 following trait must be implemented [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Debug; [INFO] [stdout] | [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 `()`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found type `Result<(), std::fmt::Error>` [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 following trait must be implemented [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Debug; [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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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: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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Write; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function 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] 33 | | Vec> [INFO] [stdout] 34 | | ); [INFO] [stdout] | |__- function or associated item `parse` not found for this [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` due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "26d8b6c351bc9e44c11711bf396353525997cbb92c336f1bfab61dec83bcb6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d8b6c351bc9e44c11711bf396353525997cbb92c336f1bfab61dec83bcb6cb", kill_on_drop: false }` [INFO] [stdout] 26d8b6c351bc9e44c11711bf396353525997cbb92c336f1bfab61dec83bcb6cb