[INFO] cloning repository https://github.com/leonemunyao/smart-agri-near-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leonemunyao/smart-agri-near-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonemunyao%2Fsmart-agri-near-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonemunyao%2Fsmart-agri-near-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 455f36631ed64c1b38118aa613041a1a9e64853c [INFO] checking leonemunyao/smart-agri-near-contract/455f36631ed64c1b38118aa613041a1a9e64853c against master#d9563937fa3b030c5845811113505070109414d2 for pr-151830 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleonemunyao%2Fsmart-agri-near-contract" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leonemunyao/smart-agri-near-contract [INFO] finished tweaking git repo https://github.com/leonemunyao/smart-agri-near-contract [INFO] tweaked toml for git repo https://github.com/leonemunyao/smart-agri-near-contract written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leonemunyao/smart-agri-near-contract on toolchain d9563937fa3b030c5845811113505070109414d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "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" "+d9563937fa3b030c5845811113505070109414d2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 245 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-stdx v0.34.7 [INFO] [stderr] Downloaded json_comments v0.2.2 [INFO] [stderr] Downloaded near-sys v0.2.7 [INFO] [stderr] Downloaded near-token v0.3.3 [INFO] [stderr] Downloaded near-abi v0.4.4 [INFO] [stderr] Downloaded near-schema-checker-core v0.34.7 [INFO] [stderr] Downloaded bytesize v1.3.3 [INFO] [stderr] Downloaded near-schema-checker-lib v0.34.7 [INFO] [stderr] Downloaded near-config-utils v0.34.7 [INFO] [stderr] Downloaded smart-default v0.7.1 [INFO] [stderr] Downloaded near-time v0.34.7 [INFO] [stderr] Downloaded zeropool-bn v0.5.11 [INFO] [stderr] Downloaded borsh-derive v1.6.0 [INFO] [stderr] Downloaded near-fmt v0.34.7 [INFO] [stderr] Downloaded near-crypto v0.34.7 [INFO] [stderr] Downloaded near-sdk-macros v5.24.1 [INFO] [stderr] Downloaded r-efi v6.0.0 [INFO] [stderr] Downloaded near-parameters v0.34.7 [INFO] [stderr] Downloaded schemars v1.2.1 [INFO] [stderr] Downloaded near-primitives-core v0.34.7 [INFO] [stderr] Downloaded serde_with v3.17.0 [INFO] [stderr] Downloaded serde_with_macros v3.17.0 [INFO] [stderr] Downloaded convert_case v0.10.0 [INFO] [stderr] Downloaded near-primitives v0.34.7 [INFO] [stderr] Downloaded near-account-id v2.5.0 [INFO] [stderr] Downloaded near-sdk v5.24.1 [INFO] [stderr] Downloaded near-gas v0.3.4 [INFO] [stderr] Downloaded blst v0.3.16 [INFO] [stderr] Downloaded near-schema-checker-macro v0.34.7 [INFO] [stderr] Downloaded secp256k1-sys v0.8.2 [INFO] [stderr] Downloaded near-vm-runner v0.34.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f325f967442996c17a5f3ad1a07f6c0691adbef51bb2c484673ad815f3c54cf4 [INFO] running `Command { std: "docker" "start" "-a" "f325f967442996c17a5f3ad1a07f6c0691adbef51bb2c484673ad815f3c54cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f325f967442996c17a5f3ad1a07f6c0691adbef51bb2c484673ad815f3c54cf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f325f967442996c17a5f3ad1a07f6c0691adbef51bb2c484673ad815f3c54cf4", kill_on_drop: false }` [INFO] [stdout] f325f967442996c17a5f3ad1a07f6c0691adbef51bb2c484673ad815f3c54cf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d9563937fa3b030c5845811113505070109414d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42cf6e1bc7b7b987f8f17105296b088365742507f3d71b7ff4ee011e3e814c93 [INFO] running `Command { std: "docker" "start" "-a" "42cf6e1bc7b7b987f8f17105296b088365742507f3d71b7ff4ee011e3e814c93", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling borsh v1.6.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling near-schema-checker-macro v0.34.7 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking near-schema-checker-core v0.34.7 [INFO] [stderr] Checking near-schema-checker-lib v0.34.7 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling secp256k1-sys v0.8.2 [INFO] [stderr] Checking json_comments v0.2.2 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Compiling blst v0.3.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking keccak v0.1.6 [INFO] [stderr] Checking num-conv v0.2.0 [INFO] [stderr] Checking near-stdx v0.34.7 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling borsh-derive v1.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling serde_with_macros v3.17.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking near-config-utils v0.34.7 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking bytesize v1.3.3 [INFO] [stderr] Compiling near-sdk-macros v5.24.1 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Checking rustc-hex v2.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking zeropool-bn v0.5.11 [INFO] [stderr] Checking near-time v0.34.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking near-account-id v2.5.0 [INFO] [stderr] Checking near-token v0.3.3 [INFO] [stderr] Checking near-gas v0.3.4 [INFO] [stderr] Checking serde_with v3.17.0 [INFO] [stderr] Checking near-crypto v0.34.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Checking near-abi v0.4.4 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking near-sys v0.2.7 [INFO] [stderr] Checking near-primitives-core v0.34.7 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking near-parameters v0.34.7 [INFO] [stderr] Checking near-fmt v0.34.7 [INFO] [stderr] Checking near-vm-runner v0.34.7 [INFO] [stderr] Checking near-primitives v0.34.7 [INFO] [stderr] Checking near-sdk v5.24.1 [INFO] [stderr] Checking smart-agri-near-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `livestock_tests` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod livestock_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `livestock_tests`, create file "src/tests/livestock_tests.rs" or "src/tests/livestock_tests/mod.rs" [INFO] [stdout] = note: if there is a `mod livestock_tests` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smart-agri-near-contract` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "42cf6e1bc7b7b987f8f17105296b088365742507f3d71b7ff4ee011e3e814c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cf6e1bc7b7b987f8f17105296b088365742507f3d71b7ff4ee011e3e814c93", kill_on_drop: false }` [INFO] [stdout] 42cf6e1bc7b7b987f8f17105296b088365742507f3d71b7ff4ee011e3e814c93