[INFO] fetching crate near-indexer-rpc 0.1.1... [INFO] testing near-indexer-rpc-0.1.1 against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] extracting crate near-indexer-rpc 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate near-indexer-rpc 0.1.1 [INFO] finished tweaking crates.io crate near-indexer-rpc 0.1.1 [INFO] tweaked toml for crates.io crate near-indexer-rpc 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-indexer-rpc 0.1.1 on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 402 packages to latest compatible versions [INFO] [stderr] Adding near-jsonrpc-client v0.8.0 (available: v0.18.0) [INFO] [stderr] Adding near-jsonrpc-primitives v0.20.1 (available: v0.32.0) [INFO] [stderr] Adding near-primitives v0.20.1 (available: v0.32.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-sys v0.2.5 [INFO] [stderr] Downloaded near-rpc-error-core v0.20.1 [INFO] [stderr] Downloaded json_comments v0.2.2 [INFO] [stderr] Downloaded smart-default v0.6.0 [INFO] [stderr] Downloaded primitive-types v0.10.1 [INFO] [stderr] Downloaded near-account-id v1.1.4 [INFO] [stderr] Downloaded prost-derive v0.9.0 [INFO] [stderr] Downloaded near-token v0.3.2 [INFO] [stderr] Downloaded near-primitives-core v0.20.1 [INFO] [stderr] Downloaded near-gas v0.3.2 [INFO] [stderr] Downloaded near-rpc-error-macro v0.20.1 [INFO] [stderr] Downloaded near-config-utils v0.20.1 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded bytesize v1.3.3 [INFO] [stderr] Downloaded near-sdk-macros v5.17.2 [INFO] [stderr] Downloaded near-chain-configs v0.20.1 [INFO] [stderr] Downloaded near-jsonrpc-client v0.8.0 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded opentelemetry-otlp v0.10.0 [INFO] [stderr] Downloaded near-primitives v0.20.1 [INFO] [stderr] Downloaded tracing-opentelemetry v0.17.4 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded near-crypto v0.20.1 [INFO] [stderr] Downloaded near-vm-runner v0.20.1 [INFO] [stderr] Downloaded serde_with v3.14.1 [INFO] [stderr] Downloaded near-sdk v5.17.2 [INFO] [stderr] Downloaded zeropool-bn v0.5.11 [INFO] [stderr] Downloaded near-jsonrpc-primitives v0.20.1 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded near-o11y v0.20.1 [INFO] [stderr] Downloaded near-parameters v0.20.1 [INFO] [stderr] Downloaded serde_with_macros v3.14.1 [INFO] [stderr] Downloaded actix-rt v2.11.0 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded c2-chacha v0.3.3 [INFO] [stderr] Downloaded easy-ext v0.2.9 [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded prost v0.9.0 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded near-stdx v0.20.1 [INFO] [stderr] Downloaded prefix-sum-vec v0.1.2 [INFO] [stderr] Downloaded reed-solomon-erasure v4.0.2 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] [stderr] Downloaded near-fmt v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c10dd10f304006d356e7b7af4be68c32255e2554fdce79d3072ded3b9b03bfba [INFO] running `Command { std: "docker" "start" "-a" "c10dd10f304006d356e7b7af4be68c32255e2554fdce79d3072ded3b9b03bfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c10dd10f304006d356e7b7af4be68c32255e2554fdce79d3072ded3b9b03bfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10dd10f304006d356e7b7af4be68c32255e2554fdce79d3072ded3b9b03bfba", kill_on_drop: false }` [INFO] [stdout] c10dd10f304006d356e7b7af4be68c32255e2554fdce79d3072ded3b9b03bfba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac42f086016e25fef369f14769d7ee3f4a956c3ba3f007927af0ffc5cb69ba3c [INFO] running `Command { std: "docker" "start" "-a" "ac42f086016e25fef369f14769d7ee3f4a956c3ba3f007927af0ffc5cb69ba3c", kill_on_drop: false }` [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling borsh v1.5.7 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling borsh-derive v1.5.7 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling near-account-id v1.1.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling serde_with v3.14.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling opentelemetry v0.17.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling near-primitives-core v0.20.1 [INFO] [stderr] Compiling json_comments v0.2.2 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling opentelemetry-otlp v0.10.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling near-config-utils v0.20.1 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling near-stdx v0.20.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling near-crypto v0.20.1 [INFO] [stderr] Compiling tracing-log v0.1.4 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stderr] Compiling zeropool-bn v0.5.11 [INFO] [stderr] Compiling near-parameters v0.20.1 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling tracing-opentelemetry v0.17.4 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.9.0 [INFO] [stderr] Compiling near-fmt v0.20.1 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling near-rpc-error-core v0.20.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling prefix-sum-vec v0.1.2 [INFO] [stderr] Compiling near-rpc-error-macro v0.20.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling near-vm-runner v0.20.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling near-o11y v0.20.1 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling bytesize v1.3.3 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling near-sdk-macros v5.17.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling near-gas v0.3.2 [INFO] [stderr] Compiling near-primitives v0.20.1 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling near-token v0.3.2 [INFO] [stderr] Compiling near-sys v0.2.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ac42f086016e25fef369f14769d7ee3f4a956c3ba3f007927af0ffc5cb69ba3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac42f086016e25fef369f14769d7ee3f4a956c3ba3f007927af0ffc5cb69ba3c", kill_on_drop: false }` [INFO] [stdout] ac42f086016e25fef369f14769d7ee3f4a956c3ba3f007927af0ffc5cb69ba3c