[INFO] fetching crate tree_sitter_grep_ignore 0.4.20-dev.0... [INFO] testing tree_sitter_grep_ignore-0.4.20-dev.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tree_sitter_grep_ignore 0.4.20-dev.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 [INFO] finished tweaking crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 [INFO] tweaked toml for crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbb539dc7b180a6f44ddb5f49a590c20ceef64a888847242731bec46d192d6c7 [INFO] running `Command { std: "docker" "start" "-a" "bbb539dc7b180a6f44ddb5f49a590c20ceef64a888847242731bec46d192d6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbb539dc7b180a6f44ddb5f49a590c20ceef64a888847242731bec46d192d6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb539dc7b180a6f44ddb5f49a590c20ceef64a888847242731bec46d192d6c7", kill_on_drop: false }` [INFO] [stdout] bbb539dc7b180a6f44ddb5f49a590c20ceef64a888847242731bec46d192d6c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b81ce2b63bddb98eaf1e9337ad27121943b1d5f33aa7e8fa4b3ee5caebc00ce [INFO] running `Command { std: "docker" "start" "-a" "0b81ce2b63bddb98eaf1e9337ad27121943b1d5f33aa7e8fa4b3ee5caebc00ce", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling bstr v1.5.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling regex v1.8.3 [INFO] [stderr] Compiling globset v0.4.10 [INFO] [stderr] Compiling tree_sitter_grep_ignore v0.4.20-dev.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dir.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 - Override(overrides::Glob<'a>), [INFO] [stdout] 41 + Override(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dir.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, 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] 42 - Gitignore(&'a gitignore::Glob), [INFO] [stdout] 42 + Gitignore(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/overrides.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Glob<'a>(GlobInner<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/overrides.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Matched(&'a gitignore::Glob), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, 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] 31 - Matched(&'a gitignore::Glob), [INFO] [stdout] 31 + Matched(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.67s [INFO] running `Command { std: "docker" "inspect" "0b81ce2b63bddb98eaf1e9337ad27121943b1d5f33aa7e8fa4b3ee5caebc00ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b81ce2b63bddb98eaf1e9337ad27121943b1d5f33aa7e8fa4b3ee5caebc00ce", kill_on_drop: false }` [INFO] [stdout] 0b81ce2b63bddb98eaf1e9337ad27121943b1d5f33aa7e8fa4b3ee5caebc00ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79baa7e5913844d387bc61a62e97dd0e025b0facc6f40eda577e93c13b98dcf8 [INFO] running `Command { std: "docker" "start" "-a" "79baa7e5913844d387bc61a62e97dd0e025b0facc6f40eda577e93c13b98dcf8", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dir.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | Override(overrides::Glob<'a>), [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 - Override(overrides::Glob<'a>), [INFO] [stdout] 41 + Override(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/dir.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | Gitignore(&'a gitignore::Glob), [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, 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] 42 - Gitignore(&'a gitignore::Glob), [INFO] [stdout] 42 + Gitignore(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/overrides.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Glob<'a>(GlobInner<'a>); [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/overrides.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Matched(&'a gitignore::Glob), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, 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] 31 - Matched(&'a gitignore::Glob), [INFO] [stdout] 31 + Matched(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling tree_sitter_grep_ignore v0.4.20-dev.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/walk.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | tx.send(DirEntry::Y(result.unwrap())).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^ expected `DirEntry`, found `(DirEntry, Option>)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ignore::DirEntry` [INFO] [stdout] found tuple `(ignore::DirEntry, Option>)` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> examples/walk.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | Y(ignore::DirEntry), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree_sitter_grep_ignore` (example "walk") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Option>: Clone` is not satisfied [INFO] [stdout] --> src/walk.rs:1951:15 [INFO] [stdout] | [INFO] [stdout] 1951 | dents.to_vec() [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Option>` [INFO] [stdout] | [INFO] [stdout] = note: required for `Option>` to implement `Clone` [INFO] [stdout] = note: required because it appears within the type `(walk::DirEntry, Option>)` [INFO] [stdout] note: required by a bound in `std::slice::::to_vec` [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/slice.rs:370:5 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1951 | (&dents).to_vec() [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/walk.rs:1951:9 [INFO] [stdout] | [INFO] [stdout] 1938 | fn walk_collect_entries_parallel(builder: &WalkBuilder) -> Vec { [INFO] [stdout] | ------------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 1951 | dents.to_vec() [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `Vec`, found `Vec<(DirEntry, Option<...>)>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec<(walk::DirEntry, Option>)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree_sitter_grep_ignore` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "79baa7e5913844d387bc61a62e97dd0e025b0facc6f40eda577e93c13b98dcf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79baa7e5913844d387bc61a62e97dd0e025b0facc6f40eda577e93c13b98dcf8", kill_on_drop: false }` [INFO] [stdout] 79baa7e5913844d387bc61a62e97dd0e025b0facc6f40eda577e93c13b98dcf8