[INFO] cloning repository https://github.com/Amrendra0/health-data
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amrendra0/health-data" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmrendra0%2Fhealth-data", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmrendra0%2Fhealth-data'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 333351e562fe0f7d04d41ce5e0c5c1c3b295a294
[INFO] checking Amrendra0/health-data against master#035b01b794602d5861daa43ac792f372f8981ed7 for 152214-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmrendra0%2Fhealth-data" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Amrendra0/health-data
[INFO] finished tweaking git repo https://github.com/Amrendra0/health-data
[INFO] tweaked toml for git repo https://github.com/Amrendra0/health-data written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Amrendra0/health-data on toolchain 035b01b794602d5861daa43ac792f372f8981ed7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Amrendra0/health-data 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" "+035b01b794602d5861daa43ac792f372f8981ed7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e9d02630f09cc73c04549aee2196b5a317c65837af2510e48b52f5337c090ec3
[INFO] running `Command { std: "docker" "start" "-a" "e9d02630f09cc73c04549aee2196b5a317c65837af2510e48b52f5337c090ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e9d02630f09cc73c04549aee2196b5a317c65837af2510e48b52f5337c090ec3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d02630f09cc73c04549aee2196b5a317c65837af2510e48b52f5337c090ec3", kill_on_drop: false }`
[INFO] [stdout] e9d02630f09cc73c04549aee2196b5a317c65837af2510e48b52f5337c090ec3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+035b01b794602d5861daa43ac792f372f8981ed7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] acb79113e2a612c8479fb65eb4519e2a6884eb1ce2567a50472a3d36fcf0836c
[INFO] running `Command { std: "docker" "start" "-a" "acb79113e2a612c8479fb65eb4519e2a6884eb1ce2567a50472a3d36fcf0836c", kill_on_drop: false }`
[INFO] [stderr]     Checking stellar-xdr v20.1.0
[INFO] [stderr]    Compiling soroban-env-macros v20.3.0
[INFO] [stderr]    Compiling soroban-spec v20.5.0
[INFO] [stderr]    Compiling soroban-spec-rust v20.5.0
[INFO] [stderr]    Compiling soroban-env-common v20.3.0
[INFO] [stderr]    Compiling soroban-sdk-macros v20.5.0
[INFO] [stderr]     Checking soroban-env-host v20.3.0
[INFO] [stderr]     Checking soroban-ledger-snapshot v20.5.0
[INFO] [stderr]     Checking soroban-sdk v20.5.0
[INFO] [stderr]     Checking healthdata v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `HealthDataContractClient` in this scope
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HealthDataContract;
[INFO] [stdout]    | ------------------------------ similarly named struct `HealthDataContract` defined here
[INFO] [stdout] 19 |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 - #[contractimpl]
[INFO] [stdout] 20 + HealthDataContract
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `testutils`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `contractimpl` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BytesN` 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `testutils`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ctor` in `reexports_for_macros`
[INFO] [stdout]    --> src/lib.rs:20:1
[INFO] [stdout]     |
[INFO] [stdout]  20 | #[contractimpl]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^ could not find `ctor` in `reexports_for_macros`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/soroban-sdk-20.5.0/src/lib.rs:117:15
[INFO] [stdout]     |
[INFO] [stdout] 116 |     #[cfg(any(test, feature = "testutils"))]
[INFO] [stdout]     |              ----------------------------- the item is gated here
[INFO] [stdout] 117 |     pub use ::ctor;
[INFO] [stdout]     |               ^^^^
[INFO] [stdout]     = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HealthDataContractClient` in this scope
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct HealthDataContract;
[INFO] [stdout]    | ------------------------------ similarly named struct `HealthDataContract` defined here
[INFO] [stdout] 19 |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 20 - #[contractimpl]
[INFO] [stdout] 20 + HealthDataContract
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `testutils`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `contractimpl` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `contractimpl` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BytesN` 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `testutils`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `soroban_sdk::contractclient` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = help: the attribute macro `soroban_sdk::contractclient` may come from an old version of the `soroban_sdk_macros` crate, try updating your dependency with `cargo update -p soroban_sdk_macros`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         e.data().set(data_id, data);
[INFO] [stdout]    |           ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         e.data().set(data_id, data);
[INFO] [stdout]    |           ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |         e.data().set(get_consent_key(&owner, &consent), consent);
[INFO] [stdout]    |           ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if e.data().get::<DataConsent>(consent_key).is_ok() {
[INFO] [stdout]    |              ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |             e.data().get::<HealthData>(data_id).unwrap().unwrap() 
[INFO] [stdout]    |               ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 |         e.data().set(get_consent_key(&owner, &consent), consent);
[INFO] [stdout]    |           ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |         if e.data().get::<DataConsent>(consent_key).is_ok() {
[INFO] [stdout]    |              ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `HealthData: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `HealthData`
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct HealthData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-4ec8748fe34bf685.long-type-16834210774459125344.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `data` found for struct `Env` in the current scope
[INFO] [stdout]   --> src/lib.rs:41:15
[INFO] [stdout]    |
[INFO] [stdout] 41 |             e.data().get::<HealthData>(data_id).unwrap().unwrap() 
[INFO] [stdout]    |               ^^^^ method not found in `Env`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `HealthData: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `HealthData`
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct HealthData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-4ec8748fe34bf685.long-type-16834210774459125344.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DataConsent: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `DataConsent`
[INFO] [stdout]   --> src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct DataConsent {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-4ec8748fe34bf685.long-type-16834210774459125344.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `soroban_sdk::Val: TryFromVal<Env, HealthData>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ the trait `TryFromVal<Env, HealthData>` is not implemented for `soroban_sdk::Val`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, &[u8]>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, &str>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, ()>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3, T4)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3, T4, T5)>`
[INFO] [stdout]            and 105 others
[INFO] [stdout]    = note: required for `soroban_sdk::Val` to implement `FromVal<Env, HealthData>`
[INFO] [stdout]    = note: required for `HealthData` to implement `IntoVal<Env, soroban_sdk::Val>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-4ec8748fe34bf685.long-type-16834210774459125344.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:50:50
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn get_next_data_id(e: &Env, owner: &Address) -> Bytes {
[INFO] [stdout]    |    ----------------                              ^^^^^ expected `Bytes`, 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:54:48
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn get_data_owner(e: &Env, data_id: &Bytes) -> Address {
[INFO] [stdout]    |    --------------                              ^^^^^^^ expected `Address`, 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:58:63
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_consent_key(owner: &Address, consent: &DataConsent) -> Bytes {
[INFO] [stdout]    |    ---------------                                            ^^^^^ expected `Bytes`, 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:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn consent_for(researcher: Address, data_id: &Bytes) -> DataConsent {
[INFO] [stdout]    |    -----------                                          ^^^^^^^^^^^ expected `DataConsent`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoVal`
[INFO] [stdout]  --> src/lib.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Bytes, BytesN, Env, Symbol, Address, IntoVal};
[INFO] [stdout]   |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/lib.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/lib.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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: E0277, E0308, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `HealthData: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `HealthData`
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct HealthData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-2eb5ad35dc6b3512.long-type-6940122996383687970.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `healthdata` (lib) due to 13 previous errors; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `HealthData: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `HealthData`
[INFO] [stdout]   --> src/lib.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout]  4 | struct HealthData {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-2eb5ad35dc6b3512.long-type-6940122996383687970.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `DataConsent: TryFromVal<Env, soroban_sdk::Val>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `TryFromVal<Env, soroban_sdk::Val>` is not implemented for `DataConsent`
[INFO] [stdout]   --> src/lib.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct DataConsent {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `()` implements `TryFromVal<E, [soroban_sdk::Val; 0]>`
[INFO] [stdout]              `()` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `()` implements `TryFromVal<Env, ()>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]              `(T0, T1, T2)` implements `TryFromVal<E, soroban_sdk::Val>`
[INFO] [stdout]              `(T0, T1, T2, T3)` implements `TryFromVal<E, [soroban_sdk::Val; N]>`
[INFO] [stdout]            and 311 others
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-2eb5ad35dc6b3512.long-type-6940122996383687970.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `soroban_sdk::Val: TryFromVal<Env, HealthData>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ the trait `TryFromVal<Env, HealthData>` is not implemented for `soroban_sdk::Val`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `TryFromVal<E, V>`:
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, &[u8]>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, &str>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, ()>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3, T4)>`
[INFO] [stdout]              `soroban_sdk::Val` implements `TryFromVal<E, (T0, T1, T2, T3, T4, T5)>`
[INFO] [stdout]            and 105 others
[INFO] [stdout]    = note: required for `soroban_sdk::Val` to implement `FromVal<Env, HealthData>`
[INFO] [stdout]    = note: required for `HealthData` to implement `IntoVal<Env, soroban_sdk::Val>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/healthdata-2eb5ad35dc6b3512.long-type-6940122996383687970.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `__HealthDataContract_fn_set_registry`
[INFO] [stdout]   --> src/lib.rs:20:1
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[contractimpl]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `__HealthDataContract_fn_set_registry`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `__HealthDataContract_fn_set_registry`, use `cargo add __HealthDataContract_fn_set_registry` to add it to your `Cargo.toml`
[INFO] [stdout]    = note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:50:50
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn get_next_data_id(e: &Env, owner: &Address) -> Bytes {
[INFO] [stdout]    |    ----------------                              ^^^^^ expected `Bytes`, 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:54:48
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn get_data_owner(e: &Env, data_id: &Bytes) -> Address {
[INFO] [stdout]    |    --------------                              ^^^^^^^ expected `Address`, 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:58:63
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn get_consent_key(owner: &Address, consent: &DataConsent) -> Bytes {
[INFO] [stdout]    |    ---------------                                            ^^^^^ expected `Bytes`, 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:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn consent_for(researcher: Address, data_id: &Bytes) -> DataConsent {
[INFO] [stdout]    |    -----------                                          ^^^^^^^^^^^ expected `DataConsent`, found `()`
[INFO] [stdout]    |    |
[INFO] [stdout]    |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IntoVal`
[INFO] [stdout]  --> src/lib.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use soroban_sdk::{contractimpl, Bytes, BytesN, Env, Symbol, Address, IntoVal};
[INFO] [stdout]   |                                                                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/lib.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `to`
[INFO] [stdout]   --> src/lib.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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:66:49
[INFO] [stdout]    |
[INFO] [stdout] 66 | 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: E0277, E0308, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `healthdata` (lib test) due to 15 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "acb79113e2a612c8479fb65eb4519e2a6884eb1ce2567a50472a3d36fcf0836c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "acb79113e2a612c8479fb65eb4519e2a6884eb1ce2567a50472a3d36fcf0836c", kill_on_drop: false }`
[INFO] [stdout] acb79113e2a612c8479fb65eb4519e2a6884eb1ce2567a50472a3d36fcf0836c
