[INFO] cloning repository https://github.com/imabdulbasit/cw-amm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imabdulbasit/cw-amm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimabdulbasit%2Fcw-amm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimabdulbasit%2Fcw-amm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54bae6506d3632bb74714799d474e3d3aab46a55 [INFO] building imabdulbasit/cw-amm against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimabdulbasit%2Fcw-amm" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imabdulbasit/cw-amm [INFO] finished tweaking git repo https://github.com/imabdulbasit/cw-amm [INFO] tweaked toml for git repo https://github.com/imabdulbasit/cw-amm written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imabdulbasit/cw-amm 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/imabdulbasit/cw-amm 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f1051183fa3c2a3bfacde80950f886ee076ddebddd421ddb879428f3bdccb7b8 [INFO] running `Command { std: "docker" "start" "-a" "f1051183fa3c2a3bfacde80950f886ee076ddebddd421ddb879428f3bdccb7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1051183fa3c2a3bfacde80950f886ee076ddebddd421ddb879428f3bdccb7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1051183fa3c2a3bfacde80950f886ee076ddebddd421ddb879428f3bdccb7b8", kill_on_drop: false }` [INFO] [stdout] f1051183fa3c2a3bfacde80950f886ee076ddebddd421ddb879428f3bdccb7b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] f2e48570f5d7f7f243e7c99bdb5d5e2fac6199870bcb833d8a43f630731f9cc6 [INFO] running `Command { std: "docker" "start" "-a" "f2e48570f5d7f7f243e7c99bdb5d5e2fac6199870bcb833d8a43f630731f9cc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling bnum v0.8.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling cosmwasm-derive v1.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling cosmwasm-schema-derive v1.5.0 [INFO] [stderr] Compiling serde-json-wasm v0.5.1 [INFO] [stderr] Compiling cosmwasm-std v1.5.0 [INFO] [stderr] Compiling cosmwasm-schema v1.5.0 [INFO] [stderr] Compiling cw-storage-plus v1.2.0 [INFO] [stderr] Compiling cosmwasm-storage v1.5.0 [INFO] [stderr] Compiling cw0 v0.10.3 [INFO] [stderr] Compiling cw2 v1.1.2 [INFO] [stderr] Compiling cw-utils v1.0.3 [INFO] [stderr] Compiling cw20 v1.1.2 [INFO] [stderr] Compiling cw20-base v1.1.2 [INFO] [stderr] Compiling amm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/contract.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/contract.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/contract.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/contract.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | #[cfg_attr(not(feature = "library"), entry_point)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `library` [INFO] [stdout] --> src/contract.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(not(feature = "library"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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] [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" "reply" "--export" "allocate" "--export" "deallocate" "--export" "interface_version_8" "--export" "requires_iterator" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<7 object files omitted>" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnum-b9d2200b8937e1cb,libnum_iter-d1615f9ff3f14a26,libnum_rational-3b39fe2fd7cc24f7,libnum_complex-35f1098c7e43d7c4,libnum_bigint-b85d744c5ad8b16d,libnum_integer-801429a0c28bfa11,libnum_traits-83f7f53e8b6fdeee,libcw20_base-959263ebba318333}.rlib" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libcw20-c869efad190bd7bb,libcw_utils-93df8e755352a8b4,libcw2-ec4c7eb767217983,libsemver-fda9f169eb553eed,libcw_storage_plus-ae3e07af0b93bd7c,libcosmwasm_schema-7b8f65215f735b76,libcw0-76a168261a1e7181,libcosmwasm_std-5b14caa1ece036ff,libserde_json_wasm-9ba5661ce7c1f134,libhex-85aa986ef279af61,libstatic_assertions-5a320074c6765347,libbnum-9c83ce30a9e87779,libforward_ref-6287b004023aa316,libbase64-710238602af2c408,libthiserror-a56923ad65795137,libsha2-3584603ac31ca7ef,libcfg_if-50b02a9e3502ecf2,libdigest-175d4c26469c7771,libblock_buffer-ff766ba1f1bc2312,libcrypto_common-54f1074c3cc16168,libgeneric_array-143189b5e972f6af,libtypenum-0fe8d28fad3fc2b1,libschemars-8919d4a90eaa5f15,libdyn_clone-3fd5f854984ef1b9,libserde_json-645b5005d1439bad,libryu-3f3897cf50eb23df,libitoa-e26c2fca71a2b2d1,libserde-d4d10e1910c4b3da}.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/amm.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-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.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-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: db_next [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: db_scan [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: addr_humanize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: addr_validate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: ed25519_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: secp256k1_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: addr_canonicalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: ed25519_batch_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: secp256k1_recover_pubkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5b14caa1ece036ff.rlib(cosmwasm_std-5b14caa1ece036ff.cosmwasm_std.e1308dc80f34246-cgu.03.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `amm` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2e48570f5d7f7f243e7c99bdb5d5e2fac6199870bcb833d8a43f630731f9cc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2e48570f5d7f7f243e7c99bdb5d5e2fac6199870bcb833d8a43f630731f9cc6", kill_on_drop: false }` [INFO] [stdout] f2e48570f5d7f7f243e7c99bdb5d5e2fac6199870bcb833d8a43f630731f9cc6