[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 master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flann%2Fcode-snippets" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lann/code-snippets on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/fermyon/spin` [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] Updating git repository `https://github.com/bytecodealliance/wit-bindgen` [INFO] [stderr] Updating git repository `https://github.com/deislabs/wasi-experimental-http` [INFO] [stderr] Updating git repository `https://github.com/bytecodealliance/wit-bindgen` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.38 [INFO] [stderr] Downloaded tree-sitter v0.20.6 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded tree-sitter-rust v0.20.1 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f75a879c420ef8f92823f1d038f0944aae7cf4706989395e954d47b23467749b [INFO] running `Command { std: "docker" "start" "-a" "f75a879c420ef8f92823f1d038f0944aae7cf4706989395e954d47b23467749b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f75a879c420ef8f92823f1d038f0944aae7cf4706989395e954d47b23467749b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75a879c420ef8f92823f1d038f0944aae7cf4706989395e954d47b23467749b", kill_on_drop: false }` [INFO] [stdout] f75a879c420ef8f92823f1d038f0944aae7cf4706989395e954d47b23467749b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c66ab45bd19b11b130a06a583f75d0cd4c9009f3e5a52506d4fff624297d5941 [INFO] running `Command { std: "docker" "start" "-a" "c66ab45bd19b11b130a06a583f75d0cd4c9009f3e5a52506d4fff624297d5941", 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 pulldown-cmark v0.8.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [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 itoa v1.0.1 [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 tracing-core v0.1.26 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [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=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [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 tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling spin-macro v0.1.0 (https://github.com/fermyon/spin?tag=canary#39fb4cbf) [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/rustcFz80sg/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcFz80sg/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libtree_sitter_rust-cdaee7d5fe3871b8,libwit_bindgen_rust-213cd1bb8838af30,libtree_sitter-dc494fe7d121a5dc,libregex-2f87ec2240b72017,libaho_corasick-a6d797e525ff3a89,libmemchr-82726350a09d7357,libregex_syntax-a8b7a392e3a16251,libspin_sdk-8bb210598e63ca03,libwit_bindgen_rust-8b6b7bf235f8f2b5,libbitflags-e2b4db6c651223da,libwasi_experimental_http-d034c5fb7a40eeae,libtracing-c45ecd89ab6e771c,liblog-52b0edbc91f154fe,libcfg_if-33ef6c02a07f9fec,libpin_project_lite-97c4b49af6812166,libtracing_core-cf97d02605709cb1,liblazy_static-2bb390fee0230a38,libthiserror-1859b81627d14c17,libhttp-4585225099f1035e,libitoa-3e86378e1c67fddd,libfnv-2d77ec4f6f971b24,libbytes-8210432e63828fd8,libanyhow-18937acb7dd2ad21}.rlib" "/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/rustcFz80sg/raw-dylibs" "-B/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-529b85cc1ce743cd/out" "-L" "/opt/rustwide/target/debug/build/tree-sitter-rust-f4b5146d12a378a6/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_free [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-213cd1bb8838af30.wit_bindgen_rust.e6cd00d019311fc1-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-213cd1bb8838af30.rlib [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-8b6b7bf235f8f2b5.wit_bindgen_rust.312f816c50f99628-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-8b6b7bf235f8f2b5.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-213cd1bb8838af30.wit_bindgen_rust.e6cd00d019311fc1-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-213cd1bb8838af30.rlib [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-8b6b7bf235f8f2b5.wit_bindgen_rust.312f816c50f99628-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-8b6b7bf235f8f2b5.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" "c66ab45bd19b11b130a06a583f75d0cd4c9009f3e5a52506d4fff624297d5941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c66ab45bd19b11b130a06a583f75d0cd4c9009f3e5a52506d4fff624297d5941", kill_on_drop: false }` [INFO] [stdout] c66ab45bd19b11b130a06a583f75d0cd4c9009f3e5a52506d4fff624297d5941