[INFO] cloning repository https://github.com/apollodao/querier-bug-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/apollodao/querier-bug-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapollodao%2Fquerier-bug-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapollodao%2Fquerier-bug-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eff95d32f51659d0870a6487d8e5c380e843b71b [INFO] building apollodao/querier-bug-demo against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fapollodao%2Fquerier-bug-demo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/apollodao/querier-bug-demo [INFO] finished tweaking git repo https://github.com/apollodao/querier-bug-demo [INFO] tweaked toml for git repo https://github.com/apollodao/querier-bug-demo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/apollodao/querier-bug-demo 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/apollodao/querier-bug-demo 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 198a9c9ea0c83c6277827929d9e0001165670c25502b6fe8aab3b5bb3e23779a [INFO] running `Command { std: "docker" "start" "-a" "198a9c9ea0c83c6277827929d9e0001165670c25502b6fe8aab3b5bb3e23779a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "198a9c9ea0c83c6277827929d9e0001165670c25502b6fe8aab3b5bb3e23779a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "198a9c9ea0c83c6277827929d9e0001165670c25502b6fe8aab3b5bb3e23779a", kill_on_drop: false }` [INFO] [stdout] 198a9c9ea0c83c6277827929d9e0001165670c25502b6fe8aab3b5bb3e23779a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 483a26dcf07af6c18c0ab7eb37328e05f0fd56517914957aee383d29e1159182 [INFO] running `Command { std: "docker" "start" "-a" "483a26dcf07af6c18c0ab7eb37328e05f0fd56517914957aee383d29e1159182", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling schemars v0.8.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling schemars_derive v0.8.3 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling cosmwasm-derive v0.16.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling serde-json-wasm v0.3.1 [INFO] [stderr] Compiling cosmwasm-std v0.16.7 [INFO] [stderr] Compiling cw-storage-plus v0.8.1 [INFO] [stderr] Compiling cosmwasm-storage v0.16.0 [INFO] [stderr] Compiling cw2 v0.8.1 [INFO] [stderr] Compiling querier-bug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `deps` [INFO] [stdout] --> src/contract.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn query_time(deps: Deps, env: Env) -> StdResult { [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" "query" "--export" "allocate" "--export" "deallocate" "--export" "interface_version_7" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcw2-89b540f3a42e6e0a,libcw_storage_plus-4b6863c830a24dec,libcosmwasm_std-724d10336bc10809,libserde_json_wasm-94e0a74d6ff38a2d,libbase64-4ed240cdd589693c,libuint-fdd0f79e52d7bea3,libcrunchy-59509cf7265afd1d,libstatic_assertions-5a320074c6765347,libhex-8991d8966f4f2832,libbyteorder-a940a02c442bfcbf,libforward_ref-6287b004023aa316,libthiserror-5d540c6028efbdd7,libschemars-8359f831e5c6b2ed,libdyn_clone-70117fbdee569814,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/querier_bug.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-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: addr_humanize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: addr_validate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: ed25519_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: secp256k1_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: addr_canonicalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: ed25519_batch_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: secp256k1_recover_pubkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-724d10336bc10809.rlib(cosmwasm_std-724d10336bc10809.cosmwasm_std.42066098484442c6-cgu.05.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `querier-bug` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "483a26dcf07af6c18c0ab7eb37328e05f0fd56517914957aee383d29e1159182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "483a26dcf07af6c18c0ab7eb37328e05f0fd56517914957aee383d29e1159182", kill_on_drop: false }` [INFO] [stdout] 483a26dcf07af6c18c0ab7eb37328e05f0fd56517914957aee383d29e1159182