[INFO] cloning repository https://github.com/dleerdefi/rincoin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dleerdefi/rincoin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdleerdefi%2Frincoin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdleerdefi%2Frincoin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2609f63360c3ac6b7ea6e54411bd5ec821c6580b [INFO] building dleerdefi/rincoin against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdleerdefi%2Frincoin" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dleerdefi/rincoin [INFO] finished tweaking git repo https://github.com/dleerdefi/rincoin [INFO] tweaked toml for git repo https://github.com/dleerdefi/rincoin written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dleerdefi/rincoin 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/dleerdefi/rincoin 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] 6798b31c2fba6d39475e8549387a46c8a2b883ec86b43c28356076d76128766a [INFO] running `Command { std: "docker" "start" "-a" "6798b31c2fba6d39475e8549387a46c8a2b883ec86b43c28356076d76128766a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6798b31c2fba6d39475e8549387a46c8a2b883ec86b43c28356076d76128766a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6798b31c2fba6d39475e8549387a46c8a2b883ec86b43c28356076d76128766a", kill_on_drop: false }` [INFO] [stdout] 6798b31c2fba6d39475e8549387a46c8a2b883ec86b43c28356076d76128766a [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] 4bc56437970925af449e1ceab91361d7c829e40f0822ce5d8fbf8a046d2dba57 [INFO] running `Command { std: "docker" "start" "-a" "4bc56437970925af449e1ceab91361d7c829e40f0822ce5d8fbf8a046d2dba57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling near-sdk-macros v5.6.0 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling near-sys v0.2.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling near-sdk v5.6.0 [INFO] [stderr] Compiling near-contract-standards v5.6.0 [INFO] [stderr] Compiling my-wasm-project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::serde::{Deserialize, Serialize}; [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: `Promise` [INFO] [stdout] --> src/lib.rs:5:62 [INFO] [stdout] | [INFO] [stdout] 5 | use near_sdk::{env, near_bindgen, AccountId, PanicOnDefault, Promise, PromiseOrValue}; [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" "contract_source_metadata" "--export" "ft_balance_of" "--export" "ft_metadata" "--export" "ft_total_supply" "--export" "ft_transfer" "--export" "ft_transfer_call" "--export" "mint" "--export" "new" "--export" "storage_balance_bounds" "--export" "storage_balance_of" "--export" "storage_deposit" "--export" "storage_unregister" "--export" "storage_withdraw" "--export" "update_metadata" "-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/{libnear_contract_standards-244962f3ff06b91a,libnear_sdk-f5b51288f8399253,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-7c3da46c472edb16,libmemchr-fce70e7b22dffad4,libitoa-e96a81d596d6ec73,libryu-f1913757cc38f137,libnear_token-0e43fa1fedf1a5fd,libnear_gas-f997ddf13b7de5a2,libnear_account_id-f3ac80bf4c57ca97,libbase64-ee50786c9cbbc86e,libserde-f06bd59a94d7ae25,libbs58-665836f850c0f188,libnear_sys-1c839d11bb025dbf,libonce_cell-70a45136b9e8b01a,libborsh-c82ea6531370cf13}.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_wasm_project.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/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: prepaid_gas [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: storage_has_key [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: storage_usage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: storage_remove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: attached_deposit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: current_account_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_batch_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_batch_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: predecessor_account_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_batch_action_stake [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_batch_action_transfer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-f5b51288f8399253.rlib(near_sdk-f5b51288f8399253.near_sdk.f50e4046de7891d0-cgu.1.rcgu.o): undefined symbol: promise_batch_action_delete_key [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-wasm-project` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4bc56437970925af449e1ceab91361d7c829e40f0822ce5d8fbf8a046d2dba57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bc56437970925af449e1ceab91361d7c829e40f0822ce5d8fbf8a046d2dba57", kill_on_drop: false }` [INFO] [stdout] 4bc56437970925af449e1ceab91361d7c829e40f0822ce5d8fbf8a046d2dba57