[INFO] cloning repository https://github.com/TheNathanN/nft-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheNathanN/nft-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNathanN%2Fnft-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNathanN%2Fnft-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7560dc7a2509656e5f6799630d8cb0e7bc2fcec3 [INFO] building TheNathanN/nft-demo against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheNathanN%2Fnft-demo" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/TheNathanN/nft-demo [INFO] finished tweaking git repo https://github.com/TheNathanN/nft-demo [INFO] tweaked toml for git repo https://github.com/TheNathanN/nft-demo written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TheNathanN/nft-demo 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/TheNathanN/nft-demo 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5a01f2566605016f5c8832d487b53fcf46687ad4b90cc71f2259da5e3da76fe3 [INFO] running `Command { std: "docker" "start" "-a" "5a01f2566605016f5c8832d487b53fcf46687ad4b90cc71f2259da5e3da76fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a01f2566605016f5c8832d487b53fcf46687ad4b90cc71f2259da5e3da76fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a01f2566605016f5c8832d487b53fcf46687ad4b90cc71f2259da5e3da76fe3", kill_on_drop: false }` [INFO] [stdout] 5a01f2566605016f5c8832d487b53fcf46687ad4b90cc71f2259da5e3da76fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 353b39fd69117618cc61165366d386a83b90bf232bf8ca413a9572f5eadc1343 [INFO] running `Command { std: "docker" "start" "-a" "353b39fd69117618cc61165366d386a83b90bf232bf8ca413a9572f5eadc1343", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling dyn-clone v1.0.16 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling near-sys v0.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling near-sdk-macros v4.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling near-abi v0.3.0 [INFO] [stderr] Compiling near-sdk v4.1.1 [INFO] [stderr] Compiling hello_near v1.0.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" "get_token_by_id" "--export" "get_total_minted" "--export" "mint" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<4 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnear_sdk-ea6992476704cd6d,libwee_alloc-5885fc6494f36ffb,libmemory_units-93578f67784e9426,libcfg_if-c52cb2c48f08318d,libbase64-de1e4dcf0aa853ba,libbs58-d328228bb53bbec7,libnear_abi-4a9558f9c01e879b,libsemver-10efc62b947ec9a5,libschemars-b7bd82a2201aece4,libdyn_clone-3fd5f854984ef1b9,libserde_json-b9ae499918ad13f2,libitoa-e26c2fca71a2b2d1,libryu-452e68edcd92953e,libserde-9041f52939d582cb,libnear_sys-34269751f0a98f97,libonce_cell-847ca6422e74ab52,libborsh-12d838f041c7901d}.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/hello_near.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/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: panic_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: register_len [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: storage_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: read_register [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: value_return [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: storage_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: attached_deposit [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: signer_account_id [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: input [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnear_sdk-ea6992476704cd6d.rlib(near_sdk-ea6992476704cd6d.near_sdk.d168b022bb650be-cgu.0.rcgu.o): undefined symbol: log_utf8 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_near` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "353b39fd69117618cc61165366d386a83b90bf232bf8ca413a9572f5eadc1343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353b39fd69117618cc61165366d386a83b90bf232bf8ca413a9572f5eadc1343", kill_on_drop: false }` [INFO] [stdout] 353b39fd69117618cc61165366d386a83b90bf232bf8ca413a9572f5eadc1343