[INFO] cloning repository https://github.com/Apochens/DISan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Apochens/DISan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApochens%2FDISan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApochens%2FDISan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71eb2647e72700ee944f49ebbc1e4e3b76e2fac9 [INFO] building Apochens/DISan against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FApochens%2FDISan" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Apochens/DISan [INFO] finished tweaking git repo https://github.com/Apochens/DISan [INFO] tweaked toml for git repo https://github.com/Apochens/DISan written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Apochens/DISan on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Apochens/DISan 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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.6 [INFO] [stderr] Downloaded clap_derive v4.5.5 [INFO] [stderr] Downloaded clap_builder v4.5.6 [INFO] [stderr] Downloaded tree-sitter-cpp v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 589911dcf425e15fc1a8206d14fde9baa1afa04889134787b3151e0b5bdfbf35 [INFO] running `Command { std: "docker" "start" "-a" "589911dcf425e15fc1a8206d14fde9baa1afa04889134787b3151e0b5bdfbf35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "589911dcf425e15fc1a8206d14fde9baa1afa04889134787b3151e0b5bdfbf35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "589911dcf425e15fc1a8206d14fde9baa1afa04889134787b3151e0b5bdfbf35", kill_on_drop: false }` [INFO] [stdout] 589911dcf425e15fc1a8206d14fde9baa1afa04889134787b3151e0b5bdfbf35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a6bc19da948c837be5c5dee649dedc9cce59bc6089719b464a27c1f22bad7bd4 [INFO] running `Command { std: "docker" "start" "-a" "a6bc19da948c837be5c5dee649dedc9cce59bc6089719b464a27c1f22bad7bd4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_builder v4.5.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling tree-sitter-cpp v0.22.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling clap v4.5.6 [INFO] [stderr] Compiling disan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `debugloc_src` [INFO] [stdout] --> src/instrument.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | let debugloc_src = if debugloc.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debugloc_src_1` [INFO] [stdout] --> src/instrument.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let debugloc_src_1 = if debugloc_1.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debugloc_src_2` [INFO] [stdout] --> src/instrument.rs:473:25 [INFO] [stdout] | [INFO] [stdout] 473 | let debugloc_src_2 = if debugloc_2.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_ast`, `is_header_include`, `is_using_declaration`, and `is_function_definition` are never used [INFO] [stdout] --> src/ast.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait AstNode { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn dump_ast(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn is_header_include(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn is_using_declaration(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn is_function_definition(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_replacement` and `is_insertion` are never used [INFO] [stdout] --> src/matcher.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait FuncMatch { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 46 | fn is_construct(&self) -> Option; [INFO] [stdout] 47 | fn is_replacement(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn is_insertion(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_FUNC` is never used [INFO] [stdout] --> src/matcher.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const INSERT_FUNC: [&str; 3] = ["insertBefore", "insertAfter", "insertInto"]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.52s [INFO] running `Command { std: "docker" "inspect" "a6bc19da948c837be5c5dee649dedc9cce59bc6089719b464a27c1f22bad7bd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bc19da948c837be5c5dee649dedc9cce59bc6089719b464a27c1f22bad7bd4", kill_on_drop: false }` [INFO] [stdout] a6bc19da948c837be5c5dee649dedc9cce59bc6089719b464a27c1f22bad7bd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] c1064f519c992e46413d98a6761e01b2e05711fe79d7a675234d1ba3d6360f71 [INFO] running `Command { std: "docker" "start" "-a" "c1064f519c992e46413d98a6761e01b2e05711fe79d7a675234d1ba3d6360f71", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling disan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `debugloc_src` [INFO] [stdout] --> src/instrument.rs:444:25 [INFO] [stdout] | [INFO] [stdout] 444 | let debugloc_src = if debugloc.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debugloc_src_1` [INFO] [stdout] --> src/instrument.rs:466:25 [INFO] [stdout] | [INFO] [stdout] 466 | let debugloc_src_1 = if debugloc_1.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `debugloc_src_2` [INFO] [stdout] --> src/instrument.rs:473:25 [INFO] [stdout] | [INFO] [stdout] 473 | let debugloc_src_2 = if debugloc_2.kind() == "call_expression" { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_debugloc_src_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dump_ast`, `is_header_include`, `is_using_declaration`, and `is_function_definition` are never used [INFO] [stdout] --> src/ast.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait AstNode { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn dump_ast(&self); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn is_header_include(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn is_using_declaration(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn is_function_definition(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_replacement` and `is_insertion` are never used [INFO] [stdout] --> src/matcher.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub trait FuncMatch { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 46 | fn is_construct(&self) -> Option; [INFO] [stdout] 47 | fn is_replacement(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn is_insertion(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INSERT_FUNC` is never used [INFO] [stdout] --> src/matcher.rs:97:7 [INFO] [stdout] | [INFO] [stdout] 97 | const INSERT_FUNC: [&str; 3] = ["insertBefore", "insertAfter", "insertInto"]; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.74s [INFO] running `Command { std: "docker" "inspect" "c1064f519c992e46413d98a6761e01b2e05711fe79d7a675234d1ba3d6360f71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1064f519c992e46413d98a6761e01b2e05711fe79d7a675234d1ba3d6360f71", kill_on_drop: false }` [INFO] [stdout] c1064f519c992e46413d98a6761e01b2e05711fe79d7a675234d1ba3d6360f71