[INFO] cloning repository https://github.com/Bhutta03/token_vesting [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bhutta03/token_vesting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhutta03%2Ftoken_vesting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhutta03%2Ftoken_vesting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d997a33b93a1494b8440cd0677219769bba23ed5 [INFO] building Bhutta03/token_vesting against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBhutta03%2Ftoken_vesting" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bhutta03/token_vesting [INFO] finished tweaking git repo https://github.com/Bhutta03/token_vesting [INFO] tweaked toml for git repo https://github.com/Bhutta03/token_vesting written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bhutta03/token_vesting 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/Bhutta03/token_vesting 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d655501233a6ced9ac97534354945d019d6891458ed67c7be70078bc168f6f9b [INFO] running `Command { std: "docker" "start" "-a" "d655501233a6ced9ac97534354945d019d6891458ed67c7be70078bc168f6f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d655501233a6ced9ac97534354945d019d6891458ed67c7be70078bc168f6f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d655501233a6ced9ac97534354945d019d6891458ed67c7be70078bc168f6f9b", kill_on_drop: false }` [INFO] [stdout] d655501233a6ced9ac97534354945d019d6891458ed67c7be70078bc168f6f9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 135bc067ca96dab801e6d61d54ed272296f6bb185ce10040c74ccbcd17e1e2bd [INFO] running `Command { std: "docker" "start" "-a" "135bc067ca96dab801e6d61d54ed272296f6bb185ce10040c74ccbcd17e1e2bd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [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 indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-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.11 [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.8.2 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v3.1.0 [INFO] [stderr] Compiling vesting_contract 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" "new" "--export" "vest_tokens" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnear_sdk-e3b3d130fe4ebc0e,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libserde_json-b092e21e7e90561d,libryu-758d5f45864a8a15,libitoa-9c1bb7077bf41900,libnear_vm_logic-2e34001466ec381f,libsha3-f67a1e6e3b5b8af0,libkeccak-2542307d8d00ec96,libnear_runtime_utils-61a07d643f485645,libregex-868021a725175427,libregex_automata-93bc44f86e81df91,libaho_corasick-c58e5710fe67cc41,libmemchr-fd701345b7e213ad,libregex_syntax-ce36f47e8a6d95e0,liblazy_static-36da267ce9339a94,libbyteorder-529cc76400af54b3,libnear_vm_errors-465c7bbf31fb3b5d,libhex-85aa986ef279af61,libnear_primitives_core-403c781d9b5e5013,libbase64-de1e4dcf0aa853ba,libbs58-d328228bb53bbec7,libsha2-6620e844df286ee4,libcfg_if-50b02a9e3502ecf2,libopaque_debug-d63d41056a54e997,libdigest-237fe47931233855,libblock_buffer-c774b779c0b897ea,libblock_padding-aaea6da2dbf5c6ce,libgeneric_array-1756f3c399fad245,libtypenum-0fe8d28fad3fc2b1,libnum_rational-fb1aeed2f3f00a73,libnum_bigint-dc08adc64690f7b4,libnum_integer-801429a0c28bfa11,libnum_traits-83f7f53e8b6fdeee,libserde-4791de040dade3d7,libborsh-74712fbd81b5591b}.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/vesting_contract.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/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: block_index [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: prepaid_gas [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: random_seed [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: epoch_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: promise_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: storage_usage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: promise_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: promise_result [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: storage_remove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: account_balance [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.rcgu.o: undefined symbol: block_timestamp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/vesting_contract.vesting_contract.30668da57c83c0de-cgu.0.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 `vesting_contract` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "135bc067ca96dab801e6d61d54ed272296f6bb185ce10040c74ccbcd17e1e2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135bc067ca96dab801e6d61d54ed272296f6bb185ce10040c74ccbcd17e1e2bd", kill_on_drop: false }` [INFO] [stdout] 135bc067ca96dab801e6d61d54ed272296f6bb185ce10040c74ccbcd17e1e2bd