[INFO] fetching crate sails-macros 1.0.0-beta.3... [INFO] testing sails-macros-1.0.0-beta.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate sails-macros 1.0.0-beta.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate sails-macros 1.0.0-beta.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sails-macros 1.0.0-beta.3 [INFO] tweaked toml for crates.io crate sails-macros 1.0.0-beta.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sails-macros 1.0.0-beta.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sails-macros 1.0.0-beta.3 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded serde_spanned v1.0.4 [INFO] [stderr] Downloaded proc-macro-error-attr v1.0.4 [INFO] [stderr] Downloaded sails-type-registry-derive v1.0.0-beta.3 [INFO] [stderr] Downloaded sails-type-registry v1.0.0-beta.3 [INFO] [stderr] Downloaded target-triple v1.0.0 [INFO] [stderr] Downloaded convert_case v0.11.0 [INFO] [stderr] Downloaded trybuild v1.0.116 [INFO] [stderr] Downloaded sails-macros-core v1.0.0-beta.3 [INFO] [stderr] Downloaded toml v1.0.6+spec-1.1.0 [INFO] [stderr] Downloaded proc-macro-error v1.0.4 [INFO] [stderr] Downloaded unicode-segmentation v1.12.0 [INFO] [stderr] Downloaded tokio v1.51.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d8facda5f1e086f251630594ce3875279f368b93f85bf5a596d69068a9922cb [INFO] running `Command { std: "docker" "start" "-a" "4d8facda5f1e086f251630594ce3875279f368b93f85bf5a596d69068a9922cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d8facda5f1e086f251630594ce3875279f368b93f85bf5a596d69068a9922cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8facda5f1e086f251630594ce3875279f368b93f85bf5a596d69068a9922cb", kill_on_drop: false }` [INFO] [stdout] 4d8facda5f1e086f251630594ce3875279f368b93f85bf5a596d69068a9922cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3342903df6e98d7cc8da8a6d4873891dc11112a64f6e382f1f7a79961794e335 [INFO] running `Command { std: "docker" "start" "-a" "3342903df6e98d7cc8da8a6d4873891dc11112a64f6e382f1f7a79961794e335", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling convert_case v0.11.0 [INFO] [stderr] Compiling syn v2.0.117 [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.35 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling sails-macros-core v1.0.0-beta.3 [INFO] [stderr] Compiling sails-macros v1.0.0-beta.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.89s [INFO] running `Command { std: "docker" "inspect" "3342903df6e98d7cc8da8a6d4873891dc11112a64f6e382f1f7a79961794e335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3342903df6e98d7cc8da8a6d4873891dc11112a64f6e382f1f7a79961794e335", kill_on_drop: false }` [INFO] [stdout] 3342903df6e98d7cc8da8a6d4873891dc11112a64f6e382f1f7a79961794e335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3a65e5208be36a95a9379a72df19b9438688968486abeee83daba684816ef79 [INFO] running `Command { std: "docker" "start" "-a" "b3a65e5208be36a95a9379a72df19b9438688968486abeee83daba684816ef79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling target-triple v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling byte-slice-cast v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling convert_case v0.11.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling serde_spanned v1.0.4 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Compiling toml v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling sails-type-registry-derive v1.0.0-beta.3 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling sails-type-registry v1.0.0-beta.3 [INFO] [stderr] Compiling sails-macros-core v1.0.0-beta.3 [INFO] [stderr] Compiling trybuild v1.0.116 [INFO] [stderr] Compiling sails-macros v1.0.0-beta.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `sails_rs` in this scope [INFO] [stdout] --> tests/gservice_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sails_rs::gstd::services::{Exposure, 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]: cannot find module or crate `sails_rs` in this scope [INFO] [stdout] --> tests/gservice_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sails_rs::meta::{Identifiable, InterfaceId, SailsMessageHeader}; [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [INFO] [stdout] --> tests/gservice_tests.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | use sails_rs::meta::ServiceMeta; [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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]: cannot find module or crate `sails_rs` in this scope [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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:332:45 [INFO] [stdout] | [INFO] [stdout] 332 | BASE_NAME_RESULT, BaseWithLifetime, BaseWithLifetimeExposure, EXTENDED_NAME_RESULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `BaseWithLifetimeExposure` in `gservice_with_extends_and_lifetimes` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 332 - BASE_NAME_RESULT, BaseWithLifetime, BaseWithLifetimeExposure, EXTENDED_NAME_RESULT, [INFO] [stdout] 332 + BASE_NAME_RESULT, BaseWithLifetime, BaseWithLifetime, EXTENDED_NAME_RESULT, [INFO] [stdout] | [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 `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] [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 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[E0433]: cannot find module or crate `sails_rs` in this scope [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: 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, ReflectHash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_type_registry::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, ReflectHash)] [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 `ReflectHash` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq, ReflectHash)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `reflect_hash` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[reflect_hash(crate = sails_rs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[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 `type_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: 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 `export` in this scope [INFO] [stdout] --> tests/gservice_with_events/mod.rs:15:7 [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] 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[E0433]: cannot find module or crate `sails_rs` in this scope [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: 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/mod.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | #[service(extends = [RenamedBase, other_base::Base])] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 87 + 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/mod.rs:120:7 [INFO] [stdout] | [INFO] [stdout] 120 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 116 + 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:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 122 - #[export] [INFO] [stdout] 122 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 116 + 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: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 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 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, ReflectHash)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use sails_type_registry::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, ReflectHash)] [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 `ReflectHash` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(TypeInfo, Encode, Clone, Debug, PartialEq, ReflectHash)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `reflect_hash` in this scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[reflect_hash(crate = sails_rs)] [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:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[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:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 22 - #[export] [INFO] [stdout] 22 + #[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:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[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:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 - #[export] [INFO] [stdout] 9 + #[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: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 derive macro `Encode` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[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[E0425]: cannot find type `__NewParams` in this scope [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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[E0425]: cannot find type `__NewFortyTwoParams` in this scope [INFO] [stdout] --> tests/gprogram_basic/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[program] [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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 `service` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[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] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `export` in this scope [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 33 - #[export] [INFO] [stdout] 33 + #[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:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 - #[export] [INFO] [stdout] 38 + #[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:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + 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:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 53 - #[export] [INFO] [stdout] 53 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + 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:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | #[export] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a built-in attribute with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 - #[export] [INFO] [stdout] 58 + #[expect] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 46 + 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]: cannot find module or crate `sails_rs` in this scope [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] error[E0433]: cannot find module or crate `sails_rs` in this scope [INFO] [stdout] --> tests/gservice_tests.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | .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_extends/mod.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/gservice_with_multiple_names/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sails-macros` (test "gprogram_tests") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | 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 Service<'_, T>` in the current scope [INFO] [stdout] --> tests/gservice_with_lifetimes_and_events/mod.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | self.emit_event(MyEvents::Event1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `&mut Service<'_, T>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | let header = SailsMessageHeader::v1(SomeService::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------- associated item `INTERFACE_ID` not found for this struct [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:29:6 [INFO] [stdout] | [INFO] [stdout] 25 | let input = DoThisParams { [INFO] [stdout] | _________________- [INFO] [stdout] 26 | | p1: 42, [INFO] [stdout] 27 | | p2: "correct".into(), [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | .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:41:10 [INFO] [stdout] | [INFO] [stdout] 40 | / SomeService [INFO] [stdout] 41 | | .expose(header.route_id()) [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 associated item named `INTERFACE_ID` found for struct `gservice_with_basics::SomeService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:48:68 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(res_header.interface_id(), SomeService::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------- associated item `INTERFACE_ID` 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:38 [INFO] [stdout] | [INFO] [stdout] 52 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 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:68:44 [INFO] [stdout] | [INFO] [stdout] 68 | let extended_svc = Extended::new(Base).expose(1); [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 associated item named `INTERFACE_ID` found for struct `Extended` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | let header = SailsMessageHeader::v1(Extended::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ------------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `Extended` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:85:65 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(res_header.interface_id(), Extended::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ------------------- associated item `INTERFACE_ID` 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:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 89 | 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:96:44 [INFO] [stdout] | [INFO] [stdout] 96 | let extended_svc = Extended::new(Base).expose(1); [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 associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | let header = SailsMessageHeader::v1(Base::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:112:61 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(res_header.interface_id(), Base::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` 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:116:38 [INFO] [stdout] | [INFO] [stdout] 116 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 116 | 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:122:44 [INFO] [stdout] | [INFO] [stdout] 122 | let extended_svc = Extended::new(Base).expose(1); [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 associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | let header = SailsMessageHeader::v1(Base::INTERFACE_ID, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:138:61 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(res_header.interface_id(), Base::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` 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:143:38 [INFO] [stdout] | [INFO] [stdout] 143 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 result = String::decode_all(&mut output).unwrap(); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expose` found for struct `ExtendedRenamed` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | let _ = ExtendedRenamed::new((Base, OtherBase)).expose(1); [INFO] [stdout] | ^^^^^^ method not found in `ExtendedRenamed` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct ExtendedRenamed { [INFO] [stdout] | -------------------------- method `expose` not found for this struct [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:177:48 [INFO] [stdout] | [INFO] [stdout] 177 | let extended_svc = ExtendedPure::new(Base).expose(1); [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 associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:180:47 [INFO] [stdout] | [INFO] [stdout] 180 | let header = SailsMessageHeader::v1(Base::INTERFACE_ID, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `gservice_with_extends::base::Base` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:189:61 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(res_header.interface_id(), Base::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `gservice_with_extends::base::Base` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Base; [INFO] [stdout] | --------------- associated item `INTERFACE_ID` 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:193:38 [INFO] [stdout] | [INFO] [stdout] 193 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 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:212:10 [INFO] [stdout] | [INFO] [stdout] 211 | / my_service [INFO] [stdout] 212 | | .expose(1) [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 = String, U = core::option::IntoIter> { [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-5a08121f0295e91c.long-type-16962076302592912520.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 function or associated item named `decode` found for type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:226:35 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 226 | 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:242:10 [INFO] [stdout] | [INFO] [stdout] 241 | / SomeService [INFO] [stdout] 242 | | .expose(1) [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:270:6 [INFO] [stdout] | [INFO] [stdout] 255 | let input = [ [INFO] [stdout] | _________________- [INFO] [stdout] 256 | | 44, 77, 101, 109, 101, 70, 97, 99, 116, 111, 114, 121, 84, 67, 114, 101, 97, 116, 101, 70, [INFO] [stdout] 257 | | 117, 110, 103, 105, 98, 108, 101, 80, 114, 111, 103, 114, 97, 109, 32, 77, 101, 109, 101, [INFO] [stdout] 258 | | 78, 97, 109, 101, 16, 77, 69, 77, 69, 2, 44, 68, 101, 115, 99, 114, 105, 112, 116, 105, [INFO] [stdout] ... | [INFO] [stdout] 270 | | .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:274:10 [INFO] [stdout] | [INFO] [stdout] 273 | / SomeService [INFO] [stdout] 274 | | .expose(1) [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:285:47 [INFO] [stdout] | [INFO] [stdout] 285 | let mut exposure = MyServiceWithEvents(0).expose(1); [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 `Service<'l, T>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:299:31 [INFO] [stdout] | [INFO] [stdout] 299 | let exposure = my_service.expose(1); [INFO] [stdout] | ^^^^^^ method not found in `Service<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_lifetimes_and_events/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) struct Service<'l, T = String> { [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 type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | 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] 316 | 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:337:79 [INFO] [stdout] | [INFO] [stdout] 337 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(1); [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 associated item named `INTERFACE_ID` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:340:63 [INFO] [stdout] | [INFO] [stdout] 340 | let header = SailsMessageHeader::v1(ExtendedWithLifetime::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:351:43 [INFO] [stdout] | [INFO] [stdout] 351 | ExtendedWithLifetime::INTERFACE_ID [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------------- associated item `INTERFACE_ID` 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:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 354 | 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:361:79 [INFO] [stdout] | [INFO] [stdout] 361 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(1); [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 associated item named `INTERFACE_ID` found for struct `BaseWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:363:59 [INFO] [stdout] | [INFO] [stdout] 363 | let header = SailsMessageHeader::v1(BaseWithLifetime::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `BaseWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BaseWithLifetime<'a> { [INFO] [stdout] | ------------------------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `BaseWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:372:73 [INFO] [stdout] | [INFO] [stdout] 372 | assert_eq!(res_header.interface_id(), BaseWithLifetime::INTERFACE_ID); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `BaseWithLifetime<'_>` [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_extends_and_lifetimes/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BaseWithLifetime<'a> { [INFO] [stdout] | ------------------------------- associated item `INTERFACE_ID` 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:374:38 [INFO] [stdout] | [INFO] [stdout] 374 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 374 | 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:381:79 [INFO] [stdout] | [INFO] [stdout] 381 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(1); [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 associated item named `INTERFACE_ID` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:383:63 [INFO] [stdout] | [INFO] [stdout] 383 | let header = SailsMessageHeader::v1(ExtendedWithLifetime::INTERFACE_ID, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------------- associated item `INTERFACE_ID` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `INTERFACE_ID` found for struct `ExtendedWithLifetime<'a>` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:394:43 [INFO] [stdout] | [INFO] [stdout] 394 | ExtendedWithLifetime::INTERFACE_ID [INFO] [stdout] | ^^^^^^^^^^^^ associated item 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] | ----------------------------------- associated item `INTERFACE_ID` 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:399:38 [INFO] [stdout] | [INFO] [stdout] 399 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 399 | 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:406:79 [INFO] [stdout] | [INFO] [stdout] 406 | let extended_svc = ExtendedWithLifetime::new(BaseWithLifetime::new(&int)).expose(1); [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 struct `gservice_with_reply_with_value::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:423:6 [INFO] [stdout] | [INFO] [stdout] 419 | let input = MyDoThisParams { [INFO] [stdout] | _________________- [INFO] [stdout] 420 | | p1: 42, [INFO] [stdout] 421 | | p2: "correct".into(), [INFO] [stdout] 422 | | } [INFO] [stdout] 423 | | .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 associated item named `INTERFACE_ID` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:426:70 [INFO] [stdout] | [INFO] [stdout] 426 | let header = SailsMessageHeader::v1(MyServiceWithReplyWithValue::INTERFACE_ID, 1, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `MyServiceWithReplyWithValue` [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] | --------------------------------------------- associated item `INTERFACE_ID` 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:431:14 [INFO] [stdout] | [INFO] [stdout] 430 | / MyServiceWithReplyWithValue [INFO] [stdout] 431 | | .expose(1) [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:437:10 [INFO] [stdout] | [INFO] [stdout] 436 | / MyServiceWithReplyWithValue [INFO] [stdout] 437 | | .expose(1) [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 associated item named `INTERFACE_ID` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:446:50 [INFO] [stdout] | [INFO] [stdout] 446 | MyServiceWithReplyWithValue::INTERFACE_ID [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `MyServiceWithReplyWithValue` [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] | --------------------------------------------- associated item `INTERFACE_ID` 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:449:38 [INFO] [stdout] | [INFO] [stdout] 449 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 449 | let result = String::decode_all(&mut output).unwrap(); [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:469:6 [INFO] [stdout] | [INFO] [stdout] 465 | let input = MyDoThisParams { [INFO] [stdout] | _________________- [INFO] [stdout] 466 | | p1: 42, [INFO] [stdout] 467 | | p2: "correct".into(), [INFO] [stdout] 468 | | } [INFO] [stdout] 469 | | .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 associated item named `INTERFACE_ID` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:472:70 [INFO] [stdout] | [INFO] [stdout] 472 | let header = SailsMessageHeader::v1(MyServiceWithReplyWithValue::INTERFACE_ID, 0, 1); [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `MyServiceWithReplyWithValue` [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] | --------------------------------------------- associated item `INTERFACE_ID` 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:475:10 [INFO] [stdout] | [INFO] [stdout] 474 | / MyServiceWithReplyWithValue [INFO] [stdout] 475 | | .expose(1) [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 associated item named `INTERFACE_ID` found for struct `MyServiceWithReplyWithValue` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:484:50 [INFO] [stdout] | [INFO] [stdout] 484 | MyServiceWithReplyWithValue::INTERFACE_ID [INFO] [stdout] | ^^^^^^^^^^^^ associated item not found in `MyServiceWithReplyWithValue` [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] | --------------------------------------------- associated item `INTERFACE_ID` 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:487:38 [INFO] [stdout] | [INFO] [stdout] 487 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 487 | 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:512:14 [INFO] [stdout] | [INFO] [stdout] 511 | / MyServiceWithTraitBounds::::default() [INFO] [stdout] 512 | | .expose(1) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithTraitBounds<'_>` [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 = u32> { [INFO] [stdout] | ------------------------------------------------------- method `expose` not found for this struct [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:519:10 [INFO] [stdout] | [INFO] [stdout] 518 | / MyServiceWithTraitBounds::::default() [INFO] [stdout] 519 | | .expose(1) [INFO] [stdout] | | -^^^^^^ method not found in `MyServiceWithTraitBounds<'_>` [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 = u32> { [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 type `u32` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:531:35 [INFO] [stdout] | [INFO] [stdout] 531 | 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] 531 | let result = u32::decode_all(&mut output).unwrap(); [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:548:10 [INFO] [stdout] | [INFO] [stdout] 544 | let input = gservice_with_multiple_names::MyDoThisParams { [INFO] [stdout] | _____________________- [INFO] [stdout] 545 | | p1: 42, [INFO] [stdout] 546 | | p2: "correct".into(), [INFO] [stdout] 547 | | } [INFO] [stdout] 548 | | .encode(); [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 575 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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:551:14 [INFO] [stdout] | [INFO] [stdout] 550 | / <$service as Default>::default() [INFO] [stdout] 551 | | .expose(1) [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 575 | gservice_works!(gservice_with_multiple_names::MyService); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | 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:563:42 [INFO] [stdout] | [INFO] [stdout] 563 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 575 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 struct `gservice_with_multiple_names::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 544 | let input = gservice_with_multiple_names::MyDoThisParams { [INFO] [stdout] | _____________________- [INFO] [stdout] 545 | | p1: 42, [INFO] [stdout] 546 | | p2: "correct".into(), [INFO] [stdout] 547 | | } [INFO] [stdout] 548 | | .encode(); [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 576 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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:551:14 [INFO] [stdout] | [INFO] [stdout] 550 | / <$service as Default>::default() [INFO] [stdout] 551 | | .expose(1) [INFO] [stdout] | | -^^^^^^ method not found in `MyOtherService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 576 | gservice_works!(gservice_with_multiple_names::MyOtherService); [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: tests/gservice_with_multiple_names/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | 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:563:42 [INFO] [stdout] | [INFO] [stdout] 563 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 576 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 struct `gservice_with_multiple_names::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:548:10 [INFO] [stdout] | [INFO] [stdout] 544 | let input = gservice_with_multiple_names::MyDoThisParams { [INFO] [stdout] | _____________________- [INFO] [stdout] 545 | | p1: 42, [INFO] [stdout] 546 | | p2: "correct".into(), [INFO] [stdout] 547 | | } [INFO] [stdout] 548 | | .encode(); [INFO] [stdout] | | -^^^^^^ method not found in `gservice_with_multiple_names::MyDoThisParams` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 577 | 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:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | 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:551:14 [INFO] [stdout] | [INFO] [stdout] 550 | / <$service as Default>::default() [INFO] [stdout] 551 | | .expose(1) [INFO] [stdout] | | -^^^^^^ method not found in `yet_another_service::MyService` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 577 | 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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | 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:563:42 [INFO] [stdout] | [INFO] [stdout] 563 | let result = String::decode(&mut output).unwrap(); [INFO] [stdout] | ^^^^^^ function or associated item not found in `String` [INFO] [stdout] ... [INFO] [stdout] 577 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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 struct `gservice_with_export_unwrap_result::MyDoThisParams` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:591:6 [INFO] [stdout] | [INFO] [stdout] 587 | let input = MyDoThisParams { [INFO] [stdout] | _________________- [INFO] [stdout] 588 | | p1: 42, [INFO] [stdout] 589 | | p2: "correct".into(), [INFO] [stdout] 590 | | } [INFO] [stdout] 591 | | .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:594:10 [INFO] [stdout] | [INFO] [stdout] 593 | / MyService [INFO] [stdout] 594 | | .expose(1) [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:606:38 [INFO] [stdout] | [INFO] [stdout] 606 | 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/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/string.rs:437:4 [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] 606 | 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:623:32 [INFO] [stdout] | [INFO] [stdout] 623 | let input = "not a number".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 `gservice_with_export_unwrap_result::MyService` in the current scope [INFO] [stdout] --> tests/gservice_tests.rs:626:10 [INFO] [stdout] | [INFO] [stdout] 625 | / MyService [INFO] [stdout] 626 | | .expose(1) [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 148 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3a65e5208be36a95a9379a72df19b9438688968486abeee83daba684816ef79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3a65e5208be36a95a9379a72df19b9438688968486abeee83daba684816ef79", kill_on_drop: false }` [INFO] [stdout] b3a65e5208be36a95a9379a72df19b9438688968486abeee83daba684816ef79