[INFO] cloning repository https://github.com/fighting45/NEAR_carbon_registry_contract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fighting45/NEAR_carbon_registry_contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffighting45%2FNEAR_carbon_registry_contract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffighting45%2FNEAR_carbon_registry_contract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f87bb46976c188946f6fc057787040ca28811328
[INFO] checking fighting45/NEAR_carbon_registry_contract against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffighting45%2FNEAR_carbon_registry_contract" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fighting45/NEAR_carbon_registry_contract
[INFO] finished tweaking git repo https://github.com/fighting45/NEAR_carbon_registry_contract
[INFO] tweaked toml for git repo https://github.com/fighting45/NEAR_carbon_registry_contract written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fighting45/NEAR_carbon_registry_contract on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fighting45/NEAR_carbon_registry_contract 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] [stderr]   Downloaded serde_with_macros v3.21.0
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded near-sys v0.2.13
[INFO] [stderr]   Downloaded digest-io v0.1.0
[INFO] [stderr]   Downloaded near-global-contracts v0.2.5
[INFO] [stderr]   Downloaded near-token v0.3.4
[INFO] [stderr]   Downloaded near-crypto-hash v0.2.0
[INFO] [stderr]   Downloaded near-sdk-env v0.1.5
[INFO] [stderr]   Downloaded keccak v0.2.1
[INFO] [stderr]   Downloaded near-gas v0.3.6
[INFO] [stderr]   Downloaded near-account-id v2.6.0
[INFO] [stderr]   Downloaded borsh-derive v1.8.0
[INFO] [stderr]   Downloaded near-sdk-macros v5.29.0
[INFO] [stderr]   Downloaded near-sdk-core v4.2.2
[INFO] [stderr]   Downloaded serde_with v3.21.0
[INFO] [stderr]   Downloaded borsh v1.8.0
[INFO] [stderr]   Downloaded near-sdk v5.29.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441
[INFO] running `Command { std: "docker" "start" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling winnow v1.0.4
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling cfg_aliases v0.2.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]    Compiling borsh v1.8.0
[INFO] [stderr]     Checking keccak v0.2.1
[INFO] [stderr]     Checking bs58 v0.5.1
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]     Checking near-crypto-hash v0.2.0
[INFO] [stderr]    Compiling near-sdk-macros v5.29.0
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]     Checking near-sys v0.2.13
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]     Checking hybrid-array v0.4.14
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]    Compiling toml_parser v1.1.3+spec-1.1.0
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking ripemd v0.1.3
[INFO] [stderr]    Compiling toml_edit v0.25.13+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking sha3 v0.11.0
[INFO] [stderr]     Checking digest-io v0.1.0
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]    Compiling proc-macro-crate v3.5.0
[INFO] [stderr]     Checking near-sdk-env v0.1.5
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling borsh-derive v1.8.0
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling cfg_eval v0.1.2
[INFO] [stderr]     Checking near-account-id v2.6.0
[INFO] [stderr]     Checking near-token v0.3.4
[INFO] [stderr]     Checking near-gas v0.3.6
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling serde_with_macros v3.21.0
[INFO] [stderr]     Checking serde_with v3.21.0
[INFO] [stderr]     Checking near-sdk-core v4.2.2
[INFO] [stderr]     Checking near-global-contracts v0.2.5
[INFO] [stderr]     Checking near-sdk v5.29.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(near)]` (set by `cargo-near`. uses on-chain host-functions)
[INFO] [stdout]          - `#[cfg(target_family = "wasm")]` (uses pure-Rust fallbacks. not for on-chain use)
[INFO] [stdout]          - `#[cfg(feature = "non-contract-usage")]` (intended for use of `near-sdk` in non-contract environment. NOTE: consider using leaf crates)
[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(docsrs)]` (set by docs.rs when building documentation)
[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]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-sdk-5.29.0/src/lib.rs:142:1
[INFO] [stdout]     |
[INFO] [stdout] 142 | / compile_error!(
[INFO] [stdout] 143 | |     r#"1. 🔨️  Use `cargo near build` instead of `cargo build` to compile your contract
[INFO] [stdout] 144 | | 💡  Install cargo-near from https://github.com/near/cargo-near
[INFO] [stdout] ...   |
[INFO] [stdout] 159 | | "#
[INFO] [stdout] 160 | | );
[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" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441", kill_on_drop: false }`
[INFO] [stdout] dcde6d889a58415b1f9c9c104574bc2fd8e6d07da889f86ddd47b9010eb87441
