[INFO] cloning repository https://github.com/ecumene/discord_spin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ecumene/discord_spin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fdiscord_spin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fdiscord_spin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd3f5c18c734a704ce1473c8f89f9551542056ca [INFO] testing ecumene/discord_spin against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fecumene%2Fdiscord_spin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ecumene/discord_spin [INFO] finished tweaking git repo https://github.com/ecumene/discord_spin [INFO] tweaked toml for git repo https://github.com/ecumene/discord_spin written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ecumene/discord_spin on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ecumene/discord_spin 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d45fe08d78df017fc5f8ad4026449453898325a9b27517153742141b0f8108a9 [INFO] running `Command { std: "docker" "start" "-a" "d45fe08d78df017fc5f8ad4026449453898325a9b27517153742141b0f8108a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d45fe08d78df017fc5f8ad4026449453898325a9b27517153742141b0f8108a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45fe08d78df017fc5f8ad4026449453898325a9b27517153742141b0f8108a9", kill_on_drop: false }` [INFO] [stdout] d45fe08d78df017fc5f8ad4026449453898325a9b27517153742141b0f8108a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72182b3713e798d0c97f4377bca1339a4bd706dcf0abd4b39d861308f263271d [INFO] running `Command { std: "docker" "start" "-a" "72182b3713e798d0c97f4377bca1339a4bd706dcf0abd4b39d861308f263271d", 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 unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling wit-bindgen-gen-rust-wasm v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling signature v1.5.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling rand v0.7.3 [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 ed25519 v1.5.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling hex v0.4.3 [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=e9c7c0a3405845cecd3fe06f3c20ab413302fc73#e9c7c0a3) [INFO] [stderr] Compiling wit-bindgen-gen-rust v0.1.0 (https://github.com/bytecodealliance/wit-bindgen?rev=2f46ce4cc072107153da0cefe15bdc69aa5b84d0#2f46ce4c) [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [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 zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [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.30 [INFO] [stderr] Compiling tracing v0.1.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 ed25519-dalek v1.0.1 [INFO] [stderr] Compiling spinhelloworld v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new` and `add_choice` are never used [INFO] [stdout] --> src/lib.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a> DiscordOption<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 71 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn add_choice(&mut self, choice: DiscordChoice<'a>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcFEYLmH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcFEYLmH/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libhex-28742b4ca144387c.rlib,libwit_bindgen_rust-f2119704bbc0fef5.rlib,libserde_json-9d7fa8136b4fe460.rlib,libryu-f19fc280bc21c12d.rlib,libspin_sdk-06d6d60450628f82.rlib,libwit_bindgen_rust-25c0a6e02e12f631.rlib,libbitflags-e2b4db6c651223da.rlib,libwasi_experimental_http-3992904d97474702.rlib,libtracing-e3cd3794970de6d5.rlib,libpin_project_lite-6949294477aa6c42.rlib,libtracing_core-818c20a766449985.rlib,liblazy_static-2bb390fee0230a38.rlib,liblog-e324f1d2fae59712.rlib,libthiserror-3f33ceee6d894238.rlib,libhttp-58de0ef7d847e425.rlib,libitoa-3e86378e1c67fddd.rlib,libfnv-2d77ec4f6f971b24.rlib,libbytes-8210432e63828fd8.rlib,libserde-e312ba548afe5ae0.rlib,libed25519_dalek-f8469e505320dde2.rlib,libsha2-782779cbc3626382.rlib,libcpufeatures-4ff6a1db4b30982d.rlib,libopaque_debug-c0b21531799dfcb1.rlib,libblock_buffer-fa11d434285e150e.rlib,librand-70c320f756bd31de.rlib,librand_chacha-0a2141d9da3177f4.rlib,libppv_lite86-8dae110e85681398.rlib,libcurve25519_dalek-ab32e2fd2aa8a712.rlib,libsubtle-a59ab687ee2c41e7.rlib,libzeroize-4e43d40426216371.rlib,librand_core-f163314a98bb9b3f.rlib,libgetrandom-1a48eed6af2a376f.rlib,liblibc-f1f0678bd40461f4.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libdigest-e914b3542f91dc47.rlib,libgeneric_array-475e86261494135a.rlib,libtypenum-c22e66578b668c76.rlib,libbyteorder-6c4688e3408702d9.rlib,libed25519-f1a4590170e61116.rlib,libsignature-d4d03dbe24aff484.rlib,libanyhow-e757457a0bdea0df.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-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcFEYLmH/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libspinhelloworld.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-f2119704bbc0fef5.wit_bindgen_rust.bc291616644d3ebd-cgu.0.rcgu.o:(canonical_abi_realloc) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-f2119704bbc0fef5.rlib [INFO] [stdout] >>> defined at lib.rs:134 (src/lib.rs:134) [INFO] [stdout] >>> wit_bindgen_rust-25c0a6e02e12f631.wit_bindgen_rust.55127cf783beadd5-cgu.0.rcgu.o:(.text.canonical_abi_realloc+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-25c0a6e02e12f631.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-f2119704bbc0fef5.wit_bindgen_rust.bc291616644d3ebd-cgu.0.rcgu.o:(canonical_abi_free) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-f2119704bbc0fef5.rlib [INFO] [stdout] >>> defined at lib.rs:158 (src/lib.rs:158) [INFO] [stdout] >>> wit_bindgen_rust-25c0a6e02e12f631.wit_bindgen_rust.55127cf783beadd5-cgu.0.rcgu.o:(.text.canonical_abi_free+0x0) in archive /opt/rustwide/target/debug/deps/libwit_bindgen_rust-25c0a6e02e12f631.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spinhelloworld` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "72182b3713e798d0c97f4377bca1339a4bd706dcf0abd4b39d861308f263271d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72182b3713e798d0c97f4377bca1339a4bd706dcf0abd4b39d861308f263271d", kill_on_drop: false }` [INFO] [stdout] 72182b3713e798d0c97f4377bca1339a4bd706dcf0abd4b39d861308f263271d