[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 1.99.0-beta.1 for beta-1.99-5
[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 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "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" "+1.99.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc
[INFO] running `Command { std: "docker" "start" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json", 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 memchr v2.5.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.38
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling syn v1.0.93
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[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 wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c)
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling fnv v1.0.7
[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 tracing-core v0.1.26
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling tree-sitter v0.20.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http v0.2.7
[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 regex v1.5.5
[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 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=/opt/rustwide/target/debug/deps/rustc74r4Bd/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustc74r4Bd/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtree_sitter_rust-1f675a6f9a3a5a15,libwit_bindgen_rust-9f302af7d3c66a50,libtree_sitter-fb8b1066216e3632,libregex-8d74f4c13cb8612b,libaho_corasick-b37c2668348330e5,libmemchr-3d0ec59241a02054,libregex_syntax-12b080b3aec45ada,libspin_sdk-fd7eff0cb71b14ca,libwit_bindgen_rust-aabeaec9bb6f6f68,libbitflags-dde12b0d7d495b50,libwasi_experimental_http-f7a003ab74643685,libtracing-f5c3b5119a16757a,liblog-d31671b75f3392bc,libcfg_if-3e7fc4e38d4a72b5,libpin_project_lite-6df6c214457c8ca7,libtracing_core-85f1d4253c6a93df,liblazy_static-af860367908b8176,libthiserror-fd22f4783719d4c3,libhttp-bd586ecdd4f3781f,libitoa-af75672c211b96e4,libfnv-79e2cbfbe03dcd16,libbytes-3aba2b4fd6e71b66,libanyhow-e5bf35ad210f811c}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustc74r4Bd/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/tree-sitter-aa8c7c2125f479c2/out" "-L" "/opt/rustwide/target/debug/build/tree-sitter-rust-818b0fdc5840094e/out" "-L" "<sysroot>/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_free
[INFO] [stdout]           >>> defined at lib.rs:158 (src/lib.rs:158)
[INFO] [stdout]           >>>            wit_bindgen_rust-9f302af7d3c66a50.wit_bindgen_rust.e31f2575cf1c6d65-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-9f302af7d3c66a50.rlib
[INFO] [stdout]           >>> defined at lib.rs:158 (src/lib.rs:158)
[INFO] [stdout]           >>>            wit_bindgen_rust-aabeaec9bb6f6f68.wit_bindgen_rust.683aba16ae14e0a4-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-aabeaec9bb6f6f68.rlib
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: duplicate symbol: canonical_abi_realloc
[INFO] [stdout]           >>> defined at lib.rs:134 (src/lib.rs:134)
[INFO] [stdout]           >>>            wit_bindgen_rust-9f302af7d3c66a50.wit_bindgen_rust.e31f2575cf1c6d65-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-9f302af7d3c66a50.rlib
[INFO] [stdout]           >>> defined at lib.rs:134 (src/lib.rs:134)
[INFO] [stdout]           >>>            wit_bindgen_rust-aabeaec9bb6f6f68.wit_bindgen_rust.683aba16ae14e0a4-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-aabeaec9bb6f6f68.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" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc", kill_on_drop: false }`
[INFO] [stdout] 565bf419fae1c1315f2c641012e4fa762376a99809d92d12bf6837f19fc2a9fc
