[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] building ecumene/spin_pg against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937
[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 eb171a227f9e5de5d376b6edb56b174bc8235fb3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-normalization v0.1.20
[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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe7eac3fdbd68aca928699ce47087c7d76dc486b7873593ba346901c844c2268
[INFO] running `Command { std: "docker" "start" "-a" "fe7eac3fdbd68aca928699ce47087c7d76dc486b7873593ba346901c844c2268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe7eac3fdbd68aca928699ce47087c7d76dc486b7873593ba346901c844c2268", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe7eac3fdbd68aca928699ce47087c7d76dc486b7873593ba346901c844c2268", kill_on_drop: false }`
[INFO] [stdout] fe7eac3fdbd68aca928699ce47087c7d76dc486b7873593ba346901c844c2268
[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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7d7cb94802c302d190c784a73a0ec245709051216365a1e27fd1be7da3d2c41
[INFO] running `Command { std: "docker" "start" "-a" "e7d7cb94802c302d190c784a73a0ec245709051216365a1e27fd1be7da3d2c41", 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 memchr v2.5.0
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling id-arena v2.2.1
[INFO] [stderr]    Compiling syn v1.0.98
[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 once_cell v1.12.0
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3)
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling tracing-core v0.1.28
[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 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=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c)
[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 tracing v0.1.35
[INFO] [stderr]    Compiling thiserror v1.0.31
[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=/tmp/rustcCDjJRr/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcCDjJRr/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwit_bindgen_rust-74c72f00065819f0,libspin_sdk-2ab3b8d8e6349480,libwit_bindgen_rust-9cb9998fbdd92bf9,libbitflags-e2b4db6c651223da,libwasi_experimental_http-0424dc44bcb2b774,libtracing-8d42bd2b679fb422,liblog-b6a085e24b2fb65a,libcfg_if-33ef6c02a07f9fec,libpin_project_lite-97c4b49af6812166,libtracing_core-7dc9f271b567afa2,libonce_cell-6b817f4ee9d5f37a,libthiserror-c1664d20fb266f43,libhttp-d37e29af1bc3f79e,libitoa-664e30a1b3449410,libfnv-2d77ec4f6f971b24,libbytes-8210432e63828fd8,libanyhow-8db57d76df027458}.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" "/tmp/rustcCDjJRr/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" "<sysroot>/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-74c72f00065819f0.wit_bindgen_rust.fd975d4867371c1b-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-74c72f00065819f0.rlib
[INFO] [stdout]           >>> defined at lib.rs:158 (src/lib.rs:158)
[INFO] [stdout]           >>>            wit_bindgen_rust-9cb9998fbdd92bf9.wit_bindgen_rust.75fabc78607be3af-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-9cb9998fbdd92bf9.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-74c72f00065819f0.wit_bindgen_rust.fd975d4867371c1b-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-74c72f00065819f0.rlib
[INFO] [stdout]           >>> defined at lib.rs:134 (src/lib.rs:134)
[INFO] [stdout]           >>>            wit_bindgen_rust-9cb9998fbdd92bf9.wit_bindgen_rust.75fabc78607be3af-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-9cb9998fbdd92bf9.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" "e7d7cb94802c302d190c784a73a0ec245709051216365a1e27fd1be7da3d2c41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7d7cb94802c302d190c784a73a0ec245709051216365a1e27fd1be7da3d2c41", kill_on_drop: false }`
[INFO] [stdout] e7d7cb94802c302d190c784a73a0ec245709051216365a1e27fd1be7da3d2c41
