[INFO] updating cached repository https://github.com/Solniechniy/USDF-contracts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90aeb5a1dec7612f3b1ba2a5fec1e657fa38136e [INFO] testing Solniechniy/USDF-contracts/90aeb5a1dec7612f3b1ba2a5fec1e657fa38136e against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSolniechniy%2FUSDF-contracts" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Solniechniy/USDF-contracts [INFO] finished tweaking git repo https://github.com/Solniechniy/USDF-contracts [INFO] tweaked toml for git repo https://github.com/Solniechniy/USDF-contracts written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Solniechniy/USDF-contracts on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Solniechniy/USDF-contracts 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05147bd3ab2639b541c137ac26b29c48f506da8f4ba6a04adc257c4a022567a8 [INFO] running `Command { std: "docker" "start" "-a" "05147bd3ab2639b541c137ac26b29c48f506da8f4ba6a04adc257c4a022567a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05147bd3ab2639b541c137ac26b29c48f506da8f4ba6a04adc257c4a022567a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05147bd3ab2639b541c137ac26b29c48f506da8f4ba6a04adc257c4a022567a8", kill_on_drop: false }` [INFO] [stdout] 05147bd3ab2639b541c137ac26b29c48f506da8f4ba6a04adc257c4a022567a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7fb647078102402f2e08ef4d8f571b332b3ab7008c23ab3ac26bf4cfba36df2 [INFO] running `Command { std: "docker" "start" "-a" "c7fb647078102402f2e08ef4d8f571b332b3ab7008c23ab3ac26bf4cfba36df2", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling borsh v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling near-sdk-macros v5.5.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling near-sys v0.2.2 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rlp v0.6.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling borsh-derive v1.5.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling near-sdk-contract-tools-macros v3.0.2 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling near-account-id v1.0.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling near-sdk v5.5.0 [INFO] [stderr] Compiling near-contract-standards v5.5.0 [INFO] [stderr] Compiling near-sdk-contract-tools v3.0.2 [INFO] [stderr] Compiling exchange_contract v0.1.0 (/opt/rustwide/workdir/exchange_contract) [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s [INFO] running `Command { std: "docker" "inspect" "c7fb647078102402f2e08ef4d8f571b332b3ab7008c23ab3ac26bf4cfba36df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7fb647078102402f2e08ef4d8f571b332b3ab7008c23ab3ac26bf4cfba36df2", kill_on_drop: false }` [INFO] [stdout] c7fb647078102402f2e08ef4d8f571b332b3ab7008c23ab3ac26bf4cfba36df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c713f13ab6b273eb156e77b0894b9c1f9dc83a0b691d189907e9e537183a94b [INFO] running `Command { std: "docker" "start" "-a" "4c713f13ab6b273eb156e77b0894b9c1f9dc83a0b691d189907e9e537183a94b", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling exchange_contract v0.1.0 (/opt/rustwide/workdir/exchange_contract) [INFO] [stdout] warning: unused import: `Balance` [INFO] [stdout] --> exchange_contract/src/on_transfer.rs:2:80 [INFO] [stdout] | [INFO] [stdout] 2 | near_contract_standards::fungible_token::{receiver::FungibleTokenReceiver, Balance}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc0Qbwt4/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{librlp-7a24066806958442.rlib,librustc_hex-1ff3ac47aa50011e.rlib,libbytes-90104da476dc9424.rlib,libnear_contract_standards-49d941bc996227dd.rlib,libnear_sdk_contract_tools-3edb3d11c7989bc0.rlib,libthiserror-a58a7dfee397d9dd.rlib,libnear_sdk-3f3f6147c5d2fec0.rlib,libserde_json-60bf901fbbea6008.rlib,libmemchr-929c69c48e62eaba.rlib,libitoa-4b57cbf346271e0e.rlib,libryu-eb0c70b924a184e7.rlib,libnear_token-44413fb0090e934e.rlib,libnear_gas-0c39dc3715e4cc53.rlib,libnear_account_id-02a95dd342de3d1d.rlib,libbase64-0bc9384ee703098c.rlib,libbs58-d0e7be6daeddee5f.rlib,libnear_sys-93f5f4e12de344e0.rlib,libonce_cell-ef78ecc30c9a0118.rlib,libborsh-e992cf500f8e1a96.rlib,libed25519_dalek-e44ba02930b95c45.rlib,libsha2-1652dd905cd13abe.rlib,libcurve25519_dalek-bb1591902ddba42c.rlib,libcpufeatures-d3f7240f5569b284.rlib,libzeroize-f664d71953201d33.rlib,libsubtle-cf09268d9e7d07d8.rlib,libcfg_if-238a855292fb6d2b.rlib,libdigest-38cead866b1df8f5.rlib,libblock_buffer-85135eba8635e08c.rlib,libcrypto_common-eaf37715c589a865.rlib,libgeneric_array-f1307c80a82ae31b.rlib,libtypenum-ba205961437c96e4.rlib,libed25519-6a0472ef86cb7bbd.rlib,libsignature-9809b5f82e047457.rlib,libserde-bb91e65a549f033e.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc0Qbwt4/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/exchange_contract-356268bfad72a9f0" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: panic_utf8 [INFO] [stdout] >>> referenced by env.rs:858 (src/environment/env.rs:858) [INFO] [stdout] >>> near_sdk-3f3f6147c5d2fec0.near_sdk.729e2e1fb8c0fb69-cgu.3.rcgu.o:(near_sdk::environment::env::panic::h46483228b41bcca2) in archive /opt/rustwide/target/debug/deps/libnear_sdk-3f3f6147c5d2fec0.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exchange_contract` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4c713f13ab6b273eb156e77b0894b9c1f9dc83a0b691d189907e9e537183a94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c713f13ab6b273eb156e77b0894b9c1f9dc83a0b691d189907e9e537183a94b", kill_on_drop: false }` [INFO] [stdout] 4c713f13ab6b273eb156e77b0894b9c1f9dc83a0b691d189907e9e537183a94b