[INFO] cloning repository https://github.com/andraman07/scholarship-contrat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andraman07/scholarship-contrat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandraman07%2Fscholarship-contrat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandraman07%2Fscholarship-contrat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77aaa5c9e54e48b2662f1e41caf94769a98b9d78 [INFO] checking andraman07/scholarship-contrat against master#c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 for pr-142712 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandraman07%2Fscholarship-contrat" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/andraman07/scholarship-contrat [INFO] finished tweaking git repo https://github.com/andraman07/scholarship-contrat [INFO] tweaked toml for git repo https://github.com/andraman07/scholarship-contrat written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/andraman07/scholarship-contrat on toolchain c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/andraman07/scholarship-contrat 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" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1ecb7ab69f77500a7dba973e2fa7d186b4e260a66a35476f2585473f1e53971 [INFO] running `Command { std: "docker" "start" "-a" "c1ecb7ab69f77500a7dba973e2fa7d186b4e260a66a35476f2585473f1e53971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ecb7ab69f77500a7dba973e2fa7d186b4e260a66a35476f2585473f1e53971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ecb7ab69f77500a7dba973e2fa7d186b4e260a66a35476f2585473f1e53971", kill_on_drop: false }` [INFO] [stdout] c1ecb7ab69f77500a7dba973e2fa7d186b4e260a66a35476f2585473f1e53971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c720f49c46ec3e70bbc2bbb3e0dd1fe7fc0a47f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f8d4336d926c4ceb228a4105d531652aaeefb9d206e28add3b7f0d563da2487 [INFO] running `Command { std: "docker" "start" "-a" "4f8d4336d926c4ceb228a4105d531652aaeefb9d206e28add3b7f0d563da2487", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.55 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling escape-bytes v0.1.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking indexmap-nostd v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking wasmparser-nostd v0.100.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking wasmi_arena v0.4.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling soroban-env-host v20.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Compiling wasmparser v0.88.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking hex-literal v0.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wasmi_core v0.13.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Checking k256 v0.13.1 [INFO] [stderr] Checking soroban-wasmi v0.31.1-soroban.20.0.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.55 [INFO] [stderr] Compiling num-derive v0.4.1 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling soroban-builtin-sdk-macros v20.3.0 [INFO] [stderr] Compiling bytes-lit v0.0.5 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Checking ed25519-dalek v2.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Compiling crate-git-revision v0.0.6 [INFO] [stderr] Compiling stellar-strkey v0.0.8 [INFO] [stderr] Compiling stellar-xdr v20.1.0 [INFO] [stderr] Compiling soroban-env-common v20.3.0 [INFO] [stderr] Compiling soroban-sdk-macros v20.5.0 [INFO] [stderr] Compiling soroban-spec v20.5.0 [INFO] [stderr] Compiling soroban-spec-rust v20.5.0 [INFO] [stderr] Compiling soroban-env-macros v20.3.0 [INFO] [stderr] Checking soroban-ledger-snapshot v20.5.0 [INFO] [stderr] Checking soroban-sdk v20.5.0 [INFO] [stderr] Checking scholarship-contrat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 29 - ... [INFO] [stdout] 29 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:59:65 [INFO] [stdout] | [INFO] [stdout] 59 | fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 59 - fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { ... } [INFO] [stdout] 59 + fn get_all_scholarships(e: &Env) -> Vec<(Bytes, Scholarship)> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 61 - fn get_next_scholarship_id(e: &Env) -> Bytes { ... } [INFO] [stdout] 61 + fn get_next_scholarship_id(e: &Env) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:63:76 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 63 - fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { ... } [INFO] [stdout] 63 + fn get_application_key(scholarship_id: Bytes, student: Address) -> Bytes { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:65:100 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:65:100 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { .. } [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ..= } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:65:100 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:65:100 [INFO] [stdout] | [INFO] [stdout] 65 | fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] help: use `..` instead [INFO] [stdout] | [INFO] [stdout] 65 - fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { ... } [INFO] [stdout] 65 + fn get_applications_for_scholarship(e: &Env, scholarship_id: Bytes) -> Vec<(Bytes, Application)> { .. } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `..=` [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `..=` [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | ... [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesN`, `IntoVal`, and `Symbol` [INFO] [stdout] --> src/lib.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Bytes, BytesN, Env, Symbol, Address, IntoVal}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesN`, `IntoVal`, and `Symbol` [INFO] [stdout] --> src/lib.rs:1:40 [INFO] [stdout] | [INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Bytes, BytesN, Env, Symbol, Address, IntoVal}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:67:73 [INFO] [stdout] | [INFO] [stdout] 67 | fn is_eligible(application: &Application, scholarship: &Scholarship) -> bool { [INFO] [stdout] | ----------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:67:73 [INFO] [stdout] | [INFO] [stdout] 67 | fn is_eligible(application: &Application, scholarship: &Scholarship) -> bool { [INFO] [stdout] | ----------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/lib.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> src/lib.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/lib.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/lib.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | fn invoke_token_contract(e: &Env, to: &Address, amount: i32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0586. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0586. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scholarship-contrat` (lib test) due to 12 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `scholarship-contrat` (lib) due to 12 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f8d4336d926c4ceb228a4105d531652aaeefb9d206e28add3b7f0d563da2487", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8d4336d926c4ceb228a4105d531652aaeefb9d206e28add3b7f0d563da2487", kill_on_drop: false }` [INFO] [stdout] 4f8d4336d926c4ceb228a4105d531652aaeefb9d206e28add3b7f0d563da2487