[INFO] cloning repository https://github.com/Jiuhong-casperlabs/flash [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jiuhong-casperlabs/flash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiuhong-casperlabs%2Fflash", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiuhong-casperlabs%2Fflash'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 696aca54218947eceaf5e0b01b7b46cf225a7223 [INFO] building Jiuhong-casperlabs/flash against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJiuhong-casperlabs%2Fflash" "/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/Jiuhong-casperlabs/flash [INFO] finished tweaking git repo https://github.com/Jiuhong-casperlabs/flash [INFO] tweaked toml for git repo https://github.com/Jiuhong-casperlabs/flash written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jiuhong-casperlabs/flash 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/Jiuhong-casperlabs/flash 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] f5222c9daee723b292359f496c8f0dd97d5a6e79f090c8448825132fdb6bf42d [INFO] running `Command { std: "docker" "start" "-a" "f5222c9daee723b292359f496c8f0dd97d5a6e79f090c8448825132fdb6bf42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5222c9daee723b292359f496c8f0dd97d5a6e79f090c8448825132fdb6bf42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5222c9daee723b292359f496c8f0dd97d5a6e79f090c8448825132fdb6bf42d", kill_on_drop: false }` [INFO] [stdout] f5222c9daee723b292359f496c8f0dd97d5a6e79f090c8448825132fdb6bf42d [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] cbfd6bf67112ffcff3bd05732b02e7569382ca49306379030c2865086940b8a0 [INFO] running `Command { std: "docker" "start" "-a" "cbfd6bf67112ffcff3bd05732b02e7569382ca49306379030c2865086940b8a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling radium v0.3.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling uint v0.9.1 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling bitvec v0.18.5 [INFO] [stderr] Compiling ld-contract v0.1.0 (/opt/rustwide/workdir/example/ld-contract) [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling signature v1.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling ed25519 v1.2.0 [INFO] [stderr] Compiling ff v0.8.0 [INFO] [stderr] Compiling group v0.8.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling elliptic-curve v0.8.5 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling ecdsa v0.10.2 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling k256 v0.7.3 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling casper-types v1.4.6 [INFO] [stderr] Compiling casper-contract v1.4.3 [INFO] [stderr] Compiling casper-erc20 v0.2.1 (/opt/rustwide/workdir/erc20) [INFO] [stderr] Compiling flashborrower v0.1.0 (/opt/rustwide/workdir/flashborrower) [INFO] [stderr] Compiling flashlender v0.1.0 (/opt/rustwide/workdir/flashlender) [INFO] [stderr] Compiling br-contract v0.1.0 (/opt/rustwide/workdir/example/br-contract) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "call" "--export" "flash_borrow" "--export" "on_flash_loan" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libflashborrower-a86acb2751733a7c,libcasper_erc20-37f0ce02b9851552,libonce_cell-dea085da5f7be4da,libcasper_contract-a449c0c878eb54fb,libwee_alloc-eabc0b22adbf6c5c,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libcasper_types-eb45dbb84eb8db2f,libbase64-f0fcf0aa95ca9c82,libuint-a7eb0cf4cfda9830,libcrunchy-9ab05de1b7752e42,libstatic_assertions-5a320074c6765347,libhex-515790ed2476f981,libserde_bytes-a9dd884c1e7f49e8,libnum-fbcc098353b5ad75,libnum_iter-b92c5418939c34bc,libnum_complex-3548964584ae3cf9,libk256-f86ab276349da6de,libecdsa-19e99305ac68207b,libhmac-88a34ce342ec42ec,libcrypto_mac-30dd1d8a3566214b,libelliptic_curve-236f86a1cbe098a5,libgroup-139e55d19dd99d86,libff-f5cb4b4467a76c20,libbitvec-ec57f3b7c0c3d793,libfunty-4e85aded369827d2,libwyz-23a02c02c8ce9911,libradium-be86a3a4ecbc3f33,libhex_fmt-c155ad641900dcda,libed25519_dalek-0004350c5aacb2d5,librand-49e77c1366cc0f64,librand_chacha-41f0cdd208562af3,libppv_lite86-c12e7e0d0176d686,libsha2-be8e67db491481e1,libcfg_if-50b02a9e3502ecf2,libblock_buffer-1daa6356ac72a779,libcurve25519_dalek-27c61ebf1dd567d7,libzeroize-1425614939440be9,libbyteorder-e331fe8188c68f19,libed25519-4a77ccb36b1a5e93,libsignature-019b145eeacef882,librand_core-eaa45342eebcb15f,libserde_json-0ea61e31a6e700a3,libryu-23f3ccdf871e5b71,libitoa-9acc885e9ae026f1,libbase16-22eb8622b34fa228,libnum_rational-7592a8b1b96ec1c4,libnum_bigint-5517672a3cf3ded8,libnum_integer-e0e7f4cbdcdca25c,libnum_traits-74c444362b1b6270,libblake2-225512666917d3e4,libopaque_debug-d63d41056a54e997,libcrypto_mac-f6b07485fcdbe74e,libsubtle-708b50dbeaa98325,libdigest-9406d4ba23279a9a,libgeneric_array-73632b998dd43576,libtypenum-868cb60eed00f291,libserde-14ea52f5e64368db,librand-38573b0a78206903,librand_core-a3c9964fe8e184b4,libbitflags-15e3d67e03629ffa}.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/br_contract-f46a388c82dfb286.wasm" "--gc-sections" "-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/br_contract-f46a388c82dfb286.br_contract.7ddd99a2938554e9-cgu.0.rcgu.o: undefined symbol: casper_get_named_arg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/br_contract-f46a388c82dfb286.br_contract.7ddd99a2938554e9-cgu.0.rcgu.o: undefined symbol: casper_get_named_arg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/br_contract-f46a388c82dfb286.br_contract.7ddd99a2938554e9-cgu.0.rcgu.o: undefined symbol: casper_get_named_arg [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libflashborrower-a86acb2751733a7c.rlib(flashborrower-a86acb2751733a7c.flashborrower.5f51cc3550587d10-cgu.0.rcgu.o): undefined symbol: casper_call_versioned_contract [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libflashborrower-a86acb2751733a7c.rlib(flashborrower-a86acb2751733a7c.flashborrower.5f51cc3550587d10-cgu.0.rcgu.o): undefined symbol: casper_call_versioned_contract [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libflashborrower-a86acb2751733a7c.rlib(flashborrower-a86acb2751733a7c.flashborrower.5f51cc3550587d10-cgu.0.rcgu.o): undefined symbol: casper_call_versioned_contract [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libflashborrower-a86acb2751733a7c.rlib(flashborrower-a86acb2751733a7c.flashborrower.5f51cc3550587d10-cgu.0.rcgu.o): undefined symbol: casper_read_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libflashborrower-a86acb2751733a7c.rlib(flashborrower-a86acb2751733a7c.flashborrower.5f51cc3550587d10-cgu.0.rcgu.o): undefined symbol: casper_new_uref [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_erc20-37f0ce02b9851552.rlib(casper_erc20-37f0ce02b9851552.casper_erc20.8164bcfb59ad7144-cgu.1.rcgu.o): undefined symbol: casper_blake2b [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_revert [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_load_call_stack [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_read_host_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_get_named_arg_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_ret [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_get_key [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_put_key [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_create_contract_package_at_hash [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcasper_contract-a449c0c878eb54fb.rlib(casper_contract-a449c0c878eb54fb.casper_contract.98997937ca17edae-cgu.0.rcgu.o): undefined symbol: casper_add_contract_version [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `br-contract` (bin "br-contract") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "cbfd6bf67112ffcff3bd05732b02e7569382ca49306379030c2865086940b8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfd6bf67112ffcff3bd05732b02e7569382ca49306379030c2865086940b8a0", kill_on_drop: false }` [INFO] [stdout] cbfd6bf67112ffcff3bd05732b02e7569382ca49306379030c2865086940b8a0