[INFO] cloning repository https://github.com/ritankarsaha/Medi-Token-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ritankarsaha/Medi-Token-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritankarsaha%2FMedi-Token-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritankarsaha%2FMedi-Token-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cca251235df69cecb91a21c45ef02a4c1bac0f61
[INFO] checking ritankarsaha/Medi-Token-Rust against try#d8be25549d5418405531341b4be6d8538fc3c42e for pr-156160
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fritankarsaha%2FMedi-Token-Rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/ritankarsaha/Medi-Token-Rust
[INFO] finished tweaking git repo https://github.com/ritankarsaha/Medi-Token-Rust
[INFO] tweaked toml for git repo https://github.com/ritankarsaha/Medi-Token-Rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ritankarsaha/Medi-Token-Rust on toolchain d8be25549d5418405531341b4be6d8538fc3c42e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ritankarsaha/Medi-Token-Rust 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" "+d8be25549d5418405531341b4be6d8538fc3c42e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ethbloom v0.11.1
[INFO] [stderr]   Downloaded ethers v1.0.2
[INFO] [stderr]   Downloaded near-token v0.3.0
[INFO] [stderr]   Downloaded solang-parser v0.1.18
[INFO] [stderr]   Downloaded ena v0.14.3
[INFO] [stderr]   Downloaded ethers-signers v1.0.2
[INFO] [stderr]   Downloaded auto_impl v0.5.0
[INFO] [stderr]   Downloaded ethers-contract v1.0.2
[INFO] [stderr]   Downloaded ethereum-types v0.12.1
[INFO] [stderr]   Downloaded parity-scale-codec v2.3.1
[INFO] [stderr]   Downloaded base58check v0.1.0
[INFO] [stderr]   Downloaded lalrpop-util v0.19.12
[INFO] [stderr]   Downloaded web3 v0.18.0
[INFO] [stderr]   Downloaded lalrpop v0.19.12
[INFO] [stderr]   Downloaded radium v0.3.0
[INFO] [stderr]   Downloaded near-sdk v5.17.2
[INFO] [stderr]   Downloaded ethabi v16.0.0
[INFO] [stderr]   Downloaded ethers-addressbook v1.0.2
[INFO] [stderr]   Downloaded ethers-providers v1.0.2
[INFO] [stderr]   Downloaded libc v0.2.173
[INFO] [stderr]   Downloaded near-sdk-macros v5.17.2
[INFO] [stderr]   Downloaded coins-bip39 v0.7.0
[INFO] [stderr]   Downloaded coins-bip32 v0.7.0
[INFO] [stderr]   Downloaded svm-rs v0.2.23
[INFO] [stderr]   Downloaded ethers-contract-abigen v1.0.2
[INFO] [stderr]   Downloaded tokio-util v0.6.10
[INFO] [stderr]   Downloaded near-contract-standards v5.17.2
[INFO] [stderr]   Downloaded near-gas v0.3.2
[INFO] [stderr]   Downloaded ethers-contract-derive v1.0.2
[INFO] [stderr]   Downloaded ethers-core v1.0.2
[INFO] [stderr]   Downloaded bech32 v0.7.3
[INFO] [stderr]   Downloaded near-sys v0.2.5
[INFO] [stderr]   Downloaded serde-aux v4.7.0
[INFO] [stderr]   Downloaded camino v1.1.12
[INFO] [stderr]   Downloaded ws_stream_wasm v0.7.5
[INFO] [stderr]   Downloaded parity-scale-codec-derive v2.3.1
[INFO] [stderr]   Downloaded near-account-id v1.1.3
[INFO] [stderr]   Downloaded bitvec v0.17.4
[INFO] [stderr]   Downloaded ethers-middleware v1.0.2
[INFO] [stderr]   Downloaded ethers-solc v1.0.2
[INFO] [stderr]   Downloaded tracing-attributes v0.1.29
[INFO] [stderr]   Downloaded ethers-etherscan v1.0.2
[INFO] [stderr]   Downloaded coins-core v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc
[INFO] running `Command { std: "docker" "start" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc", 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" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc" "/opt/rustwide/cargo-home/bin/cargo" "+d8be25549d5418405531341b4be6d8538fc3c42e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling near-sdk-macros v5.17.2
[INFO] [stderr]    Compiling borsh v1.5.7
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]     Checking near-sys v0.2.5
[INFO] [stderr]    Compiling syn v2.0.103
[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 thiserror-impl v1.0.69
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking near-token v0.3.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking near-gas v0.3.2
[INFO] [stderr]     Checking near-account-id v1.1.3
[INFO] [stderr]     Checking 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]        
[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" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc", kill_on_drop: false }`
[INFO] [stdout] 68066515cde7808c8747ed4a07c017a069fb70e947cb7b302ffde882297f98dc
