[INFO] cloning repository https://github.com/AshrafGit256/Stella-smart-contracts
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AshrafGit256/Stella-smart-contracts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshrafGit256%2FStella-smart-contracts", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshrafGit256%2FStella-smart-contracts'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8cd8a1dd0d3190ddf8e45c54a57a00ebbe6385c
[INFO] checking AshrafGit256/Stella-smart-contracts against master#f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b for pr-148329
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshrafGit256%2FStella-smart-contracts" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AshrafGit256/Stella-smart-contracts
[INFO] finished tweaking git repo https://github.com/AshrafGit256/Stella-smart-contracts
[INFO] tweaked toml for git repo https://github.com/AshrafGit256/Stella-smart-contracts written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AshrafGit256/Stella-smart-contracts on toolchain f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AshrafGit256/Stella-smart-contracts 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" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded soroban-ledger-snapshot v21.7.7
[INFO] [stderr]   Downloaded soroban-spec-rust v21.7.7
[INFO] [stderr]   Downloaded soroban-sdk-macros v21.7.7
[INFO] [stderr]   Downloaded soroban-env-macros v21.2.1
[INFO] [stderr]   Downloaded soroban-spec v21.7.7
[INFO] [stderr]   Downloaded stellar-strkey v0.0.8
[INFO] [stderr]   Downloaded soroban-env-guest v21.2.1
[INFO] [stderr]   Downloaded soroban-builtin-sdk-macros v21.2.1
[INFO] [stderr]   Downloaded soroban-env-common v21.2.1
[INFO] [stderr]   Downloaded stellar-xdr v21.2.0
[INFO] [stderr]   Downloaded soroban-sdk v21.7.7
[INFO] [stderr]   Downloaded soroban-env-host v21.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 368603cc09d9175e56b800f1026d2286ceb2233458be55e9245cefe984fc29a4
[INFO] running `Command { std: "docker" "start" "-a" "368603cc09d9175e56b800f1026d2286ceb2233458be55e9245cefe984fc29a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "368603cc09d9175e56b800f1026d2286ceb2233458be55e9245cefe984fc29a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "368603cc09d9175e56b800f1026d2286ceb2233458be55e9245cefe984fc29a4", kill_on_drop: false }`
[INFO] [stdout] 368603cc09d9175e56b800f1026d2286ceb2233458be55e9245cefe984fc29a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f5711a55f5d5e2f942057d0f6d648dd2d8b2c37b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c354934b325f0fb43ca91ef45e93742f10de6221caefde720482136cce175b87
[INFO] running `Command { std: "docker" "start" "-a" "c354934b325f0fb43ca91ef45e93742f10de6221caefde720482136cce175b87", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling base32 v0.4.0
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling prettyplease v0.2.36
[INFO] [stderr]    Compiling soroban-env-host v21.2.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling soroban-sdk v21.7.7
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking sha3 v0.10.8
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]     Checking wasmparser v0.116.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking ff v0.13.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ed25519 v2.2.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking group v0.13.0
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking primeorder v0.13.6
[INFO] [stderr]     Checking p256 v0.13.2
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling soroban-builtin-sdk-macros v21.2.1
[INFO] [stderr]    Compiling bytes-lit v0.0.5
[INFO] [stderr]     Checking curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde_with_macros v3.14.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking serde_with v3.14.0
[INFO] [stderr]    Compiling crate-git-revision v0.0.6
[INFO] [stderr]    Compiling stellar-strkey v0.0.8
[INFO] [stderr]    Compiling stellar-xdr v21.2.0
[INFO] [stderr]    Compiling soroban-env-common v21.2.1
[INFO] [stderr]    Compiling soroban-sdk-macros v21.7.7
[INFO] [stderr]    Compiling soroban-spec v21.7.7
[INFO] [stderr]    Compiling soroban-spec-rust v21.7.7
[INFO] [stderr]    Compiling soroban-env-macros v21.2.1
[INFO] [stderr]     Checking soroban-ledger-snapshot v21.7.7
[INFO] [stderr]     Checking soro_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let res= funcs::div(10, 2).expect("Division by zero error");
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let result = funcs::div(23 , 0).unwrap();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Direction` is never used
[INFO] [stdout]  --> src/main.rs:5:6
[INFO] [stdout]   |
[INFO] [stdout] 5 | enum Direction {
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MyContract` is never constructed
[INFO] [stdout]   --> src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct MyContract {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calc_length` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn calc_length(s:&String) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add` in module `funcs`
[INFO] [stdout]  --> src/tests.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let result: i32 = funcs::add(2, 3);
[INFO] [stdout]   |                              ^^^ not found in `funcs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/main.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let res= funcs::div(10, 2).expect("Division by zero error");
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let result = funcs::div(23 , 0).unwrap();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `soro_rust` (bin "soro_rust" test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c354934b325f0fb43ca91ef45e93742f10de6221caefde720482136cce175b87", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c354934b325f0fb43ca91ef45e93742f10de6221caefde720482136cce175b87", kill_on_drop: false }`
[INFO] [stdout] c354934b325f0fb43ca91ef45e93742f10de6221caefde720482136cce175b87
