[INFO] cloning repository https://github.com/viperML/ts-pg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viperML/ts-pg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FviperML%2Fts-pg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FviperML%2Fts-pg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c1e9ac76d967af0f67adfb89d58edcf7607d9ef [INFO] building viperML/ts-pg against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FviperML%2Fts-pg" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/viperML/ts-pg [INFO] finished tweaking git repo https://github.com/viperML/ts-pg [INFO] tweaked toml for git repo https://github.com/viperML/ts-pg written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viperML/ts-pg on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/viperML/ts-pg 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.11 [INFO] [stderr] Downloaded clap_derive v4.5.11 [INFO] [stderr] Downloaded magic-sys v0.3.0 [INFO] [stderr] Downloaded tree-sitter-highlight v0.22.6 [INFO] [stderr] Downloaded magic v0.16.2 [INFO] [stderr] Downloaded serde_with_macros v3.9.0 [INFO] [stderr] Downloaded clap_builder v4.5.11 [INFO] [stderr] Downloaded serde_with v3.9.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded serde_json v1.0.125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e12ecd5386ae506a7f694bd15a17addce9aecd1c0d5ddeb73f5afe21c086ce41 [INFO] running `Command { std: "docker" "start" "-a" "e12ecd5386ae506a7f694bd15a17addce9aecd1c0d5ddeb73f5afe21c086ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e12ecd5386ae506a7f694bd15a17addce9aecd1c0d5ddeb73f5afe21c086ce41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12ecd5386ae506a7f694bd15a17addce9aecd1c0d5ddeb73f5afe21c086ce41", kill_on_drop: false }` [INFO] [stdout] e12ecd5386ae506a7f694bd15a17addce9aecd1c0d5ddeb73f5afe21c086ce41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da894c080282e0d43c0187f3751377ca744cdd9b6d17222dde3d168f194522af [INFO] running `Command { std: "docker" "start" "-a" "da894c080282e0d43c0187f3751377ca744cdd9b6d17222dde3d168f194522af", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling magic-sys v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling magic v0.16.2 [INFO] [stderr] Compiling tree-sitter-highlight v0.22.6 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling tree-sitter-dynamic v0.1.0 (/opt/rustwide/workdir/tree-sitter-dynamic) [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let next = reader.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modeline` is never constructed [INFO] [stdout] --> tree-sitter-dynamic/src/modeline.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Modeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/modeline.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Modeline { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn get(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_in_path(base: P, filename: S) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathResults` is never constructed [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PathResults { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn in_path(base: &[P], filename: S) -> PathResults [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tree-sitter-dynamic/src/lib.rs:211:69 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights [INFO] [stdout] | --- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'se` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights<'se> [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling tree-sitter-cat v0.1.0 (/opt/rustwide/workdir/tree-sitter-cat) [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tree-sitter-cat/src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, stdout, BufReader, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "da894c080282e0d43c0187f3751377ca744cdd9b6d17222dde3d168f194522af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da894c080282e0d43c0187f3751377ca744cdd9b6d17222dde3d168f194522af", kill_on_drop: false }` [INFO] [stdout] da894c080282e0d43c0187f3751377ca744cdd9b6d17222dde3d168f194522af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80c039b029b731cc6d377949e78fd485eb165efe522af2ead11ad3a85b2080d5 [INFO] running `Command { std: "docker" "start" "-a" "80c039b029b731cc6d377949e78fd485eb165efe522af2ead11ad3a85b2080d5", kill_on_drop: false }` [INFO] [stderr] Compiling tree-sitter-dynamic v0.1.0 (/opt/rustwide/workdir/tree-sitter-dynamic) [INFO] [stderr] Compiling tree-sitter-cat v0.1.0 (/opt/rustwide/workdir/tree-sitter-cat) [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let next = reader.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Modeline` is never constructed [INFO] [stdout] --> tree-sitter-dynamic/src/modeline.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Modeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/modeline.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Modeline { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | pub fn get(source: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_in_path(base: P, filename: S) -> io::Result [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathResults` is never constructed [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PathResults { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn in_path(base: &[P], filename: S) -> PathResults [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tree-sitter-dynamic/src/lib.rs:211:69 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights [INFO] [stdout] | --- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'se` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights<'se> [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> tree-sitter-cat/src/main.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | io::{self, stdout, BufReader, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next` [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let next = reader.next(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_next` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn find_in_path(base: P, filename: S) -> io::Result [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 `PathResults` is never constructed [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct PathResults { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_path` is never used [INFO] [stdout] --> tree-sitter-dynamic/src/path.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn in_path(base: &[P], filename: S) -> PathResults [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> tree-sitter-dynamic/src/lib.rs:211:69 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights [INFO] [stdout] | --- the lifetime is named here ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'se` [INFO] [stdout] | [INFO] [stdout] 211 | pub fn highlight<'se, 'so>(&'se mut self, source: &'so [u8]) -> Highlights<'se> [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "80c039b029b731cc6d377949e78fd485eb165efe522af2ead11ad3a85b2080d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80c039b029b731cc6d377949e78fd485eb165efe522af2ead11ad3a85b2080d5", kill_on_drop: false }` [INFO] [stdout] 80c039b029b731cc6d377949e78fd485eb165efe522af2ead11ad3a85b2080d5