[INFO] cloning repository https://github.com/Maix0/format42 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Maix0/format42" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaix0%2Fformat42", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaix0%2Fformat42'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f0cf1cfe4e870f1e83bdb87be12bdcf8a7f8b01 [INFO] building Maix0/format42 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaix0%2Fformat42" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Maix0/format42 [INFO] finished tweaking git repo https://github.com/Maix0/format42 [INFO] tweaked toml for git repo https://github.com/Maix0/format42 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Maix0/format42 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/Maix0/format42 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f3e8fef3f2dbbe4e88b6b522bfbe1dd03a65b1c1ee4b32c2c33add78c25c424b [INFO] running `Command { std: "docker" "start" "-a" "f3e8fef3f2dbbe4e88b6b522bfbe1dd03a65b1c1ee4b32c2c33add78c25c424b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e8fef3f2dbbe4e88b6b522bfbe1dd03a65b1c1ee4b32c2c33add78c25c424b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e8fef3f2dbbe4e88b6b522bfbe1dd03a65b1c1ee4b32c2c33add78c25c424b", kill_on_drop: false }` [INFO] [stdout] f3e8fef3f2dbbe4e88b6b522bfbe1dd03a65b1c1ee4b32c2c33add78c25c424b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d0fda07d9a766dedb214029172bc7f4d0a7f7c737cfc673bf82d30b7a483c957 [INFO] running `Command { std: "docker" "start" "-a" "d0fda07d9a766dedb214029172bc7f4d0a7f7c737cfc673bf82d30b7a483c957", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling smawk v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.0.4 [INFO] [stderr] Compiling chrono v0.4.30 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-c v0.20.6 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling format42 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `lazy_cell` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(lazy_cell)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Ok((path, _f, o)) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ident_value` [INFO] [stdout] --> src/main.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn format(&self, ident_value: usize, fmt: &mut impl std::io::Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ident_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fmt` [INFO] [stdout] --> src/main.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn format(&self, ident_value: usize, fmt: &mut impl std::io::Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def` [INFO] [stdout] --> src/main.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | for def in &self.0 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/main.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | filename: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [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/{libtextwrap-a10ebaf4db957b21,libunicode_width-91ac64c97d3ba4a2,libunicode_linebreak-6abcaf029b8858d0,libsmawk-2830c7382a8da9f2,libtree_sitter_c-ff3b7eaeb26f013d,libtree_sitter-05f8a9f07a7d2ca5,libregex-1c98ba2252f53fdf,libregex_automata-8d0828b9ad332c7f,libaho_corasick-7a9d73be466e9f0d,libmemchr-b559ff6c4bd2cfb8,libregex_syntax-6ce128974345f74c,libchrono-4071f41f7543bb79,libnum_traits-8afda421bac1d0b6}.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-077ff9cb13d598a5/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-c-462dd615f0e71713/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/format42-079ea54543ad2015.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_c-ff3b7eaeb26f013d.rlib: archive member 'parser.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib: archive member 'lib.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/format42-079ea54543ad2015.format42.671710b9e90496a5-cgu.2.rcgu.o: undefined symbol: ts_parser_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_c-ff3b7eaeb26f013d.rlib(tree_sitter_c-ff3b7eaeb26f013d.tree_sitter_c.922e4777a39697de-cgu.0.rcgu.o): undefined symbol: tree_sitter_c [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_parser_print_dot_graphs [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_root_node [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_cursor_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_start_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_end_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_child_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_end_point [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_cursor_reset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_cursor_goto_first_child [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_start_point [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_node_type [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_cursor_goto_next_sibling [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-05f8a9f07a7d2ca5.rlib(tree_sitter-05f8a9f07a7d2ca5.tree_sitter.abe92d391b905d4d-cgu.2.rcgu.o): undefined symbol: ts_tree_cursor_current_node [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `format42` (bin "format42") due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0fda07d9a766dedb214029172bc7f4d0a7f7c737cfc673bf82d30b7a483c957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fda07d9a766dedb214029172bc7f4d0a7f7c737cfc673bf82d30b7a483c957", kill_on_drop: false }` [INFO] [stdout] d0fda07d9a766dedb214029172bc7f4d0a7f7c737cfc673bf82d30b7a483c957