[INFO] fetching crate sails-macros 0.9.0... [INFO] testing sails-macros-0.9.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate sails-macros 0.9.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate sails-macros 0.9.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sails-macros 0.9.0 [INFO] tweaked toml for crates.io crate sails-macros 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sails-macros 0.9.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sails-macros 0.9.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sails-macros-core v0.9.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 957671499deb2c7b06ebcd413caef574a6e7f7525ebc181d161eef60aa25874b [INFO] running `Command { std: "docker" "start" "-a" "957671499deb2c7b06ebcd413caef574a6e7f7525ebc181d161eef60aa25874b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "957671499deb2c7b06ebcd413caef574a6e7f7525ebc181d161eef60aa25874b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957671499deb2c7b06ebcd413caef574a6e7f7525ebc181d161eef60aa25874b", kill_on_drop: false }` [INFO] [stdout] 957671499deb2c7b06ebcd413caef574a6e7f7525ebc181d161eef60aa25874b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82d1a6a3d26dd64eabd13fe80cb70ef00692e04b081ec6555b3732cfa895d510 [INFO] running `Command { std: "docker" "start" "-a" "82d1a6a3d26dd64eabd13fe80cb70ef00692e04b081ec6555b3732cfa895d510", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling sails-macros-core v0.9.0 [INFO] [stderr] Compiling sails-macros v0.9.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.63s [INFO] running `Command { std: "docker" "inspect" "82d1a6a3d26dd64eabd13fe80cb70ef00692e04b081ec6555b3732cfa895d510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82d1a6a3d26dd64eabd13fe80cb70ef00692e04b081ec6555b3732cfa895d510", kill_on_drop: false }` [INFO] [stdout] 82d1a6a3d26dd64eabd13fe80cb70ef00692e04b081ec6555b3732cfa895d510 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fac62f37e12060801b95384b80b08156d1b116c380938cf931fcd03b8754d683 [INFO] running `Command { std: "docker" "start" "-a" "fac62f37e12060801b95384b80b08156d1b116c380938cf931fcd03b8754d683", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling winnow v0.7.1 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling sails-macros-core v0.9.0 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling sails-macros v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `program` (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 `sails_rs` [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (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 `sails_rs` [INFO] [stdout] --> tests/gservice_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sails_rs::gstd::services::{ExposureWithEvents, Service}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_basics/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_events/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_lifecycles_and_generics/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_with_trait_bounds/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sails_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sails_rs` [INFO] [stdout] --> tests/gservice_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sails_rs::{Decode, Encode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `gservice_with_extends_and_lifetimes::BaseWithLifetimeExposure` [INFO] [stdout] --> tests/gservice_tests.rs:296:45 [INFO] [stdout] | [INFO] [stdout] 296 | BASE_NAME_RESULT, BaseWithLifetime, BaseWithLifetimeExposure, EXTENDED_NAME_RESULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `BaseWithLifetimeExposure` in `gservice_with_extends_and_lifetimes` [INFO] [stdout] | help: a similar name exists in the module: `BaseWithLifetime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sails_rs` [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sails_rs::{CommandReply, Encode}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `codec` in this scope [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `scale_info` in this scope [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `scale_info` is in scope, but it is a crate, not an attribute [INFO] [stdout] = note: this error originates in the attribute macro `program` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_basics/mod.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sails-macros` (test "gprogram_tests") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_basics/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 - #[export] [INFO] [stdout] 7 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_basics/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 12 - #[export] [INFO] [stdout] 12 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_basics/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `TypeInfo` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use scale_info::TypeInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[service(events = MyEvents)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 14 - #[export] [INFO] [stdout] 14 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | #[export(unwrap_result)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - #[export(unwrap_result)] [INFO] [stdout] 6 + #[expect(unwrap_result)] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[export(route = "Parse", unwrap_result)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - #[export(route = "Parse", unwrap_result)] [INFO] [stdout] 11 + #[expect(route = "Parse", unwrap_result)] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 - #[export] [INFO] [stdout] 17 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_export_unwrap_result/mod.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 - #[export] [INFO] [stdout] 15 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 20 - #[export] [INFO] [stdout] 20 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 4 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[service(extends = base::Base)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 28 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 45 - #[export] [INFO] [stdout] 45 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 28 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 50 - #[export] [INFO] [stdout] 50 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 28 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | #[service(extends = base::Base)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 64 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 19 - #[export] [INFO] [stdout] 19 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 24 - #[export] [INFO] [stdout] 24 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[service(extends = BaseWithLifetime<'a>)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:46:7 [INFO] [stdout] | [INFO] [stdout] 46 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 - #[export] [INFO] [stdout] 46 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_extends_and_lifetimes/mod.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 - #[export] [INFO] [stdout] 51 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_lifecycles_and_generics/mod.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_lifecycles_and_generics/mod.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 25 - #[export] [INFO] [stdout] 25 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `TypeInfo` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use scale_info::TypeInfo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `event` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[event] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[service(events = MyEvents)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 21 - #[export] [INFO] [stdout] 21 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - #[export] [INFO] [stdout] 8 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - #[export] [INFO] [stdout] 13 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Encode)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 - #[export] [INFO] [stdout] 31 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 36 - #[export] [INFO] [stdout] 36 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 44 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 49 - #[export] [INFO] [stdout] 49 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 44 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 54 - #[export] [INFO] [stdout] 54 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 44 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 - #[export] [INFO] [stdout] 8 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 13 - #[export] [INFO] [stdout] 13 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_reply_with_value/mod.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 - #[export] [INFO] [stdout] 18 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_trait_bounds/mod.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::service; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_trait_bounds/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 11 - #[export] [INFO] [stdout] 11 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_macros::export; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_tests.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | .unwrap_or_else(|| sails_rs::gstd::unknown_input_panic("Unknown request", &input)); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] --> tests/gservice_tests.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | .unwrap_or_else(|| sails_rs::gstd::unknown_input_panic("Unknown request", &input)); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `sails_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sails_rs`, use `cargo add sails_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/gservice_with_extends/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [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 import: `super::*` [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `emit_event` found for mutable reference `&mut MyServiceWithEvents` in the current scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | self.emit_event(MyEvents::Event1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut MyServiceWithEvents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `emit_event` found for mutable reference `&mut MyGenericEventsService<'_, T>` in the current scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | self.emit_event(MyEvents::Event1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut MyGenericEventsService<'_, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `DoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 36 | / DoThisParams { [INFO] [stdout] 37 | | p1: 42, [INFO] [stdout] 38 | | p2: "correct".into(), [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `DoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_basics/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub(super) struct DoThisParams { [INFO] [stdout] | ------------------------------ method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let exposure = SomeService.expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `gservice_with_basics::SomeService` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_basics/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct SomeService; [INFO] [stdout] | ----------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 49 | / SomeService [INFO] [stdout] 50 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_basics::SomeService` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_basics/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct SomeService; [INFO] [stdout] | ----------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 52 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 55 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 58 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `Extended` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:78:44 [INFO] [stdout] | [INFO] [stdout] 78 | let extended_svc = Extended::new(Base).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `Extended` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Extended { [INFO] [stdout] | ------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:83:52 [INFO] [stdout] | [INFO] [stdout] 83 | .check_asyncness(&EXTENDED_NAME_METHOD.encode()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | .try_handle(&EXTENDED_NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | EXTENDED_NAME_METHOD.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:93:38 [INFO] [stdout] | [INFO] [stdout] 93 | EXTENDED_NAME_RESULT.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:99:41 [INFO] [stdout] | [INFO] [stdout] 99 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 99 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 102 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 105 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `Extended` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:111:44 [INFO] [stdout] | [INFO] [stdout] 111 | let extended_svc = Extended::new(Base).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `Extended` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Extended { [INFO] [stdout] | ------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | .check_asyncness(&BASE_NAME_METHOD.encode()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | .try_handle(&BASE_NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:123:41 [INFO] [stdout] | [INFO] [stdout] 123 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 123 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 126 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 129 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 129 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `Extended` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:134:44 [INFO] [stdout] | [INFO] [stdout] 134 | let extended_svc = Extended::new(Base).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `Extended` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Extended { [INFO] [stdout] | ------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:136:56 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(!extended_svc.check_asyncness(&NAME_METHOD.encode()).unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | .try_handle(&NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:140:41 [INFO] [stdout] | [INFO] [stdout] 140 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 140 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:143:37 [INFO] [stdout] | [INFO] [stdout] 143 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 143 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:146:34 [INFO] [stdout] | [INFO] [stdout] 146 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 146 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedPure` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:161:48 [INFO] [stdout] | [INFO] [stdout] 161 | let extended_svc = ExtendedPure::new(Base).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedPure` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct ExtendedPure { [INFO] [stdout] | ----------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | .try_handle(&NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:165:41 [INFO] [stdout] | [INFO] [stdout] 165 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 165 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:168:37 [INFO] [stdout] | [INFO] [stdout] 168 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 168 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 171 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_lifecycles_and_generics::SomeService<'a, 'b, T, U>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 187 | / my_service [INFO] [stdout] 188 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `SomeService<'_, '_, String, IntoIter>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_lifecycles_and_generics/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct SomeService<'a, 'b, T, U> { [INFO] [stdout] | ------------------------------------------- method `expose` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/gservice_tests-67cf6be3bacf163c.long-type-16585283601168955001.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | .try_handle(&DO_THIS.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:190:41 [INFO] [stdout] | [INFO] [stdout] 190 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 190 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:193:37 [INFO] [stdout] | [INFO] [stdout] 193 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 193 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | let result = u32::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 196 | let result = u32::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 210 | / SomeService [INFO] [stdout] 211 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_basics::SomeService` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_basics/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct SomeService; [INFO] [stdout] | ----------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for array `[{integer}; 280]` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 224 | let input = [ [INFO] [stdout] | _________________- [INFO] [stdout] 225 | | 44, 77, 101, 109, 101, 70, 97, 99, 116, 111, 114, 121, 84, 67, 114, 101, 97, 116, 101, 70, [INFO] [stdout] 226 | | 117, 110, 103, 105, 98, 108, 101, 80, 114, 111, 103, 114, 97, 109, 32, 77, 101, 109, 101, [INFO] [stdout] 227 | | 78, 97, 109, 101, 16, 77, 69, 77, 69, 2, 44, 68, 101, 115, 99, 114, 105, 112, 116, 105, [INFO] [stdout] ... | [INFO] [stdout] 239 | | .encode() [INFO] [stdout] | |_____-^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | fn encode(&self) -> Vec { [INFO] [stdout] | ------ the method is available for `[{integer}; 280]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:243:10 [INFO] [stdout] | [INFO] [stdout] 242 | / SomeService [INFO] [stdout] 243 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_basics::SomeService` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_basics/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct SomeService; [INFO] [stdout] | ----------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithEvents` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:254:47 [INFO] [stdout] | [INFO] [stdout] 254 | let mut exposure = MyServiceWithEvents(0).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `MyServiceWithEvents` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_events/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyServiceWithEvents(pub u8); [INFO] [stdout] | ------------------------------ method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyGenericEventsService<'l, T>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:270:31 [INFO] [stdout] | [INFO] [stdout] 270 | let exposure = my_service.expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `MyGenericEventsService<'_, String>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_lifetimes_and_events/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) struct MyGenericEventsService<'l, T> { [INFO] [stdout] | ----------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:274:30 [INFO] [stdout] | [INFO] [stdout] 274 | .try_handle(&DO_THIS.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:275:41 [INFO] [stdout] | [INFO] [stdout] 275 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 275 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 278 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 281 | let result = u32::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 281 | let result = u32::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:305:79 [INFO] [stdout] | [INFO] [stdout] 305 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExtendedWithLifetime<'a> { [INFO] [stdout] | ----------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:308:43 [INFO] [stdout] | [INFO] [stdout] 308 | .try_handle(&EXTENDED_NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:309:41 [INFO] [stdout] | [INFO] [stdout] 309 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 309 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:312:37 [INFO] [stdout] | [INFO] [stdout] 312 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 312 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:315:34 [INFO] [stdout] | [INFO] [stdout] 315 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 315 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:321:79 [INFO] [stdout] | [INFO] [stdout] 321 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExtendedWithLifetime<'a> { [INFO] [stdout] | ----------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | .try_handle(&BASE_NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:325:41 [INFO] [stdout] | [INFO] [stdout] 325 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 325 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:328:37 [INFO] [stdout] | [INFO] [stdout] 328 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 328 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:331:34 [INFO] [stdout] | [INFO] [stdout] 331 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 331 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:337:79 [INFO] [stdout] | [INFO] [stdout] 337 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExtendedWithLifetime<'a> { [INFO] [stdout] | ----------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 340 | .try_handle(&NAME_METHOD.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:341:41 [INFO] [stdout] | [INFO] [stdout] 341 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 341 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:344:37 [INFO] [stdout] | [INFO] [stdout] 344 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 344 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:347:34 [INFO] [stdout] | [INFO] [stdout] 347 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 347 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:353:79 [INFO] [stdout] | [INFO] [stdout] 353 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(SERVICE_ROUTE); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ExtendedWithLifetime<'a> { [INFO] [stdout] | ----------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_reply_with_value::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:373:10 [INFO] [stdout] | [INFO] [stdout] 369 | / MyDoThisParams { [INFO] [stdout] 370 | | p1: 42, [INFO] [stdout] 371 | | p2: "correct".into(), [INFO] [stdout] 372 | | } [INFO] [stdout] 373 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_reply_with_value::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_reply_with_value/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:380:14 [INFO] [stdout] | [INFO] [stdout] 379 | / MyServiceWithReplyWithValue [INFO] [stdout] 380 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithReplyWithValue` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_reply_with_value/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MyServiceWithReplyWithValue; [INFO] [stdout] | --------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:386:10 [INFO] [stdout] | [INFO] [stdout] 385 | / MyServiceWithReplyWithValue [INFO] [stdout] 386 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithReplyWithValue` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_reply_with_value/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MyServiceWithReplyWithValue; [INFO] [stdout] | --------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 388 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:391:37 [INFO] [stdout] | [INFO] [stdout] 391 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:394:34 [INFO] [stdout] | [INFO] [stdout] 394 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 394 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | DO_THAT.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_reply_with_value::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 413 | / MyDoThisParams { [INFO] [stdout] 414 | | p1: 42, [INFO] [stdout] 415 | | p2: "correct".into(), [INFO] [stdout] 416 | | } [INFO] [stdout] 417 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_reply_with_value::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_reply_with_value/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 421 | / MyServiceWithReplyWithValue [INFO] [stdout] 422 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithReplyWithValue` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_reply_with_value/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(super) struct MyServiceWithReplyWithValue; [INFO] [stdout] | --------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 424 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:427:37 [INFO] [stdout] | [INFO] [stdout] 427 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 427 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:430:34 [INFO] [stdout] | [INFO] [stdout] 430 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 430 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithTraitBounds<'a, T>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 448 | / MyServiceWithTraitBounds::::default() [INFO] [stdout] 449 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithTraitBounds<'_, u32>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_trait_bounds/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) struct MyServiceWithTraitBounds<'a, T> { [INFO] [stdout] | ------------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:450:40 [INFO] [stdout] | [INFO] [stdout] 450 | .try_handle_async(&DO_THIS.encode(), |_, _| {}) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyServiceWithTraitBounds<'a, T>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:456:10 [INFO] [stdout] | [INFO] [stdout] 455 | / MyServiceWithTraitBounds::::default() [INFO] [stdout] 456 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithTraitBounds<'_, u32>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_trait_bounds/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) struct MyServiceWithTraitBounds<'a, T> { [INFO] [stdout] | ------------------------------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:457:30 [INFO] [stdout] | [INFO] [stdout] 457 | .try_handle(&DO_THIS.encode(), |mut output, _| { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:458:41 [INFO] [stdout] | [INFO] [stdout] 458 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 458 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 461 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:464:31 [INFO] [stdout] | [INFO] [stdout] 464 | let result = u32::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 464 | let result = u32::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_multiple_names::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 477 | / MyDoThisParams { [INFO] [stdout] 478 | | p1: 42, [INFO] [stdout] 479 | | p2: "correct".into(), [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_multiple_names::MyService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:485:14 [INFO] [stdout] | [INFO] [stdout] 484 | / $service [INFO] [stdout] 485 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub(super) struct MyService; [INFO] [stdout] | --------------------------- method `expose` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:487:45 [INFO] [stdout] | [INFO] [stdout] 487 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 507 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_multiple_names::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 477 | / MyDoThisParams { [INFO] [stdout] 478 | | p1: 42, [INFO] [stdout] 479 | | p2: "correct".into(), [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `MyOtherService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:485:14 [INFO] [stdout] | [INFO] [stdout] 484 | / $service [INFO] [stdout] 485 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `MyOtherService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub(super) struct MyOtherService; [INFO] [stdout] | -------------------------------- method `expose` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:487:45 [INFO] [stdout] | [INFO] [stdout] 487 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 508 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:476:21 [INFO] [stdout] | [INFO] [stdout] 476 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_multiple_names::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:481:14 [INFO] [stdout] | [INFO] [stdout] 477 | / MyDoThisParams { [INFO] [stdout] 478 | | p1: 42, [INFO] [stdout] 479 | | p2: "correct".into(), [INFO] [stdout] 480 | | } [INFO] [stdout] 481 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `yet_another_service::MyService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:485:14 [INFO] [stdout] | [INFO] [stdout] 484 | / $service [INFO] [stdout] 485 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `yet_another_service::MyService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct MyService; [INFO] [stdout] | -------------------- method `expose` not found for this struct [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:487:45 [INFO] [stdout] | [INFO] [stdout] 487 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:490:41 [INFO] [stdout] | [INFO] [stdout] 490 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:493:38 [INFO] [stdout] | [INFO] [stdout] 493 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 509 | gservice_works!(gservice_with_multiple_names::yet_another_service::MyService); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `gservice_works` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:520:17 [INFO] [stdout] | [INFO] [stdout] 520 | DO_THIS.encode(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for struct `gservice_with_export_unwrap_result::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:525:10 [INFO] [stdout] | [INFO] [stdout] 521 | / MyDoThisParams { [INFO] [stdout] 522 | | p1: 42, [INFO] [stdout] 523 | | p2: "correct".into(), [INFO] [stdout] 524 | | } [INFO] [stdout] 525 | | .encode(), [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_export_unwrap_result::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_export_unwrap_result/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) struct MyDoThisParams { [INFO] [stdout] | -------------------------------- method `encode` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `encode`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `parity_scale_codec::Encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_export_unwrap_result::MyService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:530:10 [INFO] [stdout] | [INFO] [stdout] 529 | / MyService [INFO] [stdout] 530 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_export_unwrap_result::MyService` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_export_unwrap_result/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub(super) struct MyService; [INFO] [stdout] | --------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:532:41 [INFO] [stdout] | [INFO] [stdout] 532 | let service_route = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 532 | let service_route = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:535:37 [INFO] [stdout] | [INFO] [stdout] 535 | let func_name = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 535 | let func_name = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `decode` found for struct `String` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:538:34 [INFO] [stdout] | [INFO] [stdout] 538 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `String` consider using one of the following associated functions: [INFO] [stdout] String::new [INFO] [stdout] String::with_capacity [INFO] [stdout] String::try_with_capacity [INFO] [stdout] String::from_utf8 [INFO] [stdout] and 9 others [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/alloc/src/string.rs:444:5 [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Decode` which provides `decode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Decode; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `decode_all` with a similar name [INFO] [stdout] | [INFO] [stdout] 538 | let result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode` found for tuple `(&'static str, &'static str)` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:554:41 [INFO] [stdout] | [INFO] [stdout] 554 | let input = (PARSE, "not a number").encode(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | fn encode(&self) -> Vec { [INFO] [stdout] | ------ the method is available for `(&'static str, &'static str)` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `encode_to` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/parity-scale-codec-3.7.5/src/codec.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | fn encode_to(&self, dest: &mut T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Encode` which provides `encode` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use parity_scale_codec::Encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `gservice_with_export_unwrap_result::MyService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:557:10 [INFO] [stdout] | [INFO] [stdout] 556 | / MyService [INFO] [stdout] 557 | | .expose(SERVICE_ROUTE) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_export_unwrap_result::MyService` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_export_unwrap_result/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub(super) struct MyService; [INFO] [stdout] | --------------------------- method `expose` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sails-macros` (test "gservice_tests") due to 176 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fac62f37e12060801b95384b80b08156d1b116c380938cf931fcd03b8754d683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fac62f37e12060801b95384b80b08156d1b116c380938cf931fcd03b8754d683", kill_on_drop: false }` [INFO] [stdout] fac62f37e12060801b95384b80b08156d1b116c380938cf931fcd03b8754d683