[INFO] cloning repository https://github.com/brson/coconuts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brson/coconuts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fcoconuts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fcoconuts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d65f5e9d33f2db80ef99a275fdd7e6bc767bb22 [INFO] building brson/coconuts against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrson%2Fcoconuts" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brson/coconuts [INFO] finished tweaking git repo https://github.com/brson/coconuts [INFO] tweaked toml for git repo https://github.com/brson/coconuts written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brson/coconuts 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/brson/coconuts 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3e0167a381db3f7f9f94679dca70cf37a73067eeaccd7a85af1d4bccf203ab64 [INFO] running `Command { std: "docker" "start" "-a" "3e0167a381db3f7f9f94679dca70cf37a73067eeaccd7a85af1d4bccf203ab64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e0167a381db3f7f9f94679dca70cf37a73067eeaccd7a85af1d4bccf203ab64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0167a381db3f7f9f94679dca70cf37a73067eeaccd7a85af1d4bccf203ab64", kill_on_drop: false }` [INFO] [stdout] 3e0167a381db3f7f9f94679dca70cf37a73067eeaccd7a85af1d4bccf203ab64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6b498efb00041b9258e82f8419553f60d3c5977adbd503dcd365946153cf521f [INFO] running `Command { std: "docker" "start" "-a" "6b498efb00041b9258e82f8419553f60d3c5977adbd503dcd365946153cf521f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [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 cfg-if v0.1.10 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.7.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.7.1 [INFO] [stderr] Compiling near-sdk-core v2.0.0 [INFO] [stderr] Compiling borsh-derive v0.7.1 [INFO] [stderr] Compiling near-sdk-macros v2.0.0 [INFO] [stderr] Compiling borsh v0.7.1 [INFO] [stderr] Compiling near-runtime-fees v2.2.0 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [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.0 [INFO] [stderr] Compiling coconuts 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" "brown_coconut_balance" "--export" "citizen_state" "--export" "init_block_index" "--export" "is_citizen" "--export" "signer_create_citizen" "--export" "signer_transfer_young_coconuts" "--export" "young_coconut_balance" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnear_sdk-573d25ea8ee51f95,libwee_alloc-faa8dafd02997d1a,libmemory_units-329f2ae12da44a5a,libcfg_if-61b85ec29c0d3797,libserde_json-6348118ea62e625c,libryu-4575ad92f4fddfc3,libitoa-b025fa509c48c551,libindexmap-0744acab29d7ed6e,libhashbrown-058c86abe00c5ada,libnear_vm_logic-d548894f4f1195bf,libbs58-c525c82484752eeb,libbase64-f12618aceee93beb,libsha3-50fd39195018f7d7,libkeccak-23e49c7b7bac6269,libsha2-9036fb41d44966ef,libdigest-4c1da2a123c80018,libopaque_debug-67427435664dbbca,libfake_simd-691268e075540980,libblock_buffer-9155bb7cf1d8756f,libgeneric_array-80a0d30686745925,libtypenum-6e7cae01aade065f,libblock_padding-de24793319998a89,libbyte_tools-a7ffb3ce87b03b5a,libnear_runtime_utils-eb092ca3ceda8dad,libbyteorder-43a4805702daccc3,libnear_runtime_fees-21735d0818738155,libnum_rational-3e97a5994faec892,libnum_bigint-bd868a2138556c0f,libnum_integer-2ac299966cf63562,libnum_traits-bd8fef7f965f5113,libnear_vm_errors-2814583cccae35a0,libserde-6a5c1232b45a1f7a,libborsh-1eb8dbd015380ffa}.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/coconuts.wasm" "--gc-sections" "--no-entry" "-O1" "--strip-debug" [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/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: block_index [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: prepaid_gas [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: promise_and [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: random_seed [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: epoch_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: promise_then [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: storage_usage [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: promise_create [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: promise_result [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: promise_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: storage_remove [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: account_balance [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-cgu.3.rcgu.o: undefined symbol: block_timestamp [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/coconuts.coconuts.fff30bb3d793b510-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 `coconuts` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "6b498efb00041b9258e82f8419553f60d3c5977adbd503dcd365946153cf521f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b498efb00041b9258e82f8419553f60d3c5977adbd503dcd365946153cf521f", kill_on_drop: false }` [INFO] [stdout] 6b498efb00041b9258e82f8419553f60d3c5977adbd503dcd365946153cf521f