[INFO] cloning repository https://github.com/devyn/glob_experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devyn/glob_experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevyn%2Fglob_experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevyn%2Fglob_experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4bd10c8e3f95da04998396fa77d5164a785177ec [INFO] checking devyn/glob_experiment/4bd10c8e3f95da04998396fa77d5164a785177ec against try#264a7c4a1c917c83d13895a31231f9d93c7b67e1 for pr-132289 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevyn%2Fglob_experiment" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devyn/glob_experiment on toolchain 264a7c4a1c917c83d13895a31231f9d93c7b67e1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devyn/glob_experiment [INFO] finished tweaking git repo https://github.com/devyn/glob_experiment [INFO] tweaked toml for git repo https://github.com/devyn/glob_experiment written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devyn/glob_experiment 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" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada5dfb2c040c556aae9a41c70edf4cfc7cae51284615989f750a43b206d4ddb [INFO] running `Command { std: "docker" "start" "-a" "ada5dfb2c040c556aae9a41c70edf4cfc7cae51284615989f750a43b206d4ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada5dfb2c040c556aae9a41c70edf4cfc7cae51284615989f750a43b206d4ddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada5dfb2c040c556aae9a41c70edf4cfc7cae51284615989f750a43b206d4ddb", kill_on_drop: false }` [INFO] [stdout] ada5dfb2c040c556aae9a41c70edf4cfc7cae51284615989f750a43b206d4ddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+264a7c4a1c917c83d13895a31231f9d93c7b67e1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc19ddfc6f26653a37f20c87937508c6818a101a28270ce83b34ef59fbefae9 [INFO] running `Command { std: "docker" "start" "-a" "edc19ddfc6f26653a37f20c87937508c6818a101a28270ce83b34ef59fbefae9", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking glob_experiment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/matcher.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | Token::Repeat { min, max } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `min: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/matcher.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | Token::Repeat { min, max } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `max: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/matcher.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | Token::Repeat { min, max } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `min: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max` [INFO] [stdout] --> src/matcher.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | Token::Repeat { min, max } => todo!(), [INFO] [stdout] | ^^^ help: try ignoring the field: `max: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatchResult` is never constructed [INFO] [stdout] --> src/matcher.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MatchResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `none` is never used [INFO] [stdout] --> src/matcher.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MatchResult { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Fallback` is never used [INFO] [stdout] --> src/matcher.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | enum Fallback { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `next_string` is never used [INFO] [stdout] --> src/matcher.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn next_string<'a, 'b>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `length_of_first_char` is never used [INFO] [stdout] --> src/matcher.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn length_of_first_char(string: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Matcher` is never constructed [INFO] [stdout] --> src/matcher.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | struct Matcher<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `advance`, `fallback`, `separator`, `wildcard`, and `literal_string` are never used [INFO] [stdout] --> src/matcher.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl<'a> Matcher<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 73 | fn advance(&mut self, tokens: &[Token]) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn fallback(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn separator(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn wildcard(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn literal_string(&mut self, string: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `path_matches_pattern` is never used [INFO] [stdout] --> src/matcher.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn path_matches_pattern(path: &Path, pattern: &Pattern) -> MatchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/parser.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Pattern { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | pub tokens: Tokens, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pattern` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | Prefix(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Prefix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | LiteralString(Vec), [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 | LiteralString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | Characters(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 | Characters(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `min` and `max` are never read [INFO] [stdout] --> src/parser.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | Repeat { min: u32, max: u32 }, [INFO] [stdout] | ------ ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | Single(char), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | Range(char, char), [INFO] [stdout] | ----- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 57 | Range((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `none` is never used [INFO] [stdout] --> src/matcher.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MatchResult { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 20 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | Prefix(Vec), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 41 | Prefix(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | Characters(Vec), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 47 | Characters(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | Single(char), [INFO] [stdout] | ------ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 56 | Single(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | Range(char, char), [INFO] [stdout] | ----- ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CharacterClass` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 57 | Range((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "edc19ddfc6f26653a37f20c87937508c6818a101a28270ce83b34ef59fbefae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc19ddfc6f26653a37f20c87937508c6818a101a28270ce83b34ef59fbefae9", kill_on_drop: false }` [INFO] [stdout] edc19ddfc6f26653a37f20c87937508c6818a101a28270ce83b34ef59fbefae9