[INFO] cloning repository https://github.com/ecumene/spin_pg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ecumene/spin_pg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fspin_pg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fspin_pg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 594a522b1d7895c1573c33bb2d6f48ea215d76f4 [INFO] testing ecumene/spin_pg against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fspin_pg" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ecumene/spin_pg [INFO] finished tweaking git repo https://github.com/ecumene/spin_pg [INFO] tweaked toml for git repo https://github.com/ecumene/spin_pg written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ecumene/spin_pg 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/ecumene/spin_pg 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] 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/9ec50c5/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/9ec50c5/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] Downloading crates ... [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded unicode-normalization v0.1.20 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded tracing v0.1.35 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded unicase v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e800afb9b0051250861ae20226854e94af03b60baac0c48f072de12a41be9459 [INFO] running `Command { std: "docker" "start" "-a" "e800afb9b0051250861ae20226854e94af03b60baac0c48f072de12a41be9459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e800afb9b0051250861ae20226854e94af03b60baac0c48f072de12a41be9459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e800afb9b0051250861ae20226854e94af03b60baac0c48f072de12a41be9459", kill_on_drop: false }` [INFO] [stdout] e800afb9b0051250861ae20226854e94af03b60baac0c48f072de12a41be9459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7bdcd48d4a4fc38b44efa523b1ee5ef4a7dbf3a8b2f0bc3c132791ab49afce5f [INFO] running `Command { std: "docker" "start" "-a" "7bdcd48d4a4fc38b44efa523b1ee5ef4a7dbf3a8b2f0bc3c132791ab49afce5f", 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/9ec50c5/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/9ec50c5/templates/redis-rust/content/Cargo.toml:2:8 [INFO] [stderr] | [INFO] [stderr] 2 | name = "{{project-name | kebab_case}}" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling unicode-xid v0.2.3 [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.56 [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 itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling unicode-normalization v0.1.20 [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 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 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=v0.3.0#9ec50c5b) [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tracing v0.1.35 [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=v0.3.0#9ec50c5b) [INFO] [stderr] Compiling spin_pg 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/rustc5BflqZ/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustc5BflqZ/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwit_bindgen_rust-86cfb6e621652f7f,libspin_sdk-352c20b8cbc38863,libwit_bindgen_rust-3b1ae63dc9baf0f3,libbitflags-e2b4db6c651223da,libwasi_experimental_http-89253ffd61c5c408,libtracing-8281887fc4667ab6,liblog-52b0edbc91f154fe,libcfg_if-33ef6c02a07f9fec,libpin_project_lite-97c4b49af6812166,libtracing_core-f8c6a8b6497e6aef,libonce_cell-6b817f4ee9d5f37a,libthiserror-b2338ce609d05dcc,libhttp-c81e9804fe6b644a,libitoa-664e30a1b3449410,libfnv-2d77ec4f6f971b24,libbytes-8210432e63828fd8,libanyhow-eaf1a77f94a29a70}.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/rustc5BflqZ/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libspin_pg.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-86cfb6e621652f7f.wit_bindgen_rust.875e18c378b3ea0f-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-86cfb6e621652f7f.rlib [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-3b1ae63dc9baf0f3.wit_bindgen_rust.144dac0314803b15-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-3b1ae63dc9baf0f3.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-86cfb6e621652f7f.wit_bindgen_rust.875e18c378b3ea0f-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-86cfb6e621652f7f.rlib [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-3b1ae63dc9baf0f3.wit_bindgen_rust.144dac0314803b15-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-3b1ae63dc9baf0f3.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spin_pg` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7bdcd48d4a4fc38b44efa523b1ee5ef4a7dbf3a8b2f0bc3c132791ab49afce5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bdcd48d4a4fc38b44efa523b1ee5ef4a7dbf3a8b2f0bc3c132791ab49afce5f", kill_on_drop: false }` [INFO] [stdout] 7bdcd48d4a4fc38b44efa523b1ee5ef4a7dbf3a8b2f0bc3c132791ab49afce5f