[INFO] fetching crate rio-macros 0.4.0... [INFO] testing rio-macros-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rio-macros 0.4.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rio-macros 0.4.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rio-macros 0.4.0 [INFO] tweaked toml for crates.io crate rio-macros 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rio-macros 0.4.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rio-macros 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v0.7.2 [INFO] [stderr] Downloaded target-triple v0.1.3 [INFO] [stderr] Downloaded async-trait-sync v0.1.57 [INFO] [stderr] Downloaded trybuild v1.0.103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f67f8014a8f3aac0de2cf33a7c6b5e622d0c8b87e1d2e7c41edb1605ff1d1fc6 [INFO] running `Command { std: "docker" "start" "-a" "f67f8014a8f3aac0de2cf33a7c6b5e622d0c8b87e1d2e7c41edb1605ff1d1fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f67f8014a8f3aac0de2cf33a7c6b5e622d0c8b87e1d2e7c41edb1605ff1d1fc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67f8014a8f3aac0de2cf33a7c6b5e622d0c8b87e1d2e7c41edb1605ff1d1fc6", kill_on_drop: false }` [INFO] [stdout] f67f8014a8f3aac0de2cf33a7c6b5e622d0c8b87e1d2e7c41edb1605ff1d1fc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709d2b877addfe506c82e37fc1ba15e585214697d874de4ce96929f05b30361e [INFO] running `Command { std: "docker" "start" "-a" "709d2b877addfe506c82e37fc1ba15e585214697d874de4ce96929f05b30361e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling rio-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.55s [INFO] running `Command { std: "docker" "inspect" "709d2b877addfe506c82e37fc1ba15e585214697d874de4ce96929f05b30361e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709d2b877addfe506c82e37fc1ba15e585214697d874de4ce96929f05b30361e", kill_on_drop: false }` [INFO] [stdout] 709d2b877addfe506c82e37fc1ba15e585214697d874de4ce96929f05b30361e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3f1f16ff0d14a21ac9f9fd282249ae453ad1a3cd53f2bd5a6c0c63ba92981e3 [INFO] running `Command { std: "docker" "start" "-a" "d3f1f16ff0d14a21ac9f9fd282249ae453ad1a3cd53f2bd5a6c0c63ba92981e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling winnow v0.7.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling async-trait-sync v0.1.57 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling rio-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling trybuild v1.0.103 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.36s [INFO] running `Command { std: "docker" "inspect" "d3f1f16ff0d14a21ac9f9fd282249ae453ad1a3cd53f2bd5a6c0c63ba92981e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f1f16ff0d14a21ac9f9fd282249ae453ad1a3cd53f2bd5a6c0c63ba92981e3", kill_on_drop: false }` [INFO] [stdout] d3f1f16ff0d14a21ac9f9fd282249ae453ad1a3cd53f2bd5a6c0c63ba92981e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4164456ec2f01d7db8853ebef42c5a067fd58442728335d9e5017b9e197fd86e [INFO] running `Command { std: "docker" "start" "-a" "4164456ec2f01d7db8853ebef42c5a067fd58442728335d9e5017b9e197fd86e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rio_macros-d150484c7ec45af8) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test::state_definition::non_option_managed_state ... ok [INFO] [stdout] test test::state_definition::managed_state_impl ... ok [INFO] [stdout] test test::state_definition::managed_state_impl_with_provider ... ok [INFO] [stdout] test test::state_definition::ignore_non_managed_state_attrs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-20f55ea29ce8d179) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-trait-sync v0.1.57 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling rio-macros v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rio-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/rio-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.05s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui_pass/01-sanity.rs [should pass] ... ok [INFO] [stderr] test tests/ui_pass/managed_state.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::state::local::LocalState; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rio_rs::state::ObjectStateManager; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rio_rs::ServiceObject; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(TypeName, serde::Serialize, serde::Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(TypeName, serde::Serialize, serde::Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:15:19 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `WithId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:15:37 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `ManagedState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `WithId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/managed_state.rs:24:37 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `ManagedState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui_pass/registry_client_and_server.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rio_rs::prelude::*; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `WithId` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::WithId; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `WithId` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:61:26 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::WithId; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:61:34 [INFO] [stderr] | [INFO] [stderr] 61 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | / make_registry! { [INFO] [stderr] 86 | | TestService: [ [INFO] [stderr] 87 | | Ping => (Pong, NoopError), [INFO] [stderr] 88 | | Pong => (Pong, NoopError), [INFO] [stderr] ... | [INFO] [stderr] 93 | | } [INFO] [stderr] | |_^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the macro `make_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObjectStateLoad` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ServiceObjectStateLoad for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObject` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | impl ServiceObject for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:30:6 [INFO] [stderr] | [INFO] [stderr] 30 | impl Handler for TestService { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | type Error = NoopError; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AppData` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | _app_data: Arc, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 30 | impl Handler for TestService { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:46:6 [INFO] [stderr] | [INFO] [stderr] 46 | impl Handler for TestService { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:48:18 [INFO] [stderr] | [INFO] [stderr] 48 | type Error = NoopError; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AppData` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | _app_data: Arc, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 46 | impl Handler for TestService { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObjectStateLoad` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:66:6 [INFO] [stderr] | [INFO] [stderr] 66 | impl ServiceObjectStateLoad for TestServicePingOnly {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObject` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:67:6 [INFO] [stderr] | [INFO] [stderr] 67 | impl ServiceObject for TestServicePingOnly {} [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:70:6 [INFO] [stderr] | [INFO] [stderr] 70 | impl Handler for TestServicePingOnly { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | type Error = NoopError; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AppData` in this scope [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:77:24 [INFO] [stderr] | [INFO] [stderr] 77 | _app_data: Arc, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 70 | impl Handler for TestServicePingOnly { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | Ping => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | Pong => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | Ping => (Ping, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super::super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:87:24 [INFO] [stderr] | [INFO] [stderr] 87 | Ping => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super::super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super::super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:88:24 [INFO] [stderr] | [INFO] [stderr] 88 | Pong => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super::super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super::super` [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | Ping => (Ping, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super::super` [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if there were a trait named `Example` with associated type `Returns` implemented for `TestService`, you could use the fully-qualified path [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result<::Returns, Self::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use fully-qualified syntax [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if there were a trait named `Example` with associated type `Returns` implemented for `TestService`, you could use the fully-qualified path [INFO] [stderr] | [INFO] [stderr] 54 - ) -> Result { [INFO] [stderr] 54 + ) -> Result<::Returns, Self::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:54:32 [INFO] [stderr] | [INFO] [stderr] 54 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use fully-qualified syntax [INFO] [stderr] | [INFO] [stderr] 54 - ) -> Result { [INFO] [stderr] 54 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] 54 - ) -> Result { [INFO] [stderr] 54 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if there were a trait named `Example` with associated type `Returns` implemented for `TestServicePingOnly`, you could use the fully-qualified path [INFO] [stderr] | [INFO] [stderr] 78 - ) -> Result { [INFO] [stderr] 78 + ) -> Result<::Returns, Self::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_pass/registry_client_and_server.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use fully-qualified syntax [INFO] [stderr] | [INFO] [stderr] 78 - ) -> Result { [INFO] [stderr] 78 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] 78 - ) -> Result { [INFO] [stderr] 78 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui_pass/type_name_arguments.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/type_name_arguments.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::registry::IdentifiableType; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/type_name_arguments.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(TypeName)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/type_name_arguments.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(TypeName)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui_pass/type_name_basic.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/type_name_basic.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::registry::IdentifiableType; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/type_name_basic.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(TypeName)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui_pass/with_id.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_pass/with_id.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::service_object::WithId; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `set_id` found for struct `StructWithId` in the current scope [INFO] [stderr] --> tests/ui_pass/with_id.rs:12:7 [INFO] [stderr] | [INFO] [stderr] 5 | struct StructWithId { [INFO] [stderr] | ------------------- method `set_id` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 12 | a.set_id("1".into()); [INFO] [stderr] | ^^^^^^ method not found in `StructWithId` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `id` found for struct `StructWithId` in the current scope [INFO] [stderr] --> tests/ui_pass/with_id.rs:13:18 [INFO] [stderr] | [INFO] [stderr] 5 | struct StructWithId { [INFO] [stderr] | ------------------- method `id` not found for this struct [INFO] [stderr] ... [INFO] [stderr] 13 | assert_eq!(a.id(), "1"); [INFO] [stderr] | ^^-- help: remove the arguments [INFO] [stderr] | | [INFO] [stderr] | field, not a method [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui_fail/01-sanity.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui_fail/make_registry_no_handler.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `TestService: Handler` is not satisfied [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / make_registry! { [INFO] [stderr] 25 | | TestService: [ [INFO] [stderr] 26 | | Ping => (Pong, NoopError), [INFO] [stderr] 27 | | ] [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ the trait `Handler` is not implemented for `TestService` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `Registry::add_handler` [INFO] [stderr] --> $WORKSPACE/rio-rs/src/registry/mod.rs [INFO] [stderr] | [INFO] [stderr] | pub fn add_handler(&mut self) [INFO] [stderr] | ----------- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | T: 'static + Handler + IdentifiableType + Send + Sync, [INFO] [stderr] | ^^^^^^^^^^ required by this bound in `Registry::add_handler` [INFO] [stderr] = note: this error originates in the macro `make_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use rio_rs::prelude::*; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `WithId` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::WithId; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 1 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / make_registry! { [INFO] [stderr] 25 | | TestService: [ [INFO] [stderr] 26 | | Ping => (Pong, NoopError), [INFO] [stderr] 27 | | ] [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the macro `make_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObjectStateLoad` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | impl ServiceObjectStateLoad for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObject` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 12 | impl ServiceObject for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super` [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | Ping => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super::super` [INFO] [stderr] --> tests/ui_fail/make_registry_no_handler.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | Ping => (Pong, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super::super` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui_fail/make_registry_type_mismatch.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0271]: type mismatch resolving `>::Returns == Ping` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / make_registry! { [INFO] [stderr] 46 | | TestService: [ [INFO] [stderr] 47 | | Ping => (Ping, NoopError), [INFO] [stderr] 48 | | ] [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ expected `Ping`, found `Pong` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `assert_handler_type` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / make_registry! { [INFO] [stderr] 46 | | TestService: [ [INFO] [stderr] 47 | | Ping => (Ping, NoopError), [INFO] [stderr] 48 | | ] [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ required by this bound in `assert_handler_type` [INFO] [stderr] = note: this error originates in the macro `make_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use rio_rs::prelude::*; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `WithId` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::WithId; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:11:34 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Default, Debug, WithId, TypeName)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `TypeName` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:24:10 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::TypeName; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: cannot find derive macro `Message` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | #[derive(TypeName, Message, Debug, Deserialize, Serialize)] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider importing this derive macro [INFO] [stderr] | [INFO] [stderr] 3 + use rio_macros::Message; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:45:1 [INFO] [stderr] | [INFO] [stderr] 45 | / make_registry! { [INFO] [stderr] 46 | | TestService: [ [INFO] [stderr] 47 | | Ping => (Ping, NoopError), [INFO] [stderr] 48 | | ] [INFO] [stderr] 49 | | } [INFO] [stderr] | |_^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the macro `make_registry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObjectStateLoad` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:16:6 [INFO] [stderr] | [INFO] [stderr] 16 | impl ServiceObjectStateLoad for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `ServiceObject` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:17:6 [INFO] [stderr] | [INFO] [stderr] 17 | impl ServiceObject for TestService {} [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:30:6 [INFO] [stderr] | [INFO] [stderr] 30 | impl Handler for TestService { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | type Error = NoopError; [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `AppData` in this scope [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | _app_data: Arc, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 30 | impl Handler for TestService { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | Ping => (Ping, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NoopError` in module `super::super` [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | Ping => (Ping, NoopError), [INFO] [stderr] | ^^^^^^^^^ not found in `super::super` [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if there were a trait named `Example` with associated type `Returns` implemented for `TestService`, you could use the fully-qualified path [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result<::Returns, Self::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0223]: ambiguous associated type [INFO] [stderr] --> tests/ui_fail/make_registry_type_mismatch.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | ) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use fully-qualified syntax [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] 38 - ) -> Result { [INFO] [stderr] 38 + ) -> Result::Error> { [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui_fail/managed_state_missing_service_object_imp.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0599]: the method `load_state` exists for mutable reference `&mut TestService`, but its trait bounds were not satisfied [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^^^^^ method cannot be called on `&mut TestService` due to unsatisfied trait bounds [INFO] [stderr] 9 | struct TestService { [INFO] [stderr] | ------------------ doesn't satisfy `TestService: ObjectStateManager` or `TestService: ServiceObject` [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `TestService: ServiceObject` [INFO] [stderr] which is required by `TestService: ObjectStateManager` [INFO] [stderr] `&mut TestService: ServiceObject` [INFO] [stderr] which is required by `&mut TestService: ObjectStateManager` [INFO] [stderr] note: the trait `ServiceObject` must be implemented [INFO] [stderr] --> $WORKSPACE/rio-rs/src/service_object.rs [INFO] [stderr] | [INFO] [stderr] | pub trait ServiceObject: Default + WithId + IdentifiableType { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `load_state`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `ObjectStateManager` [INFO] [stderr] = note: this error originates in the derive macro `ManagedState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::state::local::LocalState; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rio_rs::state::ObjectStateManager; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(TypeName, serde::Serialize, serde::Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `WithId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_missing_service_object_imp.rs:8:37 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `ManagedState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui_fail/managed_state_non_existing_state_provicer.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0412]: cannot find type `SqliteState` in this scope [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | #[managed_state(provider = SqliteState)] [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing this struct [INFO] [stderr] | [INFO] [stderr] 1 + use rio_rs::state::sqlite::SqliteState; [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use rio_rs::state::ObjectStateManager; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use rio_rs::ServiceObject; [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(TypeName, Serialize, Deserialize, Default)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `WithId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `TypeName` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:9:37 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Default, WithId, TypeName, ManagedState)] [INFO] [stderr] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rio_rs` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `rio_rs`, use `cargo add rio_rs` to add it to your `Cargo.toml` [INFO] [stderr] = note: this error originates in the derive macro `ManagedState` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SqliteState` in this scope [INFO] [stderr] --> tests/ui_fail/managed_state_non_existing_state_provicer.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | #[managed_state(provider = SqliteState)] [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui_fail/type_name_ident_arg.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui_fail/with_id.rs [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui' (29) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.103/src/run.rs:102:13: [INFO] [stdout] 9 of 13 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x64ee906cd492 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x64ee906cd492 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x64ee906cd492 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x64ee906cd492 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x64ee906df07f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x64ee906df07f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x64ee90696e51 - std::io::default_write_fmt::hf1a3645468226e09 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x64ee90696e51 - std::io::Write::write_fmt::ha5ada6d6a18bde33 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x64ee906a4952 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x64ee906a9fcf - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x64ee906a9e61 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x64ee9066727e - as core::ops::function::Fn>::call::h3d020961abd83a77 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x64ee9066727e - test::test_main_with_exit_callback::{{closure}}::h720dd2fdb2ddcdca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x64ee906aa68f - as core::ops::function::Fn>::call::h75334a5fed245bca [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x64ee906aa68f - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x64ee906aa4ea - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x64ee906a4a89 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x64ee9068a1bd - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x64ee906e8a10 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x64ee90490e93 - trybuild::run::::run::hdb240b5f94db5f32 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.103/src/run.rs:102:13 [INFO] [stdout] 20: 0x64ee9048b3f8 - ::drop::h1147238acf17c7cf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.103/src/lib.rs:340:38 [INFO] [stdout] 21: 0x64ee903a4137 - core::ptr::drop_in_place::hfad1cddb232dd13d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x64ee903a3f6b - ui::ui::hdb0a139f2af65576 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:6:1 [INFO] [stdout] 23: 0x64ee903a3f97 - ui::ui::{{closure}}::h5291ed7c1b646acc [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:2:8 [INFO] [stdout] 24: 0x64ee903a40e6 - core::ops::function::FnOnce::call_once::hc1dd1072c40509db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x64ee906670ab - core::ops::function::FnOnce::call_once::h933a5d67211adff2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x64ee906670ab - test::__rust_begin_short_backtrace::h2157af19b0990ffb [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:663:18 [INFO] [stdout] 27: 0x64ee9067cc85 - test::run_test_in_process::{{closure}}::hc3b17e0f313c900a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:74 [INFO] [stdout] 28: 0x64ee9067cc85 - as core::ops::function::FnOnce<()>>::call_once::ha23e4b490259273c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 29: 0x64ee9067cc85 - std::panicking::catch_unwind::do_call::h8dc9d5da83792f7a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 30: 0x64ee9067cc85 - std::panicking::catch_unwind::h0d8461330de4a18b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 31: 0x64ee9067cc85 - std::panic::catch_unwind::h0321b51397bf9811 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x64ee9067cc85 - test::run_test_in_process::hcaaa440fdbe4a513 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:686:27 [INFO] [stdout] 33: 0x64ee9067cc85 - test::run_test::{{closure}}::h6345da602b85d6c3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:607:43 [INFO] [stdout] 34: 0x64ee90653494 - test::run_test::{{closure}}::h90a3b75194d37b5d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/test/src/lib.rs:637:41 [INFO] [stdout] 35: 0x64ee90653494 - std::sys::backtrace::__rust_begin_short_backtrace::hae41a17001f53ede [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x64ee90656d5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h6ea895368381e0b1 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x64ee90656d5a - as core::ops::function::FnOnce<()>>::call_once::h9c39013633bb9237 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 38: 0x64ee90656d5a - std::panicking::catch_unwind::do_call::hac7dba9ee4d99108 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 39: 0x64ee90656d5a - std::panicking::catch_unwind::h73015d00e4866ebc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 40: 0x64ee90656d5a - std::panic::catch_unwind::h6f7b38e188aa4f62 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x64ee90656d5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h969a6a2dc1856df7 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x64ee90656d5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h269ad1ff23e72122 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x64ee9069f44f - as core::ops::function::FnOnce>::call_once::hdd09a470c130e806 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 44: 0x64ee9069f44f - std::sys::thread::unix::Thread::new::thread_start::h14ea1ba6e320367c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 45: 0x70d6b69f6aa4 - [INFO] [stdout] 46: 0x70d6b6a83a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 26.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "4164456ec2f01d7db8853ebef42c5a067fd58442728335d9e5017b9e197fd86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4164456ec2f01d7db8853ebef42c5a067fd58442728335d9e5017b9e197fd86e", kill_on_drop: false }` [INFO] [stdout] 4164456ec2f01d7db8853ebef42c5a067fd58442728335d9e5017b9e197fd86e