[INFO] cloning repository https://github.com/Holo-Host/hosting-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Holo-Host/hosting-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHolo-Host%2Fhosting-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHolo-Host%2Fhosting-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e4ae12fd3ecc04d4d68001177bf9cc5c0f552911 [INFO] building Holo-Host/hosting-app against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHolo-Host%2Fhosting-app" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Holo-Host/hosting-app [INFO] finished tweaking git repo https://github.com/Holo-Host/hosting-app [INFO] tweaked toml for git repo https://github.com/Holo-Host/hosting-app written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Holo-Host/hosting-app on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Holo-Host/hosting-app 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f216a732ce2d3682f96672a4b78ec404af08f1d3935d197604ec19826b16905 [INFO] running `Command { std: "docker" "start" "-a" "8f216a732ce2d3682f96672a4b78ec404af08f1d3935d197604ec19826b16905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f216a732ce2d3682f96672a4b78ec404af08f1d3935d197604ec19826b16905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f216a732ce2d3682f96672a4b78ec404af08f1d3935d197604ec19826b16905", kill_on_drop: false }` [INFO] [stdout] 8f216a732ce2d3682f96672a4b78ec404af08f1d3935d197604ec19826b16905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 057aac6ca92b9ac9d3b7e45aa18e0dd37aecaae6cb460be43201641cc17fcf31 [INFO] running `Command { std: "docker" "start" "-a" "057aac6ca92b9ac9d3b7e45aa18e0dd37aecaae6cb460be43201641cc17fcf31", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-bigint v0.2.1 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling crunchy v0.1.6 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling arrayref v0.3.5 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling futures-core-preview v0.2.3 [INFO] [stderr] Compiling sha1 v0.5.0 [INFO] [stderr] Compiling tiny-keccak v1.4.2 [INFO] [stderr] Compiling futures-channel-preview v0.2.2 [INFO] [stderr] Compiling futures-io-preview v0.2.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling futures-sink-preview v0.2.2 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling futures-util-preview v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling futures-executor-preview v0.2.2 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling futures-stable-preview v0.2.3 [INFO] [stderr] Compiling futures-async-runtime-preview v0.2.3 [INFO] [stderr] Compiling multihash v0.8.0 [INFO] [stderr] Compiling futures-preview v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust-base58 v0.0.4 [INFO] [stderr] Compiling serde_json v1.0.32 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling holochain_core_types_derive v0.0.1 (https://github.com/holochain/holochain-rust?branch=develop#1c4b5958) [INFO] [stderr] Compiling holochain_core_types v0.0.1 (https://github.com/holochain/holochain-rust?branch=develop#1c4b5958) [INFO] [stderr] Compiling holochain_dna v0.0.1 (https://github.com/holochain/holochain-rust?branch=develop#1c4b5958) [INFO] [stderr] Compiling holochain_wasm_utils v0.0.1 (https://github.com/holochain/holochain-rust?branch=develop#1c4b5958) [INFO] [stderr] Compiling hdk v0.0.1 (https://github.com/holochain/holochain-rust?branch=develop#1c4b5958) [INFO] [stderr] Compiling providers v0.1.0 (/opt/rustwide/workdir/zomes/providers/code) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Serialize, Deserialize, Debug, DefaultJson)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Serialize, Deserialize, Debug, DefaultJson)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/entries/provider.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/entries/provider.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/lib.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> zomes/providers/code/src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / define_zome! { [INFO] [stdout] 34 | | entries: [ [INFO] [stdout] 35 | | entries::app_config::definition(), [INFO] [stdout] 36 | | entries::provider::definition() [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `define_zome` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> zomes/providers/code/src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entry::Entry`, `error::HolochainError`, `hash::HashString`, `holochain_dna::zome::entry_types::Sharing`, and `validation::EntryAction` [INFO] [stdout] --> zomes/providers/code/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | entry::Entry, error::HolochainError, hash::HashString, json::JsonString, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | validation::EntryAction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | }, [INFO] [stdout] 17 | holochain_dna::zome::entry_types::Sharing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::util` [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::util; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ZomeApiError` and `validation::EntryAction` [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | error::{ZomeApiError, ZomeApiResult}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | validation::EntryAction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `validation::EntryAction` [INFO] [stdout] --> zomes/providers/code/src/entries/provider.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | holochain_core_types::{hash::HashString, validation::EntryAction}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ZomeApiError`, `ZomeApiResult`, `entry::Entry`, `error::HolochainError`, `hash::HashString`, and `validation::EntryAction` [INFO] [stdout] --> zomes/providers/code/src/util.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{ZomeApiError, ZomeApiResult}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 4 | holochain_core_types::{ [INFO] [stdout] 5 | entry::Entry, error::HolochainError, hash::HashString, json::JsonString, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | validation::EntryAction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Hash as Multihash` [INFO] [stdout] --> zomes/providers/code/src/util.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use multihash::Hash as Multihash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> zomes/providers/code/src/util.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> zomes/providers/code/src/util.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> zomes/providers/code/src/util.rs:17:57 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn make_handler(func: FuncDef) -> (impl Fn(P) -> JsonString) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - pub fn make_handler(func: FuncDef) -> (impl Fn(P) -> JsonString) [INFO] [stdout] 17 + pub fn make_handler(func: FuncDef) -> impl Fn(P) -> JsonString [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> zomes/providers/code/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/lib.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Provider` [INFO] [stdout] 24 | pub struct Provider { [INFO] [stdout] | -------- `Provider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/lib.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Provider` [INFO] [stdout] 24 | pub struct Provider { [INFO] [stdout] | -------- `Provider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / define_zome! { [INFO] [stdout] 34 | | entries: [ [INFO] [stdout] 35 | | entries::app_config::definition(), [INFO] [stdout] 36 | | entries::provider::definition() [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | `InputStruct` is not local [INFO] [stdout] | |_`Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_InputStruct` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `define_zome` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Serialize, Deserialize, Debug, DefaultJson)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_AppConfig` [INFO] [stdout] 41 | pub struct AppConfig { [INFO] [stdout] | --------- `AppConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/entries/app_config.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Serialize, Deserialize, Debug, DefaultJson)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_AppConfig` [INFO] [stdout] 41 | pub struct AppConfig { [INFO] [stdout] | --------- `AppConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/entries/provider.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Provider` [INFO] [stdout] 26 | pub struct Provider { [INFO] [stdout] | -------- `Provider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> zomes/providers/code/src/entries/provider.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Provider` [INFO] [stdout] 26 | pub struct Provider { [INFO] [stdout] | -------- `Provider` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__list_capabilities" "--export" "genesis" "--export" "register_app" "--export" "zome_setup" "--export" "__hdk_get_json_definition" "--export" "__hdk_get_validation_package_for_entry_type" "--export" "__hdk_validate_app_entry" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libhdk-6a1d24a3264a5493,libholochain_wasm_utils-1f248ee88facb234,libholochain_dna-ed648d67928a1784,libuuid-24894c8c4a989401,librand-090ea3fa272982a9,libcfg_if-286ee36227aee6f8,libbase64-457f90e267cf457d,libsafemem-71838b90ccd2bd3c,libbyteorder-8e6d64fe5d28add7,libholochain_core_types-54d8c22b077df831,libsnowflake-d9a6b514fff32c50,librust_base58-6618f185c49fc882,libnum-0fa5367c4bc5c1b0,libnum_rational-a03c846c6fcf1dc8,libnum_iter-0b6df641c4b40525,libnum_complex-e7c1b489ce3d0a80,libnum_bigint-be004d0843cbd151,libnum_integer-241a24f062b2ee1e,libnum_traits-28310493881a0a14,libmultihash-bd44a94a3d8f2923,libtiny_keccak-b129f86f16d7edbb,libcrunchy-56a86de9bb5807dc,libsha2-0fd990e9fd273a26,libfake_simd-ca4b4de3dd52aa09,libblock_buffer-1a75b47a82fb0760,libarrayref-b202b343d2d9d06e,libdigest-9ab9be6200ff33be,libgeneric_array-14da585805503009,libtypenum-6a02f7a5de6210eb,libbyte_tools-02f7539164e3fb88,libsha1-3f72cd635f9918ca,libfutures-d86cef81e3133fee,libfutures_stable-f73bb9b954ecd213,libfutures_executor-904dda137a20d4a1,libnum_cpus-f2facd715a2dec23,liblibc-aea3a5f7de5d0ba4,libfutures_util-850b95d53420f96c,libfutures_sink-6d33a1b457f5dc15,libfutures_io-55ac7bb3dec734e4,libiovec-2be9593c494cf3f4,libfutures_channel-f01ae2fa0e4c356a,libfutures_core-b9aea1b5ef795b2c,libeither-c3583d2103f857db,libfutures_async_runtime-30f85ba3c5fee154,liblazy_static-dce278faad95440b,libbitflags-f8618f3a190d3366,libserde_json-4891ce65ee808260,libryu-6dd44fec63b676eb,libitoa-c29a8f8b0581b1c0,libindexmap-31771c113eb1785c,libserde-ceb816538d262bdf}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/providers.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/providers.providers.717265315dfe633e-cgu.0.rcgu.o: undefined symbol: hc_link_entries [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libhdk-6a1d24a3264a5493.rlib(hdk-6a1d24a3264a5493.hdk.c6da4796e03b9b2d-cgu.0.rcgu.o): undefined symbol: hc_commit_entry [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `providers` (lib) due to 1 previous error; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "057aac6ca92b9ac9d3b7e45aa18e0dd37aecaae6cb460be43201641cc17fcf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "057aac6ca92b9ac9d3b7e45aa18e0dd37aecaae6cb460be43201641cc17fcf31", kill_on_drop: false }` [INFO] [stdout] 057aac6ca92b9ac9d3b7e45aa18e0dd37aecaae6cb460be43201641cc17fcf31