[INFO] cloning repository https://github.com/holochain/integrity-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/holochain/integrity-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholochain%2Fintegrity-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholochain%2Fintegrity-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe127d19d36ed9eaf7985abba0ec3d12bdef7d17 [INFO] testing holochain/integrity-template against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fholochain%2Fintegrity-template" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/holochain/integrity-template on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/holochain/integrity-template [INFO] finished tweaking git repo https://github.com/holochain/integrity-template [INFO] tweaked toml for git repo https://github.com/holochain/integrity-template written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/holochain/integrity-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kitsune_p2p_dht_arc v0.0.10 [INFO] [stderr] Downloaded hdk_derive v0.0.27 [INFO] [stderr] Downloaded holo_hash v0.0.21 [INFO] [stderr] Downloaded holochain_zome_types v0.0.27 [INFO] [stderr] Downloaded hdk v0.0.125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2fef01f86999bc4a06863509efb3daf4a1933ccda0d64f465fd3d8bfaa7cb66 [INFO] running `Command { std: "docker" "start" "-a" "e2fef01f86999bc4a06863509efb3daf4a1933ccda0d64f465fd3d8bfaa7cb66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2fef01f86999bc4a06863509efb3daf4a1933ccda0d64f465fd3d8bfaa7cb66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fef01f86999bc4a06863509efb3daf4a1933ccda0d64f465fd3d8bfaa7cb66", kill_on_drop: false }` [INFO] [stdout] e2fef01f86999bc4a06863509efb3daf4a1933ccda0d64f465fd3d8bfaa7cb66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c2be4ce12f2d5be4cddfd2e90fea8427f8c93cb475fd8e75b1ce3f355152e43 [INFO] running `Command { std: "docker" "start" "-a" "8c2be4ce12f2d5be4cddfd2e90fea8427f8c93cb475fd8e75b1ce3f355152e43", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling trilean v1.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling gcollections v1.5.0 [INFO] [stderr] Compiling intervallum v1.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling holochain_serialized_bytes_derive v0.0.51 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling serde-transcode v1.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling kitsune_p2p_dht_arc v0.0.10 [INFO] [stderr] Compiling kitsune_p2p_timestamp v0.0.7 [INFO] [stderr] Compiling holochain_serialized_bytes v0.0.51 [INFO] [stderr] Compiling holo_hash v0.0.21 [INFO] [stderr] Compiling holochain_wasmer_common v0.0.77 [INFO] [stderr] Compiling holochain_zome_types v0.0.27 [INFO] [stderr] Compiling holochain_wasmer_guest v0.0.77 [INFO] [stderr] Compiling hdk_derive v0.0.27 [INFO] [stderr] Compiling hdk v0.0.125 [INFO] [stderr] Compiling mydna1_zome1 v0.0.1-alpha1 (/opt/rustwide/workdir/dna/zomes/mydna1_zome1) [INFO] [stderr] Compiling mydna1_core v0.0.1-alpha1 (/opt/rustwide/workdir/dna/zomes/mydna1_core) [INFO] [stdout] error: expected type, found `"my_entry1"` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:198:47 [INFO] [stdout] | [INFO] [stdout] 198 | entry_def_index!(String::from("my_entry1")) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^ expected type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hdk-0.0.125/src/entry.rs:697:7 [INFO] [stdout] | [INFO] [stdout] 697 | ( $t:ty ) => { [INFO] [stdout] | ----- while parsing argument for this `ty` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `entry_types` in this scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | entry_types!([MyThing1, MyThing2]); [INFO] [stdout] | ^^^^^^^^^^^ help: a macro with a similar name exists: `entry_type` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hdk-0.0.125/src/entry.rs:728:1 [INFO] [stdout] | [INFO] [stdout] 728 | macro_rules! entry_type { [INFO] [stdout] | ----------------------- similarly named macro `entry_type` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `link_types` in this scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | link_types!([Fish, Dog, Cow]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntryTypes` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:130:21 [INFO] [stdout] | [INFO] [stdout] 130 | EntryTypes::MyThing1 => todo!(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntryTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntryTypes` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | EntryTypes::MyThing2 => todo!(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `EntryTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `link_type` in this scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | match link_type { [INFO] [stdout] | ^^^^^^^^^ help: a tuple struct with a similar name exists: `LinkType` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/holochain_zome_types-0.0.27/src/link.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct LinkType(pub u8); [INFO] [stdout] | ---------------------------- similarly named tuple struct `LinkType` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | LinkTypes::Fish => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | LinkTypes::Dog => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | LinkTypes::Cow => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | LinkTypes::Fish => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | LinkTypes::Dog => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | LinkTypes::Cow => _, [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: in expressions, `_` can only be used on the left-hand side of an assignment [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:185:44 [INFO] [stdout] | [INFO] [stdout] 185 | ... "my_entry1" => _ [INFO] [stdout] | ^ `_` not allowed here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: variant `StoreEntry` does not have a field named `entry_type` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | Op::StoreEntry { header, entry_type, .. } => { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant `StoreEntry` does not have this field [INFO] [stdout] | help: `StoreEntry` has a field named `entry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0026]: variant `RegisterDeleteLink` does not have a field named `link_type` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:113:66 [INFO] [stdout] | [INFO] [stdout] 113 | Op::RegisterDeleteLink { delete_link: _, create_link: _, link_type: _ } => { [INFO] [stdout] | ^^^^^^^^^ variant `RegisterDeleteLink` does not have this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `RegisterAgent` found for enum `hdk::prelude::Op` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | Op::RegisterAgent { header, agent_pub_key } => { [INFO] [stdout] | ^^^^^^^^^^^^^ variant not found in `hdk::prelude::Op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `LinkTypes: From<(hdk::prelude::CreateLink, HoloHash)>` is not satisfied [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | match link_type.into() { [INFO] [stdout] | ^^^^ the trait `From<(hdk::prelude::CreateLink, HoloHash)>` is not implemented for `LinkTypes` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `(hdk::prelude::CreateLink, HoloHash)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 88 | / match op { [INFO] [stdout] 89 | | // Validation for entries [INFO] [stdout] 90 | | Op::StoreEntry { header, entry_type, .. } => { [INFO] [stdout] 91 | | match entry_type { [INFO] [stdout] ... | [INFO] [stdout] 111 | | Ok(ValidateCallbackResult::Valid)} [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 163 | | Op::RegisterAgentActivity { .. } => Ok(ValidateCallbackResult::Valid), [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 111 | return Ok(ValidateCallbackResult::Valid);} [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 88 | / match op { [INFO] [stdout] 89 | | // Validation for entries [INFO] [stdout] 90 | | Op::StoreEntry { header, entry_type, .. } => { [INFO] [stdout] 91 | | match entry_type { [INFO] [stdout] ... | [INFO] [stdout] 119 | | Ok(ValidateCallbackResult::Valid) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 163 | | Op::RegisterAgentActivity { .. } => Ok(ValidateCallbackResult::Valid), [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 119 | return Ok(ValidateCallbackResult::Valid); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `AgentKey` found for enum `hdk::prelude::Header` in the current scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | Header::AgentKey(_) => todo!(), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `hdk::prelude::Header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CapGrant` found for enum `hdk::prelude::Header` in the current scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | Header::CapGrant() => todo!(), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `hdk::prelude::Header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CapClaim` found for enum `hdk::prelude::Header` in the current scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | Header::CapClaim() => todo!(), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `hdk::prelude::Header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `app_entry_type` on type `&hdk::prelude::Create` [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:129:56 [INFO] [stdout] | [INFO] [stdout] 129 | Header::Create(create) => match create.app_entry_type { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a field with a similar name exists: `entry_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 124 | / match element.header() { [INFO] [stdout] 125 | | // Validate agent joining the network [INFO] [stdout] 126 | | Header::AgentKey(_) => todo!(), [INFO] [stdout] 127 | | [INFO] [stdout] ... | [INFO] [stdout] 151 | | Header::Dna(_)=>todo!(), [INFO] [stdout] 152 | | }; [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 153 | Ok(ValidateCallbackResult::Valid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 88 | / match op { [INFO] [stdout] 89 | | // Validation for entries [INFO] [stdout] 90 | | Op::StoreEntry { header, entry_type, .. } => { [INFO] [stdout] 91 | | match entry_type { [INFO] [stdout] ... | [INFO] [stdout] 153 | | Ok(ValidateCallbackResult::Valid) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 163 | | Op::RegisterAgentActivity { .. } => Ok(ValidateCallbackResult::Valid), [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 153 | return Ok(ValidateCallbackResult::Valid); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 88 | / match op { [INFO] [stdout] 89 | | // Validation for entries [INFO] [stdout] 90 | | Op::StoreEntry { header, entry_type, .. } => { [INFO] [stdout] 91 | | match entry_type { [INFO] [stdout] ... | [INFO] [stdout] 160 | | Ok(ValidateCallbackResult::Valid) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 163 | | Op::RegisterAgentActivity { .. } => Ok(ValidateCallbackResult::Valid), [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: you might have meant to return this value [INFO] [stdout] | [INFO] [stdout] 160 | return Ok(ValidateCallbackResult::Valid); [INFO] [stdout] | ++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `EntryDefs` in the current scope [INFO] [stdout] --> dna/zomes/mydna1_core/src/lib.rs:184:47 [INFO] [stdout] | [INFO] [stdout] 184 | match info.entry_defs.get(app_entry_type.id.index()).map(|entry_def| entry_def.id.to_string()) { [INFO] [stdout] | ^^^ method not found in `EntryDefs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0026, E0277, E0308, E0425, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0026`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mydna1_core` due to 27 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "8c2be4ce12f2d5be4cddfd2e90fea8427f8c93cb475fd8e75b1ce3f355152e43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2be4ce12f2d5be4cddfd2e90fea8427f8c93cb475fd8e75b1ce3f355152e43", kill_on_drop: false }` [INFO] [stdout] 8c2be4ce12f2d5be4cddfd2e90fea8427f8c93cb475fd8e75b1ce3f355152e43