[INFO] fetching crate near-internal-balances-plugin 0.1.0... [INFO] testing near-internal-balances-plugin-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate near-internal-balances-plugin 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate near-internal-balances-plugin 0.1.0 [INFO] finished tweaking crates.io crate near-internal-balances-plugin 0.1.0 [INFO] tweaked toml for crates.io crate near-internal-balances-plugin 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-internal-balances-plugin 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding near-contract-standards v4.0.0-pre.4 (available: v4.1.1) [INFO] [stderr] Adding near-sdk v4.0.0-pre.4 (available: v4.1.1) [INFO] [stderr] Adding near-sdk-macros v4.0.0-pre.4 (available: v4.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-account v0.1.2 [INFO] [stderr] Downloaded near-sys v0.1.0 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Downloaded near-contract-standards v4.0.0-pre.4 [INFO] [stderr] Downloaded near-sdk v4.0.0-pre.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7fcb9fa215b4db52fc794130830748db1ec132d389198078945cbd3be2ea2ad [INFO] running `Command { std: "docker" "start" "-a" "d7fcb9fa215b4db52fc794130830748db1ec132d389198078945cbd3be2ea2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7fcb9fa215b4db52fc794130830748db1ec132d389198078945cbd3be2ea2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fcb9fa215b4db52fc794130830748db1ec132d389198078945cbd3be2ea2ad", kill_on_drop: false }` [INFO] [stdout] d7fcb9fa215b4db52fc794130830748db1ec132d389198078945cbd3be2ea2ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 87ac43e6b99380cc42293e301db7a70663493752aad47f8056fb1d2b584ea8e8 [INFO] running `Command { std: "docker" "start" "-a" "87ac43e6b99380cc42293e301db7a70663493752aad47f8056fb1d2b584ea8e8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling indexmap v2.10.0 [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 regex-automata v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.4 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.4 [INFO] [stderr] Compiling near-contract-standards v4.0.0-pre.4 [INFO] [stderr] Compiling near-account v0.1.2 [INFO] [stderr] Compiling near-internal-balances-plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_sdk::ONE_YOCTO` [INFO] [stdout] --> src/ft.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | AccountId, Balance, Gas, Promise, ONE_YOCTO, [INFO] [stdout] | ^^^^^^^^^ no `ONE_YOCTO` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_sdk::ONE_YOCTO` [INFO] [stdout] --> src/mt.rs:6:55 [INFO] [stdout] | [INFO] [stdout] 6 | AccountId, Balance, Gas, Promise, PromiseOrValue, ONE_YOCTO, [INFO] [stdout] | ^^^^^^^^^ no `ONE_YOCTO` in the root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::ft::ext_ft::ONE_YOCTO` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_sdk::ONE_YOCTO` [INFO] [stdout] --> src/nft.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | AccountId, Gas, Promise, ONE_YOCTO, [INFO] [stdout] | ^^^^^^^^^ no `ONE_YOCTO` in the root [INFO] [stdout] | [INFO] [stdout] = note: unresolved item `crate::mt::ext_mt_receiver::ONE_YOCTO` exists but is inaccessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Account` and `Accounts` [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | use near_account::{Account, Accounts}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | env::{self}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `near_contract_standards::non_fungible_token::Token` [INFO] [stdout] --> src/core_impl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use near_contract_standards::non_fungible_token::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `BorshSerialize`, `PromiseOrValue`, and `json` [INFO] [stdout] --> src/core_impl.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | borsh::{BorshDeserialize, BorshSerialize}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | serde_json::{self, json}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | AccountId, Balance, Gas, Promise, PromiseOrValue, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OnTransferOpts` [INFO] [stdout] --> src/core_impl.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{token_id::TokenId, BalanceInfo, OnTransferOpts}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Balance` and `json` [INFO] [stdout] --> src/ft.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | serde_json::{self, json}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | AccountId, Balance, Gas, Promise, ONE_YOCTO, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Balance`, `PromiseOrValue`, and `json` [INFO] [stdout] --> src/mt.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | serde_json::{self, json}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | AccountId, Balance, Gas, Promise, PromiseOrValue, ONE_YOCTO, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `json` [INFO] [stdout] --> src/nft.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | serde_json::{self, json}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/token_id.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | serde::{self, Deserialize, Serialize}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-internal-balances-plugin` (lib) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "87ac43e6b99380cc42293e301db7a70663493752aad47f8056fb1d2b584ea8e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87ac43e6b99380cc42293e301db7a70663493752aad47f8056fb1d2b584ea8e8", kill_on_drop: false }` [INFO] [stdout] 87ac43e6b99380cc42293e301db7a70663493752aad47f8056fb1d2b584ea8e8