[INFO] cloning repository https://github.com/phoenix-token/pnx_token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/phoenix-token/pnx_token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphoenix-token%2Fpnx_token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphoenix-token%2Fpnx_token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1e4ddaf7980ea4d0f78d382128d8a626ef4fc362 [INFO] building phoenix-token/pnx_token against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphoenix-token%2Fpnx_token" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 37% (1057/2793) Updating files: 38% (1062/2793) Updating files: 39% (1090/2793) Updating files: 40% (1118/2793) Updating files: 41% (1146/2793) Updating files: 41% (1166/2793) Updating files: 42% (1174/2793) Updating files: 43% (1201/2793) Updating files: 44% (1229/2793) Updating files: 45% (1257/2793) Updating files: 46% (1285/2793) Updating files: 47% (1313/2793) Updating files: 48% (1341/2793) Updating files: 49% (1369/2793) Updating files: 50% (1397/2793) Updating files: 51% (1425/2793) Updating files: 52% (1453/2793) Updating files: 53% (1481/2793) Updating files: 54% (1509/2793) Updating files: 55% (1537/2793) Updating files: 55% (1562/2793) Updating files: 56% (1565/2793) Updating files: 57% (1593/2793) Updating files: 58% (1620/2793) Updating files: 59% (1648/2793) Updating files: 60% (1676/2793) Updating files: 61% (1704/2793) Updating files: 62% (1732/2793) Updating files: 63% (1760/2793) Updating files: 64% (1788/2793) Updating files: 65% (1816/2793) Updating files: 66% (1844/2793) Updating files: 67% (1872/2793) Updating files: 68% (1900/2793) Updating files: 69% (1928/2793) Updating files: 70% (1956/2793) Updating files: 71% (1984/2793) Updating files: 72% (2011/2793) Updating files: 73% (2039/2793) Updating files: 74% (2067/2793) Updating files: 74% (2072/2793) Updating files: 75% (2095/2793) Updating files: 76% (2123/2793) Updating files: 77% (2151/2793) Updating files: 78% (2179/2793) Updating files: 79% (2207/2793) Updating files: 80% (2235/2793) Updating files: 81% (2263/2793) Updating files: 81% (2288/2793) Updating files: 82% (2291/2793) Updating files: 83% (2319/2793) Updating files: 84% (2347/2793) Updating files: 85% (2375/2793) Updating files: 86% (2402/2793) Updating files: 87% (2430/2793) Updating files: 88% (2458/2793) Updating files: 89% (2486/2793) Updating files: 90% (2514/2793) Updating files: 91% (2542/2793) Updating files: 92% (2570/2793) Updating files: 93% (2598/2793) Updating files: 94% (2626/2793) Updating files: 95% (2654/2793) Updating files: 96% (2682/2793) Updating files: 97% (2710/2793) Updating files: 97% (2735/2793) Updating files: 98% (2738/2793) Updating files: 99% (2766/2793) Updating files: 100% (2793/2793) Updating files: 100% (2793/2793), done. [INFO] started tweaking git repo https://github.com/phoenix-token/pnx_token [INFO] finished tweaking git repo https://github.com/phoenix-token/pnx_token [INFO] tweaked toml for git repo https://github.com/phoenix-token/pnx_token written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/phoenix-token/pnx_token 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/phoenix-token/pnx_token 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] 9e305e3e3a77d1f99722a1108563d9910e721df411dc7028071b9468d6827f90 [INFO] running `Command { std: "docker" "start" "-a" "9e305e3e3a77d1f99722a1108563d9910e721df411dc7028071b9468d6827f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e305e3e3a77d1f99722a1108563d9910e721df411dc7028071b9468d6827f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e305e3e3a77d1f99722a1108563d9910e721df411dc7028071b9468d6827f90", kill_on_drop: false }` [INFO] [stdout] 9e305e3e3a77d1f99722a1108563d9910e721df411dc7028071b9468d6827f90 [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] f4a1ed574a5e114943b96b9ff3bf9dfb952e511040a7351d64e443236b19c544 [INFO] running `Command { std: "docker" "start" "-a" "f4a1ed574a5e114943b96b9ff3bf9dfb952e511040a7351d64e443236b19c544", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-core v3.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling near-sdk-macros v3.1.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v3.1.0 [INFO] [stderr] Compiling near-contract-standards v3.2.0 [INFO] [stderr] Compiling phoenix_token v0.1.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_minter" "--export" "burn" "--export" "ft_balance_of" "--export" "ft_metadata" "--export" "ft_resolve_transfer" "--export" "ft_total_supply" "--export" "ft_transfer" "--export" "ft_transfer_call" "--export" "initialize" "--export" "mint" "--export" "new" "--export" "remove_minter" "--export" "storage_balance_bounds" "--export" "storage_balance_of" "--export" "storage_deposit" "--export" "storage_unregister" "--export" "storage_withdraw" "-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_contract_standards-70143f1e2eedfe48,libnear_sdk-a0ddb796486e0f4e,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-0f39fa94daa92db0,libryu-23f3ccdf871e5b71,libitoa-9acc885e9ae026f1,libnear_vm_logic-96bd5ac88e8eec75,libsha3-0913538612a6abdb,libkeccak-f3b808a740bd0bfb,libnear_runtime_utils-2d80590b89689a3c,libregex-79e871bbedef2450,libaho_corasick-baddd0b3557f6bb6,libmemchr-545e7d17a9c608e3,libregex_syntax-8d711ceefe044bbe,liblazy_static-36da267ce9339a94,libbyteorder-f00db367bf6f80f8,libnear_vm_errors-48606e96827b3424,libhex-85aa986ef279af61,libnear_primitives_core-0df57ae02c67fe2f,libbase64-4ed240cdd589693c,libbs58-d328228bb53bbec7,libsha2-0083bb5ba95bd06d,libcfg_if-50b02a9e3502ecf2,libopaque_debug-d63d41056a54e997,libdigest-15d2b8064e4a2872,libblock_buffer-b707f252d32372dd,libblock_padding-aaea6da2dbf5c6ce,libgeneric_array-73632b998dd43576,libtypenum-868cb60eed00f291,libnum_rational-5218d9c03e6c9b9f,libnum_bigint-86ea5923f4a41b2f,libnum_integer-5fb25ed5b7678850,libnum_traits-2f6111842351e48d,libserde-75738a466c78b3b7,libborsh-1ca60c2d78648eca}.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/phoenix_token.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/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: block_index [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: prepaid_gas [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: random_seed [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: epoch_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: promise_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: storage_usage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: promise_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: promise_result [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: storage_remove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: account_balance [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.rcgu.o: undefined symbol: block_timestamp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/phoenix_token.phoenix_token.c5ae6d3755745615-cgu.3.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 `phoenix_token` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "f4a1ed574a5e114943b96b9ff3bf9dfb952e511040a7351d64e443236b19c544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a1ed574a5e114943b96b9ff3bf9dfb952e511040a7351d64e443236b19c544", kill_on_drop: false }` [INFO] [stdout] f4a1ed574a5e114943b96b9ff3bf9dfb952e511040a7351d64e443236b19c544