[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FviperML%2Fts-pg" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/viperML/ts-pg on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded magic-sys v0.3.0 [INFO] [stderr] Downloaded serde_with v3.9.0 [INFO] [stderr] Downloaded clap_derive v4.5.11 [INFO] [stderr] Downloaded tree-sitter-highlight v0.22.6 [INFO] [stderr] Downloaded serde_with_macros v3.9.0 [INFO] [stderr] Downloaded clap v4.5.11 [INFO] [stderr] Downloaded magic v0.16.2 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded clap_builder v4.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1fa058ded65f3f9cdcf64416a2897449f2374cbe7c2460c0fb8a8809433383d [INFO] running `Command { std: "docker" "start" "-a" "e1fa058ded65f3f9cdcf64416a2897449f2374cbe7c2460c0fb8a8809433383d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1fa058ded65f3f9cdcf64416a2897449f2374cbe7c2460c0fb8a8809433383d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fa058ded65f3f9cdcf64416a2897449f2374cbe7c2460c0fb8a8809433383d", kill_on_drop: false }` [INFO] [stdout] e1fa058ded65f3f9cdcf64416a2897449f2374cbe7c2460c0fb8a8809433383d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d403f8cdf0e47ce0c29f6ed59f02127e37dc1decccced9ac85db6822a306ceb2 [INFO] running `Command { std: "docker" "start" "-a" "d403f8cdf0e47ce0c29f6ed59f02127e37dc1decccced9ac85db6822a306ceb2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling magic-sys v0.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling libloading v0.8.4 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling darling_core v0.20.10 [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 regex v1.10.5 [INFO] [stderr] Compiling magic v0.16.2 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling tree-sitter-highlight v0.22.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [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 (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 36.68s
[INFO] running `Command { std: "docker" "inspect" "d403f8cdf0e47ce0c29f6ed59f02127e37dc1decccced9ac85db6822a306ceb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d403f8cdf0e47ce0c29f6ed59f02127e37dc1decccced9ac85db6822a306ceb2", kill_on_drop: false }`
[INFO] [stdout] d403f8cdf0e47ce0c29f6ed59f02127e37dc1decccced9ac85db6822a306ceb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2f9ce41def5992fc5d69607257991471282898d39ddd995fc8eb93d08e30b6dd
[INFO] running `Command { std: "docker" "start" "-a" "2f9ce41def5992fc5d69607257991471282898d39ddd995fc8eb93d08e30b6dd", kill_on_drop: false }`
[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 (base: &[P], filename: S) -> PathResults
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling tree-sitter-dynamic v0.1.0 (/opt/rustwide/workdir/tree-sitter-dynamic)
[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 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] [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 (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 0.75s
[INFO] running `Command { std: "docker" "inspect" "2f9ce41def5992fc5d69607257991471282898d39ddd995fc8eb93d08e30b6dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f9ce41def5992fc5d69607257991471282898d39ddd995fc8eb93d08e30b6dd", kill_on_drop: false }`
[INFO] [stdout] 2f9ce41def5992fc5d69607257991471282898d39ddd995fc8eb93d08e30b6dd