[INFO] cloning repository https://github.com/krida2000/medea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krida2000/medea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrida2000%2Fmedea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrida2000%2Fmedea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdf8f420bd29b796c1e3669016d3f9c4d388e615 [INFO] building krida2000/medea against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrida2000%2Fmedea" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/krida2000/medea [INFO] finished tweaking git repo https://github.com/krida2000/medea [INFO] tweaked toml for git repo https://github.com/krida2000/medea written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krida2000/medea on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/krida2000/medea 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7804b93cd770adbe60e5ee9c451a74ce8505ddcbb9d9667e7d32b74e57cb208 [INFO] running `Command { std: "docker" "start" "-a" "d7804b93cd770adbe60e5ee9c451a74ce8505ddcbb9d9667e7d32b74e57cb208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7804b93cd770adbe60e5ee9c451a74ce8505ddcbb9d9667e7d32b74e57cb208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7804b93cd770adbe60e5ee9c451a74ce8505ddcbb9d9667e7d32b74e57cb208", kill_on_drop: false }` [INFO] [stdout] d7804b93cd770adbe60e5ee9c451a74ce8505ddcbb9d9667e7d32b74e57cb208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90209ed3d8c27423f22a2147c2f9730f656940b5169b63e637e68107c2ff0ad6 [INFO] running `Command { std: "docker" "start" "-a" "90209ed3d8c27423f22a2147c2f9730f656940b5169b63e637e68107c2ff0ad6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling dart-sys v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling medea-jason v0.3.0-dev (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling simple_logger v2.2.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling sealed v0.3.0 [INFO] [stderr] Compiling medea-macro v0.3.0-dev (/opt/rustwide/workdir/crates/medea-macro) [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let handler_fn_ident = syn::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/medea-macro/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let handler_fn_ident = syn::Ident::new( [INFO] [stdout] 38 + let handler_fn_ident = Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | syn::Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 48 - syn::Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] 48 + Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let fn_name_ident = syn::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 150 - let fn_name_ident = syn::Ident::new( [INFO] [stdout] 150 + let fn_name_ident = Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:289:49 [INFO] [stdout] | [INFO] [stdout] 289 | return TokenTree::Ident(proc_macro2::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 289 - return TokenTree::Ident(proc_macro2::Ident::new( [INFO] [stdout] 289 + return TokenTree::Ident(Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling tracerr v0.3.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling medea-reactive v0.1.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling medea-client-api-proto v0.4.0-dev (/opt/rustwide/workdir/proto/client-api) [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/platform/dart/utils/callback.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | mem::size_of::() as libc::intptr_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - mem::size_of::() as libc::intptr_t, [INFO] [stdout] 209 + size_of::() as libc::intptr_t, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Caused, Clone, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetUserMediaError` [INFO] [stdout] 40 | #[cause(error = "Error")] [INFO] [stdout] 41 | pub enum GetUserMediaError { [INFO] [stdout] | ----------------- `GetUserMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/peer_connection.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RtcPeerConnectionError` [INFO] [stdout] 55 | #[cause(error = "platform::Error")] [INFO] [stdout] 56 | pub enum RtcPeerConnectionError { [INFO] [stdout] | ---------------------- `RtcPeerConnectionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/rtc_stats.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RtcStatsError` [INFO] [stdout] 13 | #[cause(error = "platform::Error")] [INFO] [stdout] 14 | pub enum RtcStatsError { [INFO] [stdout] | ------------- `RtcStatsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/transport.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Caused, Clone, Debug, Display, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_TransportError` [INFO] [stdout] 92 | #[cause(error = "platform::Error")] [INFO] [stdout] 93 | pub enum TransportError { [INFO] [stdout] | -------------- `TransportError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RoomJoinError` [INFO] [stdout] 113 | #[cause(error = "platform::Error")] [INFO] [stdout] 114 | pub enum RoomJoinError { [INFO] [stdout] | ------------- `RoomJoinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Caused, Clone, Copy, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ChangeMediaStateError` [INFO] [stdout] 34 | #[cause(error = "platform::Error")] [INFO] [stdout] 35 | pub enum ChangeMediaStateError { [INFO] [stdout] | --------------------- `ChangeMediaStateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform/dart/mod.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(f) = unsafe { PANIC_FN.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Caused, Clone, Copy, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_HandleDetachedError` [INFO] [stdout] ... [INFO] [stdout] 163 | pub struct HandleDetachedError; [INFO] [stdout] | ------------------- `HandleDetachedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Caused, Clone, Copy, Debug, Display, Eq, From, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_HandleDetachedError` [INFO] [stdout] 135 | #[cause(error = "platform::Error")] [INFO] [stdout] 136 | pub struct HandleDetachedError; [INFO] [stdout] | ------------------- `HandleDetachedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ChangeMediaStateError` [INFO] [stdout] 143 | #[cause(error = "platform::Error")] [INFO] [stdout] 144 | pub enum ChangeMediaStateError { [INFO] [stdout] | --------------------- `ChangeMediaStateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Caused, Clone, Copy, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ConnectionInfoParseError` [INFO] [stdout] 84 | #[cause(error = "platform::Error")] [INFO] [stdout] 85 | pub enum ConnectionInfoParseError { [INFO] [stdout] | ------------------------ `ConnectionInfoParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/mod.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RpcClientError` [INFO] [stdout] 200 | #[cause(error = "platform::Error")] [INFO] [stdout] 201 | pub enum RpcClientError { [INFO] [stdout] | -------------- `RpcClientError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetLocalTracksError` [INFO] [stdout] 203 | #[cause(error = "platform::Error")] [INFO] [stdout] 204 | pub enum GetLocalTracksError { [INFO] [stdout] | ------------------- `GetLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/mod.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InsertLocalTracksError` [INFO] [stdout] 218 | #[cause(error = "platform::Error")] [INFO] [stdout] 219 | pub enum InsertLocalTracksError { [INFO] [stdout] | ---------------------- `InsertLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/reconnect_handle.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Caused, Clone, Debug, From, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ReconnectError` [INFO] [stdout] 16 | #[cause(error = "platform::Error")] [INFO] [stdout] 17 | pub enum ReconnectError { [INFO] [stdout] | -------------- `ReconnectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/rpc_session.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Caused, Clone, Debug, From, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_SessionError` [INFO] [stdout] 35 | #[cause(error = "platform::Error")] [INFO] [stdout] 36 | pub enum SessionError { [INFO] [stdout] | ------------ `SessionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/sender/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Caused, Clone, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_CreateError` [INFO] [stdout] 33 | #[cause(error = "platform::Error")] [INFO] [stdout] 34 | pub enum CreateError { [INFO] [stdout] | ----------- `CreateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/sender/mod.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InsertTrackError` [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct InsertTrackError(platform::Error); [INFO] [stdout] | ---------------- `InsertTrackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_EnumerateDevicesError` [INFO] [stdout] 26 | #[cause(error = "platform::Error")] [INFO] [stdout] 27 | pub enum EnumerateDevicesError { [INFO] [stdout] | --------------------- `EnumerateDevicesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InitLocalTracksError` [INFO] [stdout] 39 | #[cause(error = "platform::Error")] [INFO] [stdout] 40 | pub enum InitLocalTracksError { [INFO] [stdout] | -------------------- `InitLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_MicVolumeError` [INFO] [stdout] 68 | #[cause(error = "platform::Error")] [INFO] [stdout] 69 | pub enum MicVolumeError { [INFO] [stdout] | -------------- `MicVolumeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetUserMediaError` [INFO] [stdout] 98 | #[cause(error = "platform::Error")] [INFO] [stdout] 99 | pub enum GetUserMediaError { [INFO] [stdout] | ----------------- `GetUserMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetDisplayMediaError` [INFO] [stdout] 126 | #[cause(error = "platform::Error")] [INFO] [stdout] 127 | pub enum GetDisplayMediaError { [INFO] [stdout] | -------------------- `GetDisplayMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/tracks_request.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Caused, Clone, Copy, Debug, Display, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_TracksRequestError` [INFO] [stdout] 24 | #[cause(error = "platform::Error")] [INFO] [stdout] 25 | pub enum TracksRequestError { [INFO] [stdout] | ------------------ `TracksRequestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/mod.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_UpdateLocalStreamError` [INFO] [stdout] 55 | #[cause(error = "platform::Error")] [INFO] [stdout] 56 | pub enum UpdateLocalStreamError { [INFO] [stdout] | ---------------------- `UpdateLocalStreamError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/mod.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_LocalMediaError` [INFO] [stdout] 95 | #[cause(error = "platform::Error")] [INFO] [stdout] 96 | pub enum LocalMediaError { [INFO] [stdout] | --------------- `LocalMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::map_or` that must be used [INFO] [stdout] --> src/rpc/heartbeat.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / self.transport [INFO] [stdout] 69 | | .send(&ClientMsg::Pong(n)) [INFO] [stdout] 70 | | .map_err(tracerr::wrap!(=> platform::TransportError)) [INFO] [stdout] 71 | | .map_err(|e| log::error!("Failed to send pong: {e}")) [INFO] [stdout] 72 | | .map_or((), drop); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.transport [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.87s [INFO] running `Command { std: "docker" "inspect" "90209ed3d8c27423f22a2147c2f9730f656940b5169b63e637e68107c2ff0ad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90209ed3d8c27423f22a2147c2f9730f656940b5169b63e637e68107c2ff0ad6", kill_on_drop: false }` [INFO] [stdout] 90209ed3d8c27423f22a2147c2f9730f656940b5169b63e637e68107c2ff0ad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8d929111295ce15b349ee03b31bbc23b6799bc176327d0f2f7dde94b9e78c40 [INFO] running `Command { std: "docker" "start" "-a" "b8d929111295ce15b349ee03b31bbc23b6799bc176327d0f2f7dde94b9e78c40", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | let handler_fn_ident = syn::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> crates/medea-macro/src/lib.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 38 - let handler_fn_ident = syn::Ident::new( [INFO] [stdout] 38 + let handler_fn_ident = Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | syn::Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 48 - syn::Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] 48 + Ident::new(&format!("f{i}"), Span::call_site()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:150:37 [INFO] [stdout] | [INFO] [stdout] 150 | let fn_name_ident = syn::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 150 - let fn_name_ident = syn::Ident::new( [INFO] [stdout] 150 + let fn_name_ident = Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> crates/medea-macro/src/dispatchable.rs:289:49 [INFO] [stdout] | [INFO] [stdout] 289 | return TokenTree::Ident(proc_macro2::Ident::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 289 - return TokenTree::Ident(proc_macro2::Ident::new( [INFO] [stdout] 289 + return TokenTree::Ident(Ident::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/platform/dart/utils/callback.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | mem::size_of::() as libc::intptr_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - mem::size_of::() as libc::intptr_t, [INFO] [stdout] 209 + size_of::() as libc::intptr_t, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/mod.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Caused, Clone, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetUserMediaError` [INFO] [stdout] 40 | #[cause(error = "Error")] [INFO] [stdout] 41 | pub enum GetUserMediaError { [INFO] [stdout] | ----------------- `GetUserMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/peer_connection.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RtcPeerConnectionError` [INFO] [stdout] 55 | #[cause(error = "platform::Error")] [INFO] [stdout] 56 | pub enum RtcPeerConnectionError { [INFO] [stdout] | ---------------------- `RtcPeerConnectionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/rtc_stats.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RtcStatsError` [INFO] [stdout] 13 | #[cause(error = "platform::Error")] [INFO] [stdout] 14 | pub enum RtcStatsError { [INFO] [stdout] | ------------- `RtcStatsError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/platform/transport.rs:91:10 [INFO] [stdout] | [INFO] [stdout] 91 | #[derive(Caused, Clone, Debug, Display, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_TransportError` [INFO] [stdout] 92 | #[cause(error = "platform::Error")] [INFO] [stdout] 93 | pub enum TransportError { [INFO] [stdout] | -------------- `TransportError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RoomJoinError` [INFO] [stdout] 113 | #[cause(error = "platform::Error")] [INFO] [stdout] 114 | pub enum RoomJoinError { [INFO] [stdout] | ------------- `RoomJoinError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Caused, Clone, Copy, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ChangeMediaStateError` [INFO] [stdout] 34 | #[cause(error = "platform::Error")] [INFO] [stdout] 35 | pub enum ChangeMediaStateError { [INFO] [stdout] | --------------------- `ChangeMediaStateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/platform/dart/mod.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(f) = unsafe { PANIC_FN.as_ref() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/connection.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[derive(Caused, Clone, Copy, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_HandleDetachedError` [INFO] [stdout] ... [INFO] [stdout] 163 | pub struct HandleDetachedError; [INFO] [stdout] | ------------------- `HandleDetachedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | #[derive(Caused, Clone, Copy, Debug, Display, Eq, From, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_HandleDetachedError` [INFO] [stdout] 135 | #[cause(error = "platform::Error")] [INFO] [stdout] 136 | pub struct HandleDetachedError; [INFO] [stdout] | ------------------- `HandleDetachedError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:142:10 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ChangeMediaStateError` [INFO] [stdout] 143 | #[cause(error = "platform::Error")] [INFO] [stdout] 144 | pub enum ChangeMediaStateError { [INFO] [stdout] | --------------------- `ChangeMediaStateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/mod.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Caused, Clone, Copy, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ConnectionInfoParseError` [INFO] [stdout] 84 | #[cause(error = "platform::Error")] [INFO] [stdout] 85 | pub enum ConnectionInfoParseError { [INFO] [stdout] | ------------------------ `ConnectionInfoParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/mod.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_RpcClientError` [INFO] [stdout] 200 | #[cause(error = "platform::Error")] [INFO] [stdout] 201 | pub enum RpcClientError { [INFO] [stdout] | -------------- `RpcClientError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/room.rs:202:10 [INFO] [stdout] | [INFO] [stdout] 202 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetLocalTracksError` [INFO] [stdout] 203 | #[cause(error = "platform::Error")] [INFO] [stdout] 204 | pub enum GetLocalTracksError { [INFO] [stdout] | ------------------- `GetLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/mod.rs:217:10 [INFO] [stdout] | [INFO] [stdout] 217 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InsertLocalTracksError` [INFO] [stdout] 218 | #[cause(error = "platform::Error")] [INFO] [stdout] 219 | pub enum InsertLocalTracksError { [INFO] [stdout] | ---------------------- `InsertLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/reconnect_handle.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Caused, Clone, Debug, From, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_ReconnectError` [INFO] [stdout] 16 | #[cause(error = "platform::Error")] [INFO] [stdout] 17 | pub enum ReconnectError { [INFO] [stdout] | -------------- `ReconnectError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/rpc/rpc_session.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Caused, Clone, Debug, From, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_SessionError` [INFO] [stdout] 35 | #[cause(error = "platform::Error")] [INFO] [stdout] 36 | pub enum SessionError { [INFO] [stdout] | ------------ `SessionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/sender/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Caused, Clone, Debug, Display)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_CreateError` [INFO] [stdout] 33 | #[cause(error = "platform::Error")] [INFO] [stdout] 34 | pub enum CreateError { [INFO] [stdout] | ----------- `CreateError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/media/sender/mod.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InsertTrackError` [INFO] [stdout] ... [INFO] [stdout] 51 | pub struct InsertTrackError(platform::Error); [INFO] [stdout] | ---------------- `InsertTrackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_EnumerateDevicesError` [INFO] [stdout] 26 | #[cause(error = "platform::Error")] [INFO] [stdout] 27 | pub enum EnumerateDevicesError { [INFO] [stdout] | --------------------- `EnumerateDevicesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling medea-jason v0.3.0-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_InitLocalTracksError` [INFO] [stdout] 39 | #[cause(error = "platform::Error")] [INFO] [stdout] 40 | pub enum InitLocalTracksError { [INFO] [stdout] | -------------------- `InitLocalTracksError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_MicVolumeError` [INFO] [stdout] 68 | #[cause(error = "platform::Error")] [INFO] [stdout] 69 | pub enum MicVolumeError { [INFO] [stdout] | -------------- `MicVolumeError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetUserMediaError` [INFO] [stdout] 98 | #[cause(error = "platform::Error")] [INFO] [stdout] 99 | pub enum GetUserMediaError { [INFO] [stdout] | ----------------- `GetUserMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/media/manager.rs:125:10 [INFO] [stdout] | [INFO] [stdout] 125 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_GetDisplayMediaError` [INFO] [stdout] 126 | #[cause(error = "platform::Error")] [INFO] [stdout] 127 | pub enum GetDisplayMediaError { [INFO] [stdout] | -------------------- `GetDisplayMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/tracks_request.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Caused, Clone, Copy, Debug, Display, Eq, PartialEq)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_TracksRequestError` [INFO] [stdout] 24 | #[cause(error = "platform::Error")] [INFO] [stdout] 25 | pub enum TracksRequestError { [INFO] [stdout] | ------------------ `TracksRequestError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/mod.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_UpdateLocalStreamError` [INFO] [stdout] 55 | #[cause(error = "platform::Error")] [INFO] [stdout] 56 | pub enum UpdateLocalStreamError { [INFO] [stdout] | ---------------------- `UpdateLocalStreamError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/peer/mod.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | #[derive(Caused, Clone, Debug, Display, From)] [INFO] [stdout] | ^----- [INFO] [stdout] | | [INFO] [stdout] | `Caused` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Caused_FOR_LocalMediaError` [INFO] [stdout] 95 | #[cause(error = "platform::Error")] [INFO] [stdout] 96 | pub enum LocalMediaError { [INFO] [stdout] | --------------- `LocalMediaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Caused` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Caused` may come from an old version of the `medea_macro` crate, try updating your dependency with `cargo update -p medea_macro` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Caused` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::result::Result::::map_or` that must be used [INFO] [stdout] --> src/rpc/heartbeat.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / self.transport [INFO] [stdout] 69 | | .send(&ClientMsg::Pong(n)) [INFO] [stdout] 70 | | .map_err(tracerr::wrap!(=> platform::TransportError)) [INFO] [stdout] 71 | | .map_err(|e| log::error!("Failed to send pong: {e}")) [INFO] [stdout] 72 | | .map_or((), drop); [INFO] [stdout] | |_____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = self.transport [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::RtcRtpTransceiverDirection` [INFO] [stdout] --> src/platform/transceiver_direction.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | use super::{RtcRtpTransceiverDirection, TransceiverDirection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `RtcRtpTransceiverDirection` in `platform::transceiver_direction` [INFO] [stdout] | help: a similar name exists in the module: `TransceiverDirection` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/platform/transceiver_direction.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_family = "wasm")] [INFO] [stdout] | ---------------------- the item is gated behind the `wasm` feature [INFO] [stdout] 8 | use web_sys::RtcRtpTransceiverDirection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/platform/dart/utils/callback.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | mem::size_of::() as libc::intptr_t, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | unused_qualifications, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 209 - mem::size_of::() as libc::intptr_t, [INFO] [stdout] 209 + size_of::() as libc::intptr_t, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `medea-jason` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b8d929111295ce15b349ee03b31bbc23b6799bc176327d0f2f7dde94b9e78c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d929111295ce15b349ee03b31bbc23b6799bc176327d0f2f7dde94b9e78c40", kill_on_drop: false }` [INFO] [stdout] b8d929111295ce15b349ee03b31bbc23b6799bc176327d0f2f7dde94b9e78c40