[INFO] fetching crate tree_sitter_grep_ignore 0.4.20-dev.0... [INFO] building tree_sitter_grep_ignore-0.4.20-dev.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tree_sitter_grep_ignore 0.4.20-dev.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree_sitter_grep_ignore 0.4.20-dev.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e0c1d1fc52e8026474e480467c6afea971b7f70cbc9824eb7adecdf90f4436a [INFO] running `Command { std: "docker" "start" "-a" "6e0c1d1fc52e8026474e480467c6afea971b7f70cbc9824eb7adecdf90f4436a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e0c1d1fc52e8026474e480467c6afea971b7f70cbc9824eb7adecdf90f4436a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e0c1d1fc52e8026474e480467c6afea971b7f70cbc9824eb7adecdf90f4436a", kill_on_drop: false }` [INFO] [stdout] 6e0c1d1fc52e8026474e480467c6afea971b7f70cbc9824eb7adecdf90f4436a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b09dd2e0f9b6f23588632ee823fb7a6db9955b5004d609df69364dc8d256230 [INFO] running `Command { std: "docker" "start" "-a" "9b09dd2e0f9b6f23588632ee823fb7a6db9955b5004d609df69364dc8d256230", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling aho-corasick v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling bstr v1.5.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling thread_local v1.1.7 [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/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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.91s [INFO] running `Command { std: "docker" "inspect" "9b09dd2e0f9b6f23588632ee823fb7a6db9955b5004d609df69364dc8d256230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b09dd2e0f9b6f23588632ee823fb7a6db9955b5004d609df69364dc8d256230", kill_on_drop: false }` [INFO] [stdout] 9b09dd2e0f9b6f23588632ee823fb7a6db9955b5004d609df69364dc8d256230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 649f2b325d35b0e705ed093fe26f377350ff48b06d42f604c1da9b2bd35613e4 [INFO] running `Command { std: "docker" "start" "-a" "649f2b325d35b0e705ed093fe26f377350ff48b06d42f604c1da9b2bd35613e4", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [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] 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] [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/4987e9d4227139400384ab59296ffee3b0fb1183/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" "649f2b325d35b0e705ed093fe26f377350ff48b06d42f604c1da9b2bd35613e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "649f2b325d35b0e705ed093fe26f377350ff48b06d42f604c1da9b2bd35613e4", kill_on_drop: false }` [INFO] [stdout] 649f2b325d35b0e705ed093fe26f377350ff48b06d42f604c1da9b2bd35613e4