[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#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-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 b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfa9b2c4961845626de08e2ad184cf1a88fe1fddba8b5cb93f1946c0cdf313d0 [INFO] running `Command { std: "docker" "start" "-a" "cfa9b2c4961845626de08e2ad184cf1a88fe1fddba8b5cb93f1946c0cdf313d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfa9b2c4961845626de08e2ad184cf1a88fe1fddba8b5cb93f1946c0cdf313d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa9b2c4961845626de08e2ad184cf1a88fe1fddba8b5cb93f1946c0cdf313d0", kill_on_drop: false }` [INFO] [stdout] cfa9b2c4961845626de08e2ad184cf1a88fe1fddba8b5cb93f1946c0cdf313d0 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a520e22bab6459cb5c21aa2bf36239d517a82382d85397a15ebd5f253bfebc47 [INFO] running `Command { std: "docker" "start" "-a" "a520e22bab6459cb5c21aa2bf36239d517a82382d85397a15ebd5f253bfebc47", 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 crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling anstream v0.3.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling tree-sitter-java v0.20.0 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.0 [INFO] [stderr] Compiling tree-sitter-ruby v0.20.0 [INFO] [stderr] Compiling tree-sitter-c v0.20.2 [INFO] [stderr] Compiling tree-sitter-query v0.1.0 [INFO] [stderr] Compiling tree-sitter-lua v0.0.18 [INFO] [stderr] Compiling tree-sitter-elm v5.6.4 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.0 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling tree-sitter-json v0.19.0 [INFO] [stderr] Compiling tree-sitter-toml v0.20.0 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.2 [INFO] [stderr] Compiling tree-sitter-objc v1.1.0 [INFO] [stderr] Compiling tree-sitter-css v0.19.0 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Compiling tree-sitter-dockerfile v0.1.0 [INFO] [stderr] Compiling tree-sitter-html v0.19.0 [INFO] [stderr] Compiling tree-sitter-go v0.19.1 [INFO] [stderr] Compiling tree-sitter-kotlin v0.2.11 [INFO] [stderr] Compiling tree-sitter-python v0.20.2 [INFO] [stderr] Compiling tree-sitter-elisp v1.3.0 [INFO] [stderr] Compiling tree_sitter_grep_tree-sitter-rust v0.20.3-dev.0 [INFO] [stderr] Compiling tree-sitter-swift v0.3.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling terminal_size v0.2.6 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling clap_builder v4.3.11 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling bstr v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling globset v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling Inflector v0.11.4 [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 rayon v1.7.0 [INFO] [stderr] Compiling strum_macros v0.25.1 [INFO] [stderr] Compiling tree_sitter_grep_ignore v0.4.20-dev.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling tree_sitter_grep_proc_macros v0.1.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling libloading v0.8.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling termcolor v1.2.0 [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)]` 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 1m 45s [INFO] running `Command { std: "docker" "inspect" "a520e22bab6459cb5c21aa2bf36239d517a82382d85397a15ebd5f253bfebc47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a520e22bab6459cb5c21aa2bf36239d517a82382d85397a15ebd5f253bfebc47", kill_on_drop: false }` [INFO] [stdout] a520e22bab6459cb5c21aa2bf36239d517a82382d85397a15ebd5f253bfebc47 [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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2a44fb790c2acaa887ef0f18f9fbfd446bb8f459e54092e2e67a4ed65d4650 [INFO] running `Command { std: "docker" "start" "-a" "ab2a44fb790c2acaa887ef0f18f9fbfd446bb8f459e54092e2e67a4ed65d4650", 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 termtree v0.4.1 [INFO] [stderr] Compiling escargot v0.5.7 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rayon v1.7.0 [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)]` 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)]` 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/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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ab2a44fb790c2acaa887ef0f18f9fbfd446bb8f459e54092e2e67a4ed65d4650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2a44fb790c2acaa887ef0f18f9fbfd446bb8f459e54092e2e67a4ed65d4650", kill_on_drop: false }` [INFO] [stdout] ab2a44fb790c2acaa887ef0f18f9fbfd446bb8f459e54092e2e67a4ed65d4650