[INFO] fetching crate near-sdk 5.25.0... [INFO] testing near-sdk-5.25.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate near-sdk 5.25.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate near-sdk 5.25.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate near-sdk 5.25.0 [INFO] tweaked toml for crates.io crate near-sdk 5.25.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-sdk 5.25.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate near-sdk 5.25.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7f6a8b4518bcf9f53e573ebbc34987d7dc767595a5ff04942ebc25b5375851e [INFO] running `Command { std: "docker" "start" "-a" "c7f6a8b4518bcf9f53e573ebbc34987d7dc767595a5ff04942ebc25b5375851e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7f6a8b4518bcf9f53e573ebbc34987d7dc767595a5ff04942ebc25b5375851e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7f6a8b4518bcf9f53e573ebbc34987d7dc767595a5ff04942ebc25b5375851e", kill_on_drop: false }` [INFO] [stdout] c7f6a8b4518bcf9f53e573ebbc34987d7dc767595a5ff04942ebc25b5375851e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db750c783e630999dbc200e31b3fc36f0b596f51f18653bcdf2c45943eb7b93f [INFO] running `Command { std: "docker" "start" "-a" "db750c783e630999dbc200e31b3fc36f0b596f51f18653bcdf2c45943eb7b93f", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v1.0.0 [INFO] [stderr] Compiling toml_datetime v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling borsh v1.6.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling near-sdk-macros v5.25.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling near-sys v0.2.8 [INFO] [stderr] Compiling toml_parser v1.1.0+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.8+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling borsh-derive v1.6.1 [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 darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Compiling serde_with v3.17.0 [INFO] [stderr] Compiling near-gas v0.3.4 [INFO] [stderr] Compiling near-account-id v2.6.0 [INFO] [stderr] Compiling near-token v0.3.3 [INFO] [stderr] Compiling near-sdk v5.25.0 (/opt/rustwide/workdir) [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] [INFO] [stdout] --> src/lib.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | / compile_error!( [INFO] [stdout] 141 | | r#"1. 🔨️ Use `cargo near build` instead of `cargo build` to compile your contract [INFO] [stdout] 142 | | 💡 Install cargo-near from https://github.com/near/cargo-near [INFO] [stdout] ... | [INFO] [stdout] 155 | | "# [INFO] [stdout] 156 | | ); [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" "db750c783e630999dbc200e31b3fc36f0b596f51f18653bcdf2c45943eb7b93f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db750c783e630999dbc200e31b3fc36f0b596f51f18653bcdf2c45943eb7b93f", kill_on_drop: false }` [INFO] [stdout] db750c783e630999dbc200e31b3fc36f0b596f51f18653bcdf2c45943eb7b93f