[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] testing lann/code-snippets against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fcode-snippets" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lann/code-snippets on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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] | [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] | [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cefb4665b500d5385f24dc277d1d3f8b641d46c87e2b518276221fb422885848 [INFO] running `Command { std: "docker" "start" "-a" "cefb4665b500d5385f24dc277d1d3f8b641d46c87e2b518276221fb422885848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cefb4665b500d5385f24dc277d1d3f8b641d46c87e2b518276221fb422885848", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefb4665b500d5385f24dc277d1d3f8b641d46c87e2b518276221fb422885848", kill_on_drop: false }` [INFO] [stdout] cefb4665b500d5385f24dc277d1d3f8b641d46c87e2b518276221fb422885848 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ea4c2f254222792d6bc72105b64e706c1ea8141a1e8796f083563cd3a363b6 [INFO] running `Command { std: "docker" "start" "-a" "57ea4c2f254222792d6bc72105b64e706c1ea8141a1e8796f083563cd3a363b6", 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] | [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] | [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicase v2.6.0 [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 tinyvec v1.6.0 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling tree-sitter-rust v0.20.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [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-rust 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 wit-bindgen-gen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling wit-bindgen-rust-impl v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [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 `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustc0ZjCtc/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc0ZjCtc/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtree_sitter_rust-e84d33e03b47216e.rlib,libwit_bindgen_rust-2b81b921ef4a6f5c.rlib,libtree_sitter-5c7b0da15ba81209.rlib,libregex-67ae917a758b3bad.rlib,libaho_corasick-1f83a2fb3c683d84.rlib,libmemchr-c03d851e398fde9c.rlib,libregex_syntax-a8b7a392e3a16251.rlib,libspin_sdk-eb117e60f84d71bf.rlib,libwit_bindgen_rust-3836d5391a6f9573.rlib,libbitflags-e2b4db6c651223da.rlib,libwasi_experimental_http-e112993b03e3271c.rlib,libtracing-54ef94a3373594c0.rlib,liblog-65ce858a5d32dc0e.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libpin_project_lite-97c4b49af6812166.rlib,libtracing_core-9128a04c454b56e5.rlib,liblazy_static-2bb390fee0230a38.rlib,libthiserror-f86e4309c695940a.rlib,libhttp-4c811fa11d0f0fd3.rlib,libitoa-3e86378e1c67fddd.rlib,libfnv-2d77ec4f6f971b24.rlib,libbytes-8210432e63828fd8.rlib,libanyhow-e70f5ad1e0aab716.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc0ZjCtc/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/tree-sitter-e1a34eb8a424210f/out" "-L" "/opt/rustwide/target/debug/build/tree-sitter-rust-01b57e4637be515b/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libcode_snippets.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: duplicate symbol: canonical_abi_realloc [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-2b81b921ef4a6f5c.wit_bindgen_rust.f6dfd2ef247f5ca4-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-2b81b921ef4a6f5c.rlib [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-3836d5391a6f9573.wit_bindgen_rust.6429728387ab05-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-3836d5391a6f9573.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: duplicate symbol: canonical_abi_free [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-2b81b921ef4a6f5c.wit_bindgen_rust.f6dfd2ef247f5ca4-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-2b81b921ef4a6f5c.rlib [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-3836d5391a6f9573.wit_bindgen_rust.6429728387ab05-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-3836d5391a6f9573.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [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" "57ea4c2f254222792d6bc72105b64e706c1ea8141a1e8796f083563cd3a363b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ea4c2f254222792d6bc72105b64e706c1ea8141a1e8796f083563cd3a363b6", kill_on_drop: false }` [INFO] [stdout] 57ea4c2f254222792d6bc72105b64e706c1ea8141a1e8796f083563cd3a363b6