[INFO] fetching crate ast-grep-napi 0.32.2... [INFO] testing ast-grep-napi-0.32.2 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate ast-grep-napi 0.32.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ast-grep-napi 0.32.2 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ast-grep-napi 0.32.2 [INFO] finished tweaking crates.io crate ast-grep-napi 0.32.2 [INFO] tweaked toml for crates.io crate ast-grep-napi 0.32.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37da29bfec131c9bab29b9ed911f85d3078fd5cd52da723ad56cdefe52b630c1 [INFO] running `Command { std: "docker" "start" "-a" "37da29bfec131c9bab29b9ed911f85d3078fd5cd52da723ad56cdefe52b630c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37da29bfec131c9bab29b9ed911f85d3078fd5cd52da723ad56cdefe52b630c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37da29bfec131c9bab29b9ed911f85d3078fd5cd52da723ad56cdefe52b630c1", kill_on_drop: false }` [INFO] [stdout] 37da29bfec131c9bab29b9ed911f85d3078fd5cd52da723ad56cdefe52b630c1 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4c05810afac733f270c145b066315222a573d48e49db34992cefede0a9d1e85 [INFO] running `Command { std: "docker" "start" "-a" "d4c05810afac733f270c145b066315222a573d48e49db34992cefede0a9d1e85", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-language v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tree-sitter v0.24.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling bstr v1.11.1 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling tree-sitter-json v0.23.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tree-sitter-swift v0.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.8 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-rust v0.23.2 [INFO] [stderr] Compiling tree-sitter-sequel v0.3.7 [INFO] [stderr] Compiling tree-sitter-kotlin-sg v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling tree-sitter-elixir v0.3.3 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter-lua v0.2.0 [INFO] [stderr] Compiling tree-sitter-python v0.23.5 [INFO] [stderr] Compiling tree-sitter-java v0.23.4 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.0 [INFO] [stderr] Compiling tree-sitter-css v0.23.1 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-haskell v0.23.1 [INFO] [stderr] Compiling tree-sitter-scala v0.23.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-bash v0.23.3 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-php v0.23.11 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling thiserror v2.0.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling napi-build v2.1.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling ast-grep-napi v0.32.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tree-sitter-facade-sg v0.24.5 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling ast-grep-core v0.32.2 [INFO] [stderr] Compiling napi v2.16.13 [INFO] [stderr] Compiling ast-grep-config v0.32.2 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling ast-grep-language v0.32.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.38s [INFO] running `Command { std: "docker" "inspect" "d4c05810afac733f270c145b066315222a573d48e49db34992cefede0a9d1e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c05810afac733f270c145b066315222a573d48e49db34992cefede0a9d1e85", kill_on_drop: false }` [INFO] [stdout] d4c05810afac733f270c145b066315222a573d48e49db34992cefede0a9d1e85 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdf43f3d659afcb6769e618ca05ce0c945b7d99deed749735fe95c83893867f4 [INFO] running `Command { std: "docker" "start" "-a" "fdf43f3d659afcb6769e618ca05ce0c945b7d99deed749735fe95c83893867f4", kill_on_drop: false }` [INFO] [stderr] Compiling ast-grep-napi v0.32.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "fdf43f3d659afcb6769e618ca05ce0c945b7d99deed749735fe95c83893867f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdf43f3d659afcb6769e618ca05ce0c945b7d99deed749735fe95c83893867f4", kill_on_drop: false }` [INFO] [stdout] fdf43f3d659afcb6769e618ca05ce0c945b7d99deed749735fe95c83893867f4 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2ba842245f3470b255ff0e2014908ea922a47ea98825e91423a5370d45634486 [INFO] running `Command { std: "docker" "start" "-a" "2ba842245f3470b255ff0e2014908ea922a47ea98825e91423a5370d45634486", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ast_grep_napi-d4c4adad9d890a9d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test doc::test::test_js_doc ... ok [INFO] [stdout] test napi_lang::test::test_from_str ... ok [INFO] [stdout] test napi_lang::test::test_lang_globs ... ok [INFO] [stdout] test doc::test::test_js_doc_single_node_replace ... ok [INFO] [stdout] test doc::test::test_js_doc_multiple_node_replace ... ok [INFO] [stdout] test napi_lang::test::test_lang_option ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2ba842245f3470b255ff0e2014908ea922a47ea98825e91423a5370d45634486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba842245f3470b255ff0e2014908ea922a47ea98825e91423a5370d45634486", kill_on_drop: false }` [INFO] [stdout] 2ba842245f3470b255ff0e2014908ea922a47ea98825e91423a5370d45634486