[INFO] cloning repository https://github.com/lk2684753/near_contract_rust-did [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lk2684753/near_contract_rust-did" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flk2684753%2Fnear_contract_rust-did", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flk2684753%2Fnear_contract_rust-did'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e80ce81c8676b54b7051b8a7c758b2333f4b218b [INFO] building lk2684753/near_contract_rust-did against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flk2684753%2Fnear_contract_rust-did" "/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/lk2684753/near_contract_rust-did [INFO] finished tweaking git repo https://github.com/lk2684753/near_contract_rust-did [INFO] tweaked toml for git repo https://github.com/lk2684753/near_contract_rust-did written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lk2684753/near_contract_rust-did 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/lk2684753/near_contract_rust-did 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] 18730ae7ce3f1c38dde34f8def4afbc25192e18f75a6a1ff1aef4fe1a25d9ac6 [INFO] running `Command { std: "docker" "start" "-a" "18730ae7ce3f1c38dde34f8def4afbc25192e18f75a6a1ff1aef4fe1a25d9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18730ae7ce3f1c38dde34f8def4afbc25192e18f75a6a1ff1aef4fe1a25d9ac6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18730ae7ce3f1c38dde34f8def4afbc25192e18f75a6a1ff1aef4fe1a25d9ac6", kill_on_drop: false }` [INFO] [stdout] 18730ae7ce3f1c38dde34f8def4afbc25192e18f75a6a1ff1aef4fe1a25d9ac6 [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] ab5c13e62090a17276ea89db3b068e497dd2472e0f9b671c8fd263c549384698 [INFO] running `Command { std: "docker" "start" "-a" "ab5c13e62090a17276ea89db3b068e497dd2472e0f9b671c8fd263c549384698", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling bs58 v0.3.1 [INFO] [stderr] Compiling near-runtime-utils v2.2.0 [INFO] [stderr] Compiling base58 v0.1.0 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.2 [INFO] [stderr] Compiling borsh-derive-internal v0.9.1 [INFO] [stderr] Compiling near-sdk-core v2.0.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.1 [INFO] [stderr] Compiling borsh-derive v0.7.2 [INFO] [stderr] Compiling near-sdk-macros v2.0.1 [INFO] [stderr] Compiling borsh v0.7.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-runtime-fees v2.2.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.9.1 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh v0.9.1 [INFO] [stderr] Compiling near-vm-errors v2.2.0 [INFO] [stderr] Compiling near-vm-logic v2.2.0 [INFO] [stderr] Compiling near-sdk v2.0.1 [INFO] [stderr] Compiling did v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "add_context" "--export" "add_controller" "--export" "add_key" "--export" "add_new_auth_key" "--export" "add_new_auth_key_by_controller" "--export" "add_service" "--export" "deactivate_auth_key" "--export" "deactivate_auth_key_by_controller" "--export" "deactivate_did" "--export" "deactivate_key" "--export" "get_document" "--export" "reg_did_using_account" "--export" "remove_context" "--export" "remove_controller" "--export" "remove_service" "--export" "set_auth_key" "--export" "set_auth_key_by_controller" "--export" "update_service" "--export" "verify_controller" "--export" "verify_signature" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<8 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libborsh-d3a3affa669698c5,libbase58-6f66319ee5bcf526,libnear_sdk-dd024de0bf3bf406,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-5120179cc0f79456,libryu-1081a85990212fc6,libitoa-92f6c7a8e940dc8c,libindexmap-8f3e8adf6304a45d,libhashbrown-ece374be44553230,libnear_vm_logic-198797b96d74a277,libbs58-0bb5c497f3596c5e,libbase64-ce6ccaeb2e2de164,libsha3-2df3aae8f71a63b6,libkeccak-f3b808a740bd0bfb,libsha2-deac9266d36aee61,libdigest-cfde51366e2a2369,libopaque_debug-c49481a206caa42f,libfake_simd-ca4b4de3dd52aa09,libblock_buffer-575c8d411d941cd9,libgeneric_array-338fd06ddc3778df,libtypenum-19a2d1fc11c79c0d,libblock_padding-91dfda1310f3089d,libbyte_tools-2d99e388891527ef,libnear_runtime_utils-58971b3c3312fff5,libbyteorder-f00db367bf6f80f8,libnear_runtime_fees-671cdd4fc34dd194,libnum_rational-cee1c32376c45d77,libnum_bigint-aa12537e6348cb86,libnum_integer-9e95c404138b958f,libnum_traits-d66ec26a95b0487f,libnear_vm_errors-885181f16c64f351,libserde-659e86639098ecd2,libborsh-211da6f442cc618f}.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/did.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/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: block_index [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: prepaid_gas [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: random_seed [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: epoch_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: promise_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: storage_usage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: promise_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: promise_result [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: storage_remove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: account_balance [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: block_timestamp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/did.did.58e22829dee8e6bf-cgu.6.rcgu.o: undefined symbol: storage_has_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 `did` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "ab5c13e62090a17276ea89db3b068e497dd2472e0f9b671c8fd263c549384698", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5c13e62090a17276ea89db3b068e497dd2472e0f9b671c8fd263c549384698", kill_on_drop: false }` [INFO] [stdout] ab5c13e62090a17276ea89db3b068e497dd2472e0f9b671c8fd263c549384698