[INFO] fetching crate near-sdk-contract-tools 3.0.2... [INFO] testing near-sdk-contract-tools-3.0.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate near-sdk-contract-tools 3.0.2 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate near-sdk-contract-tools 3.0.2 [INFO] finished tweaking crates.io crate near-sdk-contract-tools 3.0.2 [INFO] tweaked toml for crates.io crate near-sdk-contract-tools 3.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-sdk-contract-tools 3.0.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-fmt v0.31.1 [INFO] [stderr] Downloaded near-schema-checker-lib v0.31.1 [INFO] [stderr] Downloaded near-stdx v0.31.1 [INFO] [stderr] Downloaded near-primitives-core v0.31.1 [INFO] [stderr] Downloaded near-schema-checker-macro v0.31.1 [INFO] [stderr] Downloaded near-sdk-contract-tools-macros v3.0.2 [INFO] [stderr] Downloaded near-schema-checker-core v0.31.1 [INFO] [stderr] Downloaded near-sdk v5.17.2 [INFO] [stderr] Downloaded easy-ext v0.2.9 [INFO] [stderr] Downloaded near-gas v0.3.2 [INFO] [stderr] Downloaded near-token v0.3.2 [INFO] [stderr] Downloaded near-parameters v0.31.1 [INFO] [stderr] Downloaded near-time v0.31.1 [INFO] [stderr] Downloaded near-account-id v1.1.4 [INFO] [stderr] Downloaded serde_with v3.14.1 [INFO] [stderr] Downloaded near-primitives v0.31.1 [INFO] [stderr] Downloaded serde_with_macros v3.14.1 [INFO] [stderr] Downloaded json_comments v0.2.2 [INFO] [stderr] Downloaded enum-map-derive v0.17.0 [INFO] [stderr] Downloaded enum-map v2.7.3 [INFO] [stderr] Downloaded near-crypto v0.31.1 [INFO] [stderr] Downloaded near-vm-runner v0.31.1 [INFO] [stderr] Downloaded near-sdk-macros v5.17.2 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded near-sys v0.2.5 [INFO] [stderr] Downloaded primitive-types v0.10.1 [INFO] [stderr] Downloaded near-config-utils v0.31.1 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] [stderr] Downloaded blst v0.3.16 [INFO] [stderr] Downloaded zeropool-bn v0.5.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84f45e30beab8f7c378b70b800f2e7e7f47ea4a97bd5ea3b4695d00d7d3b3960 [INFO] running `Command { std: "docker" "start" "-a" "84f45e30beab8f7c378b70b800f2e7e7f47ea4a97bd5ea3b4695d00d7d3b3960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84f45e30beab8f7c378b70b800f2e7e7f47ea4a97bd5ea3b4695d00d7d3b3960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84f45e30beab8f7c378b70b800f2e7e7f47ea4a97bd5ea3b4695d00d7d3b3960", kill_on_drop: false }` [INFO] [stdout] 84f45e30beab8f7c378b70b800f2e7e7f47ea4a97bd5ea3b4695d00d7d3b3960 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92e5e92244d5eec47c87791baa890c0549df27cfc7383f10978dca363fe6e224 [INFO] running `Command { std: "docker" "start" "-a" "92e5e92244d5eec47c87791baa890c0549df27cfc7383f10978dca363fe6e224", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.7.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling near-sdk-macros v5.17.2 [INFO] [stderr] Compiling near-sys v0.2.5 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling toml_parser v1.0.3 [INFO] [stderr] Compiling toml_edit v0.23.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling near-sdk-contract-tools-macros v3.0.2 [INFO] [stderr] Compiling near-gas v0.3.2 [INFO] [stderr] Compiling near-account-id v1.1.4 [INFO] [stderr] Compiling near-token v0.3.2 [INFO] [stderr] Compiling near-sdk v5.17.2 [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 = "non-contract-usage")]` (intended for use of `near-sdk` in non-contract environment) [INFO] [stdout] - `#[cfg(feature = "unit-testing")]` (intended for use of `near-sdk` as one of `[dev-dependencies]`) [INFO] [stdout] - `#[cfg(feature = "__abi-generate")` [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.17.2/src/lib.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / compile_error!( [INFO] [stdout] 139 | | r#"1. 🔨️ Use `cargo near build` instead of `cargo build` to compile your contract [INFO] [stdout] 140 | | 💡 Install cargo-near from https://github.com/near/cargo-near [INFO] [stdout] ... | [INFO] [stdout] 153 | | "# [INFO] [stdout] 154 | | ); [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" "92e5e92244d5eec47c87791baa890c0549df27cfc7383f10978dca363fe6e224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e5e92244d5eec47c87791baa890c0549df27cfc7383f10978dca363fe6e224", kill_on_drop: false }` [INFO] [stdout] 92e5e92244d5eec47c87791baa890c0549df27cfc7383f10978dca363fe6e224