[INFO] fetching crate near-contract-standards 5.15.0... [INFO] testing near-contract-standards-5.15.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate near-contract-standards 5.15.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate near-contract-standards 5.15.0 [INFO] finished tweaking crates.io crate near-contract-standards 5.15.0 [INFO] tweaked toml for crates.io crate near-contract-standards 5.15.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-contract-standards 5.15.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] crate crates.io crate near-contract-standards 5.15.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-account-id v1.1.1 [INFO] [stderr] Downloaded near-abi v0.4.3 [INFO] [stderr] Downloaded near-sdk-macros v5.15.0 [INFO] [stderr] Downloaded near-sys v0.2.4 [INFO] [stderr] Downloaded near-sdk v5.15.0 [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] 594a3f1725193057029ceddf4cb31f9af5c5cca98bf7c1a07709793ebf00b0cd [INFO] running `Command { std: "docker" "start" "-a" "594a3f1725193057029ceddf4cb31f9af5c5cca98bf7c1a07709793ebf00b0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "594a3f1725193057029ceddf4cb31f9af5c5cca98bf7c1a07709793ebf00b0cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594a3f1725193057029ceddf4cb31f9af5c5cca98bf7c1a07709793ebf00b0cd", kill_on_drop: false }` [INFO] [stdout] 594a3f1725193057029ceddf4cb31f9af5c5cca98bf7c1a07709793ebf00b0cd [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] 3afb214222ec8b95a1f2a6c69b529c8f816e0591d30ed1b140b39bcc07b04044 [INFO] running `Command { std: "docker" "start" "-a" "3afb214222ec8b95a1f2a6c69b529c8f816e0591d30ed1b140b39bcc07b04044", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling near-sdk-macros v5.15.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling near-sys v0.2.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling near-gas v0.3.0 [INFO] [stderr] Compiling near-token v0.3.0 [INFO] [stderr] Compiling near-account-id v1.1.1 [INFO] [stderr] Compiling near-sdk v5.15.0 [INFO] [stdout] error: 1. 🔨️ Use `cargo near build` instead of `cargo build` to compile your contract [INFO] [stdout] 💡 Install cargo-near from https://github.com/near/cargo-near [INFO] [stdout] [INFO] [stdout] 2. ✅ Use `cargo check --target wasm32-unknown-unknown` instead of `cargo check` to error-check your contract [INFO] [stdout] [INFO] [stdout] 3. ⚙️ Only following cfg-s are considered VALID for `near-sdk`: [INFO] [stdout] - `#[cfg(target_family = "wasm")]` [INFO] [stdout] - `#[cfg(feature = "__abi-generate")` [INFO] [stdout] - `#[cfg(feature = "unit-testing")]` (intended for use of `near-sdk` as one of `[dev-dependencies]`) [INFO] [stdout] - `#[cfg(test)]` [INFO] [stdout] - `#[cfg(doctest)]` [INFO] [stdout] - `#[cfg(clippy)]` [INFO] [stdout] ⚠️ a cfg, which is not one of the above, results in CURRENT compilation error to be emitted. [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-5.15.0/src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 119 | / compile_error!( [INFO] [stdout] 120 | | r#"1. 🔨️ Use `cargo near build` instead of `cargo build` to compile your contract [INFO] [stdout] 121 | | 💡 Install cargo-near from https://github.com/near/cargo-near [INFO] [stdout] ... | [INFO] [stdout] 133 | | "# [INFO] [stdout] 134 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `near-sdk` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "3afb214222ec8b95a1f2a6c69b529c8f816e0591d30ed1b140b39bcc07b04044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afb214222ec8b95a1f2a6c69b529c8f816e0591d30ed1b140b39bcc07b04044", kill_on_drop: false }` [INFO] [stdout] 3afb214222ec8b95a1f2a6c69b529c8f816e0591d30ed1b140b39bcc07b04044