[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 try#23647e694de8d0904848ad068b2e0ec2dd098c37+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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Apochens/DISan on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9889cc195038b670b872fa4e1e898c5ac6fcfa4b2c18655e3b18b0e6e5492489 [INFO] running `Command { std: "docker" "start" "-a" "9889cc195038b670b872fa4e1e898c5ac6fcfa4b2c18655e3b18b0e6e5492489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9889cc195038b670b872fa4e1e898c5ac6fcfa4b2c18655e3b18b0e6e5492489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9889cc195038b670b872fa4e1e898c5ac6fcfa4b2c18655e3b18b0e6e5492489", kill_on_drop: false }` [INFO] [stdout] 9889cc195038b670b872fa4e1e898c5ac6fcfa4b2c18655e3b18b0e6e5492489 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] afbed30f508b8dd13eca4161a48950e759197f7a576a579638e8553144c6630f [INFO] running `Command { std: "docker" "start" "-a" "afbed30f508b8dd13eca4161a48950e759197f7a576a579638e8553144c6630f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [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 clap_builder v4.5.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [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 clap_derive v4.5.5 [INFO] [stderr] Compiling regex v1.10.4 [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] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtree_sitter_cpp-8dbdb7e15b8f469a,libclap-923d4b5a403f2cc7,libclap_builder-c9fe3c0608a5bce6,libstrsim-e512297c5f919e18,libanstream-1b785e3a4dea17cd,libanstyle_query-16dc9a1ca3d64c51,libis_terminal_polyfill-f7f010ed0ad17c50,libcolorchoice-a899e1fd734637a0,libanstyle_parse-e818c5b55c522eac,libutf8parse-9c3910e1de91e7db,libclap_lex-bd9c0d0c250819b3,libanstyle-95a73a883aa6b5f6,libtree_sitter-4ff5110caba733a2,libregex-d7dda012d46c946c,libregex_automata-529416b0cdf73fd0,libaho_corasick-9fb8217cfdaef58b,libmemchr-543b78dd4e6f59ec,libregex_syntax-4143df8633f5deb0,libcolored-6f32a11f0de99c30,liblazy_static-36da267ce9339a94}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-7ed61857a52f5555/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-cpp-fb86db219a690b82/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/disan-562a3b49cb4685c4.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_cpp-8dbdb7e15b8f469a.rlib: archive member '2e40c9e35e9506f4-parser.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_cpp-8dbdb7e15b8f469a.rlib: archive member '2e40c9e35e9506f4-scanner.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib: archive member '4ea7550b049dafca-lib.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/disan-562a3b49cb4685c4.disan.2deb30927466d4bd-cgu.2.rcgu.o: undefined symbol: ts_parser_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/disan-562a3b49cb4685c4.disan.2deb30927466d4bd-cgu.2.rcgu.o: undefined symbol: ts_node_child_by_field_name [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_cpp-8dbdb7e15b8f469a.rlib(tree_sitter_cpp-8dbdb7e15b8f469a.tree_sitter_cpp.3cb4694b1dad50c4-cgu.0.rcgu.o): undefined symbol: tree_sitter_cpp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_print_dot_graphs [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_tree_root_node [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_start_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_end_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_child_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_start_point [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_child [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_node_parent [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_language_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_parser_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-4ff5110caba733a2.rlib(tree_sitter-4ff5110caba733a2.tree_sitter.44d977650e8d52f6-cgu.3.rcgu.o): undefined symbol: ts_tree_delete [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `disan` (bin "disan") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "afbed30f508b8dd13eca4161a48950e759197f7a576a579638e8553144c6630f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afbed30f508b8dd13eca4161a48950e759197f7a576a579638e8553144c6630f", kill_on_drop: false }` [INFO] [stdout] afbed30f508b8dd13eca4161a48950e759197f7a576a579638e8553144c6630f