[INFO] cloning repository https://github.com/Venus0725/testing-delegate- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Venus0725/testing-delegate-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Ftesting-delegate-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Ftesting-delegate-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c284e9378334ff18afff63928a1d24cf9bb174a1 [INFO] building Venus0725/testing-delegate- against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVenus0725%2Ftesting-delegate-" "/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 [INFO] started tweaking git repo https://github.com/Venus0725/testing-delegate- [INFO] finished tweaking git repo https://github.com/Venus0725/testing-delegate- [INFO] tweaked toml for git repo https://github.com/Venus0725/testing-delegate- written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Venus0725/testing-delegate- 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/Venus0725/testing-delegate- 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-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5daca39a5d671957b6e8842c43911e303a48a9882d6fd3fbcf5b9f07b2957a13 [INFO] running `Command { std: "docker" "start" "-a" "5daca39a5d671957b6e8842c43911e303a48a9882d6fd3fbcf5b9f07b2957a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5daca39a5d671957b6e8842c43911e303a48a9882d6fd3fbcf5b9f07b2957a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5daca39a5d671957b6e8842c43911e303a48a9882d6fd3fbcf5b9f07b2957a13", kill_on_drop: false }` [INFO] [stdout] 5daca39a5d671957b6e8842c43911e303a48a9882d6fd3fbcf5b9f07b2957a13 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 199f15876e56c428d12baa89741ced0218bed8380a37ae850a0b20fa7f291416 [INFO] running `Command { std: "docker" "start" "-a" "199f15876e56c428d12baa89741ced0218bed8380a37ae850a0b20fa7f291416", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling schemars v0.8.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling protobuf v2.27.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling schemars_derive v0.8.6 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde-json-wasm v0.3.2 [INFO] [stderr] Compiling cosmwasm-std v0.16.7 [INFO] [stderr] Compiling cw-storage-plus v0.9.1 [INFO] [stderr] Compiling cw0 v0.8.1 [INFO] [stderr] Compiling terra-cosmwasm v2.2.0 [INFO] [stderr] Compiling cosmwasm-storage v0.16.7 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cw20 v0.8.1 [INFO] [stderr] Compiling cw2 v0.9.1 [INFO] [stderr] Compiling swap_testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Binary`, `Delegation`, `Deps`, `FullDelegation`, and `StdResult` [INFO] [stdout] --> src/contract.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | entry_point, to_binary, Coin, Deps, DepsMut, Env, MessageInfo, Response,Binary, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 3 | StdResult, Uint128,CosmosMsg,WasmMsg,BankMsg,QueryRequest,WasmQuery,Delegation,DistributionMsg, StakingMsg,StakingQuery,FullDelegation}; [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 import: `Uint128` [INFO] [stdout] --> src/state.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use cosmwasm_std::{Uint128,FullDelegation}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/state.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use cw_storage_plus::{Item,Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/contract.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | info: MessageInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/contract.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | env:Env, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [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" "allocate" "--export" "deallocate" "--export" "interface_version_7" "--export" "requires_staking" "--export" "requires_terra" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcw_storage_plus-5d8f370c1ea32d57,libcw20-be10ac00da2de4e8,libcw0-67ce75d30fffec78,libcw2-b191e07744b4362c,libcw_storage_plus-c2193a9cdd5cbe28,libterra_cosmwasm-c50043039a48411a,libcosmwasm_std-2adc782eb68211ec,libserde_json_wasm-2e6ba49f1a82f700,libbase64-4ed240cdd589693c,libuint-eb596e757163b0b6,libcrunchy-59509cf7265afd1d,libstatic_assertions-5a320074c6765347,libhex-8c2a52fa871f35cb,libbyteorder-6c4289a80dee632e,libforward_ref-6287b004023aa316,libthiserror-70af3ff81bbeaa66,libschemars-4a6e4f030a6bc2c6,libdyn_clone-70117fbdee569814,libserde_json-88422364626d3ee9,libryu-1081a85990212fc6,libitoa-92f6c7a8e940dc8c,libserde-d449e1f2ad764794}.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/swap_testing.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-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: addr_humanize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: addr_validate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: ed25519_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: secp256k1_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: addr_canonicalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: ed25519_batch_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: secp256k1_recover_pubkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-2adc782eb68211ec.rlib(cosmwasm_std-2adc782eb68211ec.cosmwasm_std.f6457f9ab514280e-cgu.14.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swap_testing` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "199f15876e56c428d12baa89741ced0218bed8380a37ae850a0b20fa7f291416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199f15876e56c428d12baa89741ced0218bed8380a37ae850a0b20fa7f291416", kill_on_drop: false }` [INFO] [stdout] 199f15876e56c428d12baa89741ced0218bed8380a37ae850a0b20fa7f291416