[INFO] cloning repository https://github.com/tanpx12/example-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanpx12/example-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanpx12%2Fexample-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanpx12%2Fexample-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8e2cde7365d019d6521f50b9fc1dc3ea7daeb10 [INFO] building tanpx12/example-contract against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanpx12%2Fexample-contract" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/tanpx12/example-contract [INFO] finished tweaking git repo https://github.com/tanpx12/example-contract [INFO] tweaked toml for git repo https://github.com/tanpx12/example-contract written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tanpx12/example-contract 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/tanpx12/example-contract 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 61d68a06eb6aa5fab0bf75684a8d73c4e835ba3cf2acab94751d88857369b10c [INFO] running `Command { std: "docker" "start" "-a" "61d68a06eb6aa5fab0bf75684a8d73c4e835ba3cf2acab94751d88857369b10c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61d68a06eb6aa5fab0bf75684a8d73c4e835ba3cf2acab94751d88857369b10c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61d68a06eb6aa5fab0bf75684a8d73c4e835ba3cf2acab94751d88857369b10c", kill_on_drop: false }` [INFO] [stdout] 61d68a06eb6aa5fab0bf75684a8d73c4e835ba3cf2acab94751d88857369b10c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 245cb518d9981c3476b9bb5531ac07f56e535caf396fbe872bd29248a00e6862 [INFO] running `Command { std: "docker" "start" "-a" "245cb518d9981c3476b9bb5531ac07f56e535caf396fbe872bd29248a00e6862", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling cosmwasm-derive v0.13.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling cosmwasm-std v0.13.2 [INFO] [stderr] Compiling cw-storage-plus v0.5.0 [INFO] [stderr] Compiling cosmwasm-storage v0.13.2 [INFO] [stderr] Compiling cw2 v0.5.0 [INFO] [stderr] Compiling my-first-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MigrateResponse` [INFO] [stdout] --> src/contract.rs:4:108 [INFO] [stdout] | [INFO] [stdout] 4 | use cosmwasm_std::{attr, to_binary, Binary, Deps, DepsMut, Env, MessageInfo, InitResponse, HandleResponse, MigrateResponse, StdResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (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" "handle" "--export" "init" "--export" "query" "--export" "allocate" "--export" "cosmwasm_vm_version_4" "--export" "deallocate" "-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/{libcw2-f1f1cd408b506f44,libcw_storage_plus-97ebb8cdcba7bdba,libcosmwasm_std-9cf3831930e06519,libserde_json_wasm-96d17fdd2e2e5d0f,libbase64-4ed240cdd589693c,libthiserror-5d540c6028efbdd7,libschemars-d0c6f1ed6d569f2a,libserde_json-06a4c4fe36d78cdd,libryu-1081a85990212fc6,libitoa-92f6c7a8e940dc8c,libserde-8a3e91b4b5700577}.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/my_first_contract.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-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: humanize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: canonicalize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-9cf3831930e06519.rlib(cosmwasm_std-9cf3831930e06519.cosmwasm_std.5b86388d6521d62d-cgu.2.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-first-contract` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "245cb518d9981c3476b9bb5531ac07f56e535caf396fbe872bd29248a00e6862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245cb518d9981c3476b9bb5531ac07f56e535caf396fbe872bd29248a00e6862", kill_on_drop: false }` [INFO] [stdout] 245cb518d9981c3476b9bb5531ac07f56e535caf396fbe872bd29248a00e6862