[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 try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fspin_pg" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ecumene/spin_pg on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07701fcbe6796f4e8fbc8bfe26a48a699050c4dca49938eeacd18d45f5fc6ff2
[INFO] running `Command { std: "docker" "start" "-a" "07701fcbe6796f4e8fbc8bfe26a48a699050c4dca49938eeacd18d45f5fc6ff2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07701fcbe6796f4e8fbc8bfe26a48a699050c4dca49938eeacd18d45f5fc6ff2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07701fcbe6796f4e8fbc8bfe26a48a699050c4dca49938eeacd18d45f5fc6ff2", kill_on_drop: false }`
[INFO] [stdout] 07701fcbe6796f4e8fbc8bfe26a48a699050c4dca49938eeacd18d45f5fc6ff2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] f3c5c405640137b25e2aa8dd49438580005ca76350b7e947856eb122324d39a9
[INFO] running `Command { std: "docker" "start" "-a" "f3c5c405640137b25e2aa8dd49438580005ca76350b7e947856eb122324d39a9", 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 proc-macro2 v1.0.40
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]    Compiling quote v1.0.20
[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 memchr v2.5.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.28
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling heck v0.3.3
[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=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=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3)
[INFO] [stderr]    Compiling wit-bindgen-gen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c)
[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=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=/opt/rustwide/target/debug/build/spin_pg/229853dad3779396/deps/rustcjc6T9T/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/build/spin_pg/229853dad3779396/deps/rustcjc6T9T/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/build/wit-bindgen-rust/86cfb6e621652f7f/deps/libwit_bindgen_rust-86cfb6e621652f7f.rlib" "/opt/rustwide/target/debug/build/spin-sdk/352c20b8cbc38863/deps/libspin_sdk-352c20b8cbc38863.rlib" "/opt/rustwide/target/debug/build/wit-bindgen-rust/3b1ae63dc9baf0f3/deps/libwit_bindgen_rust-3b1ae63dc9baf0f3.rlib" "/opt/rustwide/target/debug/build/bitflags/e2b4db6c651223da/deps/libbitflags-e2b4db6c651223da.rlib" "/opt/rustwide/target/debug/build/wasi-experimental-http/89253ffd61c5c408/deps/libwasi_experimental_http-89253ffd61c5c408.rlib" "/opt/rustwide/target/debug/build/tracing/8281887fc4667ab6/deps/libtracing-8281887fc4667ab6.rlib" "/opt/rustwide/target/debug/build/log/52b0edbc91f154fe/deps/liblog-52b0edbc91f154fe.rlib" "/opt/rustwide/target/debug/build/cfg-if/33ef6c02a07f9fec/deps/libcfg_if-33ef6c02a07f9fec.rlib" "/opt/rustwide/target/debug/build/pin-project-lite/97c4b49af6812166/deps/libpin_project_lite-97c4b49af6812166.rlib" "/opt/rustwide/target/debug/build/tracing-core/f8c6a8b6497e6aef/deps/libtracing_core-f8c6a8b6497e6aef.rlib" "/opt/rustwide/target/debug/build/once_cell/6b817f4ee9d5f37a/deps/libonce_cell-6b817f4ee9d5f37a.rlib" "/opt/rustwide/target/debug/build/thiserror/b2338ce609d05dcc/deps/libthiserror-b2338ce609d05dcc.rlib" "/opt/rustwide/target/debug/build/http/c81e9804fe6b644a/deps/libhttp-c81e9804fe6b644a.rlib" "/opt/rustwide/target/debug/build/itoa/664e30a1b3449410/deps/libitoa-664e30a1b3449410.rlib" "/opt/rustwide/target/debug/build/fnv/2d77ec4f6f971b24/deps/libfnv-2d77ec4f6f971b24.rlib" "/opt/rustwide/target/debug/build/bytes/8210432e63828fd8/deps/libbytes-8210432e63828fd8.rlib" "/opt/rustwide/target/debug/build/anyhow/eaf1a77f94a29a70/deps/libanyhow-eaf1a77f94a29a70.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/build/spin_pg/229853dad3779396/deps/rustcjc6T9T/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/build/spin_pg/229853dad3779396/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.a4e47f3604df8125-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/build/wit-bindgen-rust/86cfb6e621652f7f/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.c61a8676257b7cd-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/build/wit-bindgen-rust/3b1ae63dc9baf0f3/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.a4e47f3604df8125-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/build/wit-bindgen-rust/86cfb6e621652f7f/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.c61a8676257b7cd-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/build/wit-bindgen-rust/3b1ae63dc9baf0f3/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" "f3c5c405640137b25e2aa8dd49438580005ca76350b7e947856eb122324d39a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f3c5c405640137b25e2aa8dd49438580005ca76350b7e947856eb122324d39a9", kill_on_drop: false }`
[INFO] [stdout] f3c5c405640137b25e2aa8dd49438580005ca76350b7e947856eb122324d39a9
