[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/krida2000/medea on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.81 [INFO] [stderr] Downloaded synthez-codegen v0.2.0 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded firestorm v0.5.1 [INFO] [stderr] Downloaded peg-macros v0.6.3 [INFO] [stderr] Downloaded termtree v0.2.4 [INFO] [stderr] Downloaded textwrap v0.12.1 [INFO] [stderr] Downloaded ghost v0.1.5 [INFO] [stderr] Downloaded cucumber-expressions v0.2.1 [INFO] [stderr] Downloaded synthez-core v0.2.0 [INFO] [stderr] Downloaded cucumber-codegen v0.13.0 [INFO] [stderr] Downloaded actix-web v4.1.0 [INFO] [stderr] Downloaded actix-codec v0.5.0 [INFO] [stderr] Downloaded rustls v0.20.6 [INFO] [stderr] Downloaded hyper-rustls v0.23.0 [INFO] [stderr] Downloaded fantoccini v0.19.1 [INFO] [stderr] Downloaded time v0.3.11 [INFO] [stderr] Downloaded serde_json v1.0.82 [INFO] [stderr] Downloaded actix v0.13.0 [INFO] [stderr] Downloaded js-sys v0.3.58 [INFO] [stderr] Downloaded dart-sys v2.0.1 [INFO] [stderr] Downloaded arc-swap v1.5.0 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded actix-server v2.1.1 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded once_cell v1.12.1 [INFO] [stderr] Downloaded zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded web-sys v0.3.58 [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] [stderr] Downloaded fragile v1.2.1 [INFO] [stderr] Downloaded slog-envlogger v2.2.0 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded rustversion v1.0.7 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.31 [INFO] [stderr] Downloaded peg-runtime v0.6.3 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded crypto-common v0.1.4 [INFO] [stderr] Downloaded ahash v0.7.6 [INFO] [stderr] Downloaded mockall_derive v0.11.1 [INFO] [stderr] Downloaded predicates v2.1.1 [INFO] [stderr] Downloaded petgraph v0.6.2 [INFO] [stderr] Downloaded axum v0.5.11 [INFO] [stderr] Downloaded dirs-next v2.0.0 [INFO] [stderr] Downloaded slog-term v2.9.0 [INFO] [stderr] Downloaded brotli v3.3.4 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded synthez v0.2.0 [INFO] [stderr] Downloaded cucumber v0.13.0 [INFO] [stderr] Downloaded inventory v0.2.3 [INFO] [stderr] Downloaded actix-cors v0.6.1 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded actix-web-codegen v4.0.1 [INFO] [stderr] Downloaded actix-web-actors v4.1.0 [INFO] [stderr] Downloaded medea-reactive v0.1.1 [INFO] [stderr] Downloaded predicates-core v1.0.3 [INFO] [stderr] Downloaded slog-stdlog v4.1.1 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded anyhow v1.0.58 [INFO] [stderr] Downloaded pin-project v1.0.11 [INFO] [stderr] Downloaded tracing-core v0.1.28 [INFO] [stderr] Downloaded peg v0.6.3 [INFO] [stderr] Downloaded ctor v0.1.22 [INFO] [stderr] Downloaded rustls-pemfile v1.0.0 [INFO] [stderr] Downloaded actix_derive v0.6.0 [INFO] [stderr] Downloaded actix-http v3.2.1 [INFO] [stderr] Downloaded paste v1.0.7 [INFO] [stderr] Downloaded actix-router v0.5.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.5 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded gherkin v0.12.0 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.10 [INFO] [stderr] Downloaded wasm-bindgen v0.2.81 [INFO] [stderr] Downloaded predicates-tree v1.0.5 [INFO] [stderr] Downloaded simple_logger v2.2.0 [INFO] [stderr] Downloaded semver v1.0.12 [INFO] [stderr] Downloaded tracerr v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.31 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.31 [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded serde_yaml v0.8.24 [INFO] [stderr] Downloaded prettyplease v0.1.15 [INFO] [stderr] Downloaded slog-async v2.7.0 [INFO] [stderr] Downloaded slog-scope v4.4.0 [INFO] [stderr] Downloaded bumpalo v3.10.0 [INFO] [stderr] Downloaded webdriver v0.46.0 [INFO] [stderr] Downloaded bytestring v1.1.0 [INFO] [stderr] Downloaded android_logger v0.11.0 [INFO] [stderr] Downloaded mockall v0.11.1 [INFO] [stderr] Downloaded sealed v0.3.0 [INFO] [stderr] Downloaded axum-core v0.2.6 [INFO] [stderr] Downloaded pin-project-internal v1.0.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.81 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded nom_locate v4.0.0 [INFO] [stderr] Downloaded typed-builder v0.7.1 [INFO] [stderr] Downloaded sealed v0.4.0 [INFO] [stderr] Downloaded rustls-native-certs v0.6.2 [INFO] [stderr] Downloaded prost-build v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0325f3cf53470c68e0953303145f9eeb944f5d1a6d0495529883ac6833d3242 [INFO] running `Command { std: "docker" "start" "-a" "c0325f3cf53470c68e0953303145f9eeb944f5d1a6d0495529883ac6833d3242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0325f3cf53470c68e0953303145f9eeb944f5d1a6d0495529883ac6833d3242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0325f3cf53470c68e0953303145f9eeb944f5d1a6d0495529883ac6833d3242", kill_on_drop: false }` [INFO] [stdout] c0325f3cf53470c68e0953303145f9eeb944f5d1a6d0495529883ac6833d3242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fffdeec9d3c3dd2822860589511b11e1f9943a98d5a34d0b3f92f999852ff24 [INFO] running `Command { std: "docker" "start" "-a" "6fffdeec9d3c3dd2822860589511b11e1f9943a98d5a34d0b3f92f999852ff24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling dart-sys v2.0.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling medea-jason v0.3.0-dev (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling simple_logger v2.2.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling Inflector v0.11.4 [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 derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.0.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/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: `#[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/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/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/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: 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/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/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/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: 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: 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/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/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/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/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: 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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.20s [INFO] running `Command { std: "docker" "inspect" "6fffdeec9d3c3dd2822860589511b11e1f9943a98d5a34d0b3f92f999852ff24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fffdeec9d3c3dd2822860589511b11e1f9943a98d5a34d0b3f92f999852ff24", kill_on_drop: false }` [INFO] [stdout] 6fffdeec9d3c3dd2822860589511b11e1f9943a98d5a34d0b3f92f999852ff24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a492ffb01bfc2558910445a7a6d43527d1c474dd84fe3291c6b49b22dbf0200 [INFO] running `Command { std: "docker" "start" "-a" "2a492ffb01bfc2558910445a7a6d43527d1c474dd84fe3291c6b49b22dbf0200", 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/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: `#[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/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/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/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: 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/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/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/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: 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: 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/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/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/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/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: 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] 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] [stderr] Compiling medea-jason v0.3.0-dev (/opt/rustwide/workdir) [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" "2a492ffb01bfc2558910445a7a6d43527d1c474dd84fe3291c6b49b22dbf0200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a492ffb01bfc2558910445a7a6d43527d1c474dd84fe3291c6b49b22dbf0200", kill_on_drop: false }` [INFO] [stdout] 2a492ffb01bfc2558910445a7a6d43527d1c474dd84fe3291c6b49b22dbf0200