[INFO] cloning repository https://github.com/lann/code-snippets [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lann/code-snippets" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fcode-snippets", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fcode-snippets'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26b33f65853658d635aa5bdfe6489f49c96db440 [INFO] building lann/code-snippets against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fcode-snippets" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/lann/code-snippets [INFO] finished tweaking git repo https://github.com/lann/code-snippets [INFO] tweaked toml for git repo https://github.com/lann/code-snippets written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lann/code-snippets 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/lann/code-snippets 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] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-af3dbb23525728d0/39fb4cb/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../../../cargo-home/git/checkouts/spin-af3dbb23525728d0/39fb4cb/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 2aeac35a3610814fcd55af031b9e50708637e993f3a609e875acb6df87be6e59 [INFO] running `Command { std: "docker" "start" "-a" "2aeac35a3610814fcd55af031b9e50708637e993f3a609e875acb6df87be6e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2aeac35a3610814fcd55af031b9e50708637e993f3a609e875acb6df87be6e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2aeac35a3610814fcd55af031b9e50708637e993f3a609e875acb6df87be6e59", kill_on_drop: false }` [INFO] [stdout] 2aeac35a3610814fcd55af031b9e50708637e993f3a609e875acb6df87be6e59 [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] b26fa3ae87902bb6c311e3684481a34d31fb1a5ea36d32180c9b0ed7e431c2ff [INFO] running `Command { std: "docker" "start" "-a" "b26fa3ae87902bb6c311e3684481a34d31fb1a5ea36d32180c9b0ed7e431c2ff", kill_on_drop: false }` [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-af3dbb23525728d0/39fb4cb/templates/http-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] error: invalid character `{` in package name: `{{project-name | kebab_case}}`, the first character must be a Unicode XID start character (most letters or `_`) [INFO] [stderr] --> ../cargo-home/git/checkouts/spin-af3dbb23525728d0/39fb4cb/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling tree-sitter-rust v0.20.1 [INFO] [stderr] Compiling wit-parser v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling wit-parser v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling wit-bindgen-gen-core v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling wit-bindgen-gen-core v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling wit-bindgen-gen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling wit-bindgen-gen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling wit-bindgen-rust-impl v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling wit-bindgen-rust-impl v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling wit-bindgen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling wit-bindgen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling spin-macro v0.1.0 (https://github.com/fermyon/spin?tag=canary#39fb4cbf) [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling wasi-experimental-http v0.9.0 (https://github.com/deislabs/wasi-experimental-http?rev=a82ae3d6c85c4251b3663035febeb8100068f51d#a82ae3d6) [INFO] [stderr] Compiling spin-sdk v0.2.0 (https://github.com/fermyon/spin?tag=canary#39fb4cbf) [INFO] [stderr] Compiling code_snippets v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "handle-http-request" "--export" "canonical_abi_free" "--export" "canonical_abi_realloc" "--export" "canonical_abi_free" "--export" "canonical_abi_realloc" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtree_sitter_rust-dccfd46fc18e5696,libwit_bindgen_rust-7b819f29781a3f2c,libtree_sitter-ce7dda50deecc359,libregex-8cfe66a02f93c730,libaho_corasick-216c86f2849d20a1,libmemchr-b559ff6c4bd2cfb8,libregex_syntax-8d711ceefe044bbe,libspin_sdk-d4293ff486bc6c27,libwit_bindgen_rust-498c320a43e6cf92,libbitflags-15e3d67e03629ffa,libwasi_experimental_http-3e3f5ac79d655cce,libtracing-1aca8d228dcc7b7f,liblog-62e3ebeea664e0d3,libcfg_if-50b02a9e3502ecf2,libpin_project_lite-ed8e8f978657eea7,libtracing_core-798eb24b1c51576e,liblazy_static-36da267ce9339a94,libthiserror-bb9b44d2b392b4e0,libhttp-00d86a340a1092c4,libitoa-9acc885e9ae026f1,libfnv-4cf7b98c52023da7,libbytes-e7a8ffb7b41aa96f,libanyhow-d88af1ac4ee6f8b8}.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-c74b673c5896dd23/out" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/tree-sitter-rust-42a72cb980bbceca/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/code_snippets.wasm" "--gc-sections" "--no-entry" "-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_rust-dccfd46fc18e5696.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_rust-dccfd46fc18e5696.rlib: archive member 'scanner.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.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/code_snippets.code_snippets.5824c4c2a9be6003-cgu.0.rcgu.o: undefined symbol: ts_parser_parse [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/code_snippets.code_snippets.5824c4c2a9be6003-cgu.0.rcgu.o: undefined symbol: ts_query_cursor_exec [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/code_snippets.code_snippets.5824c4c2a9be6003-cgu.0.rcgu.o: undefined symbol: ts_query_cursor_next_match [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter_rust-dccfd46fc18e5696.rlib(tree_sitter_rust-dccfd46fc18e5696.tree_sitter_rust.708428b94d92f243-cgu.0.rcgu.o): undefined symbol: tree_sitter_rust [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_string_value_for_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_parser_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_parser_set_logger [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_parser_set_language [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_language_version [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-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-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_parser_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_tree_root_node [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_node_start_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_node_end_byte [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_new [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_string_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_capture_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_pattern_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_capture_name_for_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libtree_sitter-ce7dda50deecc359.rlib(tree_sitter-ce7dda50deecc359.tree_sitter.ef83e350be919978-cgu.2.rcgu.o): undefined symbol: ts_query_predicates_for_pattern [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 `code_snippets` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "b26fa3ae87902bb6c311e3684481a34d31fb1a5ea36d32180c9b0ed7e431c2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b26fa3ae87902bb6c311e3684481a34d31fb1a5ea36d32180c9b0ed7e431c2ff", kill_on_drop: false }` [INFO] [stdout] b26fa3ae87902bb6c311e3684481a34d31fb1a5ea36d32180c9b0ed7e431c2ff