[INFO] fetching crate tree_sitter_lint_tree-sitter-grep 0.1.0... [INFO] testing tree_sitter_lint_tree-sitter-grep-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tree_sitter_lint_tree-sitter-grep 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate tree_sitter_lint_tree-sitter-grep 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tree_sitter_lint_tree-sitter-grep 0.1.0 [INFO] tweaked toml for crates.io crate tree_sitter_lint_tree-sitter-grep 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tree_sitter_lint_tree-sitter-grep 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tree_sitter_lint_tree-sitter-grep 0.1.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a36d2768d2a6f7b9b5bca4d99538d31ae3b1fda6e343d44345a5004ac0935b5c [INFO] running `Command { std: "docker" "start" "-a" "a36d2768d2a6f7b9b5bca4d99538d31ae3b1fda6e343d44345a5004ac0935b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a36d2768d2a6f7b9b5bca4d99538d31ae3b1fda6e343d44345a5004ac0935b5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36d2768d2a6f7b9b5bca4d99538d31ae3b1fda6e343d44345a5004ac0935b5c", kill_on_drop: false }` [INFO] [stdout] a36d2768d2a6f7b9b5bca4d99538d31ae3b1fda6e343d44345a5004ac0935b5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf3bb429de564d730d76a8ce6a8baadaecf3d4cace823654d2208de403444dc [INFO] running `Command { std: "docker" "start" "-a" "dcf3bb429de564d730d76a8ce6a8baadaecf3d4cace823654d2208de403444dc", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-swift v0.3.6 [INFO] [stderr] Compiling tree-sitter-elisp v1.3.0 [INFO] [stderr] Compiling tree-sitter-json v0.19.0 [INFO] [stderr] Compiling tree-sitter-query v0.1.0 [INFO] [stderr] Compiling tree-sitter-go v0.19.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tree-sitter-css v0.19.0 [INFO] [stderr] Compiling tree-sitter-dockerfile v0.1.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.0 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.0 [INFO] [stderr] Compiling tree-sitter-python v0.20.2 [INFO] [stderr] Compiling tree-sitter-objc v1.1.0 [INFO] [stderr] Compiling tree_sitter_grep_tree-sitter-rust v0.20.3-dev.0 [INFO] [stderr] Compiling tree-sitter-lua v0.0.18 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tree-sitter-c v0.20.2 [INFO] [stderr] Compiling tree-sitter-ruby v0.20.0 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Compiling tree-sitter-kotlin v0.2.11 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling tree-sitter-elm v5.6.4 [INFO] [stderr] Compiling tree-sitter-toml v0.20.0 [INFO] [stderr] Compiling tree-sitter-java v0.20.0 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling clap_builder v4.3.11 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling globset v0.4.11 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling strum_macros v0.25.1 [INFO] [stderr] Compiling tree_sitter_grep_proc_macros v0.1.0 [INFO] [stderr] Compiling tree_sitter_grep_ignore v0.4.20-dev.0 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling tree_sitter_lint_tree-sitter-grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UTF8` is never constructed [INFO] [stdout] --> src/sink.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct UTF8(pub F) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lossy` is never constructed [INFO] [stdout] --> src/sink.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Lossy(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bytes` is never constructed [INFO] [stdout] --> src/sink.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct Bytes(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.82s [INFO] running `Command { std: "docker" "inspect" "dcf3bb429de564d730d76a8ce6a8baadaecf3d4cace823654d2208de403444dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf3bb429de564d730d76a8ce6a8baadaecf3d4cace823654d2208de403444dc", kill_on_drop: false }` [INFO] [stdout] dcf3bb429de564d730d76a8ce6a8baadaecf3d4cace823654d2208de403444dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c350227e725da35d0ab90721e27859108912c06a7925fd5e8ebba7169c6598 [INFO] running `Command { std: "docker" "start" "-a" "a2c350227e725da35d0ab90721e27859108912c06a7925fd5e8ebba7169c6598", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.102 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling escargot v0.5.7 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling predicates v3.0.3 [INFO] [stderr] Compiling assert_cmd v2.0.11 [INFO] [stderr] Compiling tree_sitter_lint_tree-sitter-grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UTF8` is never constructed [INFO] [stdout] --> src/sink.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct UTF8(pub F) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lossy` is never constructed [INFO] [stdout] --> src/sink.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Lossy(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bytes` is never constructed [INFO] [stdout] --> src/sink.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct Bytes(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UTF8` is never constructed [INFO] [stdout] --> src/sink.rs:244:16 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct UTF8(pub F) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lossy` is never constructed [INFO] [stdout] --> src/sink.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | pub struct Lossy(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bytes` is never constructed [INFO] [stdout] --> src/sink.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct Bytes(pub F) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tree_sitter_grep` [INFO] [stdout] --> examples/print_match_text.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tree_sitter_grep::{run_with_callback, Args}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter_grep` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 2 - use tree_sitter_grep::{run_with_callback, Args}; [INFO] [stdout] 2 + use tree_sitter_cpp::{run_with_callback, Args}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::Parser` [INFO] [stdout] --> examples/print_match_text.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree_sitter_lint_tree-sitter-grep` (example "print_match_text") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `tree_sitter_grep` [INFO] [stdout] --> examples/filter_before_line_number.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tree_sitter_grep::PluginInitializeReturn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tree_sitter_grep` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - use tree_sitter_grep::PluginInitializeReturn; [INFO] [stdout] 8 + use tree_sitter_cpp::PluginInitializeReturn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tree_sitter_lint_tree-sitter-grep` (example "filter_before_line_number") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a2c350227e725da35d0ab90721e27859108912c06a7925fd5e8ebba7169c6598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c350227e725da35d0ab90721e27859108912c06a7925fd5e8ebba7169c6598", kill_on_drop: false }` [INFO] [stdout] a2c350227e725da35d0ab90721e27859108912c06a7925fd5e8ebba7169c6598