[INFO] cloning repository https://github.com/oraichain/reward_payment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oraichain/reward_payment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foraichain%2Freward_payment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foraichain%2Freward_payment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80bb059b90de8f1e4f8f74e71c04e4174e22568b [INFO] building oraichain/reward_payment against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foraichain%2Freward_payment" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oraichain/reward_payment [INFO] finished tweaking git repo https://github.com/oraichain/reward_payment [INFO] tweaked toml for git repo https://github.com/oraichain/reward_payment written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oraichain/reward_payment 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/oraichain/reward_payment 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 56fc4b4d4b145ba498c89538eabbc6e91f2ab649db29bf07ed0aab5e00e3fc81 [INFO] running `Command { std: "docker" "start" "-a" "56fc4b4d4b145ba498c89538eabbc6e91f2ab649db29bf07ed0aab5e00e3fc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56fc4b4d4b145ba498c89538eabbc6e91f2ab649db29bf07ed0aab5e00e3fc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fc4b4d4b145ba498c89538eabbc6e91f2ab649db29bf07ed0aab5e00e3fc81", kill_on_drop: false }` [INFO] [stdout] 56fc4b4d4b145ba498c89538eabbc6e91f2ab649db29bf07ed0aab5e00e3fc81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 503c6b3ad72d8044ad47c3d7534cdda1a565910271cc2f05bbbf14d347f30227 [INFO] running `Command { std: "docker" "start" "-a" "503c6b3ad72d8044ad47c3d7534cdda1a565910271cc2f05bbbf14d347f30227", kill_on_drop: false }` [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 syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling dyn-clone v1.0.6 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling cosmwasm-derive v0.13.2 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling cosmwasm-std v0.13.2 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 [INFO] [stderr] Compiling cosmwasm-storage v0.13.2 [INFO] [stderr] Compiling cw-storage-plus v0.13.4 [INFO] [stderr] Compiling reward-payment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/lib.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(all(target_arch = "wasm32", not(feature = "library")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `backtraces` [INFO] [stdout] = help: consider adding `library` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_admin_address(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | pub fn set_admin_address(storage: &mut dyn Storage) -> Singleton<'_, HumanAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_admin_address(storage: &dyn Storage)-> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_admin_address(storage: &dyn Storage)-> ReadonlySingleton<'_, HumanAddr> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_token_info(storage: &dyn Storage) -> ReadonlySingleton { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_token_info(storage: &dyn Storage) -> ReadonlySingleton<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_token_info(storage: &mut dyn Storage) -> Singleton { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_token_info(storage: &mut dyn Storage) -> Singleton<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_group_info(storage: &dyn Storage) -> ReadonlyBucket { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_group_info(storage: &dyn Storage) -> ReadonlyBucket<'_, Group> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_group_info(storage: &mut dyn Storage) -> Bucket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn set_group_info(storage: &mut dyn Storage) -> Bucket<'_, Group> { [INFO] [stdout] | +++ [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" "handle" "--export" "init" "--export" "migrate" "--export" "query" "--export" "allocate" "--export" "cosmwasm_vm_version_4" "--export" "deallocate" "--export" "requires_staking" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcosmwasm_storage-cb317a13b622738a,libcosmwasm_std-1dd014a1b86acb53,libserde_json_wasm-3669072d11f7e493,libbase64-4ed240cdd589693c,libthiserror-06a38f88ccb85652,libschemars-a7e28418b3e481e9,libserde_json-4c80b1710c36fd26,libryu-532612ec2f9fcdf5,libitoa-e6d4309df0be0b3b,libserde-3e480751d99e947d}.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/reward_payment.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: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: humanize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: canonicalize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-1dd014a1b86acb53.rlib(cosmwasm_std-1dd014a1b86acb53.cosmwasm_std.cd4257eaf1d57dcc-cgu.7.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reward-payment` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "503c6b3ad72d8044ad47c3d7534cdda1a565910271cc2f05bbbf14d347f30227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "503c6b3ad72d8044ad47c3d7534cdda1a565910271cc2f05bbbf14d347f30227", kill_on_drop: false }` [INFO] [stdout] 503c6b3ad72d8044ad47c3d7534cdda1a565910271cc2f05bbbf14d347f30227