[INFO] cloning repository https://github.com/0xBoji/walnet-near [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xBoji/walnet-near" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xBoji%2Fwalnet-near", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xBoji%2Fwalnet-near'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b3a37d788d198e73e9cbf7aef2697cfc2c0b57d [INFO] building 0xBoji/walnet-near against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xBoji%2Fwalnet-near" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/0xBoji/walnet-near [INFO] finished tweaking git repo https://github.com/0xBoji/walnet-near [INFO] tweaked toml for git repo https://github.com/0xBoji/walnet-near written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xBoji/walnet-near 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/0xBoji/walnet-near 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] 3a52572af271116ff212a5c2e1839d3059e53fee78351b32bf4c17d9c1188a75 [INFO] running `Command { std: "docker" "start" "-a" "3a52572af271116ff212a5c2e1839d3059e53fee78351b32bf4c17d9c1188a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a52572af271116ff212a5c2e1839d3059e53fee78351b32bf4c17d9c1188a75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a52572af271116ff212a5c2e1839d3059e53fee78351b32bf4c17d9c1188a75", kill_on_drop: false }` [INFO] [stdout] 3a52572af271116ff212a5c2e1839d3059e53fee78351b32bf4c17d9c1188a75 [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] b9bdbdd45720323997eaf8d4f04201e6b7b70867b4d23b453c146c5fd253dd9f [INFO] running `Command { std: "docker" "start" "-a" "b9bdbdd45720323997eaf8d4f04201e6b7b70867b4d23b453c146c5fd253dd9f", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling near-sdk-macros v5.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling signature v2.2.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 ed25519 v2.2.3 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stderr] Compiling near-sys v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling near-stdx v0.21.2 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling near-token v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling near-config-utils v0.21.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-crypto v0.21.2 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling near-sdk v5.5.0 [INFO] [stderr] Compiling near-contract-standards v5.5.0 [INFO] [stderr] Compiling walnet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `BorshStorageKey` [INFO] [stdout] --> src/lib.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::{env, near_bindgen, AccountId, BorshStorageKey}; [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: `UnorderedMap` [INFO] [stdout] --> src/lib.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use near_sdk::collections::{UnorderedMap, Vector}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use near_sdk::serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `account_id` [INFO] [stdout] --> src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let account_id = env::signer_account_id(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_id` [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" "complete_task" "--export" "contract_source_metadata" "--export" "init" "--export" "query_cluster_tasks" "--export" "query_clusters_id" "--export" "query_task_info" "--export" "query_tasks" "--export" "register_cluster" "--export" "submit_task" "-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/{libborsh-a5b810e6b3878bb3,libnear_sdk-a32a9d2a05231b6d,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-222acb2b8433f6f0,libmemchr-fce70e7b22dffad4,libitoa-323c19d08fbe6984,libryu-f1913757cc38f137,libnear_token-1de3e2d8844eaa5c,libnear_gas-f5b54c0f17562d7d,libnear_account_id-5d7dd4ed52c204a2,libbase64-ee50786c9cbbc86e,libserde-99e5a622cb713fc1,libbs58-665836f850c0f188,libnear_sys-1c839d11bb025dbf,libonce_cell-ce8c35e2bf3be270,libborsh-0490375ea097020e}.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" "/opt/rustwide/target/wasm32-wasip1/debug/build/secp256k1-sys-05503447267842dd/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/walnet.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-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: attached_deposit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: signer_account_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-a32a9d2a05231b6d.rlib(near_sdk-a32a9d2a05231b6d.near_sdk.798b9eeb670fd761-cgu.1.rcgu.o): undefined symbol: input [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `walnet` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b9bdbdd45720323997eaf8d4f04201e6b7b70867b4d23b453c146c5fd253dd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9bdbdd45720323997eaf8d4f04201e6b7b70867b4d23b453c146c5fd253dd9f", kill_on_drop: false }` [INFO] [stdout] b9bdbdd45720323997eaf8d4f04201e6b7b70867b4d23b453c146c5fd253dd9f