[INFO] cloning repository https://github.com/iricehasan/xion-batch-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iricehasan/xion-batch-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firicehasan%2Fxion-batch-contracts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firicehasan%2Fxion-batch-contracts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 457c865f57a4046acc161a1ea14184ecfadae41e [INFO] building iricehasan/xion-batch-contracts against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Firicehasan%2Fxion-batch-contracts" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/iricehasan/xion-batch-contracts [INFO] finished tweaking git repo https://github.com/iricehasan/xion-batch-contracts [INFO] tweaked toml for git repo https://github.com/iricehasan/xion-batch-contracts written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iricehasan/xion-batch-contracts on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iricehasan/xion-batch-contracts 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-2-tc2/source/contracts/xion-batch-oracle-helper/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01d753cfba259a1f81a5cece00209c2705efa47dd3a06ebeca172efb40cd2f25 [INFO] running `Command { std: "docker" "start" "-a" "01d753cfba259a1f81a5cece00209c2705efa47dd3a06ebeca172efb40cd2f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01d753cfba259a1f81a5cece00209c2705efa47dd3a06ebeca172efb40cd2f25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d753cfba259a1f81a5cece00209c2705efa47dd3a06ebeca172efb40cd2f25", kill_on_drop: false }` [INFO] [stdout] 01d753cfba259a1f81a5cece00209c2705efa47dd3a06ebeca172efb40cd2f25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 992e15aeeaa47b1ef7d5fd9cd82cb0d8a5bada5b8a6252f723eab1dd5f603940 [INFO] running `Command { std: "docker" "start" "-a" "992e15aeeaa47b1ef7d5fd9cd82cb0d8a5bada5b8a6252f723eab1dd5f603940", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/contracts/xion-batch-oracle-helper/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: profile package spec `protocol` in profile `release` did not match any packages [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling bnum v0.10.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-derive v1.5.7 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.7 [INFO] [stderr] Compiling cw-ownable-derive v0.5.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde-json-wasm v0.5.2 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling cosmwasm-std v1.5.7 [INFO] [stderr] Compiling cosmwasm-schema v1.5.7 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling pyth-sdk v0.7.0 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cw-storage-plus v0.16.0 [INFO] [stderr] Compiling cw-address-like v1.0.4 [INFO] [stderr] Compiling pyth-sdk-cw v1.2.0 [INFO] [stderr] Compiling cosmwasm-storage v1.5.2 [INFO] [stderr] Compiling cw2 v0.16.0 [INFO] [stderr] Compiling cw-utils v0.16.0 [INFO] [stderr] Compiling cw2 v1.1.2 [INFO] [stderr] Compiling cw-utils v1.0.3 [INFO] [stderr] Compiling cw721 v0.16.0 [INFO] [stderr] Compiling xion-batch-oracle-helper v0.1.0 (/opt/rustwide/workdir/contracts/xion-batch-oracle-helper) [INFO] [stderr] Compiling cw-ownable v0.5.1 [INFO] [stderr] Compiling cw721 v0.18.0 [INFO] [stderr] Compiling cw721-base v0.16.0 [INFO] [stderr] Compiling cw721-base v0.18.0 [INFO] [stderr] Compiling xion-batch v0.1.0 (/opt/rustwide/workdir/contracts/xion-batch) [INFO] [stdout] warning: unused imports: `query_all_denoms` and `query_price` [INFO] [stdout] --> contracts/xion-batch/src/contract.rs:11:33 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::utils::{check_funds, query_all_denoms, query_all_prices, query_price}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Addr` and `Uint256` [INFO] [stdout] --> contracts/xion-batch/src/msg.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use cosmwasm_std::{Addr, Uint256}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> contracts/xion-batch/src/contract.rs:167:16 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn migrate(deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_deps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "execute" "--export" "instantiate" "--export" "migrate" "--export" "query" "--export" "reply" "--export" "allocate" "--export" "deallocate" "--export" "interface_version_8" "--export" "requires_iterator" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<11 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libxion_batch_oracle_helper,libpyth_sdk_cw-6d8247aa1ddc317b,libpyth_sdk-397d5c0e418dbcfb,libborsh-2dcefe218f7054a5,libcw721_base-aaa4dbb533f7f91a,libcw721_base-7ffcf6534b17e38c}.rlib" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcw721-f7c9664fac5c14a6,libcw_utils-ba5223df6b58f9ae,libcw2-beeb4d2a95e04287,libcw_storage_plus-e0e21b47d5e8b2d2,libcw721-7cdcbd43cb24ca74,libcw_ownable-8390e9af270db9ca,libcw_address_like-d3f3ba8b90c1409b,libcw_utils-be21d4f7600278b0,libcw2-68c7c7686b2423e8,libsemver-b753c59fe4fb306b,libcw_storage_plus-fe7d517c3820865a,libcosmwasm_schema-4ec30b663127b489,libcosmwasm_std-dab29c115c2f9b97,libserde_json_wasm-88ab27beb67f98a9,libhex-49e5ac77046ed5e0,libstatic_assertions-5a320074c6765347,libbnum-e0de16bc07f0e9bb,libforward_ref-6287b004023aa316,libbase64-7b14680fd3f3a6df,libthiserror-40d2c1f4246081bf,libsha2-9dfac6e6bf3f7356,libcfg_if-50b02a9e3502ecf2,libdigest-06b29c75b6c4351a,libsubtle-9872cdfd361825fb,libconst_oid-cd39fbcaebc2ac55,libblock_buffer-faada3ec400ac56f,libcrypto_common-cd5dc4491cf766bf,libgeneric_array-b49abbc5f382c7ba,libtypenum-0fe8d28fad3fc2b1,libzeroize-45bfc24bfbceb526,libschemars-76e60c712b34df1d,libdyn_clone-76c18f1bcc3ba005,libserde_json-27681fae10e5e96f,libmemchr-fce70e7b22dffad4,libitoa-323c19d08fbe6984,libryu-f1913757cc38f137,libserde-11f64807a095661e}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/xion_batch.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: function signature mismatch: abort [INFO] [stdout] >>> defined as (i32) -> void in /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o) [INFO] [stdout] >>> defined as () -> void in /opt/rustwide/rustup-home/toolchains/23647e694de8d0904848ad068b2e0ec2dd098c37/lib/rustlib/wasm32-wasip1/lib/self-contained/libc.a(abort.o) [INFO] [stdout] [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: addr_humanize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: addr_validate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: ed25519_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: secp256k1_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: addr_canonicalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: ed25519_batch_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: secp256k1_recover_pubkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-dab29c115c2f9b97.rlib(cosmwasm_std-dab29c115c2f9b97.cosmwasm_std.66077f68931dd84c-cgu.09.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xion-batch` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "992e15aeeaa47b1ef7d5fd9cd82cb0d8a5bada5b8a6252f723eab1dd5f603940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992e15aeeaa47b1ef7d5fd9cd82cb0d8a5bada5b8a6252f723eab1dd5f603940", kill_on_drop: false }` [INFO] [stdout] 992e15aeeaa47b1ef7d5fd9cd82cb0d8a5bada5b8a6252f723eab1dd5f603940