[INFO] cloning repository https://github.com/Azizhamdani7/NFT_CROSS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Azizhamdani7/NFT_CROSS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzizhamdani7%2FNFT_CROSS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzizhamdani7%2FNFT_CROSS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6367119df3916d22521ebc855ad9f593e66c9c9 [INFO] building Azizhamdani7/NFT_CROSS against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAzizhamdani7%2FNFT_CROSS" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/Azizhamdani7/NFT_CROSS [INFO] finished tweaking git repo https://github.com/Azizhamdani7/NFT_CROSS [INFO] tweaked toml for git repo https://github.com/Azizhamdani7/NFT_CROSS written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Azizhamdani7/NFT_CROSS 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/Azizhamdani7/NFT_CROSS 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0c61ecc104e65b5ea8b102e9b745dd949364c84ae440f8854d5a6c4996ceab1a [INFO] running `Command { std: "docker" "start" "-a" "0c61ecc104e65b5ea8b102e9b745dd949364c84ae440f8854d5a6c4996ceab1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c61ecc104e65b5ea8b102e9b745dd949364c84ae440f8854d5a6c4996ceab1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c61ecc104e65b5ea8b102e9b745dd949364c84ae440f8854d5a6c4996ceab1a", kill_on_drop: false }` [INFO] [stdout] 0c61ecc104e65b5ea8b102e9b745dd949364c84ae440f8854d5a6c4996ceab1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8ee6cb100da182945c21e5b953fb8a48f8a4443dff0d1159792d1752d0d9588a [INFO] running `Command { std: "docker" "start" "-a" "8ee6cb100da182945c21e5b953fb8a48f8a4443dff0d1159792d1752d0d9588a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.4 [INFO] [stderr] Compiling nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `LazyOption`, `UnorderedMap`, and `UnorderedSet` [INFO] [stdout] --> src/lib.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use near_sdk::collections::{LazyOption, LookupMap, UnorderedMap, UnorderedSet}; [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 imports: `CryptoHash`, `PromiseOrValue`, and `Promise` [INFO] [stdout] --> src/lib.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | env, near_bindgen, AccountId, Balance, CryptoHash, PanicOnDefault, Promise, PromiseOrValue, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::nft_calls::*` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::nft_calls::*; [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" "did_promise_succeded" "--export" "metadata_insert" "--export" "new" "--export" "nft_get_price" "--export" "nft_price_insert" "--export" "nft_purchase_callback" "--export" "total_supply_insert" "-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/{libnear_sdk-2bcfa6a964fc9f62,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-231e238e3cfcb07a,libryu-23f3ccdf871e5b71,libitoa-9acc885e9ae026f1,libbase64-4ed240cdd589693c,libserde-dbcabe7ce25ab49d,libbs58-d328228bb53bbec7,libnear_sys-b4434a364343751b,libborsh-d3e62f5e3718abba}.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/nft.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-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: storage_has_key [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_result [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: attached_deposit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: current_account_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_results_count [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_action_stake [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_action_transfer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_action_delete_key [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_action_function_call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-2bcfa6a964fc9f62.rlib(near_sdk-2bcfa6a964fc9f62.near_sdk.bc7e29385962d56a-cgu.3.rcgu.o): undefined symbol: promise_batch_action_create_account [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 `nft` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ee6cb100da182945c21e5b953fb8a48f8a4443dff0d1159792d1752d0d9588a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ee6cb100da182945c21e5b953fb8a48f8a4443dff0d1159792d1752d0d9588a", kill_on_drop: false }` [INFO] [stdout] 8ee6cb100da182945c21e5b953fb8a48f8a4443dff0d1159792d1752d0d9588a