[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#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fspin_pg" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ecumene/spin_pg on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] | [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] | [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbd96eb35405ff8393da6feabbd8c12cb4eb9b18a5a2a6407cbe05309d1d666 [INFO] running `Command { std: "docker" "start" "-a" "6fbd96eb35405ff8393da6feabbd8c12cb4eb9b18a5a2a6407cbe05309d1d666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbd96eb35405ff8393da6feabbd8c12cb4eb9b18a5a2a6407cbe05309d1d666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbd96eb35405ff8393da6feabbd8c12cb4eb9b18a5a2a6407cbe05309d1d666", kill_on_drop: false }` [INFO] [stdout] 6fbd96eb35405ff8393da6feabbd8c12cb4eb9b18a5a2a6407cbe05309d1d666 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 389009bbe4f1d8ae60e8c70c9a8a1e088e044b1c21be4c4fd91f4b303eeed942 [INFO] running `Command { std: "docker" "start" "-a" "389009bbe4f1d8ae60e8c70c9a8a1e088e044b1c21be4c4fd91f4b303eeed942", 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] | [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] | [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.5.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 unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling syn v1.0.98 [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 log v0.4.17 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.2 [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 once_cell v1.12.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicase v2.6.0 [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-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 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=/tmp/rustc1hC1e4/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc1hC1e4/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libwit_bindgen_rust-12ee3b01c9a8453c.rlib,libspin_sdk-d811d48fca627a22.rlib,libwit_bindgen_rust-b5dd7912706cc25b.rlib,libbitflags-e2b4db6c651223da.rlib,libwasi_experimental_http-0287ede585405979.rlib,libtracing-cbfb27aa057caabc.rlib,liblog-65ce858a5d32dc0e.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libpin_project_lite-97c4b49af6812166.rlib,libtracing_core-7dc9f271b567afa2.rlib,libonce_cell-6b817f4ee9d5f37a.rlib,libthiserror-eca4e58f454db637.rlib,libhttp-d37e29af1bc3f79e.rlib,libitoa-664e30a1b3449410.rlib,libfnv-2d77ec4f6f971b24.rlib,libbytes-8210432e63828fd8.rlib,libanyhow-7db678092ea952e3.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-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_realloc [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-12ee3b01c9a8453c.wit_bindgen_rust.e862502cf429eca3-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-12ee3b01c9a8453c.rlib [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-b5dd7912706cc25b.wit_bindgen_rust.d2d1910563fb714d-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-b5dd7912706cc25b.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: duplicate symbol: canonical_abi_free [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-12ee3b01c9a8453c.wit_bindgen_rust.e862502cf429eca3-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-12ee3b01c9a8453c.rlib [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-b5dd7912706cc25b.wit_bindgen_rust.d2d1910563fb714d-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-b5dd7912706cc25b.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" "389009bbe4f1d8ae60e8c70c9a8a1e088e044b1c21be4c4fd91f4b303eeed942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "389009bbe4f1d8ae60e8c70c9a8a1e088e044b1c21be4c4fd91f4b303eeed942", kill_on_drop: false }` [INFO] [stdout] 389009bbe4f1d8ae60e8c70c9a8a1e088e044b1c21be4c4fd91f4b303eeed942